ChangeLog 555 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915
  1. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  3. fire OnTextChanged by ourselves. There's no point calling base,
  4. we don't set the base value anywhere else. Fixes #78773.
  5. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  6. * ListBox.cs: Call CollectionChanged when modifying
  7. an item from Items indexer, to update the actual items
  8. in the list box.
  9. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  10. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  11. to match .Net behaviour.
  12. 2006-08-15 Peter Dennis Bartok <[email protected]>
  13. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  14. 2006-08-15 Peter Dennis Bartok <[email protected]>
  15. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  16. 2006-08-15 Peter Dennis Bartok <[email protected]>
  17. * MessageBox.cs: Prevent potential NRE exception.
  18. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  19. 2006-08-14 Peter Dennis Bartok <[email protected]>
  20. * MessageBox.cs: Calculate the owner of a messagebox, also make
  21. it topmost. Fixes #78753
  22. 2006-08-14 Chris Toshok <[email protected]>
  23. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  24. programmatically move windows. first, set the PPosition hint as
  25. well as the USPosition hint. Second include some code from pdb
  26. that sets the window type to NORMAL when we set the transient for
  27. hint. This is because, in the absence of a window type, metacity
  28. thinks any window with TransientFor set is a dialog, and refuses
  29. to let us move it programmatically. fascists.
  30. 2006-08-14 Peter Dennis Bartok <[email protected]>
  31. * XplatUIX11.cs: When setting normal hints, take into consideration
  32. an different hints previously set so we don't delete them (fixes #78866)
  33. 2006-08-12 Chris Toshok <[email protected]>
  34. * ToolBarButton.cs: make Layout return a boolean, if something to
  35. do with the button's layout changed.
  36. * ToolBar.cs:
  37. - add another parameter to Redraw, @force, which all existing
  38. calls set to true.
  39. - make the Layout function return a boolean which is true if the
  40. layout has actually changed. Redraw now uses this (and @force)
  41. to determine when to invalidate. At present the only place
  42. where @force can be false is the call from OnResize, when
  43. background_image == null. So, resizing a toolbar when the
  44. layout doesn't change results in no drawing.
  45. 2006-08-12 Chris Toshok <[email protected]>
  46. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  47. the VScrollBar and HScrollbar reversed. oops.
  48. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  49. scrollbars. we were assigning them twice (once in
  50. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  51. therefore causing two scrollbar resizes (and redraws?) to happen
  52. per grid resize.
  53. 2006-08-12 Chris Toshok <[email protected]>
  54. * ToolBarButton.cs: redraw the entire button if the theme tells us
  55. to.
  56. * Theme.cs: add ToolBarInvalidateEntireButton.
  57. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  58. buttons, just the border.
  59. * ThemeNice.cs: redraw the entire toolbar button since we need to
  60. draw the highlight image.
  61. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  62. we need to redraw the entire button (not just the border).
  63. 2006-08-11 Peter Dennis Bartok <[email protected]>
  64. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  65. for vertical bars. Fixes the mismatches shown by #78513
  66. 2006-08-11 Alexander Olk <[email protected]>
  67. * FileDialog.cs: If a saved/remembered path doesn't exist
  68. anymore, fall back to "Desktop".
  69. 2006-08-11 Peter Dennis Bartok <[email protected]>
  70. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  71. parent. It's apparently legal to not have one
  72. * XplatUIX11.cs:
  73. - SetZOrder: Don't try to set Z-Order on an unmapped window
  74. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  75. it unless the coordinates are negative
  76. 2006-08-10 Mike Kestner <[email protected]>
  77. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  78. when setting to null per msdn docs. Fixes #78854.
  79. 2006-08-10 Chris Toshok <[email protected]>
  80. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  81. flickering by setting a clip rectangle on the Graphics when we
  82. need to redraw just a particular menuitem. Also, rename "OnClick"
  83. to "OnMouseDown" to reflect what it actually is.
  84. * Form.cs: track the OnMouseDown change.
  85. 2006-08-10 Peter Dennis Bartok <[email protected]>
  86. * CommonDialog.cs: Properly inherit the CreateParams from the form
  87. and only change what we need. Fixes #78865
  88. 2006-08-10 Chris Toshok <[email protected]>
  89. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  90. flickering in flat mode (and most of the flickering in general) by
  91. only invalidating the button border (and not the entire rectangle)
  92. when the state changes. A couple of cases still flicker:
  93. ToggleButtons, and the dropdown arrow case when the user mouse
  94. ups.
  95. 2006-08-10 Alexander Olk <[email protected]>
  96. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  97. for german keyboards. Numlock state shouldn't affect the behaviour
  98. of the Del key. Fixes bug #78291.
  99. 2006-08-10 Chris Toshok <[email protected]>
  100. * ListControl.cs: remove the items.Clear line from BindDataItems,
  101. as this is the first thing done by both subclasses in their
  102. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  103. passed -1, refresh the list. This gets databinding working when
  104. the datasource is set on the list before the datasource is
  105. populated (as in wf-apps/ReportBuilder.)
  106. * ComboBox.cs: remove the argument to BindDataItems. This call
  107. should really go away, and be initiated by the ListControl code.
  108. * ListBox.cs: same.
  109. 2006-08-09 Peter Dennis Bartok <[email protected]>
  110. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  111. if no data is in the document when the control is displayed
  112. 2006-08-09 Peter Dennis Bartok <[email protected]>
  113. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  114. yes (fixes #78806)
  115. * TextControl.cs:
  116. - PositionCaret: Allow positioning of caret but don't call methods
  117. requiring a handle if the window isn't created yet
  118. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  119. - owner_HandleCreated: Don't position the caret, just update it's
  120. location. User might have already set a different position
  121. 2006-08-09 Peter Dennis Bartok <[email protected]>
  122. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  123. windows. Screws up the returned coordinates for child windows.
  124. Fixes #78825. I'm hoping this doesn't break something, since the
  125. code was explicitly put in 8 months ago, but no bug was attached.
  126. Menus still seem to work properly.
  127. 2006-08-08 Chris Toshok <[email protected]>
  128. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  129. supposed to do - delay data binding until the EndInit call. Also,
  130. make the table style collection's CollectionChangeAction.Refresh
  131. work properly.
  132. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  133. (with action = Refresh) when a consituent table's MappingName is
  134. changed.
  135. 2006-08-08 Chris Toshok <[email protected]>
  136. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  137. Invalidate, since changing the text can change the size of the all
  138. toolbar buttons.
  139. 2006-08-08 Peter Dennis Bartok <[email protected]>
  140. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  141. we don't have it yet
  142. 2006-08-08 Chris Toshok <[email protected]>
  143. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  144. dialog, as this causes X errors later on, since we actually
  145. destroy the window. Instead, .Hide() it.
  146. 2006-08-08 Peter Dennis Bartok <[email protected]>
  147. * ComboBox.cs: Added focus reflection for popup window
  148. * XplatUIX11.cs:
  149. - Removed transient setting for non-app windows for now, not sure it
  150. was needed
  151. - Fixed logic checking if we have captions when deciding
  152. override_redirect, WS_CAPTION is two bits and a 0 check was not
  153. sufficient
  154. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  155. complicated
  156. * Form.cs:
  157. - AddOwnedForm: Don't just add the form to the list, call the property
  158. to ensure the driver is informed about the ownership as well
  159. - CreateHandle: Set the TopMost status in the driver if we have an owner
  160. * XplatUI.cs: Fixed debug statement
  161. 2006-08-08 Jonathan Pobst <[email protected]>
  162. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  163. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  164. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  165. TrackBarRenderer.cs: Make constructor private.
  166. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  167. * ProfessionalColorTable.cs: Make properties virtual.
  168. 2006-08-06 Duncan Mak <[email protected]>
  169. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  170. is not changing.
  171. 2006-08-04 Jonathan Pobst <[email protected]>
  172. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  173. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  174. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  175. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  176. Initial import of new 2.0 classes.
  177. 2006-08-04 Jonathan Pobst <[email protected]>
  178. * Application.cs: Add 2.0 VisualStyles properties.
  179. 2006-08-04 Jonathan Pobst <[email protected]>
  180. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  181. XplatUIX11.cs: Create property to allow access to existing private
  182. variable "themes_enabled"
  183. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  184. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  185. file size, as otherwise our class libraries fail using windows. Fixes
  186. bug #78759.
  187. 2006-08-04 Jackson Harper <[email protected]>
  188. * Form.cs:
  189. * XplatUIX11.cs: Move the toolwindow window manager creation into
  190. the X11 driver, this way on win32 we can let windows create/handle
  191. the toolwindows.
  192. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  193. * PrintDialog.cs: Remove some redundant checks, add some others,
  194. clean some code, and move the focus to the text boxes when the
  195. values are incorrect.
  196. 2006-08-04 Alexander Olk <[email protected]>
  197. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  198. 2006-08-03 Alexander Olk <[email protected]>
  199. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  200. handled correctly. Fixes bug #79001.
  201. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  202. * PrintDialog.cs: The "Copies" numeric up down must have
  203. set the Minimum property to 1; only if the value is bigger
  204. than 1, activate "Collate" check box. This is the behaviour of .Net.
  205. Also modify the Document elements only if it is not null.
  206. 2006-08-03 Jackson Harper <[email protected]>
  207. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  208. length. (We have a larger array then actual node count).
  209. 2006-08-03 Jackson Harper <[email protected]>
  210. * ComboBox.cs: Don't show selection by default.
  211. - The SelectAll isn't needed here, since the focus code should do
  212. that
  213. - DDL style lists to manual selection drawing, so when they
  214. get/lose focus they have to invalidate.
  215. 2006-08-03 Peter Dennis Bartok <[email protected]>
  216. * TextBoxBase.cs: Don't always show all selections by default.
  217. 2006-08-03 Jonathan Pobst <[email protected]>
  218. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  219. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  220. Fixed various typos.
  221. 2006-08-03 Alexander Olk <[email protected]>
  222. * Control.cs: Removing the controls in a ControlCollection with
  223. Clear now hides the controls as expected. Fixes bug #78804.
  224. 2006-08-03 Jackson Harper <[email protected]>
  225. * Control.cs: Revert previous focus patch, it breaks reflector.
  226. 2006-08-03 Jackson Harper <[email protected]>
  227. * ComboBox.cs: Cleanup selection and focus with the combobox.
  228. This also eliminates some duplicated keyboard code, since now
  229. everything is handled by the main class.
  230. - Make list selection work on mouse up instead of down, to match
  231. MS.
  232. 2006-08-02 Jackson Harper <[email protected]>
  233. * Control.cs: Setting focus needs to go through the whole
  234. selection mechanism.
  235. 2006-08-02 Chris Toshok <[email protected]>
  236. * PrintPreviewDialog.cs: change MinimumSize to use
  237. base.MinimumSize so it works.
  238. 2006-08-02 Peter Dennis Bartok <[email protected]>
  239. * TextControl.cs:
  240. - UpdateCaret: Added sanity check in case caret isn't defined yet
  241. - Line.Delete: Now updating selection and caret markers if we're
  242. transfering a node (Properly fixes #78323)
  243. - SetSelectionEnd: Added sanity check
  244. * TextBoxBase.cs: Removed broken attempt to fix #78323
  245. 2006-08-01 Chris Toshok <[email protected]>
  246. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  247. Close() call is handled in Form, not here.
  248. 2006-08-01 Chris Toshok <[email protected]>
  249. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  250. layout/rendering.
  251. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  252. for sizes < 100% zoom. The code now aggressively attempts to keep
  253. from calling document.Print (), and tries not to use the scaling
  254. g.DrawImage whenever possible (it still does if you scale to >
  255. 100%, since usually that involves huge images).
  256. * PrintPreviewControl.cs: hook up the close button.
  257. 2006-08-01 Jonathan Pobst <[email protected]>
  258. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  259. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  260. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  261. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  262. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  263. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  264. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  265. Removed [Serializable] for 2.0 Event Handlers.
  266. 2006-07-31 Jackson Harper <[email protected]>
  267. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  268. * TextControl.cs: Uncomment out the body of this method.
  269. 2006-07-31 Alexander Olk <[email protected]>
  270. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  271. standard cursors.
  272. 2006-07-31 Peter Dennis Bartok <[email protected]>
  273. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  274. that embed TextBox and need selections visible even if textbox is not
  275. focused to enforce that behaviour.
  276. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  277. selection drawing
  278. 2006-07-31 Peter Dennis Bartok <[email protected]>
  279. * TextControl.cs:
  280. - Added new SetSelectionStart/SetSelectionEnd overloads
  281. - Fixed viewport width assignment to be accurate
  282. - Adjusted alignment line shift calculations to allow cursor on right
  283. aligned lines to be always visible at the right border (like MS)
  284. * TextBoxBase.cs:
  285. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  286. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  287. - CalculateScrollBars: Use ViewPort size instead of window size, to
  288. properly consider space occupied by the border and scrollbars
  289. (Fixes #78661)
  290. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  291. calculations; no longer leaves artifacts
  292. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  293. calculation bugs (Still missing right/center align calculations)
  294. 2006-07-31 Peter Dennis Bartok <[email protected]>
  295. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  296. use of both scroll rect and clip rect, as they do the same.
  297. 2006-07-31 Peter Dennis Bartok <[email protected]>
  298. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  299. in the event handler (fixes #78912)
  300. 2006-07-31 Chris Toshok <[email protected]>
  301. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  302. grid.ListManager.Count, since grid.ListManager might be null.
  303. This of course begs the question "why are we drawing rows for a
  304. grid with no list manager (and therefor no rows)?" Fixes the
  305. crash in bug #78929.
  306. 2006-07-31 Chris Toshok <[email protected]>
  307. * RelatedPropertyManager.cs: Don't always chain up to the parent
  308. ctor. instead, call SetDataSource if the parent's position is !=
  309. -1. Fixes the crash in #78822.
  310. 2006-07-31 Chris Toshok <[email protected]>
  311. * DataGrid.cs (get_ListManager): use field instead of property
  312. accessors for datasource and datamember.
  313. (RowsCount): make internal again.
  314. (OnMouseDown): end edits before resizing columns/rows.
  315. (OnMouseUp): restart edits after resizing columns/rows.
  316. 2006-07-30 Peter Dennis Bartok <[email protected]>
  317. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  318. This fixes the situation where the last set cursor is displayed
  319. whenever the mouse is over scrollbars.
  320. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  321. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  322. Document properties, as well as initial values.
  323. 2006-07-29 Peter Dennis Bartok <[email protected]>
  324. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  325. and ClientEdge results in a 3-pixel border, which is
  326. wrong.
  327. 2006-07-28 Jackson Harper <[email protected]>
  328. * TreeNodeCollection.cs: Fix the clear method.
  329. - Fix the Shrink also
  330. 2006-07-27 Jackson Harper <[email protected]>
  331. * TreeView.cs: Make sure the visible order is computed when we
  332. attempt to size the scrollbars (for trees that mess with the
  333. scrolling when they shouldn't.
  334. - Make sure to give the scrollbars valid values.
  335. 2006-07-26 Peter Dennis Bartok <[email protected]>
  336. * XplatUIX11.cs: Move motion compression code to where it
  337. has less performance impact
  338. 2006-07-26 Jackson Harper <[email protected]>
  339. * UpDownBase.cs: When the control is selected make the child
  340. controls non selectable, so that a click on them won't do a
  341. focus/unfocus cycle.
  342. - Don't give focus to the text box when the spinner is selected.
  343. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  344. 2006-07-26 Chris Toshok <[email protected]>
  345. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  346. satisfied with this solution. If the bitmaps are small, we should
  347. just cache them in the PrintPreviewDialog and draw them here.
  348. Also, the layout is broken for the 2-up and 3-up cases.
  349. * Theme.cs: add PrintPReviewControlPaint.
  350. * PrintPreviewDialog.cs: first pass implementation.
  351. * PrintPreviewControl.cs: first pass implementation. No
  352. scrollbars yet.
  353. * PrintDialog.cs: only validate fields if that particular portion
  354. of the UI is enabled. Also, set the document's controller to a
  355. PrintControllerWithStatusDialog wrapping the document's print
  356. controller.
  357. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  358. bring up a SaveFileDialog (i hope we don't want to match the
  359. behavior of the crappy windows file entry) and set the
  360. PrinterSettings.PrintFileName accordingly.
  361. 2006-07-26 Jackson Harper <[email protected]>
  362. * ContainerControl.cs: Add a field that disables auto selecting
  363. the next control in a container when the container is activated.
  364. * UpDownBase.cs: Don't select the text box when the up down is
  365. selected.
  366. 2006-07-26 Peter Dennis Bartok <[email protected]>
  367. * XEventQueue.cs: Added methods for peeking (used for compression
  368. of successive events)
  369. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  370. mouse move events (fixes #78732)
  371. 2006-07-25 Jackson Harper <[email protected]>
  372. * UpDownBase.cs: Use an internal class for the textbox so that we
  373. can control focus. the updown control should always have focus,
  374. if either the text area or the buttons are clicked.
  375. - Send the key messages to the textbox, since it never actually
  376. has focus
  377. - Activate and decativate the textbox caret.
  378. 2006-07-24 Jackson Harper <[email protected]>
  379. * Control.cs: Use the directed select when selecting a control,
  380. this way the container controls override will get called and the
  381. whole ActiveControl chain will get triggered. TODO: probably need
  382. to make sure this gets done everywhere instead of the old
  383. Select(Control).
  384. * ContainerControl.cs: Implement the directed Select method to
  385. find and activate the correct child control.
  386. 2006-07-22 Mike Kestner <[email protected]>
  387. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  388. menu handling code so that clicks without a grab work too.
  389. [Fixes #78914]
  390. 2006-07-22 Alexander Olk <[email protected]>
  391. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  392. Added some small optimizations.
  393. 2006-07-21 Matt Hargett <[email protected]>
  394. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  395. 2006-07-21 Peter Dennis Bartok <[email protected]>
  396. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  397. tests pass and match MS in some strange border cases.
  398. 2006-07-21 Chris Toshok <[email protected]>
  399. * ThemeWin32Classic.cs: handle drawing of the relation links and
  400. parent row buttons.
  401. * Theme.cs: change args to DataGridPaintParentRow.
  402. * DataGrid.cs: Don't use controls for the relation links and
  403. parent buttons, so we have to handle all their interactions in
  404. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  405. when we're navigating through child tables, so we can reinstate
  406. selection, expanded state, current cell, etc.
  407. 2006-07-20 Chris Toshok <[email protected]>
  408. * ToolBar.cs: When we redraw a button, for whatever reason,
  409. there's no reason to redraw the entire toolbar. Also, don't call
  410. Control.Refresh from within Redraw, as it's much heavier than
  411. Invalidate (which is really what we want).
  412. 2006-07-20 Chris Toshok <[email protected]>
  413. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  414. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  415. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  416. traces from within a debug IBindingList datasource
  417. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  418. to work in a similar fashion.
  419. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  420. * ListBox.cs: Don't call Sort () when setting
  421. the Sorted property to false (avoid an unnecessary sort).
  422. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  423. * ListControl.cs: DataSource should throw an ArgumentException
  424. instead of a normal exception when the argument is not of the
  425. correct type.
  426. 2006-07-20 Mike Kestner <[email protected]>
  427. * Control.cs: add InternalPreProcessMessage to allow us to steal
  428. key events before MWF gets its paws on them. Adapted from a
  429. suggestion by eno.
  430. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  431. up/down/left/right navigation. Override the new internal control
  432. method to steal the events since they never make it to WndProc.
  433. * ToolBarButton.cs: don't worry about pushed when setting hilight
  434. since the drawing code prefers pushed to hilight. Invalidate on
  435. Hilight changes. Fixes #78547 and #78525.
  436. 2006-07-20 Peter Dennis Bartok <[email protected]>
  437. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  438. the canvas size. Fixes #78868
  439. 2006-07-20 Peter Dennis Bartok <[email protected]>
  440. * Splitter.cs: Track requested split position until first layout
  441. is performed. Fixes #78871
  442. 2006-07-20 Peter Dennis Bartok <[email protected]>
  443. * Application.cs: Removed code that forces 1.x for the version
  444. number if the version started with 0. Not sure why that code was
  445. there and I couldn't find any bugs that indicated we needed it.
  446. Fixes #78869
  447. 2006-07-20 Alexander Olk <[email protected]>
  448. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  449. ResetDefaults(), just write some output to the console until it's
  450. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  451. 2006-07-19 Jonathan Chambers <[email protected]>
  452. * PropertyGridView.cs: set StartPosition of drop down forms
  453. so they appear in correct initial spot. Fixes #78190.
  454. 2006-07-19 Mike Kestner <[email protected]>
  455. * ThemeWin32Classic.cs: use parent background color when drawing
  456. flat toolbars. Restructure the conditionals to make sure non-flat
  457. non-Divider toolbars are filled too. Fixes #78837.
  458. 2006-07-19 Mike Kestner <[email protected]>
  459. * ListBox.cs: Sort on collection changes even if the handle
  460. isn't created yet. Fixes #78813.
  461. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  462. * ListControl.cs: DisplayMember should never be null,
  463. and now we assign String.Empty when null is passed to it (this
  464. is the .Net way).
  465. 2006-07-17 Mike Kestner <[email protected]>
  466. * ListViewItem.cs: restructure Font and subitem Font handling
  467. to hold a specific font and refer back to owner on null.
  468. Fixes #78761.
  469. 2006-07-17 Mike Kestner <[email protected]>
  470. * ToolBar.cs: bandaid for side-effect of previous patch which was
  471. discarding explicit heights for non-AutoSize toolbars. Need to
  472. extend my format tester to deal with AutoSize=false. Fixes #78864.
  473. 2006-07-15 Jackson Harper <[email protected]>
  474. * LabelEditTextBox.cs:
  475. * TreeView.cs: Use a new LabelEdit class for node editing, this
  476. class automatically 'closes' itself when it gets the enter key or
  477. loses focus.
  478. - Use the client rectangle when setting the trees scrollbars, so
  479. border style is taken into account.
  480. 2006-07-14 Jackson Harper <[email protected]>
  481. * TreeNode.cs:
  482. * TreeView.cs: Make the editing work similar to MSs, firing the
  483. events correctly and ending edits correctly.
  484. 2006-07-14 Mike Kestner <[email protected]>
  485. * ToolBarButton.cs:
  486. * ToolBar.cs: layout restructuring and redraw enhancements to support
  487. formatting changes gracefully, like setting TextAlign, ImageList,
  488. ButtonSize, and Appearance. Handles explicit button sizing quirks
  489. of the MS controls. Things like flat toolbars ignoring button size
  490. but becoming constant sized at the largest button's size. Normal
  491. toolbars with an image set cannot be shrunk smaller than the image,
  492. but text can be clipped/ignored.
  493. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  494. is zero. Seems like DrawString should be smart enough to not put
  495. anything on screen though. Also trim labels and ellipsize at the char
  496. boundary, not word.
  497. Fixes #78711 and #78483.
  498. 2006-07-14 Alexander Olk <[email protected]>
  499. * FolderBrowserDialog.cs: Disable "New Folder" button and
  500. "New Folder" contextmenu menuitem if a folder like "My Computer"
  501. is selected.
  502. 2006-07-14 Alexander Olk <[email protected]>
  503. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  504. * FolderBrowserDialog.cs:
  505. - Use MWFConfig to store and read size and position settings
  506. - Added code to create a new folder (button or context menu).
  507. Use TreeView labeledit to change the name of the new folder.
  508. 2006-07-14 Jackson Harper <[email protected]>
  509. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  510. when the tree is scrolled we end editing.
  511. 2006-07-14 Alexander Olk <[email protected]>
  512. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  513. Down arrows
  514. 2006-07-14 Jonathan Pobst <[email protected]>
  515. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  516. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  517. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  518. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  519. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  520. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  521. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  522. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  523. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  524. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  525. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  526. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  527. ListViewItemSelectionChangedEventHandler.cs,
  528. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  529. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  530. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  531. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  532. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  533. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  534. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  535. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  536. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  537. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  538. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  539. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  540. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  541. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  542. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  543. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  544. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  545. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  546. WebBrowserNavigatingEventHandler.cs,
  547. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  548. 2006-07-14 Jonathan Pobst <[email protected]>
  549. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  550. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  551. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  552. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  553. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  554. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  555. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  556. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  557. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  558. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  559. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  560. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  561. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  562. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  563. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  564. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  565. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  566. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  567. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  568. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  569. ListViewItemStates.cs, MaskFormat.cs: Added
  570. 2006-07-13 Jonathan Chambers <[email protected]>
  571. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  572. Patch from eno for bug 78558.
  573. 2006-07-13 Jackson Harper <[email protected]>
  574. * TreeView.cs: When an edit is finished make sure that the
  575. selected node is visible.
  576. - When setting the top/bottom use the scrollbars is_visible, so
  577. everything will be set correctly even if the tree isn't visible
  578. yet.
  579. 2006-07-13 Jackson Harper <[email protected]>
  580. * ComboBox.cs: Revert the item->index part of my previous patch.
  581. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  582. the edit box has lost focus (duh).
  583. - Just make the edit box not visible when we get return, that will
  584. take the focus, which will call EndEdit
  585. * TreeNode.cs When we start editing, notify the treeview.
  586. 2006-07-12 Jackson Harper <[email protected]>
  587. * ComboBox.cs: Clear out old items before setting the item list.
  588. This prevents databound controls from having their items added
  589. twice.
  590. - Switch the combobox to use indices whereever possible instead of
  591. using Item's. This allows usto navigate through lists that have
  592. more then one item with the same string value (ie a, b, b, a).
  593. - Scroll the listboxes scrollbar when a non visible item is
  594. highlighted
  595. - Allow keypress to cycle through all the possible values. For
  596. example if you have b1, b2, b3 and hold down the B key all the
  597. values will be cycled through.
  598. 2006-07-12 Jackson Harper <[email protected]>
  599. * TextBoxBase.cs:
  600. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  601. this using the internal methods.
  602. * Control.cs: Add OnGotFocusInternal. A new method that allows
  603. controls to "override" OnGotFocus and change focus behavior if
  604. needed.
  605. - Same thing for LostFocus
  606. * ComboBox.cs: Pass off focus to the text control properly.
  607. 2006-07-12 Alexander Olk <[email protected]>
  608. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  609. * FolderBrowserDialog.cs: Almost a complete rewrite.
  610. - Better support for Environment.Specialfolders
  611. - Added support for MWFVFS
  612. - Made setting SelectedPath work
  613. 2006-07-12 Jackson Harper <[email protected]>
  614. * Control.cs: Optimze getting all the controls.
  615. 2006-07-11 Jackson Harper <[email protected]>
  616. * ContainerControl.cs: Override SETFOCUS in the container control,
  617. so that it is not selected on mouse click.
  618. 2006-07-11 Peter Dennis Bartok <[email protected]>
  619. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  620. Hopefully we will have a better way once all of focus is complete.
  621. 2006-07-11 Peter Dennis Bartok <[email protected]>
  622. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  623. a compile error with csc.
  624. 2006-07-11 Jackson Harper <[email protected]>
  625. * Control.cs: When hiding a control only select the next control
  626. if the current control was focused.
  627. - Don't handle enter/leave when setting/killing focus, this is
  628. done by the container control.
  629. - Remove is_selected, it's not needed anymore.
  630. - Add utility methods for selecting a child control, and for
  631. firing the Enter/Leave events.
  632. * ContainerControl.cs: When a control is activated fire the
  633. enter/leave events.
  634. - Don't wrap when processing the tab key, so that focus can be
  635. moved outside of the container.
  636. - Use the correct active control
  637. 2006-07-11 Jackson Harper <[email protected]>
  638. * ComboBox.cs: Remove some debug code that was blinding me.
  639. * UpDownBase.cs: These controls actually aren't implicit, they are
  640. visible to the user.
  641. 2006-07-10 Chris Toshok <[email protected]>
  642. * DataGrid.cs: move back to the is_adding boolean field. god i
  643. hate this is_editing/is_adding/is_changing stuff.
  644. 2006-07-10 Chris Toshok <[email protected]>
  645. * DataGridTableStyle.cs: just check if the property type is bool.
  646. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  647. Don't use CanRenderType.
  648. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  649. if our text == NullText. Remove CanRenderType.
  650. * DataGridBoolColumn.cs: nuke CanRenderType.
  651. * DataGrid.cs: reenable some code to end the current edit inside
  652. of set_CurrentCell. This fixes the other 1.1.16 regression.
  653. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  654. Also, remove the visible_row_count arg from CalcRowHeaders, since
  655. we don't need to worry about the actual height of the area.
  656. 2006-07-10 Chris Toshok <[email protected]>
  657. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  658. mode, just return.
  659. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  660. the real sense of the IsInEditOrNavigateMode property (true =
  661. navigate, false = edit). Also, update OnKeyPress to reflect this.
  662. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  663. column style exists, we still need to set its property descriptor
  664. to match up with our list manager.
  665. 2006-07-10 Chris Toshok <[email protected]>
  666. * ThemeWin32Classic.cs: implement the new row/header painting
  667. approach. The parent row painting will likely go away and
  668. replaced with label controls, but the rest seems to work ok (and
  669. efficiently).
  670. * Theme.cs: change the way we draw datagrid rows. we don't draw
  671. the row headers as a block now. Instead we draw them in the
  672. normal draw-row loop. Add some calls for drawing parent rows and
  673. relation rows.
  674. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  675. a default table style. Set the defaults from ThemeEngine.Current,
  676. not SystemColors. Fix lots of misc issues with property setters.
  677. * DataGrid.cs: move loads of style information out of this class
  678. as it's being duplicated with DataGridTableStyle. keep track of a
  679. special DataGridTableStyle for the properties we used to mirror
  680. here. Switch all the style properties to access this table style
  681. instead of instance fields of this class. Also add a internal
  682. class to represent parent rows (more needs to be stored here, like
  683. the selection state from the parent table, as well as the
  684. expansion state.) Also, for datasources with relations, do the
  685. right thing for collapse/expand, and add support for the
  686. navigation/parent row buttons.
  687. Lastly, fix the crash in the 1.1.16 build.
  688. * GridTableStylesCollection.cs: make the explicit interface
  689. implementations call the class's methods as opposed to duplicating
  690. them.
  691. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  692. 0 so the text doesn't jump around when we move the cursor.
  693. 2006-07-10 Jackson Harper <[email protected]>
  694. * TextBoxBase.cs:
  695. * ListBox.cs: Match MS's ToString (this makes debugging focus
  696. stuff infinitely easier).
  697. 2006-07-10 Jackson Harper <[email protected]>
  698. * Control.cs (SelectNextControl): When checking the control's
  699. parent use this instead of ctrl.parent so that null can be passed
  700. to SelectNextControl. (I have unit tests for this).
  701. - Remove unused var.
  702. 2006-07-10 Chris Toshok <[email protected]>
  703. * CurrencyManager.cs: correct one regression, the removal of the
  704. finalType field. Also, add a MonoTODO on CanAddRows, implement
  705. Refresh() correctly, and fix some event emission in
  706. ListChangedHandler.
  707. 2006-07-07 Alexander Olk <[email protected]>
  708. * FileDialog.cs: Don't use brackets for new folders if they exist
  709. under *nix. Instead use -(number of existing folders +1).
  710. 2006-07-07 Alexander Olk <[email protected]>
  711. * FileDialog.cs:
  712. - Fixed really nasty bug #78771
  713. - Don't block the whole GUI when reading directories with a lot of
  714. entries. Use an other thread instead and call BeginInvoke to
  715. update the ListView in MWFFileView
  716. 2006-07-07 Chris Toshok <[email protected]>
  717. * Control.cs (Dispose): release any Capture when disposing.
  718. 2006-07-07 Chris Toshok <[email protected]>
  719. * LinkLabel.cs (Select): if we chain up to the parent, set
  720. focused_index to -1 so we'll search for the first available link
  721. the next time the user tabs into us. Also, if the direction is
  722. backward and focused_index == -1, start the search from the last
  723. element.
  724. 2006-07-07 Chris Toshok <[email protected]>
  725. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  726. is beyond the end of the text, don't do anything.
  727. (CreateLinkPieces): set our ControlStyles.Selectable based on
  728. whether or not we have any links.
  729. (Link.Invalidate): use a loop instead of foreach.
  730. (Link.set_Start): null out owner.sorted_links so it'll be
  731. recreated by CreateLinkPieces.
  732. 2006-07-06 Chris Toshok <[email protected]>
  733. * LinkLabel.cs: revert the SetStyle change.
  734. 2006-07-06 Chris Toshok <[email protected]>
  735. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  736. (OnEnableChanged): s/Refresh/Invalidate
  737. (OnGotFocus): if we have a focused index already, refocus it (so
  738. if we mouse out/in to the window it'll focus the right link).
  739. (OnKeyDown): move the tab handling out of here.
  740. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  741. when we lose focus.
  742. (OnMouseDown): don't Capture here - Control handles it. Also,
  743. focus the active link.
  744. (OnMouseUp): don't deal with Capture.
  745. (OnPaintBackgroundInternal): remove.
  746. (OnTextAlignChanged): CreateLinkPieces before calling the
  747. superclass's method.
  748. (OnTextChanged): call CreateLinkPieces before calling superclass's
  749. method.
  750. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  751. move around.
  752. (Select): implement this, moving the selection between different
  753. links, and call parent.SelectNextControl if we don't have another
  754. link to focus in the given direction.
  755. (CreateLinkPieces): call Invalidate instead of Refresh.
  756. 2006-07-06 Chris Toshok <[email protected]>
  757. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  758. new LinkLabel internals.
  759. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  760. over pieces looking for active/focused/etc links. also, deal with
  761. runs of text (and links) with embedded \n's in them, and use
  762. MeasureCharacterRanges instead of MeasureString to figure out the
  763. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  764. two-step.
  765. 2006-07-04 Jackson Harper <[email protected]>
  766. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  767. XKB or key auto repeat, do it manually. Without key auto repeat,
  768. when a key is held down we get key press, key release, key press,
  769. key release, ... with auto repeat we get key press, key press, key
  770. press ..., and then a release when the key is actually released.
  771. 2006-07-03 Jackson Harper <[email protected]>
  772. * TabControl.cs:
  773. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  774. rules, they are always control color regardless of the background
  775. color.
  776. 2006-07-02 Alexander Olk <[email protected]>
  777. * FileDialog.cs: Added internal class MWFConfig.
  778. Removed Registry support and replaced it with support for the new
  779. MWFConfig class. See MWFConfig comments for more information.
  780. 2006-06-30 Alexander Olk <[email protected]>
  781. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  782. rectangle. Added some patches from eno from bug #78490 and fixed
  783. the arrow position for small up and down CPDrawScrollButtons.
  784. 2006-06-30 Jackson Harper <[email protected]>
  785. * InternalWindowManager.cs: Remove some debug code.
  786. * Form.cs: When an MdiParent is set to null, the window is
  787. "detatched" and becomes a normal window.
  788. * MdiClient.cs: Don't bring the new child form to the front until
  789. it is activated (setting it as active does this), this makes the
  790. previously active forms titlebar get redrawn as inactive.
  791. 2006-06-29 Peter Dennis Bartok <[email protected]>
  792. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  793. with later controls
  794. 2006-06-29 Mike Kestner <[email protected]>
  795. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  796. arrow in keynav state. Fixes #78682.
  797. 2006-06-28 Atsushi Enomoto <[email protected]>
  798. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  799. order (fixes #78393)
  800. 2006-06-28 Jonathan Pobst <[email protected]>
  801. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  802. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  803. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  804. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  805. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  806. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  807. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  808. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  809. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  810. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  811. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  812. values)
  813. 2006-06-28 Mike Kestner <[email protected]>
  814. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  815. 2006-06-28 Atsushi Enomoto <[email protected]>
  816. * PropertyGrid.cs,
  817. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  818. item lines from other area (It also makes BackColor consistent and
  819. compatible with .NET). Fixed bug #78564.
  820. 2006-06-28 Jonathan Chambers <[email protected]>
  821. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  822. Patch from Eno for #78555.
  823. 2006-06-27 Chris Toshok <[email protected]>
  824. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  825. * DataGridColumnStyle.cs: same.
  826. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  827. * DataGridDrawingLogic.cs: nuke.
  828. 2006-06-27 Chris Toshok <[email protected]>
  829. * DataGridTableStyle.cs: clean up the constructors, and build the
  830. list of child relations for this table. I have no idea if this is
  831. where we should be doing it (it probably isn't), but since we're
  832. already iterating over the properties..
  833. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  834. struct and array for keeping track of row information, similar to
  835. what's shown in a hack on
  836. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  837. * Theme.cs: be consistent about the naming of DataGrid methods,
  838. prefering ColumnWidths and RowHeights over columnsWidths and
  839. RowsHeights.
  840. * ThemeWin32Classic.cs: same, and also add support for variable
  841. sized rows (and the +/- expansion icons for related rows).
  842. 2006-06-27 Peter Dennis Bartok <[email protected]>
  843. * TextBoxBase.cs: Applied Eno's patch from #78660
  844. 2006-06-27 Peter Dennis Bartok <[email protected]>
  845. * Form.cs (ScaleCore): We don't want to scale our form if it's
  846. state is minimized or maximized, but we still need to scale our
  847. child windows. Also, added try/finally block to ensure layout
  848. gets reset (Fixes #78697)
  849. 2006-06-27 Peter Dennis Bartok <[email protected]>
  850. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  851. 2006-06-27 Peter Dennis Bartok <[email protected]>
  852. * Form.cs: Fixed c+p error and added check to resize form if minimum
  853. size is bigger than current size (Fixes #78709)
  854. 2006-06-26 Peter Dennis Bartok <[email protected]>
  855. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  856. 2006-06-26 Mike Kestner <[email protected]>
  857. * ComboBox.cs: only do Keypress handling in the combo when there
  858. are items in the collection. Fixes #78710.
  859. 2006-06-26 Chris Toshok <[email protected]>
  860. * Binding.cs: make this work bi-directionally. also, clear up
  861. other mixups between Push/Pull Data (e.g. we're supposed to pull
  862. data when validating).
  863. * BindingManagerBase.cs: trim some fully qualified collection
  864. types.
  865. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  866. 2006-06-23 Chris Toshok <[email protected]>
  867. * PropertyManager.cs: It appears (according to the unit tests)
  868. that PropertyManager doesn't use
  869. PropertyDescriptor.AddValueChanged to track propery value changes
  870. in its datasource, but uses the same scheme as Binding, where it
  871. looks for a <Property>Changed event and binds to it.
  872. Also, according to the docs, IsSuspended always returns false for
  873. a property manager with a non-null datasource.
  874. 2006-06-22 Peter Dennis Bartok <[email protected]>
  875. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  876. need to update the actual DialogResult. (Fixes #78613)
  877. 2006-06-22 Peter Dennis Bartok <[email protected]>
  878. * Form.cs (ShowDialog): Release any captures before running the
  879. new message pump (fixes #78680)
  880. 2006-06-22 Mike Kestner <[email protected]>
  881. * ListView.cs: Layout column widths properly in details mode even
  882. if HeaderStyle.None is set. Fixes #78691.
  883. 2006-06-21 Peter Dennis Bartok <[email protected]>
  884. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  885. 2006-06-21 Peter Dennis Bartok <[email protected]>
  886. * Control.cs (ContainsFocus): Using new driver method to get focused
  887. window, instead of trying to use internal tracking var, which can
  888. recursion issues (Fixes #78685)
  889. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  890. XplatUIWin32.cs: Added GetFocus method to return focused window
  891. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  892. * ColorDialog.cs: when the mouse button is pressed inside the color
  893. matrix, don't let the cursor move out of it until the button is
  894. released, which is the behavior on windows. Changed 'colours' by
  895. 'colors' to use the same word consistently.
  896. 2006-06-21 Chris Toshok <[email protected]>
  897. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  898. child relation and back, using a stack). Also, remove
  899. GetDataSource and the code that calls it - it's not needed. Also,
  900. track CurrencyManager.ListName's removal.
  901. 2006-06-21 Chris Toshok <[email protected]>
  902. * CurrencyManager.cs: push some of the original type checking from
  903. BindingContext.CreateBindingManager to here, and remove some of
  904. the finalType stuff. Need more tests to make sure I've got the
  905. ListName part right, and we might need more in SetDataSource.
  906. * PropertyManager.cs: add a ctor that takes just the datasource,
  907. and no property name. Make SetDataSource work with a null
  908. property_name, and make Current return the data_source if the
  909. property descriptor is null. this makes 'string foo = "hi";
  910. BindingContext[foo].Current' return "hi" as it should.
  911. * RelatedCurrencyManager.cs: make this code more generic - there's
  912. no reason the parent manager has to be CurrencyManager, and
  913. there's no reason to pass the DataRelation. It suffices to use a
  914. BindingManagerBase and PropetyDescriptor.
  915. * RelatedPropertyManager.cs: make a similar change here.
  916. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  917. flower I knew it could be.
  918. 2006-06-20 Chris Toshok <[email protected]>
  919. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  920. data in the source has changed and we need to update the control,
  921. so s/PullData/PushData.
  922. * CurrencyManager.cs: Refresh is meant to update the control from
  923. data in the datasource. So, s/PullData/PushData.
  924. * BindingContext.cs: add more ugliness (we weren't handling the
  925. case where data_source = DataTable and data_member = column_name).
  926. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  927. from the perspective of the datasource. PullData pulls from the
  928. control, PushData pushes to the control.
  929. 2006-06-20 Chris Toshok <[email protected]>
  930. * BindingContext.cs: rewrite the CreateBindingManager code to
  931. handle navigation paths more or less properly. This could
  932. definitely stand some more work, in particular to push the
  933. recursion up to the toplevel. But that relies on fixes in other
  934. places (System.Data comes to mind).
  935. Also, move to a flat hashtable (and encode the twolevel nature of
  936. the dictionary into the hash key). This lets us implement the
  937. IEnumerable.GetEnumerator method.
  938. * RelatedCurrencyManager.cs: new class. Update our view based on
  939. our relation and our parent CurrencyManager's position.
  940. * CurrencyManager.cs: split out some logic from the ctor into
  941. SetView, so it can be called from the new RelatedCurrencyManager
  942. subclass.
  943. * RelatedPropertyManager.cs: new class. Update our datasource
  944. based on the position of our parent CurrencyManager.
  945. * PropertyManager.cs: split out some logic from the ctor into
  946. SetDataSource, so it can be called from the new RelatedDataSource
  947. subclass. Also, make the Current getter return the value
  948. of the PropertyDescriptor, not the data_source.
  949. * Binding.cs: no need to duplicate the string splitting code here.
  950. 2006-06-19 Peter Dennis Bartok <[email protected]>
  951. * Control.cs:
  952. - set_Enabled: OnEnabledChanged is not called if the inherited state
  953. of the control is not altered, even though we might be changing the
  954. internal state of the control (#78458)
  955. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  956. OnEnabledChanged, to allow easy altering of any child window state
  957. - OnEnabledChanged: Added code to enable/disable driver window state
  958. - OnParentEnabledChanged: Instead of firing the event, call
  959. OnEnabledChanged, which will fire the event and also a) set driver
  960. window state and pass the enabled state to any grandchildren (#78458)
  961. 2006-06-19 Jackson Harper <[email protected]>
  962. * InternalWindowManager.cs: We don't set the cursor explicitly
  963. thats done via the response to NCHITTESTs.
  964. - Don't need to adjust for titlebar heights anymore, the
  965. coordinates are coming in the correct coordinates now (see peters
  966. last patch).
  967. 2006-06-19 Peter Dennis Bartok <[email protected]>
  968. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  969. being translated relative to whole window, instead of client window.
  970. That caused broken offsets on mouseclick (and caused gas for our
  971. InternalWindowManager)
  972. 2006-06-15 Peter Dennis Bartok <[email protected]>
  973. * TextControl.cs:
  974. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  975. - Undo(): Added replay of cursor move on DeleteChars action; added
  976. calling Undo() again if a recorded cursor move is invalid (to
  977. ensure that some action is performed on Undo)
  978. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  979. 2006-06-16 Jackson Harper <[email protected]>
  980. * MdiClient.cs: Instead of just sizing maximized windows when
  981. there is a resize we also have to adjust the Y of minimized
  982. windows, so they stay pinned to the bottom of the mdi container.
  983. - Eliminate separate tracking of the active control, we can just
  984. get this from the controls collection.
  985. - Paint the decorations for the newly activated titlebar so we get
  986. a pretty blue bar.
  987. * InternalWindowManager.cs:
  988. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  989. even if they are a tool window.
  990. 2006-06-15 Peter Dennis Bartok <[email protected]>
  991. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  992. undo buffer, these can happen when text was deleted and the cursor
  993. was recorded first. Since we will also have a recorded cursor
  994. after the delete this is not an issue. (Fixes #78651)
  995. 2006-06-14 Peter Dennis Bartok <[email protected]>
  996. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  997. instead properly track control states internally (allows us to
  998. remove is_selected from Control)
  999. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  1000. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  1001. whose width is not a multiple of 8.
  1002. 2006-06-13 Jackson Harper <[email protected]>
  1003. * MdiClient.cs: Only maximize the next child if the current one
  1004. is maximized.
  1005. 2006-06-13 Chris Toshok <[email protected]>
  1006. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  1007. modified. Also, guard against grid or grid_drawing being null in
  1008. Invalidate.
  1009. * DataGrid.cs: Reformat tons of getters/setters. In the
  1010. DataMember setter, just call SetNewDataSource instead of
  1011. duplicating some of its functionality. In SetNewDataSource, don't
  1012. check ListManager for null, since the property getter creates the
  1013. object if needed.
  1014. * DataGridTableStyle.cs: don't set TableStyle or call
  1015. SetDataGridInternal on the column here, it's done in
  1016. GridColumnStylesCollection.Add.
  1017. * GridColumnStylesCollection.cs: fix all the explicit interface
  1018. implementations to just call our methods. Nuke AddInternal() and
  1019. move the body of it to Add(). Also, add a call to
  1020. column.SetDataGridInternal to Add().
  1021. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  1022. base()+duplicate code. Also, use the Format property instead of
  1023. format to generate an Invalidate ala MS. Lastly, create the
  1024. textbox here, unconditionally.
  1025. (set_Format): call Invalidate.
  1026. (get_TextBox): no need to call EnsureTextBox.
  1027. (Commit): remove the message box.
  1028. (Edit) remove the call to EnsureTextBox.
  1029. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  1030. (EnterNullValue): no need to check textbox for null.
  1031. (HideEditBox): no need to check textbox for null.
  1032. (SetDataGridInColumn): add the textbox to the grid's controls.
  1033. (EnsureTextBox): nuke.
  1034. 2006-06-13 Jackson Harper <[email protected]>
  1035. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  1036. and redraw the buttons when needed. Unhook when the window is
  1037. unmaximized.
  1038. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  1039. needs this so that it can redraw its buttons when the menu is
  1040. repainted.
  1041. * InternalWindowManager.cs:
  1042. * Form.cs: The method order has changed for DrawMaximizedButtons,
  1043. so that it can be a PaintEventHandler.
  1044. 2006-06-13 Jackson Harper <[email protected]>
  1045. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  1046. window is activated and maximized, even if it wasn't before.
  1047. - When a new window is activated repaint the decorations of the
  1048. old one, so that it no longer has the Active "look" (the blue
  1049. titlebar).
  1050. * InternalWindowManager.cs: Open up CreateButtons to base classes
  1051. so they can recreate the buttons on state changes.
  1052. - If a window is maximized give it all three buttons
  1053. * MdiWindowManager.cs: Create the titlebar buttons when the state
  1054. is changed, this is needed because a toolwindow will not have all
  1055. three buttons until it is maximized.
  1056. 2006-06-13 Atsushi Enomoto <[email protected]>
  1057. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  1058. Fixed bug #78609.
  1059. 2006-06-12 Jackson Harper <[email protected]>
  1060. * KeysConverter.cs: Make sure we handle the Ctrl special case
  1061. if its the only key.
  1062. 2006-06-12 Jackson Harper <[email protected]>
  1063. * Theme.cs: Add a method to get the size of a managed window
  1064. toolbar button.
  1065. * InternalWindowManager.cs: Remove the ButtonSize property, this
  1066. should be retrieved from the theme.
  1067. * MdiWindowManager.cs: Get the button size from the theme
  1068. * ThemeWin32Classic.cs: Make the method to get the managed window
  1069. titlebar button size public.
  1070. - Handle the different button sizes of maximized toolwindows
  1071. (should match any maximized window).
  1072. - Get the titlebar height from the theme, not the WM (which gets
  1073. it from the theme).
  1074. 2006-06-12 Jackson Harper <[email protected]>
  1075. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  1076. event down to the mdi window manager.
  1077. - Expose some extra stuff to base classes
  1078. - Make sure to end the Capture on an NC Mouse up, so that we can
  1079. get double clicks properly, and the sizing doens't stick.
  1080. - When doing PointToClient contain it in the workable desktop
  1081. area, this prevents windows from changing size when the cursor is
  1082. pulled outside of the working area while sizing.
  1083. * MdiWindowManager.cs: When we get a double click maximize the
  1084. window.
  1085. - Reset the cursor after handling mode changes.
  1086. 2006-06-12 Peter Dennis Bartok <[email protected]>
  1087. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  1088. current desktop, instead of just assuming a 0, 0 origin. This
  1089. is needed for our internal window manager, to know the top
  1090. margin of the desktop
  1091. 2006-06-12 Chris Toshok <[email protected]>
  1092. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  1093. we need this to get rid of the selected background in the bool
  1094. column.
  1095. (CancelEditing): move the ConcedeFocus call to above the Abort
  1096. call. Also, set is_changing to false and invalidate the row
  1097. header if we were changing before.
  1098. (ProcessKeyPreviewInternal): remove, since noone outside this
  1099. class calls it anymore. Roll the code into ProcessKeyPreview.
  1100. (EndEdit): remove the internal version.
  1101. (InvalidateCurrentRowHeader): make private.
  1102. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  1103. Keys.Escape handling (and with it the last call to
  1104. DataGrid.EndEdit from outside the class.)
  1105. 2006-06-12 Chris Toshok <[email protected]>
  1106. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  1107. (OnKeyPress): set isedit to true.
  1108. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  1109. already handled by the grid.
  1110. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  1111. right. ugh.
  1112. (set_DataSource): SetDataSource always returns true, so stop
  1113. putting it in an if statement.
  1114. (EndEdit): get rid of some {}'s
  1115. (ProcessGridKey): return true in case Keys.Escape.
  1116. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  1117. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  1118. PositionChanged, stopped connecting to CurrentChanged.
  1119. (GetDataSource): simplify this a bunch.
  1120. (SetDataSource): change return type from bool to void.
  1121. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  1122. to this, and make sure we don't set ListManager.Position inside
  1123. set_CurrentCell.
  1124. (OnListManagerItemChanged): if we're passed an actual index,
  1125. redraw that row.
  1126. * CurrencyManager.cs (set_Position): don't call PullData here.
  1127. 2006-06-09 Jackson Harper <[email protected]>
  1128. * TreeNode.cs: Recalculate the visible order before doing the
  1129. Expand/Collapse Below calls, because those calls generate an
  1130. expose.
  1131. - Reduce calls to the TreeView property, which is mildly expensive
  1132. by using a local var.
  1133. * Form.cs: Layout the MDI child windows when creating the parent
  1134. form.
  1135. - Don't use the internal constructor anymore
  1136. * MdiClient.cs: use the parent form width/height (if available)
  1137. when laying out the child windows, we do this because the
  1138. mdiclient isn't docked yet when the initial layout is done.
  1139. - Don't need an internal constructor anymore.
  1140. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  1141. * FileDialog.cs: handle access errors when trying to create a folder
  1142. or changing to a directory. No need to initialize out parameters.
  1143. 2006-06-08 Alexander Olk <[email protected]>
  1144. * FileDialog.cs: Append a number when creating a new folder if the
  1145. folder already exists (use parenthesis instead of square brackets)
  1146. 2006-06-08 Alexander Olk <[email protected]>
  1147. * FileDialog.cs:
  1148. - Disabled registry support for windows and added better registry
  1149. error checking for other systems (need to investigate why it
  1150. works perfectly on my system)
  1151. - If a folder already exist show an error MessageBox instead of
  1152. trying to create an indexed name.
  1153. - Fixed a non intentional typo.
  1154. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  1155. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  1156. 2006-06-08 Alexander Olk <[email protected]>
  1157. * FileDialog.cs: When creating a new folder don't crash if the
  1158. folder already exists.
  1159. 2006-06-08 Alexander Olk <[email protected]>
  1160. * FileDialog.cs: Allmost a complete rewrite.
  1161. - added a "virtual" file system that handles the differences
  1162. between unix and windows file systems (especially the directory
  1163. structure). Moved most of the directory and file handling code
  1164. into the vfs.
  1165. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  1166. UnixFileSystem and FSEntry.
  1167. - Recently used folder/directory, size, location and used file names
  1168. (file name ComboBox) are now stored in the registry and get read
  1169. before the dialog shows up (fixes part 6 of bug #78446).
  1170. - Creation of new folders/directories is now possible (context menu
  1171. or ToolBar). Added TextEntryDialog for this that fills in the gap
  1172. until ListView.LabelEdit works.
  1173. - Fixed cursor handling (bug #78527) and focus handling for
  1174. PopupButtonPanel
  1175. - Various "Search in" ComboBox enhancements. The content of the
  1176. dropdown listbox now almost matches ms.
  1177. - Changed the behaviour when the user switches to SpecialFolder
  1178. Recent to show the ListView in View.Details.
  1179. - Beside using the ToolBar to change the View property of the
  1180. file ListView it is now possible to use the context menu too.
  1181. 2006-06-08 Alexander Olk <[email protected]>
  1182. * ComboBox.cs: Don't create a new ObjectCollection when an item
  1183. gets inserted. Just insert the item in the existing object_items
  1184. ArrayList.
  1185. 2006-06-08 Jackson Harper <[email protected]>
  1186. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  1187. that the treeview and root node checks are done also, this fixes a
  1188. regression i caused in the unit tests.
  1189. 2006-06-07 Wade Berrier <[email protected]>
  1190. * RichTextBox.cs: More ISO8859-1 -> unicode
  1191. 2006-06-07 Mike Kestner <[email protected]>
  1192. * ComboBox.cs : use items to hold highlight/selection so that
  1193. collection insertions don't require synchronization.
  1194. 2006-06-07 Jackson Harper <[email protected]>
  1195. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  1196. routine. We now always keep the sized edge at the cursor instead
  1197. of computing movement and adjusting rects. There is one buglet
  1198. with this method though when the cursor is moved over area that
  1199. the window can not expand too (such as the toolbars on the desktop).
  1200. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  1201. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  1202. here. Fixes crash on startup in AlbumSurfer.
  1203. 2006-06-07 Peter Dennis Bartok <[email protected]>
  1204. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  1205. values
  1206. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  1207. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  1208. statement to avoid calling XNextEvent which will block if another thread
  1209. took the event that we were expecting. Fixes bug #78605.
  1210. 2006-06-07 Mike Kestner <[email protected]>
  1211. * ListView.cs : isolated checkbox clicking from the selection logic.
  1212. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  1213. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  1214. * Form.cs: Check that the value passed to Form.DialogResult
  1215. is a valid enum value.
  1216. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  1217. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  1218. Computer'. Clicking it in the network view goes to 'My Computer'.
  1219. Added CIFS filesystem type. Display the mount point of filesystems.
  1220. Avoid duplicate mount points (happens for me with CIFS);
  1221. 2006-06-06 Jackson Harper <[email protected]>
  1222. * InternalWindowManager.cs: Draw the maximized windows buttons
  1223. when resizing.
  1224. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  1225. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  1226. all other dialogs. Fixes bug #78585.
  1227. 2006-06-06 Mike Kestner <[email protected]>
  1228. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  1229. Only invalidate checkbox on checkstate changes to avoid flicker.
  1230. * ListBox.cs : avoid unselect/select when clicking selected item.
  1231. avoid reselection flicker for already multiselected items.
  1232. Fixes #78382.
  1233. 2006-06-06 Jackson Harper <[email protected]>
  1234. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  1235. the parent form so that the menu is removed if needed.
  1236. 2006-06-06 Mike Kestner <[email protected]>
  1237. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  1238. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  1239. 2006-06-06 Mike Kestner <[email protected]>
  1240. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  1241. 2006-06-06 Jackson Harper <[email protected]>
  1242. * Control.cs: Use the property (instead of the field) to get the
  1243. default cursor so it is instantiated correctly.
  1244. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  1245. resizes so we need to manually repaint the window decorations here.
  1246. - Set the titlebar button locations as soon as they are created,
  1247. otherwise they are not set correctly on win32.
  1248. 2006-06-06 Chris Toshok <[email protected]>
  1249. * CurrencyManager.cs (set_Position): call PullData before
  1250. OnCurrentChanged.
  1251. (AddNew): after calling IBindingList.AddNew, update our
  1252. listposition, and call OnCurrentChanged/OnPositionChanged (without
  1253. calling PullData).
  1254. (OnCurrentChanged): remove the call to PullData from here.
  1255. (OnItemChanged): remove the call to PushData from here.
  1256. (OnPositionChanged): change the test from == null to != null to
  1257. match the other methods.
  1258. (ListChangedHandler): the grossest part of the patch. Implement
  1259. this such that it passes the unit tests in CurrencyManagerTest and
  1260. the output more or less matches that of MS's implementation.
  1261. 2006-06-06 Mike Kestner <[email protected]>
  1262. * ListView.cs : only update check state on single click.
  1263. * ThemeWin32Classic.cs : fix focus drawing for details view without
  1264. fullrowselect. Fixes #78454.
  1265. * XplatUIX11.cs : fix for double click emission.
  1266. 2006-06-05 Jonathan Chambers <[email protected]>
  1267. * PropertyGridView.cs : Applied Atsushi's patch to fix
  1268. font dialog bug (#78197).
  1269. 2006-06-05 Jackson Harper <[email protected]>
  1270. * TreeNode.cs: Compute the next node for expanding/collapsing
  1271. correctly. We now factor in nodes without a NextNode
  1272. correctly. (Fixes somes cases in nunit-gui).
  1273. * InternalWindowManager.cs: Set the bounds when updating the
  1274. virtual position of a tool window.
  1275. 2006-06-05 Chris Toshok <[email protected]>
  1276. * DataGrid.cs: rename cached_currencymgr to list_manager.
  1277. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  1278. some.
  1279. (CurrentRow, CurrentColumn): single accessors so we can make the
  1280. cursor movement code a lot easier to understand.
  1281. (CurrentRowIndex): implement this in terms of CurrentRow.
  1282. (BeginEdit): clean this up a bit.
  1283. (CancelEditing): sort out the is_editing/is_changing/is_adding
  1284. stuff a little.
  1285. (EndEdit): minor changes.
  1286. (OnKeyDown): add a comment about a (most likely) unnecessary
  1287. check.
  1288. (OnMouseDown): cancel editing when we click on a row header. And
  1289. use the CurrentRow setter, not CurrentCell.
  1290. (ProcessDialogKey): directly call ProcessGridKey.
  1291. (UpdateSelectionAfterCursorMove): factor out this common block of
  1292. code (it's used everywhere that we move the cursor by updating row
  1293. or column).
  1294. (ProcessGridKey): pretty substantial overhaul. Use the
  1295. CurrentRow/CurrentColumn properties to make the code a lot more
  1296. readable. Only use the CurrentCell property when we have to
  1297. modify both row and column at once. Tab behavior is still broken,
  1298. and Delete is untested.
  1299. (Select): if we have no selected rows, set selection_start to
  1300. @row.
  1301. (EditCurrentCell): rename EditCell this. It was only ever invoked
  1302. with CurrentCell as the arg, so drop the arg and rename it.
  1303. * DataGridColumnStyle.cs: clean up the constructors a little, and
  1304. drop CommonConstructor().
  1305. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  1306. actually get notified when the user hits it.
  1307. (ProcessKeyMessage): *substantially* simplify this method.
  1308. There's no reason (that I can see) for the textbox to be making
  1309. calls into the datagrid at all. Remove all of them but the ones
  1310. for Enter handling. those will take some more work.
  1311. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  1312. calling HideEditBox.
  1313. (HideEditBox): if we have an active textbox, render it invisible
  1314. without causing a re-layout of the datagrid.
  1315. 2006-06-05 Mike Kestner <[email protected]>
  1316. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  1317. collection changes by resetting it to Items[0]. Fixes #78587.
  1318. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  1319. * MessageBox.cs: if the height of the text is larger than the icon_size,
  1320. use that. Fixes bug #78575.
  1321. 2006-06-05 Jackson Harper <[email protected]>
  1322. * TreeView.cs: Fix line drawing when scrolling. To do this each
  1323. node is basically responsible for drawing its entire horizontal
  1324. area. When drawing a node it draws its parent node lines if
  1325. needed.
  1326. - Adjust the clip area to the viewport rectangle
  1327. - Fix Left/Right key handling to match MS. (It expand/collapses
  1328. and moves to parents/first child but does not move selection to
  1329. sibling nodes).
  1330. - Fix SetTop to work with new bound calculation code
  1331. - When scrollbars are no longer needed we need to reset scrolling
  1332. vars and recalculate the visible order so the redraw is correct
  1333. * TreeNode.cs: We can't expand/collapse nodes with no children.
  1334. 2006-06-03 John Luke <[email protected]>
  1335. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  1336. so the colors work without dev packages
  1337. 2006-06-02 Peter Dennis Bartok <[email protected]>
  1338. * Control.cs
  1339. - Select: Implemented to just use activate. Seems to match MS
  1340. behaviour closest. Documented to only do actual control walking
  1341. based on it's parameters if in a container control so I moved
  1342. the code there.
  1343. - Removed selection check logic from our internal Select() method
  1344. * ContainerControl.cs:
  1345. - Select: Moved selection logic from Control here, since MS documents
  1346. that containers obey the bool arguments. No longer calling base
  1347. 2006-06-02 Jackson Harper <[email protected]>
  1348. * TreeView.cs: If the selected node isn't changed when we get
  1349. focus update the previously selected node so that we see the
  1350. selection box.
  1351. 2006-06-02 Mike Kestner <[email protected]>
  1352. * ComboBox.cs: restructure grab and general mouse event handling.
  1353. Make the composite control raise mouse events like it was a single
  1354. control for leaves/enters/motion/up/down events. fix dropdown list
  1355. coordinate mangling and refactor it into the scrollbar subclass to
  1356. reduce code duplication. Fixes #78282 #78361 and #78457.
  1357. 2006-06-02 Mike Kestner <[email protected]>
  1358. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  1359. automatically in the Control.WndProc.
  1360. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  1361. * FileDialog.cs: fix crash when running SharpChess, which sets the
  1362. FilterIndex to 2 with only one Filter.
  1363. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  1364. * ToolBar.cs: add SizeSpecified property.
  1365. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  1366. try to figure out our real size, otherwise fallback to what the
  1367. container says.
  1368. 2006-06-01 Peter Dennis Bartok <[email protected]>
  1369. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  1370. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  1371. up the event
  1372. 2006-06-01 Mike Kestner <[email protected]>
  1373. * ListView.cs: revamp the focus management in ListView. It still
  1374. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  1375. better than not handling focus at all. Will revisit when pdb feels
  1376. the general focus handling is solid. Fixes #78526.
  1377. 2006-06-01 Jackson Harper <[email protected]>
  1378. * TreeView.cs: Set the default border style in the constructor.
  1379. - Move painting to use OnPaintInternal instead of capturing
  1380. WM_PAINT, this is the correct way of doing things
  1381. - UpdateBelow shouldn't invalidate the scrollbar area
  1382. - Cap the top on update below in case the node was above the top
  1383. of the viewport rectangle.
  1384. - ExpandBelow and Collapse below need to obey Begin/End Update.
  1385. * TreeNode.cs: Make is_expanded internal so the treenode
  1386. collection can change it without firing the whole event chain.
  1387. * TreeNodeCollection.cs: When clearing all the child nodes make
  1388. sure to recalc the visible order.
  1389. - Improve algo for remove the top node
  1390. 2006-06-01 Peter Dennis Bartok <[email protected]>
  1391. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  1392. SendMessage directly calling window procedures, which in turn might
  1393. call SetFocus()
  1394. 2006-06-01 Peter Dennis Bartok <[email protected]>
  1395. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  1396. has focus (works around X11 sending a FocusIn after our SetFocus)
  1397. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  1398. 2006-06-01 Alexander Olk <[email protected]>
  1399. * Mime.cs: Fix for the NET_2_0 build.
  1400. NameValueCollection needs StringComparer now.
  1401. 2006-05-31 Chris Toshok <[email protected]>
  1402. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  1403. return (via an out parameter) the starting X of the column.
  1404. (UpdateVisibleColumn): track change to FromPixelToColumn.
  1405. (HitTest): add a ColumnResize case here.
  1406. (DrawResizeLine): new function, probably poorly named.
  1407. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  1408. only need to keep one reference.
  1409. (set_ListManager): same.
  1410. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  1411. Also, add support for HitTestType.ColumnResize.
  1412. (OnMouseMove): add column resize behavior here, and change the
  1413. cursor to the correct one as we move around the datagrid.
  1414. (OnMouseUp): terminate the column resize if we're resizing.
  1415. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  1416. for the current cell.
  1417. (ConnectListManagerEvents): use cached_currencymgr.
  1418. (DisconnectListManagerEvents): fill this in, using
  1419. cached_currencymgr.
  1420. (SetCurrentCell): remove cached_currencymgr_events handling.
  1421. (SetDataMember): only call DisconnectListManagerEvents if
  1422. cached_currencymgr is != null.
  1423. (SetDataSource): same.
  1424. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  1425. cached_currencymgr.
  1426. 2006-05-31 Jackson Harper <[email protected]>
  1427. * BindingManagerBase.cs: Remove somedebug code that creeped into
  1428. SVN.
  1429. * TreeNode.cs: We get the indent level dynamically right now, so
  1430. don't track it as a member.
  1431. * TreeNodeCollection.cs: Make sure all nodes added to the list
  1432. have parents, treeviews/topnodes setup properly.
  1433. - Don't attempt to track indent level.
  1434. 2006-05-30 Jackson Harper <[email protected]>
  1435. * BindingContext.cs: Create the currency manager tables here.
  1436. This allows us to more easily create null tables (when bad data
  1437. members are used), and more easily create related currency
  1438. managers.
  1439. * CurrencyManager.cs: All the table creation stuff is done by the
  1440. binding context now.
  1441. - Current should throw an exception if listposition is -1.
  1442. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  1443. been bound yet.
  1444. 2006-05-30 Mike Kestner <[email protected]>
  1445. * ListView.cs: allow reexpansion of zero-width column headers.
  1446. Fixes #78528.
  1447. 2006-05-28 Chris Toshok <[email protected]>
  1448. * CurrencyManager.cs (get_Current): after the late binding
  1449. listposition = -1 fix, we need to guard against it here and return
  1450. null, otherwise we raise an exception (which is swallowed
  1451. elsewhere, and breaks datagrid databinding.)
  1452. 2006-05-26 Peter Dennis Bartok <[email protected]>
  1453. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  1454. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  1455. 2006-05-26 Jackson Harper <[email protected]>
  1456. * ControlPaint.cs:
  1457. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  1458. values, it's faster and it's all we care about (we don't care if
  1459. the names aren't equal).
  1460. * KeyboardLayouts.cs: Eliminate some dead code.
  1461. - Lazy init things
  1462. * X11Keyboard.cs: Lazy init keyboard detection.
  1463. - Cleanup access modifiers a little.
  1464. 2006-05-26 Peter Dennis Bartok <[email protected]>
  1465. * XplatUIX11.cs: Once again, attempting to get layout just right.
  1466. 2006-05-26 Peter Dennis Bartok <[email protected]>
  1467. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  1468. the sizes of each link section, that will result in sizes that
  1469. match DrawString's layout (Fixes #78391)
  1470. 2006-05-27 Alexander Olk <[email protected]>
  1471. * FileDialog.cs: If AddExtension property is true autocomplete the
  1472. extensions in SaveFileDialog correctly. Fixes bug #78453.
  1473. Set MyNetwork and MyComputer to "C:\" for windows. This should
  1474. fix part 8 of bug #78446 for now.
  1475. 2006-05-26 Chris Toshok <[email protected]>
  1476. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  1477. invalidate the current row header if we need to, but presumably
  1478. we'll invalidate the row corrsponding to the bounds or
  1479. editingControl.
  1480. (GridHScrolled): switch back to this method, as it's part of the
  1481. public api. *sigh*.
  1482. (GridVScrolled): same.
  1483. (OnMouseWheel): hack up something that more or less works. Call
  1484. GridHScrolled/GridVScrolled directly, instead of duplicating much
  1485. of their code here.
  1486. (EnsureCellVisibility): reinstate a bunch of this code, since we
  1487. can't just set the scrollbar Value and expect to do all the work
  1488. in the ValueChanged handler. Also, Call Update() after scrolling
  1489. in one direction so the other XplatX11.ScrollWindow call has the
  1490. proper stuff in the proper places.
  1491. (EditCell): set is_editing to true before calling .Edit.
  1492. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  1493. don't bother comparing first.
  1494. (OnKeyPress): call grid.ColumnStartedEditing before calling
  1495. base.OnKeyPress. this will set is_changing and invalidate the row
  1496. header if necessary.
  1497. (ProcessKeyMessage): for WM_CHAR messages, call
  1498. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  1499. and WM_KEYDOWN.
  1500. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  1501. it's done in the DataGrid.
  1502. (NextState): call grid.ColumnStartedEditing, which takes care of
  1503. invalidating the row header (and setting is_changing).
  1504. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  1505. here. it's done in the DataGrid.
  1506. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1507. * Control.cs: allow changing the cursor when the mouse position is
  1508. out of bounds but Capture is set.
  1509. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  1510. linklabel but released somewhere else.
  1511. 2006-05-25 Jackson Harper <[email protected]>
  1512. * TreeView.cs: When we get focus if there is no selected node make
  1513. it the top node
  1514. - Remove some uneeded setup code from Draw.
  1515. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  1516. a new node is inserted make the new node the top.
  1517. * XplatUIX11.cs:
  1518. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  1519. be used (should be faster).
  1520. 2006-05-25 Chris Toshok <[email protected]>
  1521. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  1522. problem with the last commit.
  1523. 2006-05-25 Chris Toshok <[email protected]>
  1524. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  1525. need the invalidate call here, while scrolling right-to-left via
  1526. the left arrow key (i.e. moving the editing cell while scrolling).
  1527. * DataGrid.cs (.ctor): remove the initialization of
  1528. ctrl_pressed/shift_pressed. We no longer track them using key
  1529. up/down handlers, but by using Control.ModifierKeys. Also, switch
  1530. to using ValueChanged handlers on the scrollbars instead of
  1531. Scrolled event handlers. This simplifies a bunch of the scrolling
  1532. code.
  1533. (GridHValueChanged): rename from GridHScrolled, and change it to
  1534. work with the new event args.
  1535. (GridVValueChanged): same.
  1536. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  1537. (OnMouseWheel): actually scroll the datagrid. Don't change the
  1538. selected cell.
  1539. (ProcessGridKey): correct all the keyboard navigation stuff I
  1540. could find. Ctrl up/down/left/right/home/end work now.
  1541. (EnsureCellVisibility): correct method name spelling. Also,
  1542. simplify this a touch by not explicitly calling the
  1543. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  1544. scrollbar value.
  1545. (OnKeyUpDG): no need for this method now.
  1546. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1547. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  1548. Fixes bug #78392.
  1549. 2006-05-25 Chris Toshok <[email protected]>
  1550. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  1551. r61019.
  1552. 2006-05-25 Peter Dennis Bartok <[email protected]>
  1553. * Application.cs: Moved setting of is_modal and closing to before
  1554. we create the control, to allow the event handlers called as a
  1555. result of creation affect closing. Also removed Gonzalo's previous
  1556. change to setting DialogResult, the behaviour has been moved to
  1557. Form.ShowDialog()
  1558. * Form.cs:
  1559. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  1560. handle it instead
  1561. - ShowDialog(): If no dialog result is set, we need to return Cancel
  1562. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  1563. the close is cancelled
  1564. 2006-05-25 Jackson Harper <[email protected]>
  1565. * StatusBar.cs: We only need to update the sizes of the other
  1566. panels when we have auto size contents. Also we are only updating
  1567. the contents of the panel, not the borders, so compensate for the
  1568. border width (TODO: get this width from the theme somehow).
  1569. * TreeView.cs: Scrollable is true by default
  1570. - Use invalidate instead of refresh where needed
  1571. - Factor the scrollable value into scrollbar updating
  1572. - Update the scrollbars if the Scrollable property is altered
  1573. - Update the selected node if its ImageIndex is changed
  1574. - Handle null nodes in UpdateNode (mainly so we don't have to
  1575. check if selected is null when updating it
  1576. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  1577. are factored into the visible count
  1578. - Use VisibleCount for clarity in the code
  1579. - When the font is changed we need to recurse through all the
  1580. nodes and invalidate their sizes
  1581. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  1582. * Application.cs: set the DialogResult to fixed when the main form is
  1583. hidden or destroyed while being modal.
  1584. 2006-05-25 Miguel de Icaza <[email protected]>
  1585. * Theme.cs: Use Tangoified messagebox icons.
  1586. (GetSizedResourceImage): Also cope with width = 0 and do not
  1587. trigger a warning in that case (0 means "give me your icon from
  1588. the resouce, no special size needed).
  1589. 2006-05-25 Peter Dennis Bartok <[email protected]>
  1590. * Application.cs: Leave runloop if the the main modal form is
  1591. hidden (fixes #78484)
  1592. 2006-05-25 Atsushi Enomoto <[email protected]>
  1593. * BindingContext.cs : reject null datasource in Contains() and
  1594. Item[].
  1595. * CurrencyManager.cs : check data_member validity when data_source
  1596. is dataset. When it is late binding, the initial position is -1.
  1597. 2006-05-24 Jackson Harper <[email protected]>
  1598. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  1599. inserted nodes that aren't visible. This changes the
  1600. max_visible_order which confuses scrollbar settings.
  1601. - Use the enumerator to get the prev node instead of duplicating
  1602. code.
  1603. * TreeView.cs: Use new method for setting scrollbar values
  1604. - Don't set the bounds every time the scrollbar is updated
  1605. - When updating below the root node use an invalidate instead of a
  1606. refresh to prevent the child controls (scrollbars) from being
  1607. refreshed. (UpdateBelow still needs to be reworked anyways).
  1608. - Reenable SetBottom now that visible orders are set correctly,
  1609. added some debug code incase we ever get bad values there again.
  1610. - Set the scrollbar max to 2 less then the max value, this
  1611. compensates for the max value being one above the node count, and
  1612. for scrollbars adding one extra "notch".
  1613. - When drawing image nodes if there is an imagelist we draw the
  1614. first image in the list if the supplied image index is out of the
  1615. image list's bounds.
  1616. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1617. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  1618. we receive a size change from the WM (Fixes #78503)
  1619. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1620. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  1621. rectangle (Fixes #78501)
  1622. 2006-05-24 Peter Dennis Bartok <[email protected]>
  1623. * ButtonBase.cs:
  1624. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  1625. as a bitfield.
  1626. - Fixed MouseMove to no longer switch pressed state unless the left
  1627. mouse button is pressed. Atsushi provided the original patch (#78485)
  1628. 2006-05-24 Jackson Harper <[email protected]>
  1629. * ScrollBar.cs: New internal methods that allow us to change a
  1630. couple values on the scrollbar (the most common case is maximum
  1631. and large change) without getting multiple invalidates.
  1632. 2006-05-24 Chris Toshok <[email protected]>
  1633. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  1634. (Edit): save off the original state in oldState, and set
  1635. grid.is_editing to true.
  1636. (OnKeyDown): abort editing if escape is pressed. also, call
  1637. NextState if space is pressed.
  1638. (OnMouseDown): call NextState.
  1639. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  1640. here. Also, only invalidate the row header once (on the initial
  1641. is_changing switch) to save on redraws.
  1642. 2006-05-24 Chris Toshok <[email protected]>
  1643. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  1644. if the value in the cell is different than it was before. This
  1645. keeps us from triggering a layout when we move around a datarid
  1646. with a highlighted cell.
  1647. (Edit): suspend layout when creating/positining the text box, and
  1648. resume passing false so we don't ever actually re-layout.
  1649. (ReleaseHostedControl): same.
  1650. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  1651. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  1652. control-key sequences should go to the datagrid - remove that
  1653. lock. Also, modify the conditions under which we move between
  1654. cells when moving the cursor within a cell, and remove the "this"
  1655. and "base" from field accesses. We weren't even consistent, given
  1656. they all were in the base class.
  1657. 2006-05-24 Atsushi Enomoto <[email protected]>
  1658. * Binding.cs : (.ctor)
  1659. An obvious NRE fix for BindingTest.CtorNullTest().
  1660. 2006-05-23 Chris Toshok <[email protected]>
  1661. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  1662. them between lines. This fixes some quirks editing cells in the
  1663. datagrid.
  1664. 2006-05-23 Jackson Harper <[email protected]>
  1665. * TreeView.cs: Use begin/end update when doing expand/collapse all
  1666. so that we don't get flicker on the scrollbar.
  1667. 2006-05-23 Jackson Harper <[email protected]>
  1668. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  1669. treenode calculations to be independant of the painting code. To
  1670. do this nodes track a visible order which is calculated by the
  1671. treeview.
  1672. - Call new methods for expanding/collapsing nodes. These methods
  1673. use scrollwindow so we don't have to update everything below the
  1674. node.
  1675. * TreeView.cs: Refactored drawing and scrolling code. We don't
  1676. need to update nodes when drawing anymore or calculate scrollbar
  1677. stuff.
  1678. - Added new methods for expanding/collapsing nodes. These methods
  1679. use ScrollWindow so as to not have to redraw all the nodes below.
  1680. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  1681. we add/remove nodes or sort.
  1682. - Handle removing the selected and the top node properly.
  1683. 2006-05-23 Chris Toshok <[email protected]>
  1684. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  1685. maybe this should actually happen in the datagrid code?
  1686. (EndEdit): no need to invalidate anything, given that
  1687. ReleaseHostedControl causes the datagrid to relayout, which
  1688. invalidates everything anyway.
  1689. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  1690. in SetCurrentCell).
  1691. (set_SelectionBackColor): call InvalidateSelection instead of
  1692. Refresh.
  1693. (set_SelectionForeColor): same.
  1694. (BeginEdit): Flesh this out a bit.
  1695. (CancelEditing): only do any of this if we're editing/adding.
  1696. (EndEdit): same.
  1697. (OnMouseDown): there's no need to cancel editing here, it's done
  1698. in SetCurrentCell.
  1699. (SetCurrentCell): only invalidate the current row header if it's a
  1700. different row than the new one.
  1701. (ShiftSelection): fix this to work like MS does.
  1702. (ResetSelection): factor out the invalidation of selected_rows to
  1703. InvalidateSelection.
  1704. (SetDataSource): cancel any editing that's going on.
  1705. * DataGridColumnStyle.cs
  1706. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  1707. call the non-interface version.
  1708. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  1709. header rectangle with the clip rectangle so we don't redraw the
  1710. entire header for just a small area. Gets rid of the last flicker
  1711. when horizontally scrolling.
  1712. (DataGridPaintRow): same.
  1713. 2006-05-23 Mike Kestner <[email protected]>
  1714. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  1715. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  1716. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  1717. Critical bug report.
  1718. 2006-05-23 Peter Dennis Bartok <[email protected]>
  1719. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  1720. and this fixes #78493
  1721. 2006-05-23 Miguel de Icaza <[email protected]>
  1722. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  1723. size is not found.
  1724. * FileDialog.cs: Do not change the background for the side bar as
  1725. it wont work nicely with the theme, and also reduces the artifacts
  1726. in rendering the icons (which I want to fix too).
  1727. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  1728. resources, not resgen resources.
  1729. (PlatformDefaultHandler): Pull images using the new API.
  1730. 2006-05-23 Peter Dennis Bartok <[email protected]>
  1731. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  1732. a reference to the hwnd and will not remove it unless there are
  1733. no pending exposures (fixes #78341)
  1734. * XplatUI.cs: Improved debug
  1735. 2006-05-23 Atsushi Enomoto <[email protected]>
  1736. * MenuAPI.cs : don't handle OnClick event when it was not the left
  1737. button. Fixed bug #78487.
  1738. 2006-05-23 Mike Kestner <[email protected]>
  1739. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  1740. prefer submenus to the top menu for item lookup, to avoid popping down
  1741. top-row items.
  1742. 2006-05-23 Alexander Olk <[email protected]>
  1743. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  1744. Graphics.FillRectangle as the visual results are really bad (even
  1745. on win). We now draw perfect arrows (and perfect shadows when the
  1746. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  1747. Pen.DashPattern to draw the dots of each line.
  1748. 2006-05-22 Alexander Olk <[email protected]>
  1749. * FileDialog.cs: Update the filename combobox when navigating through
  1750. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  1751. 2006-05-22 Mike Kestner <[email protected]>
  1752. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  1753. Fixes #78463.
  1754. 2006-05-22 Mike Kestner <[email protected]>
  1755. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  1756. requests. Fix a misspelled parameter and a copy paste exception error
  1757. in Select.
  1758. 2006-05-22 Peter Dennis Bartok <[email protected]>
  1759. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  1760. to get the same width/height (5/13) on X11 as the default font has on
  1761. win32. This means that our DefaultFont emSize is smaller than the
  1762. the MS SWF equivalent (even thought the width/height stays the same)
  1763. 2006-05-20 Jackson Harper <[email protected]>
  1764. * MdiClient.cs:
  1765. * MdiWindowManager.cs:
  1766. * InternalWindowManager.cs: Make sure to use the border width from
  1767. the theme.
  1768. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  1769. * PrintDialog.cs: Implements printer details
  1770. 2006-05-19 Alexander Olk <[email protected]>
  1771. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  1772. Fixes part 1 and 2 of bug #78446
  1773. 2006-05-19 Peter Dennis Bartok <[email protected]>
  1774. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  1775. instead of sticking to the first ever calculated value
  1776. 2006-05-19 Mike Kestner <[email protected]>
  1777. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  1778. PointToClient, since Capture is set. Fixes #78344.
  1779. 2006-05-19 Mike Kestner <[email protected]>
  1780. * ListView.cs: match MS behavior in Details view where items are not
  1781. drawn if Columns.Count == 0.
  1782. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  1783. Use a separate pen to draw the check, since changing the width affects
  1784. the box as well. Fixes #78454.
  1785. 2006-05-18 Miguel de Icaza <[email protected]>
  1786. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  1787. exception should throw the name of the invalid argument.
  1788. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  1789. there are no files listed.
  1790. 2006-05-18 Jackson Harper <[email protected]>
  1791. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  1792. up.
  1793. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1794. * Control.cs: Brought back our old UpdateZOrder method as a private
  1795. function and switched our calls from UpdateZOrder to the new one.
  1796. This fixes the Paint.Net canvas disappearing bug.
  1797. 2006-05-18 Jackson Harper <[email protected]>
  1798. * Theme.cs:
  1799. * ThemeWin32Classic.cs:
  1800. * InternalWindowManager.cs: Move the drawing into the theme,
  1801. expose everything the theme should need from the window manager.
  1802. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1803. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  1804. from the call to NativeWindow to avoid walking up the parent chain
  1805. further than needed (speeds up setting cursors and avoids setting
  1806. the wrong cursor if a parent has another cursor defined)
  1807. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  1808. the icon as hotspot, not what's contained as hotspot in the icon
  1809. file. This fixes the perceived drawing offset seen with Paint.Net
  1810. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1811. * XplatUIX11.cs:
  1812. - Store the calculated rectangle in Hwnd object and use it when
  1813. setting the client size
  1814. - Force Toolwindows to always be type Dock, to ensure they're on top
  1815. 2006-05-18 Mike Kestner <[email protected]>
  1816. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  1817. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  1818. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  1819. Substantial refactoring to remove confusing nested classes. Coding
  1820. standard and Get+Set->property refactorings. Shift to index based
  1821. highlighting in ComboListBox instead of constantly using IndexOf and
  1822. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  1823. in FileDialog growth. Draw borders manually since Simple mode needs
  1824. to look like two independent controls. Make listbox border
  1825. conditional to DropDownStyle. Improved OwnerDraw support.
  1826. 2006-05-18 Sebastien Pouliot <[email protected]>
  1827. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  1828. Don't set the disposed graphics to null, so we can throw the "right"
  1829. exception if the graphics is reused later (added a flag to avoid
  1830. double disposing). Some behaviours are different under 2.0 and are
  1831. filled under bug #78448.
  1832. 2006-05-18 Peter Dennis Bartok <[email protected]>
  1833. * Control.cs: When double-buffering is enabled, we need to reset
  1834. our graphics context between paint calls. Otherwise, any
  1835. transformations and other alterations on the context will
  1836. become cumulative (#77734)
  1837. 2006-05-18 Mike Kestner <[email protected]>
  1838. * ListView.cs: do focused item selection like MS on clicks.
  1839. Rework focus handling for ItemControl so LostFocus invalidates as
  1840. well.
  1841. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  1842. the ListView ItemControl has focus.
  1843. 2006-05-17 Peter Dennis Bartok <[email protected]>
  1844. * XplatUIX11.cs: If client_window ends up being width or height zero
  1845. due to border settings, move it off window inside whole_window (#78433)
  1846. 2006-05-17 Alexander Olk <[email protected]>
  1847. * Mime.cs: Shrink the mime file cache correctly.
  1848. 2006-05-17 Alexander Olk <[email protected]>
  1849. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  1850. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1851. * XplatUIX11.cs (AddExpose): More sanity checks
  1852. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1853. * XplatUIX11.cs:
  1854. - AddExpose: Don't add expose ranges outside the size of our
  1855. window
  1856. - Cast opacity values to Int32 to avoid crashes with certain
  1857. values
  1858. - Added disabled code paths that protect against illegal cross-
  1859. thread painting (Developers.exe)
  1860. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1861. * ProgressBar.cs: Invalidate the control when it's resized
  1862. since block size is based on control size. (#78388)
  1863. 2006-05-16 Miguel de Icaza <[email protected]>
  1864. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  1865. of setting the incoming argument to the "reset" value, we set the
  1866. this.datamember to string.empty (before we were invalidating the
  1867. incoming data).
  1868. Fixes 78420
  1869. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1870. * Form.cs: Only apply transparency settings after the form
  1871. is created. (Fixes #77800)
  1872. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1873. * ApplicationContext.cs: Grab the HandleDestroyed event so
  1874. we know when to fire OnMainFormClosed
  1875. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1876. * Application.cs: Introduced sub-class to allow tracking of
  1877. threads and centralized triggering of the event mess for
  1878. ThreadExit, AppExit, etc.. (#76156)
  1879. 2006-05-16 Alexander Olk <[email protected]>
  1880. * MimeIcon.cs:
  1881. - Do not return a null icon index value for a mime subclass.
  1882. Instead try the main mime type class too.
  1883. - Seems that some newer distributions don't have a link to some
  1884. gnome default icons anymore. So check the default gnome dir too.
  1885. 2006-05-16 Jackson Harper <[email protected]>
  1886. * MdiClient.cs: Don't paint the parent background image if we have
  1887. our own background image.
  1888. 2006-05-16 Peter Dennis Bartok <[email protected]>
  1889. * Control.cs:
  1890. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  1891. controls, all filled controls are supposed to overlap (#78080)
  1892. - UpdateZOrder is supposed to update the control's z-order in the
  1893. parent's z-order chain. Fixed to behave like that
  1894. - BringToFront: Removed obsolete code
  1895. - SendToBack: Simplyfied
  1896. - SetChildIndex: Trigger layout calculations when Z-order changes
  1897. since layout is done by z-order
  1898. 2006-05-16 Chris Toshok <[email protected]>
  1899. [ fixes bug #78410 ]
  1900. * DataGrid.cs (set_AlternatingBackColor): use
  1901. grid_drawing.InvalidateCells instead of Refresh().
  1902. (set_BackColor): call grid_drawing.InvalidateCells.
  1903. (set_BackgroundColor): use Invalidate instead of Refresh.
  1904. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  1905. invalidate the cell area.
  1906. 2006-05-15 Chris Toshok <[email protected]>
  1907. [ fixes bug #78011 ]
  1908. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  1909. on to DataGridPaintRow.
  1910. (DataGridPaintRow): take a clip argument, and only draw the cells
  1911. which intersect it. same with the not_usedarea.
  1912. * Theme.cs (DataGridPaintRow) add @clip parameter.
  1913. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  1914. XplatUI.ScrollWindow.
  1915. (ScrollToRow): same.
  1916. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  1917. with last column which was causing a gray swath to appear with the
  1918. XplatUI.ScrollWindow code.
  1919. 2006-05-15 Chris Toshok <[email protected]>
  1920. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  1921. use XplatUI.ScrollWindow.
  1922. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  1923. 2006-05-15 Peter Dennis Bartok <[email protected]>
  1924. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  1925. 2006-05-15 Peter Dennis Bartok <[email protected]>
  1926. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  1927. file since there are no equivalent X11 cursors
  1928. 2006-05-15 Atsushi Enomoto <[email protected]>
  1929. * MonthCalendar.cs : DateTimePicker should reflect selected date
  1930. on mouse*up*, not mouse*down*. Fixed originally reported part of
  1931. bug #76474.
  1932. 2006-05-15 Atsushi Enomoto <[email protected]>
  1933. * TabControl.cs : When argument index is equal or more than tab
  1934. count, just ignore. Fixed bug #78395.
  1935. 2006-05-15 Peter Dennis Bartok <[email protected]>
  1936. * Control.cs: Dispose all child controls when control is diposed (#78394)
  1937. 2006-05-14 Alexander Olk <[email protected]>
  1938. * ColorDialog.cs: Finally it is possible to select the color with
  1939. the text boxes
  1940. 2006-05-14 Alexander Olk <[email protected]>
  1941. * PrintDialog.cs: Fix typo
  1942. 2006-05-14 Alexander Olk <[email protected]>
  1943. * PrintDialog.cs: PrintDialog is not resizable
  1944. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  1945. color. Made some ToolBar drawing methods protected virtual.
  1946. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  1947. * PrintDialog.cs: Implementation of the PrintDialog
  1948. 2006-05-12 Chris Toshok <[email protected]>
  1949. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  1950. thumb, instead use MoveThumb. This has the side effect of making
  1951. most of the other thumb moving machinery use MoveThumb as well.
  1952. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  1953. need to actually invalidate the rectangle where the new thumb will
  1954. go.
  1955. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  1956. We force an Update() after, so it's not as fast as it could be,
  1957. but at least there's zero flicker and no droppings.
  1958. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  1959. (UpdateThumbPos): add another argument (dirty), which says whether
  1960. or not to calculate/add dirty regions which we later invalidate.
  1961. For cases where we know we're going to use MoveThumb, we pass
  1962. false for this. Otherwise, pass true.
  1963. 2006-05-12 Jackson Harper <[email protected]>
  1964. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  1965. the status bar.
  1966. 2006-05-12 Peter Dennis Bartok <[email protected]>
  1967. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  1968. and GetClipRegion methods and UserClipWontExposeParent property.
  1969. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  1970. overriding UserClipWontExposeParent property, setting to false, since
  1971. Win32 handles the required expose messages to draw our clipped parent
  1972. areas internally
  1973. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  1974. PaintEventStart to set the user clip region if set.
  1975. * Control.cs:
  1976. - Now internally tracking the Region for the control since we need to
  1977. store it if the handle is not yet created and only set it when it
  1978. becomes created. Before setting the region forced handle creation
  1979. - Added code to draw the parents underneath a user-clipped region
  1980. * Hwnd.cs: Added UserClip property
  1981. 2006-05-12 Chris Toshok <[email protected]>
  1982. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  1983. (set_Maximum): same.
  1984. (set_Minimum): same.
  1985. (set_SmallChange): same.
  1986. (OnMouseUpSB): remove the call to refresh when releasing the
  1987. thumb. We shouldn't need it.
  1988. 2006-05-12 Miguel de Icaza <[email protected]>
  1989. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  1990. AutoSize set to None, we do not need to relayout everything, we
  1991. just need to invalidate the current region.
  1992. (Draw): Do not draw the entire ClientArea, just redraw the
  1993. clip area being passed.
  1994. * MdiClient.cs: Make MdiClient constructor with the Form argument
  1995. internal.
  1996. 2006-05-12 Jackson Harper <[email protected]>
  1997. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  1998. parents background image, but strangely not their own.
  1999. - (DrawStatusBarPanel): Take into account horizontal alignment
  2000. when drawing the strings and icons.
  2001. 2006-05-12 Mike Kestner <[email protected]>
  2002. * ListBox.cs: avoid invalidations for focus when the collection is
  2003. empty.
  2004. 2006-05-12 Chris Toshok <[email protected]>
  2005. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  2006. invalidate the entire thumb area. Call InvalidateDirty which
  2007. limits the redraw to the thumb itself and surrounding pixels.
  2008. * XplatUIX11.cs (ScrollWindow): optimize copying.
  2009. 2006-05-12 Chris Toshok <[email protected]>
  2010. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  2011. Figure out the positioning/layout in a single pass instead of
  2012. multiple recursive invocations. Speeds up the initial display of
  2013. the data grid. Also, make many things private that were
  2014. originally public but unused outside this class.
  2015. 2006-05-11 Jackson Harper <[email protected]>
  2016. * MdiClient.cs: Improved layout code.
  2017. 2006-05-11 Jonathan Chambers <[email protected]>
  2018. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  2019. not SelectedObject.
  2020. 2006-05-11 Chris Toshok <[email protected]>
  2021. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  2022. union of that will always be {0,0,width,height}.
  2023. 2006-05-11 Jackson Harper <[email protected]>
  2024. * Form.cs: Match MS's DefaultSize for forms (they must have
  2025. changed the size in sp2).
  2026. 2006-05-11 Atsushi Enomoto <[email protected]>
  2027. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  2028. 2006-05-11 Atsushi Enomoto <[email protected]>
  2029. * TextControl.cs : Fixed bug #78109. This incorrect position
  2030. comparison caused crash on automatic line split.
  2031. * TextBoxBase.cs : reduce duplicate code.
  2032. 2006-05-10 Jackson Harper <[email protected]>
  2033. * MdiClient.cs: Active form is only sent to the back when using
  2034. the Next form functionality, when a form is clicked the current
  2035. active shouldn't be sent to the back.
  2036. - Layout the mdi windows when the container is first made visible.
  2037. * Form.cs: Give the MdiClient a ref to the containing form when we
  2038. create it.
  2039. 2006-05-10 Atsushi Enomoto <[email protected]>
  2040. * LinkLabel.cs : link_font could be uninitialized, so populate one
  2041. before actual use. Fixed bug #78340.
  2042. 2006-05-10 Atsushi Enomoto <[email protected]>
  2043. * XplatUIX11.cs : clipboard format native value is IntPtr.
  2044. Fixed bug #78283.
  2045. 2006-05-10 Peter Dennis Bartok <[email protected]>
  2046. * Control.cs:
  2047. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  2048. which is passed up the parent chain by DefWndProc
  2049. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  2050. to DefWndProc (#77956)
  2051. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  2052. 2006-05-10 Jackson Harper <[email protected]>
  2053. * MdiClient.cs: We need to remove the controls from the mdi
  2054. collection, when we close the window.
  2055. * MdiWindowManager.cs: Special handling of closing mdi windows.
  2056. * InternalWindowManager.cs: Make the close method virtual so the
  2057. mdi window manager can handle it specially.
  2058. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  2059. * DataGrid.cs:
  2060. - Recalculate grid when the data source has changed
  2061. - Matches styles provided by user from all data sources types
  2062. * DataGridTableStyle.cs: For columns that provided by the user set the
  2063. with the preferred value is there was unassigned.
  2064. * CurrencyManager.cs: throw OnItemChanged event
  2065. 2006-05-10 Peter Dennis Bartok <[email protected]>
  2066. * PictureBox.cs: Don't animate until handle is created. Start animation
  2067. when handle is created.
  2068. 2006-05-10 Peter Dennis Bartok <[email protected]>
  2069. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  2070. current codebase.
  2071. * XEventQueue.cs: We don't need to provide the extra info
  2072. 2006-05-10 Jackson Harper <[email protected]>
  2073. * MdiClient.cs: If the mdi clients parent form has a background
  2074. image set, we draw that background image for the mdi area's
  2075. background.
  2076. 2006-05-10 Peter Dennis Bartok <[email protected]>
  2077. * TextBoxBase.cs: Set IBeam cursor (#78347)
  2078. 2006-05-10 Mike Kestner <[email protected]>
  2079. * ToolBar.cs: fix some text padding issues with ButtonSize
  2080. calculation. Update the default size to match MS documentation.
  2081. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  2082. button size. Fixes #78296.
  2083. 2006-05-10 Mike Kestner <[email protected]>
  2084. * ListBox.cs: use is_visible for scrollbar positioning in case the
  2085. control isn't on screen yet. Fix off by one with Right vs Width
  2086. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  2087. 2006-05-10 Jackson Harper <[email protected]>
  2088. * X11Dnd.cs: Drop to a control with another control on top of it.
  2089. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  2090. be modified in click handlers. TODO: Look for similar problems in
  2091. other controls.
  2092. 2006-05-09 Jackson Harper <[email protected]>
  2093. * Form.cs: Window managers need the old window state when setting
  2094. window state now.
  2095. * InternalWindowManager.cs: Allow the base mdi window manager to
  2096. handle more of the MDI only stuff (like maximize buttons).
  2097. * MdiWindowManager.cs: Fix some snafus in changing the window
  2098. state. Add all the menu functionality, for both popup and
  2099. maximized menus.
  2100. * MdiClient.cs: When a new form is selected the currently
  2101. activated form is sent to the back, this matches MS.
  2102. - Implement a new method to activate the next mdi child window.
  2103. 2006-05-08 Peter Dennis Bartok <[email protected]>
  2104. * Control.cs:
  2105. - Added new InternalCapture method to allow controls to prevent
  2106. the capture behaviour on the click handlers
  2107. - Switched to use InternalCapture
  2108. * ComboBox.cs:
  2109. - Using InternalCapture to prevent mouse captures from being released
  2110. on mouse button release (Fixes #78100)
  2111. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  2112. returns Form borders if a caption is present. (Fixes #78310)
  2113. 2006-05-08 Peter Dennis Bartok <[email protected]>
  2114. * TreeNode.cs: Changed serialization .ctor to not require every field
  2115. to be present. (#78265)
  2116. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  2117. 2006-05-05 Alexander Olk <[email protected]>
  2118. * MimeIcon.cs: for is faster than foreach for strings.
  2119. 2006-05-05 Mike Kestner <[email protected]>
  2120. * CheckedListBox.cs: update check handling code to not use selected.
  2121. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  2122. behavior for visual feedback, motion response, shift/ctrl handling,
  2123. and properly deal with all 4 selection modes. Updates to bounds
  2124. handling logic. Add scroll wheel support. [Fixes #77842]
  2125. 2006-05-05 Peter Dennis Bartok <[email protected]>
  2126. * ListView.cs:
  2127. - Moved adding of Implicit controls into .ctor. That way, subsequent
  2128. creation of the controls will not cause them to think they are
  2129. toplevel windows (fixes #78200 header problem)
  2130. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  2131. - Switched visibility setting of header control to use internal field
  2132. to avoid triggering handle creation
  2133. - Now checking if handle is created before causing a refresh when items
  2134. are added (This makes us now match handle creation time with MS)
  2135. * Splitter.cs: Removed loading of private splitter cursor, switched to
  2136. Cursors version now that that is loading the right ones
  2137. * Cursors.cs: Load proper splitter cursors from resources
  2138. * Cursor.cs: Added second method of loading resource cursors for the
  2139. VS.Net users amongst us
  2140. 2006-05-05 Mike Kestner <[email protected]>
  2141. * ListView.cs: give header_control a minimum size based on the
  2142. ListView size.
  2143. 2006-05-05 Peter Dennis Bartok <[email protected]>
  2144. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  2145. window seems to do that with metacity, so set that type. (#78120)
  2146. 2006-05-05 Mike Kestner <[email protected]>
  2147. * ListViewItem.cs: fix Details mode checkbox layout bug.
  2148. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  2149. at the end of the header, if it exists. [Fixes for #78200]
  2150. 2006-05-04 Jackson Harper <[email protected]>
  2151. * MdiClient.cs: Add a helper property to get the container form.
  2152. * MdiWindowManager.cs: We have to make sure to use the menu origin
  2153. when drawing the icons and buttons, this fixes maximized window
  2154. icons/buttons on win32.
  2155. * InternalWindowManager.cs: Reset the restore captions when a
  2156. window goes from Maximized to Minimized and vice versa. Move the
  2157. DrawMaximizedButtons into the MdiWindowManager source, tool
  2158. windows can't be maximized. NOTE: This could use a little
  2159. refactoring if time ever permits.
  2160. 2006-05-03 Jonathan Chambers <[email protected]>
  2161. * TextBox.cs: Add MWFCategoryAttributes
  2162. * TextBoxBase.cs: Add MWFCategoryAttributes
  2163. * Form.cs: Add MWFCategoryAttributes
  2164. 2006-05-03 Jonathan Chambers <[email protected]>
  2165. * Control.cs: Add MWFCategoryAttributes
  2166. * ScrollableControl.cs: Add MWFCategoryAttributes
  2167. 2006-05-03 Alexander Olk <[email protected]>
  2168. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  2169. Divider is true. Fix a little glitch in PropertyToolBar
  2170. drawing code
  2171. 2006-05-02 Peter Dennis Bartok <[email protected]>
  2172. * Control.cs:
  2173. - Dispose: Call base.Dispose, this causes the disposed event
  2174. to be fired (and probably other, more important stuff)
  2175. - SetVisibleCore: Set is_visible to true after creating the
  2176. window so that the window still gets created invisible (if
  2177. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  2178. to generate a WM_ACTIVE message
  2179. * Form.cs: Call Dispose when we want to destroy the window, instead of
  2180. just destroying the handle (Dispose will do that for us)
  2181. * XplatUIX11.cs:
  2182. - RootWindow also needs a queue, so we can properly process the
  2183. property change events from RootWindow (like Activate)
  2184. - Generatic synthetic WM_ACTIVE message when the active window is
  2185. being destroyed
  2186. 2006-05-01 Peter Dennis Bartok <[email protected]>
  2187. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  2188. bounds are changed
  2189. 2006-05-01 Peter Dennis Bartok <[email protected]>
  2190. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  2191. for determining width and height (image might not be assigned if
  2192. we're drawing an imagelist)
  2193. 2006-05-01 Peter Dennis Bartok <[email protected]>
  2194. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  2195. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  2196. height from system
  2197. * Theme.cs: No longer returns hardcoded menu height, instead calls
  2198. new driver method
  2199. * Form.cs (OnLoad): Scaling happens before triggering Load events
  2200. on MS (# 78257)
  2201. 2006-05-01 Mike Kestner <[email protected]>
  2202. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  2203. 2006-04-30 Peter Dennis Bartok <[email protected]>
  2204. * TextBoxBase.cs: Removed Fixme
  2205. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  2206. 2006-04-30 Peter Dennis Bartok <[email protected]>
  2207. * XplatUIX11.cs:
  2208. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  2209. the rectangle relative to the parent, considering borders. We
  2210. don't really want that.
  2211. - ScrollWindow: Fixed warning to be more understandable
  2212. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  2213. scrollbars and scroll only the visible area
  2214. * RichTextBox.cs: Removed debug output
  2215. 2006-04-29 Peter Dennis Bartok <[email protected]>
  2216. * NumericUpDown.cs (Text): Just use base
  2217. * UpDownBase.cs: Ensure txtView is created before using it
  2218. 2006-04-29 Peter Dennis Bartok <[email protected]>
  2219. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  2220. casting to IntPtr to avoid 64bit overflow errors
  2221. 2006-04-29 Peter Dennis Bartok <[email protected]>
  2222. * Control.cs:
  2223. - AllowDrop: Don't force handle creation.
  2224. - CreateHandle: Added call to tell driver if we're allowed to drop
  2225. 2006-04-27 Alexander Olk <[email protected]>
  2226. * FileDialog.cs: Remember the last directory not only for the
  2227. current instance but also for new FileDialog instances.
  2228. 2006-04-29 Peter Dennis Bartok <[email protected]>
  2229. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  2230. broke sending async messages
  2231. 2006-04-29 Peter Dennis Bartok <[email protected]>
  2232. * XplatUIX11.cs:
  2233. - ScrollWindow: Fixed method. We finally generate expose events again
  2234. for scrolled areas. This was causing 'garbage' when scrolling
  2235. textbox and other controls that used ScrollWindow
  2236. - Switched from using the regular queue for paint events to the MS
  2237. model of 'generating' paint events when the queue is empty.
  2238. We use the new XQueueEvent.Paint subclass to store which windows
  2239. need painting.
  2240. - AddExpose now takes the x/y/width/height of the exposed area
  2241. and inserts the window into the paint queue if not already there
  2242. - InvalidateWholeWindow: Switched to use new AddExpose method
  2243. - UpdateMessageQueue: Added which queue to monitor for paint events
  2244. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  2245. the unlikely case nothing above handles it. We reset the expose
  2246. pending states to get them off the queue.
  2247. - GetMessage: Now pulls a paint event if no other events are in the
  2248. queue
  2249. - Invalidate: Switched to new AddExpose method
  2250. - PeekMessage: Updated to understand pending paint events
  2251. - UpdateWindow: Fixed logic bug. We were only updating if the window
  2252. didn't need updating. Also switched to sending WM_PAINT directly,
  2253. like MS does.
  2254. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  2255. and random access Remove(). The random access is needed to handle
  2256. UpdateWindow() where a WM_PAINT is sent directly without accessing
  2257. the queue.
  2258. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  2259. allow for better feedback when scrolling. Scrollbars are small and
  2260. the immediate update should make it 'feel' more responsive without
  2261. slowing things down. ScrollBar still needs it's invaliate logic
  2262. updated to not always invalidate the whole bar on certain changes.
  2263. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  2264. * Control.cs:
  2265. (BackColor): if the control does not support a transparent background,
  2266. return the default backcolor when the parent backcolor is transparent.
  2267. 2006-04-28 Peter Dennis Bartok <[email protected]>
  2268. * Application.cs: Updated to new StartLoop/GetMessage API
  2269. * RichTextBox.cs: Provide some output on RTF parsing errors
  2270. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  2271. new queue_id argument to GetMessage and PeekMessage to allow faster
  2272. handling of per-thread queues in drivers.
  2273. * Hwnd.cs: Added Queue tracking and property
  2274. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  2275. * XEventQueue.cs: Added thread trackingA
  2276. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  2277. * XplatUIX11.cs:
  2278. - Implemented new per-thread queue
  2279. - GetMessage: Fixed return/break behaviour on several cases. We were
  2280. returning stale messages in some cases, instead of just processing
  2281. the next message
  2282. 2006-04-27 Jonathan Chambers <[email protected]>
  2283. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  2284. 2006-04-27 Peter Dennis Bartok <[email protected]>
  2285. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  2286. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  2287. 2006-04-27 Jonathan Chambers <[email protected]>
  2288. * PropertyGridView.cs: Fix drop down width.
  2289. 2006-04-27 Alexander Olk <[email protected]>
  2290. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  2291. a mess in DrawToolBar, so I removed one of them.
  2292. 2006-04-27 Alexander Olk <[email protected]>
  2293. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  2294. needed (clip). Otherwise we get artifacts.
  2295. 2006-04-26 Peter Dennis Bartok <[email protected]>
  2296. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  2297. dimension is fixed
  2298. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  2299. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  2300. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  2301. if it matches the scale base font (avoids unneeded scaling)
  2302. 2006-04-26 Alexander Olk <[email protected]>
  2303. * X11DesktopColors.cs: One gtk_init_check should be enough
  2304. 2006-04-26 Peter Dennis Bartok <[email protected]>
  2305. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  2306. match MS behaviour
  2307. 2006-04-26 Peter Dennis Bartok <[email protected]>
  2308. * TextBoxBase.cs:
  2309. - Generate OnTextChanged for Backspace even if we're only deleting
  2310. the current selection
  2311. - When setting the Text property, only select all text if the
  2312. control does not have focus when it is being set. Otherwise
  2313. just place the cursor at the beginning of the control
  2314. 2006-04-26 Alexander Olk <[email protected]>
  2315. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  2316. Added a little helper to draw PropertyGrid ToolBar with a different
  2317. border and a different BackColor.
  2318. * PropertyGrid.cs: Some background parts didn't get painted with the
  2319. correct background color. Added a class that helps us to draw the
  2320. correct border for PropertyGridView and a class that helps us to
  2321. draw ToolBars with a different backcolor
  2322. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  2323. 2006-04-25 Jonathan Chambers <[email protected]>
  2324. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  2325. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  2326. 2006-04-25 Peter Dennis Bartok <[email protected]>
  2327. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  2328. into the palette entries. Also, since we're working on a copy
  2329. we needed to copy the palette back onto the bitmap.
  2330. * Cursor.cs: Same fix as XplatUIWin32.cs.
  2331. 2006-04-25 Peter Dennis Bartok <[email protected]>
  2332. * ImageListStreamer.cs: Need to read the var (or we're off)
  2333. 2006-04-25 Peter Dennis Bartok <[email protected]>
  2334. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  2335. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  2336. TextBoxBase.cs: Unused var fixes
  2337. * AxHost.cs: Small 2.0 fix
  2338. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  2339. as it seems that is what at least Metacity expects. This will make
  2340. icons show up on 64bit platforms. We still have some 64bit size
  2341. issues, though, since the startup app window size still won't match.
  2342. 2006-04-25 Mike Kestner <[email protected]>
  2343. * *.cs: cleanup newly reported exception var unused warnings.
  2344. 2006-04-25 Alexander Olk <[email protected]>
  2345. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  2346. ms
  2347. 2006-04-25 Alexander Olk <[email protected]>
  2348. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  2349. image. The image position is always the same, no matter if the
  2350. button is pressed or not.
  2351. 2006-04-25 Alexander Olk <[email protected]>
  2352. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  2353. selection and set the correct filename for SaveFileDialog.
  2354. Patch by Emery Conrad.
  2355. 2006-04-24 Mike Kestner <[email protected]>
  2356. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  2357. check for item.X outside the ClientRect instead of item.Y. Fixes
  2358. #78151.
  2359. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  2360. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  2361. trust that value blindly and do some sanity check. Fixes bug #77814.
  2362. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  2363. * ImageListStreamer.cs: save the mask as a 1bpp image.
  2364. 2006-04-21 Mike Kestner <[email protected]>
  2365. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  2366. pass Checked and Indeterminate to the Theme Engine. Improve
  2367. encapsulation with ListBox.
  2368. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  2369. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  2370. nested types. Move all CheckState functionality to CheckedListBox.
  2371. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  2372. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  2373. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  2374. single base list. Fix scrollbar sizing and placement to mirror MS.
  2375. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  2376. used.
  2377. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  2378. for CheckedListBox by using new DrawItemState info. Center the
  2379. checkboxes on the items. Use new StringFormat property.
  2380. 2006-04-18 Jackson Harper <[email protected]>
  2381. * Form.cs: MdiChildren don't do default locations the same way as
  2382. regular forms. This prevents a crash when trying to position the
  2383. mdi windows.
  2384. 2006-04-17 Jonathan Chambers <[email protected]>
  2385. * PropertyGridTextBox.cs: Formatting, copyright
  2386. * PropertiesTab.cs: Formatting
  2387. * PropertyGrid.cs: Formatting
  2388. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  2389. click toggling of values
  2390. 2006-04-17 Peter Dennis Bartok <[email protected]>
  2391. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  2392. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  2393. every time a control is created
  2394. * Application.cs: Removed obsolete EnableRTLMirroring method
  2395. 2006-04-18 Gert Driesen <[email protected]>
  2396. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  2397. SelectedIndex to -1. Fixes bug #78121.
  2398. 2006-04-17 Jackson Harper <[email protected]>
  2399. * Binding.cs: Handle null values for Current and BindingContext.
  2400. This occurs when binding is a little delayed.
  2401. * CurrencyManager.cs: return null for Current when there are no
  2402. items in the list.
  2403. - Hookup to the listchanged event on the DataView and update
  2404. bindings when the list is changed. This fixes late binding of
  2405. controls.
  2406. 2006-04-17 Jackson Harper <[email protected]>
  2407. * X11Dnd.cs:
  2408. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  2409. Ringenbach.
  2410. 2006-04-15 Alexander Olk <[email protected]>
  2411. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  2412. place
  2413. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  2414. with the correct ButtonState
  2415. 2006-04-14 Peter Dennis Bartok <[email protected]>
  2416. * XplatUIX11.cs: Improved distinguishing between window types to
  2417. tell the WM a type closer to what the app wants (Fixes #78107)
  2418. 2006-04-14 Alexander Olk <[email protected]>
  2419. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  2420. GrabHandle
  2421. 2006-04-14 Alexander Olk <[email protected]>
  2422. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  2423. drawing code to reflect the size grip changes
  2424. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  2425. * ImageListStreamer.cs: fix handling of the mask that follows the main
  2426. bitmap when deserializing and serialize it properly. The generated mask
  2427. should better be a 1bpp image, but I'll do that later.
  2428. 2006-04-13 Alexander Olk <[email protected]>
  2429. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  2430. path doesn't fit into some of our Current.Places
  2431. 2006-04-13 Jackson Harper <[email protected]>
  2432. * ComboBox.cs: Use borders instead of drawing our own decorations,
  2433. try to obey correct rules for heights.
  2434. * Theme.cs:
  2435. * ThemeNice.cs:
  2436. * ThemeClearLooks.cs:
  2437. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  2438. this is now handled by borders.
  2439. - Remove unused DrawListBoxDecorationSize method.
  2440. 2006-04-13 Mike Kestner <[email protected]>
  2441. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  2442. reported by Alex.
  2443. 2006-04-13 Alexander Olk <[email protected]>
  2444. * ThemeWin32Classic.cs:
  2445. - Fixed CPDrawStringDisabled
  2446. - Corrected drawing of disabled menu items
  2447. - Fixed drawing of disabled radio buttons (bug #78095)
  2448. - Draw check in a disabled CheckBox with color ControlDark
  2449. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2450. * Form.cs: Use the provided width when calculating the menu size;
  2451. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  2452. and ClientSize.Width won't be updated yet
  2453. * Application.cs: Use Visible instead of Show() to make form visible,
  2454. this way we create the handle later and menusize is considered
  2455. 2006-04-12 Mike Kestner <[email protected]>
  2456. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  2457. reporting.
  2458. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2459. * TextBox.cs: Implemented context menu
  2460. 2006-04-12 Mike Kestner <[email protected]>
  2461. * ListView.cs: implement box selection. fixes #77838.
  2462. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  2463. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2464. * XplatUIX11.cs: Added setting of window type when transient window
  2465. is created (metacity would move it otherwise)
  2466. * X11Structs.cs: Added WINDOW_TYPE atoms
  2467. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  2468. background (the control is Opaque but still wants transparent
  2469. backgrounds)
  2470. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2471. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  2472. that set Opaque but don't mean it (like all ButtonBase-derived
  2473. controls) to still draw their background
  2474. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  2475. the background
  2476. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2477. * Control.cs (PaintControlBackground): Set the graphics object
  2478. on our PaintEvent to null to prevent it from being disposed
  2479. when the PaintEvent gets disposed
  2480. 2006-04-12 Alexander Olk <[email protected]>
  2481. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  2482. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  2483. 2006-04-12 Peter Dennis Bartok <[email protected]>
  2484. * Control.cs:
  2485. - Added transparency check to BackColor property. Transparent
  2486. backgrounds are only allowed if the control styles permit it
  2487. - Added recursive painting of parent control background and
  2488. foreground if a control with a transparent backcolor is drawn
  2489. (Thanks to Tim Ringenback for providing his 'hack' as a base
  2490. for this patch) Fixes #77985 and #78026.
  2491. - Added Opaque style check before calling OnPaintBackground, no
  2492. need to draw the background if the control is opaque
  2493. - Removed ControlAccessibleObject owner variable (inherited from
  2494. base, no need to define again)
  2495. - Added some documentation links explaining the drawing events
  2496. and styles
  2497. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2498. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  2499. that the affected control is the located at the left border of our
  2500. parent (Fixes #77936)
  2501. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2502. * TextBoxBase.cs: When rendering disabled or readonly controls,
  2503. draw the background with 'Control' instead of 'Window' color as
  2504. long as the user hasn't specifically set a color
  2505. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2506. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  2507. since that won't be updated if the user types text (only if it's
  2508. programatically set)
  2509. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2510. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  2511. layout changes do to app-triggered resizes will have the proper
  2512. display rectangle for layout
  2513. 2006-04-11 Alexander Olk <[email protected]>
  2514. * ThemeWin32Classic.cs:
  2515. - Make use of the SystemBrushes and SystemPens wherever possible
  2516. - Corrected some highlight colors
  2517. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  2518. drawing
  2519. * Theme.cs: Added Empty field to CPColor struct
  2520. 2006-04-11 Peter Dennis Bartok <[email protected]>
  2521. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  2522. is displayed when calculating the display rectangle. Thanks to Mike
  2523. for teaching me the err of my ways.
  2524. 2006-04-10 Peter Dennis Bartok <[email protected]>
  2525. * ScrollableControl.cs:
  2526. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  2527. (instead of 0,0) and we now return the real width/height instead of
  2528. just the clientrectangle, adjusted for padding. The rectangle is
  2529. now cached and created by the new CalculateDisplayRectangle method.
  2530. - Created new CalculateDisplayRectange method, which basically does
  2531. what get_DisplayRectangle() did originally, but now using the
  2532. right edge instead of DisplayRectangle to determine the size of
  2533. our scrollbars
  2534. - get_Canvas(): Fixed it to properly calculate canvas for
  2535. right/bottom controls which seem to be placed to the right/bottom
  2536. of any controls that have a fixed location
  2537. - Removed TODO that's taken care of
  2538. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  2539. and SetDisplayRectLocation according to new MSDN2 docs
  2540. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  2541. event when that is called, this is added for compatibility
  2542. - ScrollControlIntoView(): Implemented.
  2543. - Switched scrollbars to be implicit, they shouldn't be selectable
  2544. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  2545. call it when the active control is set/changed
  2546. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  2547. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  2548. implicit_control variable (used for native Win32 message generation)
  2549. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  2550. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  2551. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  2552. * XplatUIStructs.cs: Added ScrollBarCommands enum
  2553. 2006-04-10 Jackson Harper <[email protected]>
  2554. * ButtonBase.cs:
  2555. * CheckedListBox.cs:
  2556. * ComboBox.cs:
  2557. * DataGrid.cs:
  2558. * DataGridView.cs:
  2559. * Form.cs:
  2560. * GroupBox.cs:
  2561. * ListBox.cs:
  2562. * PrintPreviewControl.cs:
  2563. * ProgressBar.cs:
  2564. * PropertyGrid.cs:
  2565. * Splitter.cs:
  2566. * StatusBar.cs:
  2567. * TrackBar.cs:
  2568. * UpDownBase.cs: Fixup base event overrides.
  2569. 2006-04-06 Mike Kestner <[email protected]>
  2570. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  2571. all user-initiated value changes to min <= value <= max-thumbsz+1.
  2572. (set_Value): check for vert/horiz when calculating new thumb position.
  2573. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  2574. like MS does.
  2575. (OnMouseMoveSB): refactor the thumb dragging code and refine
  2576. invalidation logic to reduce flicker.
  2577. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  2578. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  2579. (UpdateThumbPosition): small code readability cleanup
  2580. 2006-04-10 Alexander Olk <[email protected]>
  2581. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  2582. different
  2583. 2006-04-08 Alexander Olk <[email protected]>
  2584. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  2585. 2006-04-08 Alexander Olk <[email protected]>
  2586. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  2587. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  2588. This dramatically reduces the number of Pen.Dispose calls.
  2589. Where possible call ResPool methods only once instead of calling it
  2590. over and over again (for example for the same color).
  2591. 2006-04-06 Mike Kestner <[email protected]>
  2592. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  2593. Also remove an unused private field on the collection. Fixes #77972.
  2594. 2006-04-06 Alexander Olk <[email protected]>
  2595. * ThemeNice.cs: Added ToolBar drawing code
  2596. 2006-04-06 Mike Kestner <[email protected]>
  2597. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  2598. I'm assuming that means we need to look up the toplevel for the
  2599. provided control. Fixes the crash trace in #77911 but exposes another
  2600. crash in some strange reflection usage in NDocGui.
  2601. 2006-04-06 Alexander Olk <[email protected]>
  2602. * ThemeNice.cs: Gave it a little silver touch and added Images
  2603. method
  2604. * FontDialog.cs: FontDialog is not resizable
  2605. * FileDialg.cs: Added SizeGripStyle.Show
  2606. 2006-04-05 Jackson Harper <[email protected]>
  2607. * KeyboardLayouts.cs: Remove warning.
  2608. 2006-04-05 Jackson Harper <[email protected]>
  2609. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  2610. all of our controls instead of Paint +=.
  2611. * ListBox.cs:
  2612. * ListView.cs:
  2613. * MenuAPI.cs:
  2614. * MessageBox.cs:
  2615. * NotifyIcon.cs:
  2616. * ProgressBar.cs:
  2617. * ScrollBar.cs:
  2618. * Splitter.cs:
  2619. * StatusBar.cs:
  2620. * TabControl.cs:
  2621. * TextBoxBase.cs:
  2622. * ToolBar.cs:
  2623. * TrackBar.cs:
  2624. * UpDownBase.cs:
  2625. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  2626. use OnPaintInternal. Remove Width/Height and Visible checks in
  2627. paint handler, this is done at a higher level now.
  2628. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  2629. * PaintEventArgs.cs: Add a handled flag so controls that don't
  2630. want anymore painting after OnPaintInternal can make sure OnPaint
  2631. isn't called.
  2632. 2006-04-05 Mike Kestner <[email protected]>
  2633. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  2634. state of the form, so that we don't process events when Modal dialogs
  2635. are up. Fixes #77922.
  2636. 2006-04-05 Alexander Olk <[email protected]>
  2637. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  2638. checking is done.
  2639. 2006-04-05 Mike Kestner <[email protected]>
  2640. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  2641. 2006-04-05 Mike Kestner <[email protected]>
  2642. * ListView.cs (HeaderMouseMove): null guarding for the over column
  2643. when setting up the drag_to_index. Fixes #78015.
  2644. 2006-04-04 Peter Dennis Bartok <[email protected]>
  2645. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  2646. in the taskbar. Transient windows seem to accomplish that.
  2647. 2006-04-04 Peter Dennis Bartok <[email protected]>
  2648. * Form.cs:
  2649. - Re-enabled CreateParams.X/Y code for FormStartPosition
  2650. - Added code for manual placement when creating the Control
  2651. - Incomplete patch to treat MDI forms differently when
  2652. setting the ClientSizeCore. (Still need to figure out handling
  2653. x/y coords there)
  2654. * XplatUIX11.cs:
  2655. - When we're explicitly setting the X/Y position of a non-Child
  2656. window, let the WM know. Metacity really wants this.
  2657. 2006-04-04 Alexander Olk <[email protected]>
  2658. * ThemeNice.cs: Added CPDrawButton
  2659. 2006-04-04 Alexander Olk <[email protected]>
  2660. * ThemeNice.cs: Changed the color for focused buttons and activated
  2661. the arrows for small scroll buttons.
  2662. 2006-04-04 Alexander Olk <[email protected]>
  2663. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  2664. anymore. Changed some method modifiers to protected (virtual)
  2665. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  2666. changes
  2667. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  2668. Updated drawing of menus, buttons and progressbars; added
  2669. CPDrawBorder3D
  2670. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  2671. * ImageListStreamer.cs: implemented serialization/deserialization
  2672. of the images.
  2673. 2006-04-03 Alexander Olk <[email protected]>
  2674. * ThemeWin32Classic.cs:
  2675. - Removed all the DrawFrameControl stuff; CPDrawButton,
  2676. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  2677. inside the methods
  2678. - Updated and corrected the drawing code of CPDrawButton,
  2679. CPDrawCheckBox and CPDrawRadioButton to better match ms
  2680. - Updated theme checkbox and radiobutton code to use the CP*
  2681. methods
  2682. 2006-03-31 Peter Dennis Bartok <[email protected]>
  2683. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  2684. bug is fixed
  2685. 2006-03-31 Jackson Harper <[email protected]>
  2686. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  2687. sometimes.
  2688. * UpDownBase.cs: Don't CreateGraphics manually, use a
  2689. Refresh. Ideally we would invalidate the correct areas here.
  2690. 2006-03-31 Peter Dennis Bartok <[email protected]>
  2691. * XplatUIX11.cs:
  2692. - We now track the mapping state of windows. If a window (or
  2693. one of it's parents) is not mapped we no longer permit
  2694. WM_PAINT messages to be generated since we'd otherwise get
  2695. lots of BadMatch X errors. Jackson did all the work figuring
  2696. out the problem.
  2697. - Destroying the caret if the window it's contained in is
  2698. destroyed. Can't use regular DestroyCaret method since it
  2699. might fall into a drawing function (trying to remove the
  2700. caret) and with that generate new BadMatch errors. Again,
  2701. Jackson tracked this down.
  2702. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  2703. make sure we send the messages to all windows. (The old code
  2704. would send the WM_DESTROY to the window, and then all child
  2705. windows would be 'gone' because the WM_DESTROY handle lookup
  2706. would no longer find the destroyed window)
  2707. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  2708. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  2709. 2006-03-31 Jackson Harper <[email protected]>
  2710. * ScrollableControl.cs: Dont recalc if we are not visible.
  2711. 2006-03-31 Mike Kestner <[email protected]>
  2712. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  2713. the visibility branch.
  2714. 2006-03-31 Jackson Harper <[email protected]>
  2715. * ScrollBar.cs: Cap values when incrementing/decrementing.
  2716. 2006-03-31 Mike Kestner <[email protected]>
  2717. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  2718. * ToolTip.cs: guard against timer expirations with no active control.
  2719. Not sure why it happened.
  2720. 2006-03-31 Mike Kestner <[email protected]>
  2721. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  2722. text.
  2723. * ToolTip.cs: Position the tooltip based on where the cursor is at
  2724. popup time, not at MouseEnter time. Add a Down state so that we don't
  2725. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  2726. positioning offset. Lookup DisplaySize at positioning time, since it
  2727. can theoretically change during invocation.
  2728. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  2729. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  2730. 2006-03-31 Alexander Olk <[email protected]>
  2731. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  2732. Fixes behaviour when the Text property of the box is String.Empty
  2733. 2006-03-31 Peter Dennis Bartok <[email protected]>
  2734. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  2735. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  2736. a window)
  2737. 2006-03-31 Alexander Olk <[email protected]>
  2738. * FileDialog.cs: Visual enhancement for the popup buttons in
  2739. PopupButtonPanel
  2740. 2006-03-31 Alexander Olk <[email protected]>
  2741. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  2742. code
  2743. 2006-03-30 Alexander Olk <[email protected]>
  2744. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  2745. highlighted menu items to match ms
  2746. 2006-03-30 Peter Dennis Bartok <[email protected]>
  2747. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  2748. 2006-03-30 Mike Kestner <[email protected]>
  2749. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  2750. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  2751. go active to account for HotLight to Selected transition.
  2752. * MenuItem.cs: add internal Selected prop. Fill out the Status
  2753. property by calculating it from item info. Add HotLight,
  2754. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  2755. 2006-03-30 Mike Kestner <[email protected]>
  2756. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  2757. 2006-03-29 Jackson Harper <[email protected]>
  2758. * Form.cs: Implement TODO.
  2759. 2006-03-29 Peter Dennis Bartok <[email protected]>
  2760. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  2761. missing proper dialog setup in the constructor
  2762. 2006-03-29 Peter Dennis Bartok <[email protected]>
  2763. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  2764. * Control.cs:
  2765. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  2766. - Fixed ResetBindings and removed TODO
  2767. - Added check for cross-thread calls to get_Handle()
  2768. - Added Marshaller attribute for set_Font to satisfy class status
  2769. * FontDialog.cs: Removed TODOs that seemed implemented
  2770. * UpDownBase.cs: Removed unneeded TODO and Fixme
  2771. * MessageBox.cs: Implemented support for Default button and removed TODO
  2772. * FileDialog.cs: Removed obsolete TODO
  2773. * DomainUpDown.cs: Removed obsolete TODO
  2774. * ButtonBase.cs: Removed obsolete TODO
  2775. * XplatUIWin32.cs: Removed obsolete TODO
  2776. * Form.cs:
  2777. - Removed obsolete TODO
  2778. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  2779. internal status updates
  2780. - Making sure the active control is selected when the control is created
  2781. * CurrencyManager.cs: Removed obsolete TODO
  2782. 2006-03-29 Mike Kestner <[email protected]>
  2783. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  2784. of PrintPreviewDialog and RichTextBox.
  2785. 2006-03-29 Alexander Olk <[email protected]>
  2786. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  2787. DarkDark, Light and LightLight colors for a specific color
  2788. * ThemeWin32Classic.cs:
  2789. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  2790. Appearance = Button
  2791. - Make use of the new ResPool helper CPColor
  2792. - Draw ProgressBar and StatusBar with correct 3D borders
  2793. 2006-03-29 Alexander Olk <[email protected]>
  2794. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  2795. 2006-03-28 Mike Kestner <[email protected]>
  2796. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  2797. calculating col/row counts.
  2798. 2006-03-28 Mike Kestner <[email protected]>
  2799. * ColumnHeader.cs:
  2800. * ListView.cs:
  2801. * ListViewItem.cs:
  2802. * Menu.cs:
  2803. switch to explicit interface method implementation for some methods
  2804. corcompare identifies as inconsistent with MS.
  2805. 2006-03-28 Mike Kestner <[email protected]>
  2806. * MainMenu.cs:
  2807. * Menu.cs:
  2808. add a few missing methods from the class status output.
  2809. 2006-03-28 Alexander Olk <[email protected]>
  2810. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  2811. correct.
  2812. 2006-03-28 Mike Kestner <[email protected]>
  2813. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  2814. 2006-03-27 Mike Kestner <[email protected]>
  2815. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  2816. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  2817. 2006-03-27 Alexander Olk <[email protected]>
  2818. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  2819. 2006-03-25 Alexander Olk <[email protected]>
  2820. * ThemeWin32Classic.cs:
  2821. - GroupBox: Inserted a little gap between the text and the lines
  2822. on the right side
  2823. - Made the code in CPDrawBorder3D more readable
  2824. - Corrected the drawing location of the up and down arrows in
  2825. CPDrawScrollButton
  2826. 2006-03-25 Alexander Olk <[email protected]>
  2827. * ControlPaint.cs: Corrected line widths in DrawBorder for
  2828. ButtonBorderStyle Inset and Outset
  2829. 2006-03-25 Alexander Olk <[email protected]>
  2830. * ThemeWin32Classic.cs:
  2831. - Rewrote the totally broken CPDrawBorder3D method. That was
  2832. one of the main problems for the terrific ThemeWin32Classic
  2833. look
  2834. - Updated and corrected Button drawing
  2835. - Correct the dimensions of the SizeGrip to match ms ones
  2836. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  2837. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  2838. Border3DStyle.Sunken to match ms.
  2839. 2006-03-25 Alexander Olk <[email protected]>
  2840. * ThemeWin32Classic.cs: First small part of the "de-uglify
  2841. ThemeWin32Classic" effort, SizeGrip
  2842. 2006-03-24 Jackson Harper <[email protected]>
  2843. * XplatUIX11.cs: Give a max idle time of one second, this matches
  2844. MS and forces an Idle event every second when there are no other
  2845. events in the queue.
  2846. 2006-03-24 Mike Kestner <[email protected]>
  2847. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  2848. * ListView.Item.cs: fix layout issues with null image lists and images
  2849. smaller than checkbox size.
  2850. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  2851. mode like MS does. It's weird, but consistent. ;-)
  2852. Fixes #77890.
  2853. 2006-03-24 Mike Kestner <[email protected]>
  2854. * ListView.cs: Scroll wheel support for the item control. Fixes
  2855. #77839.
  2856. 2006-03-23 Jackson Harper <[email protected]>
  2857. * ScrollableControl.cs: Special case negative sized areas, not
  2858. zero.
  2859. * MonthCalendar.cs: Save the rect of the clicked date so we can
  2860. use it for invalidation.
  2861. - Try to cut down on the number of invalidates
  2862. - Invalidate the rect the mouse is over and was over when moving
  2863. the mouse, so we get the focus box following the cursor.
  2864. 2006-03-23 Mike Kestner <[email protected]>
  2865. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  2866. focus rectangle drawing. Fixes #77835.
  2867. 2006-03-23 Mike Kestner <[email protected]>
  2868. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  2869. the if and else if and reverting back to the original == check on the
  2870. None conditional.
  2871. 2006-03-23 Alexander Olk <[email protected]>
  2872. * FontDialog.cs: Update the example panel if the selected index of
  2873. the fontListBox changes.
  2874. 2006-03-23 Alexander Olk <[email protected]>
  2875. * FileDialog.cs: Make FileDialog remember which directory it was in
  2876. last in the same execution.
  2877. 2006-03-22 Mike Kestner <[email protected]>
  2878. * FileDialog.cs: make the DropDownMenu on the toolbar display
  2879. RadioChecks since they are mutually exclusive and that's what MS does.
  2880. 2006-03-22 Mike Kestner <[email protected]>
  2881. * Theme.cs: add Color param to CPDrawMenuGlyph.
  2882. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  2883. checks and radio marks and arrows are visible on highlighted items.
  2884. * ControlPaint.cs: update to use new Theme signature.
  2885. 2006-03-22 Mike Kestner <[email protected]>
  2886. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  2887. is active. Fixes #77870.
  2888. 2006-03-22 Alexander Olk <[email protected]>
  2889. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  2890. to be focused/selected after startup
  2891. 2006-03-22 Alexander Olk <[email protected]>
  2892. * ColorDialog.cs:
  2893. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  2894. CustomColors and ShowHelp properties
  2895. - Some internal rewrites to get better results when using the
  2896. ColorMatrix
  2897. 2006-03-22 Mike Kestner <[email protected]>
  2898. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  2899. HoverSelection. Fixes #77836.
  2900. 2006-03-22 Mike Kestner <[email protected]>
  2901. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  2902. ToggleButtons. (De)Sensitize the Back button around a stack count of
  2903. 1, not 0. Update ButtonSize based on a pixel count of the win32
  2904. control. Adjust the toolbar size/location for new button size.
  2905. 2006-03-22 Jackson Harper <[email protected]>
  2906. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  2907. true.
  2908. * ScrollBar.cs: When doing increments and decrements we need to
  2909. set the Value property so that ValueChanged gets raised. A
  2910. possible optimization here would be to make an internal SetValue
  2911. that doesn't invalidate immediately.
  2912. * ToolTip.cs: Tooltips get added to their container (when
  2913. supplied) so they get disposed when the container is disposed.
  2914. - Don't create tooltips for String.Empty. This prevents all these
  2915. little 2-3 pixel windows from showing up when running nunit-gui
  2916. and driving me mad.
  2917. * Form.cs: Don't set topmost when setting the owner if the handles
  2918. haven't been created yet. The topmost set will happen when the
  2919. handles are created.
  2920. 2006-03-22 Peter Dennis Bartok <[email protected]>
  2921. * XplatUIX11.cs:
  2922. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  2923. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  2924. visible (to allow them to recalculate their sizes)
  2925. 2006-03-21 Mike Kestner <[email protected]>
  2926. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  2927. methods. Removed a ton of redundant code. Still not really happy with
  2928. the border rendering, but I think that's mainly because of the
  2929. ControlDarkDark being black instead of a dark grey. Depending on how
  2930. close we want to be, we might want to revisit those color choices.
  2931. Among the new features added during the refactor were DropDownArrow
  2932. pressed rendering, Disabled image rendering. Proper flat appearance
  2933. boundary rendering. Removed the Divider and Wrapping dividers since I
  2934. can't figure out any combination of themes and conditions to make the
  2935. MS control draw a horizontal line on a toolbar despite what the
  2936. Divider property docs indicate.
  2937. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  2938. conditions and incorrect layout. Updated to coding standard.
  2939. * ToolBarButton.cs: refactored layout and positioning code from
  2940. ToolBar to here. Invalidate wherever possible instead of forcing
  2941. redraws of the whole toolbar.
  2942. (Known remaining issues: explicit ButtonSize smaller than provided
  2943. images.)
  2944. 2006-03-21 Mike Kestner <[email protected]>
  2945. * ContextMenu.cs (Show): use the position parameter instead of just
  2946. showing at the MousePosition.
  2947. 2006-03-21 Jackson Harper <[email protected]>
  2948. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  2949. control handle this.
  2950. * TreeNodeCollection.cs: If we are clearing the root node we need
  2951. to reset top_node so calcs can still happen.
  2952. * ThemeWin32Classic.cs: This is a Flags so we need to check
  2953. properly.
  2954. 2006-03-21 Jackson Harper <[email protected]>
  2955. * DataGrid.cs: Create columns when the binding context has been
  2956. changed.
  2957. * X11Structs.cs: Keysyms are uints.
  2958. - Add size to fix build.
  2959. 2006-03-21 Peter Dennis Bartok <[email protected]>
  2960. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  2961. XplatUIOSX.cs:
  2962. - Added ResetMouseHover method to allow controls to retrigger
  2963. hovering if they need it more than once
  2964. - Implemented MouseHoverTime and MouseHoverSize properties
  2965. * Timer.cs: Start() must reset the interval
  2966. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  2967. properties
  2968. 2006-03-21 Jackson Harper <[email protected]>
  2969. * X11Keyboard.cs: improved layout detection. Move the nonchar
  2970. tables into this file.
  2971. * KeyboardLayouts.cs: Move the tables into resource files.
  2972. 2006-03-21 Mike Kestner <[email protected]>
  2973. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  2974. 2006-03-21 Alexander Olk <[email protected]>
  2975. * Mime.cs: Various speed optimizations. Looking up mime types
  2976. is now 2 times faster than before
  2977. 2006-03-17 Peter Dennis Bartok <[email protected]>
  2978. * CreateParams.cs: Added internal menu field
  2979. * Control.cs:
  2980. - Switched call order for UpdateBounds; now we always call
  2981. the one that also takes ClientSize, and we're calculating the
  2982. client size via driver method in the others. The previous
  2983. method of tracking client size by difference wasn't working
  2984. for forms where even the starting client size wouldn't match
  2985. the overall form size (due to borders) (Part of fix for #77729)
  2986. - CreateParams(): Do not use parent.Handle unless the handle is
  2987. already created. Causes havoc with Nexxia and throws off our
  2988. creation of controls
  2989. * XplatUIX11.cs:
  2990. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  2991. - Switched handling of ConfigureNotify over to new PerformNCCalc
  2992. method (consolidates code)
  2993. - Changed RequestNCRecalc to use new PerformNCCalc method
  2994. - Added calls to RequestNCRecalc when menus and borders are changed
  2995. to allow app to set NC size. (Part of fix for #77729) This matches
  2996. when MS send a WM_NCRECALC on Win32 windows.
  2997. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  2998. (Part of fix for #77729). This matches what MS does, they also
  2999. send that message when the form is made visible.
  3000. - XException.GetMessage: Improved usability of X errors by including
  3001. a translation of the window into Hwnd and Control class
  3002. - Improved debug info for window creation, reparenting and destruction
  3003. - Created helper method WindowIsMapped() [Currently not used]
  3004. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  3005. * Form.cs:
  3006. - CreateParams: Now setting our menu on the new internal menu field
  3007. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  3008. avoid calculating the same property twice
  3009. * Hwnd.cs:
  3010. - Improved usability of ToString() for debugging purposes
  3011. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  3012. determine the height of the menu, instead of just the font. This
  3013. required to also create a graphics context and to keep a bmp
  3014. around (for performance reasons)
  3015. 2006-03-17 Peter Dennis Bartok <[email protected]>
  3016. * MenuAPI.cs: Added OnMouseUp method
  3017. * Form.cs:
  3018. - Now remembering the requested client size, avoids size errors
  3019. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  3020. instead of base if the menu is active. This is required due to
  3021. control now capturing and releasing on down/up and it would
  3022. prematurely release our menu capture
  3023. 2006-03-17 Jackson Harper <[email protected]>
  3024. * KeyboardLayouts.cs: Add the czech layouts.
  3025. 2006-03-16 Jackson Harper <[email protected]>
  3026. * Control.cs: Use the viewport space when sizing not the controls
  3027. client size, so things like ScrollableControl that effect the
  3028. viewport size (when scrollbars are added) are computed correctly.
  3029. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  3030. of ManagerEntrys.
  3031. - Handle creating BindingManagers for null data sources.
  3032. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  3033. source, otherwise when rows are added they are added to the 'fake'
  3034. datasource and we will crash when trying to set the position in
  3035. those rows.
  3036. - Use Implicit scrollbars on the datagrid so they arent
  3037. selectable.
  3038. 2006-03-16 Jackson Harper <[email protected]>
  3039. * Binding.cs:
  3040. * InternalWindowManager.cs:
  3041. * MdiWindowManager.cs:
  3042. * X11Keyboard.cs: I really want Mike to love me again (fix
  3043. compiler warnings).
  3044. 2006-03-16 Peter Dennis Bartok <[email protected]>
  3045. * DataGrid.cs:
  3046. - OnMouseDown: Switch to editing mode when clicking on the cell
  3047. even if we're clicking on the cell that's currently
  3048. selected
  3049. - ProcessGridKey: Left/Right now wrap like MS.Net does
  3050. - ProcessGridKey: Tab now knows to add a new row when tab is
  3051. pressed in the cell of the last column of the
  3052. last row
  3053. - ProcessGridKey: Enter now adds another row if pressed in the last
  3054. row and selectes the new row, same column cell
  3055. - ProcessGridKey: Home/End navigate columns, not rows, like
  3056. originally implemented
  3057. - Broke ProcessKeyPreview code out into an extra Internal method
  3058. so it can be called from the edit code
  3059. * DataGridTextBox.cs (ProcessKeyMessage):
  3060. - Switched to accept Tab keypresses
  3061. - Added F2 handling to allow jumping to the end of the edited cell
  3062. - Added logic to allow moving caret left/right inside edited cell
  3063. and making the edited cell jump when the caret hits cell borders
  3064. - Tab and Enter are now passed to the datagrid after being handled
  3065. * TextBoxBase.cs:
  3066. - Removed capture code now that Control handles it
  3067. - set_SelectionStart now ensures caret is visible
  3068. 2006-03-16 Jackson Harper <[email protected]>
  3069. * TrackBar.cs: Debackwards the increment/decrement for handling
  3070. mouse clicks on the bar with vertical trackbars.
  3071. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  3072. bottom to match MS.
  3073. 2006-03-16 Mike Kestner <[email protected]>
  3074. * ListView.cs: make shift/ctrl keyboard and mouse selection
  3075. consistent with the MS control. Fix a bug in
  3076. SelectedListViewItemCollection.Clear that was pissing me off for the
  3077. better part of a day because the collection was being altered
  3078. underneath us as we walked the list.
  3079. 2006-03-16 Peter Dennis Bartok <[email protected]>
  3080. * Control.cs: Not sure how we could miss this so long, but it seems
  3081. that MS.Net has Capture set all the way from before calling
  3082. OnMouseDown through sending the mouse events until after
  3083. OnMouseUp. This will fix DataGrid's selection being set to end
  3084. at the location of the MouseUp.
  3085. 2006-03-15 Jackson Harper <[email protected]>
  3086. * BindingContext.cs: Check the binding after its added so that it
  3087. can initialize the binding managers and hookup to events.
  3088. * Binding.cs: Data members seem to sometimes include rows/cols in
  3089. the format Row.Column we now take this into account.
  3090. - Hookup to the position changed event so we can update the
  3091. control when the position has changed in the data set.
  3092. * CurrencyManager.cs: Take into account the row/col naming
  3093. convention when creating dataset tables.
  3094. * BindingContext.cs: Using a newer better way of storing
  3095. datasource/datamember pairs. Hopefully this better matches MS for
  3096. looking up binding managers.
  3097. 2006-03-15 Jackson Harper <[email protected]>
  3098. * BindingContext.cs: The currency manager needs the data member
  3099. name, if the member is a data set we use the name to find the
  3100. correct table.
  3101. * CurrencyManager.cs: When creating the list prefer an IList over
  3102. an IListSource.
  3103. - Attempt to create a DataTable from a DataSet (TODO: might need
  3104. some better error checking here, although MS doesn't seem to have much)
  3105. - If we have a DataTable create a view and use it as our list.
  3106. 2006-03-15 Mike Kestner <[email protected]>
  3107. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  3108. keyboard navigation. Support Up/Down/Left/Right selection correctly
  3109. for all 4 View modes.
  3110. * ListViewItem.cs: add internal row/col fields for icon layouts.
  3111. 2006-03-15 Jackson Harper <[email protected]>
  3112. * TabControl.cs: Redraw the tabs when we resize so their newly
  3113. calculated sizes are drawn on screen.
  3114. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  3115. composite characters.
  3116. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  3117. - filter events so that composite characters can be created
  3118. patches by peter
  3119. * X11Structs.cs: Add XIMProperties enum.
  3120. 2006-03-14 Peter Dennis Bartok <[email protected]>
  3121. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  3122. unless it's created
  3123. 2006-03-14 Peter Dennis Bartok <[email protected]>
  3124. * Control.cs (PerformLayout): We don't need to consider visiblity
  3125. for anchoring, only for docking. This fixes 'whacky' alignment
  3126. in listbox and other controls that use implicit scrollbars after
  3127. the previous PerformLayout patch
  3128. * ListBox.cs: Switched to use implicit scrollbars
  3129. 2006-03-14 Mike Kestner <[email protected]>
  3130. * ToolBar.cs:
  3131. * VScrollBar.cs:
  3132. - chain up the "new event" overrides to base and use
  3133. OnEvent to raise them. Part of fix for bug #76509.
  3134. 2006-03-14 Alexander Olk <[email protected]>
  3135. * FileDialog.cs: Do not select an item in the parent directory
  3136. on backspace
  3137. 2006-03-14 Peter Dennis Bartok <[email protected]>
  3138. * Control.cs (PerformLayout): It would seem that we considered
  3139. invisible windows for our layout. Not quite the right thing
  3140. to do. Now we don't any longer, thereby fixing bug #76889.
  3141. 2006-03-14 Peter Dennis Bartok <[email protected]>
  3142. * Control.cs (CanFocus): I goofed. A control can have focus
  3143. even though it's not selectable. Made it match MS docs.
  3144. 2006-03-13 Peter Dennis Bartok <[email protected]>
  3145. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  3146. center by default (fixes #76895)
  3147. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  3148. all uses of Border3DSides.All with the explicit ORd together
  3149. Left|Right|Top|Bottom because I assume that nobody was aware
  3150. that All also implies a center fill. Most places I checked had
  3151. a fill right above.
  3152. * ProgressBarStyle.cs: Added
  3153. 2006-03-13 Mike Kestner <[email protected]>
  3154. * ListView.cs: fix breakage in drag shadow header positioning
  3155. from Peter's csc compilation fix.
  3156. 2006-03-13 Mike Kestner <[email protected]>
  3157. * ListView.cs: fix NRE produced by backspacing twice in a focused
  3158. FileDialog.
  3159. 2006-03-13 Mike Kestner <[email protected]>
  3160. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  3161. 2006-03-13 Peter Dennis Bartok <[email protected]>
  3162. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  3163. be changed
  3164. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  3165. the allowed size before making programmatic size changes
  3166. 2006-03-13 Peter Dennis Bartok <[email protected]>
  3167. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  3168. set, metacity is broken and will still use the emty sizes in
  3169. the struct. (Fix for #77089)
  3170. 2006-03-13 Peter Dennis Bartok <[email protected]>
  3171. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  3172. WindowExStyles and marked both enums as Flags
  3173. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  3174. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  3175. to match WindowStyles split
  3176. * XplatUIX11.cs:
  3177. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  3178. - Updated to match WindowStyles split
  3179. * XplatUIWin32.cs:
  3180. - Fixed FosterParent creation, was using ExStyle on the Style field
  3181. (This should help with Popup focus issues)
  3182. - Updated to match WindowStyles split
  3183. 2006-03-13 Jackson Harper <[email protected]>
  3184. * MdiWindowManager.cs: Use the system menu height. Fixes some
  3185. strange sizing issues.
  3186. 2006-03-12 Peter Dennis Bartok <[email protected]>
  3187. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  3188. * TextBoxBase.cs:
  3189. - Scroll to caret after inserting text (#77672)
  3190. - Make scroll range one pixel higher, fixes off-by-one error (and
  3191. makes underlines visible on the last line)
  3192. 2006-03-12 Peter Dennis Bartok <[email protected]>
  3193. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  3194. the keyboard state from being stuck with keys in 'pressed' state when
  3195. focus is switched away via keyboard
  3196. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  3197. reset the keyboard if no X11 KeyUp events are expected to come
  3198. * X11Structs.cs: Switched type of Visible to bool to match driver
  3199. 2006-03-12 Peter Dennis Bartok <[email protected]>
  3200. * TextControl.cs:
  3201. - Switched caret to be just 1 pixel wide, matches MS and looks less
  3202. clunky
  3203. - Moved caret display 1 pixel down from the top of the control
  3204. to improve view
  3205. - InsertCharAtCharet: Update the selection start if moving the caret
  3206. (fixes bug #77696; based on patch suggested by [email protected])
  3207. - No longer always creating the caret when the caret methods are
  3208. called. Only the actual ShowCaret/HideCaret will do that now
  3209. - Only setting caret visible if the owner control has focus
  3210. - UpdateView: Added invalidation-shortcut logic for center and right
  3211. aligned text. Previously we'd update all according to the left
  3212. logic which caused drawing errors. Also fixed height of invalidated
  3213. areas, now properly invalidating the whole area (was off-by-one)
  3214. - owner_HandleCreated: Always generate the document when the
  3215. handle is created; this ensures that
  3216. * TextBoxBase.cs:
  3217. - Fixed situation where caret would disappear under the right
  3218. window border, also improved scrolling behaviour on left-
  3219. aligned textboxes
  3220. - Fixed right-aligned textboxes to have a border to the
  3221. right instead of the caret being under the right border
  3222. * XplatUIX11.cs:
  3223. - Switched from 'nested' to simple visible/not visible tracking
  3224. for caret (part of fix for #77671)
  3225. - No longer passing through translated FocusIn/FocusOut messages
  3226. since we were notifying too often and the wrong windows. Instead
  3227. we just notify our focussed window of receiving or loosing focus
  3228. * XplatUIWin32.cs: Switched from 'nested' show/hide
  3229. counting for caret to simple visible yes/no behaviour (part of
  3230. fix for #77671)
  3231. 2006-03-11 Alexander Olk <[email protected]>
  3232. * Mime.cs: Remove debug code...
  3233. 2006-03-11 Alexander Olk <[email protected]>
  3234. * MimeGenerated.cs: Removed
  3235. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  3236. and subclasses) from /usr/(local/)share/mime and
  3237. $HOME/.local/share/mime.
  3238. 2006-03-10 Jackson Harper <[email protected]>
  3239. * MdiWindowManager.cs: Recalc the NC area when a window is
  3240. maximized/restored so that the menu area is drawn on forms that
  3241. don't have a menu.
  3242. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3243. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  3244. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  3245. us to force a WM_NCCALCRESIZE message being sent. This is needed
  3246. for MDI maximizing.
  3247. 2006-03-10 Jackson Harper <[email protected]>
  3248. * Form.cs: We need to use the ActiveMenu when calculating menu
  3249. height.
  3250. - Fix nullref when the window manager hasn't been created yet.
  3251. * Control.cs: Fix nullref when we try to bring a control to the
  3252. front that has no parent.
  3253. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  3254. height.
  3255. - Add a dummy item to the maximized menu so it always has the
  3256. correct height. Otherwise when there are no menus we don't get our
  3257. icon and buttons.
  3258. 2006-03-10 Jackson Harper <[email protected]>
  3259. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  3260. stuff.
  3261. * Form.cs: Make the window_state internal so the window managers
  3262. can track it.
  3263. - When an MDI child is maximized let its window manager create the
  3264. main menu (so it can add its icon).
  3265. - Notify the window managers of state changes
  3266. - Let the window manager paint its buttons and handle button
  3267. clicks on the menu when it is maximized.
  3268. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  3269. window manager, since tool windows don't use it, only mdi windows.
  3270. - Tell the main form that we don't want it to handle NCPAINT
  3271. itself to avoid extra painting.
  3272. - Handle clicks on a maximized windows menu.
  3273. - Handle window state changes
  3274. - Handle minimize/maximize clicks correctly by setting the window state.
  3275. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  3276. when clicking on the forms icon).
  3277. - New method to create a forms maximized menu. This is its normal
  3278. menu + an icon.
  3279. - Handle window state changes.
  3280. - Handle sizing of maximized windows. Maximized windows are just
  3281. drawn bigger then the parent visible area. All controls are still
  3282. there, they are just outside the visible area (this matches windows).
  3283. * MdiClient.cs: No scrollbars when a child window is maximized.
  3284. - Let the children windows figure out how big they should be when
  3285. sizing maximized windows.
  3286. - Implement a version of ArrangeIconicWindows somewhat similar to
  3287. Windows version. There are some little differences, but I don't
  3288. think any app will rely on the layout of minimized mdi windows.
  3289. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3290. * Padding.cs: Several fixes to allow compiling with csc 2.0
  3291. 2006-03-09 Jackson Harper <[email protected]>
  3292. * Menu.cs:
  3293. * MenuItem.cs: Cheap hack so we can add items to the list without
  3294. the events being raised. This allows adding mdi items during
  3295. drawing. TODO: Should probably find a better time to add the items.
  3296. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3297. * ThemeWin32Classic.cs:
  3298. - CheckBox_DrawText: Added logic to not wrap if not enough space
  3299. is available (Fix for bug #77727)
  3300. - RadioButton_DrawText: Added logic not to wrap if not enough
  3301. space is available (Fix for bug #77727). Also removed some
  3302. duplicate code, DrawString always drawing the regular text
  3303. before hitting the if statement.
  3304. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3305. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  3306. 2006-03-10 Peter Dennis Bartok <[email protected]>
  3307. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  3308. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  3309. methods. Moved the new 2.0 properties into alphabetical order with
  3310. other properties and added MonoTODO tags
  3311. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3312. * AutoScaleMode.cs: Added. Fix build.
  3313. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3314. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  3315. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  3316. and was requiring premature handle creation for calls from above
  3317. * Form.cs, Control.cs: Removed handle arguments from calls to
  3318. CalculateClientRect()
  3319. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3320. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  3321. drag_column.column_rect is MarshalByRef and can't be used that way
  3322. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3323. * AxHost.cs: Added deserialization constructor for
  3324. AxHost+State (fixes 77743)
  3325. 2006-03-09 Mike Kestner <[email protected]>
  3326. * ListView.cs:
  3327. - Added column drag reordering for details view.
  3328. - fixed behavior when mouse is dragged off column and
  3329. AllowColumnReorder is false.
  3330. * ColumnHeader.cs: clone the format too in Clone.
  3331. * Theme.cs: add DrawListViewHeaderDragDetails method.
  3332. * ThemeWin32Classic.cs:
  3333. - impl new method for drawing drag column shadows and targets.
  3334. - support column offset for details mode in DrawListViewItem.
  3335. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3336. * TextControl.cs: Reset the char_count when the document is cleared
  3337. (Fixes bug reported on mono-winforms mailing list)
  3338. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3339. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  3340. of calling base we simply process the key ourselves, since both
  3341. DefWindowProc and the handled method would set m.Result.
  3342. (Fixes #77732)
  3343. 2006-03-09 Peter Dennis Bartok <[email protected]>
  3344. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  3345. method also moves the window; instead implemented a copy of
  3346. Control.ScaleCore (Part of fix for #77456)
  3347. * TextBoxBase.cs:
  3348. - Created new CreateGraphicsInternal method to allow providing
  3349. a graphics context when no handle is created without triggering
  3350. handle creation. (Part of fix for #77456)
  3351. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  3352. * TextControl.cs:
  3353. - Switched Constructor to require TextBoxBase instead of Control (to
  3354. allow uncast access to CreateGraphicsInternal)
  3355. - Safeguarded use of owner.Handle property. No longer accessing it
  3356. unless the handle is already created.
  3357. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  3358. - Now triggering a recalc when owning control becomes visible
  3359. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  3360. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  3361. premature handle creation (Part of fix for #77456)
  3362. * Control.cs:
  3363. - We now only destroy our double-buffering buffers when the
  3364. control is resized or disposed, but not when visibility
  3365. changes. (The code even re-created them twice every time)
  3366. - Now requiring a redraw of the buffer on visibility changes
  3367. (fixes bug 77654 part 2)
  3368. - Not passing OnParentVisibleChanged up unless the control
  3369. is visible
  3370. - CanFocus: Fixed to match MS documentation
  3371. - Focus: Fixed to return actual focus state and to check if
  3372. setting focus is legal before setting it
  3373. 2006-03-08 Peter Dennis Bartok <[email protected]>
  3374. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  3375. when to draw focus rectangle by looking at parent focus and
  3376. selected state instead. This fixes TabPages on Linux sometimes
  3377. having none or multiple focus rectangles.
  3378. * XplatUIX11.cs (SetFocus):
  3379. - Don't set the focus if the same window already has focus
  3380. - Use SendMessage instead of PostMessage (like it's Win32
  3381. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  3382. to match MS behaviour
  3383. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  3384. are not selectable.
  3385. 2006-03-07 Jackson Harper <[email protected]>
  3386. * PictureBox.cs: Revert line I accidently committed last week.
  3387. 2006-03-07 Peter Dennis Bartok <[email protected]>
  3388. * Control.cs:
  3389. - Added new IsRecreating and ParentIsRecreating properties to
  3390. allow testing if RecreateHandle has been called on ourselves
  3391. or one of our parents
  3392. - WndProc(WM_DESTROY): If our control handle is being recreated
  3393. we immediately need to create the handle when receiving the
  3394. destroy, that way our child windows find a valid parent handle
  3395. when they themselves are being recreated upon WM_DESTROY receipt
  3396. (fix for bug #77654 part 1)
  3397. * XplatUIX11.cs:
  3398. - DestroyWindow: WM_DESTROY must be sent to our own window before
  3399. notifying any child windows. MS documents that child windows
  3400. are still valid when WM_DESTROY is received. (Control now relies on
  3401. this behaviour)
  3402. - Added some fine-grain debug options
  3403. 2006-03-06 Jackson Harper <[email protected]>
  3404. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  3405. box and base calculations off this.
  3406. * MdiChildContext.cs:
  3407. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  3408. anymore.
  3409. 2006-03-06 Peter Dennis Bartok <[email protected]>
  3410. * Splitter.cs: In situations where the affected control is added
  3411. to the parent's control list after the splitter, we would not
  3412. populate affected. Now we try populating it on mousedown, if
  3413. it's not already set, and force it to be re-set whenever our
  3414. parent changes.
  3415. 2006-03-03 Matt Hargett <[email protected]>
  3416. * Control.cs: implement Control.Padding
  3417. * Padding.cs: -Padding.All returns -1 when constructing with the
  3418. implicit default ctor
  3419. -Padding.ToString() matches MS.NET
  3420. * ContainerControl.cs: implement
  3421. ContainerControl.AutoScaleDimensions
  3422. * ListControl.cs: implement ListControl.FormattingEnabled
  3423. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  3424. * ButtonBase.cs:
  3425. * TabPage.cs: Implement UseVisualStyleBackColor.
  3426. * PictureBox.cs: Implement PictureBox.InitialImage.
  3427. 2006-03-03 Mike Kestner <[email protected]>
  3428. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  3429. event declarations to proxy to base event.
  3430. * ListViewItem.cs: update to use ItemControl.
  3431. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  3432. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  3433. column header label rendering for 0 width columns.
  3434. 2006-03-03 Peter Dennis Bartok <[email protected]>
  3435. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  3436. that causes the control to be created. Fixes #77476.
  3437. 2006-03-02 Jackson Harper <[email protected]>
  3438. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  3439. expose_pending.
  3440. 2006-03-02 Peter Dennis Bartok <[email protected]>
  3441. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  3442. passed in for the EventArgs (fixes #77690)
  3443. 2006-03-01 Jackson Harper <[email protected]>
  3444. * ScrollBar.cs: Refresh afterbeing resized.
  3445. 2006-02-28 Mike Kestner <[email protected]>
  3446. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  3447. Clean up a tracker compile warning.
  3448. * MenuItem.cs: add internal PerformPopup method.
  3449. [Fixes #77457]
  3450. 2006-02-28 Peter Dennis Bartok <[email protected]>
  3451. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  3452. implicit expose) when the text is set to null
  3453. 2006-02-28 Peter Dennis Bartok <[email protected]>
  3454. * RichTextBox.cs (FlushText): When newline is true, we always
  3455. need to split the line, even if no text is on it and we may
  3456. never eat newlines. (Fixes #77669)
  3457. 2006-02-28 Mike Kestner <[email protected]>
  3458. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  3459. and set Selected instead.
  3460. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  3461. collections.
  3462. 2006-02-28 Peter Dennis Bartok <[email protected]>
  3463. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  3464. 2006-02-28 Alexander Olk <[email protected]>
  3465. * FontDialog.cs:
  3466. - Got rid of the panel. All controls are now directly added to
  3467. the dialog form
  3468. - It is now possible to set a font with the Font property
  3469. - MinSize and MaxSize property do now what they should
  3470. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  3471. - Searching and selecting a font with the font textbox works now,
  3472. the same applies to the style and size textbox
  3473. - Draw the correct 3D border in the example panel
  3474. - Fixed a little mem leak (unused fonts didn't get disposed)
  3475. - Many other internal updates/rewrites...
  3476. - Fix typo
  3477. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3478. * TextControl.cs:
  3479. - InsertRTFFromStream: Added 'number of characters inserted' argument
  3480. - set_SelectedRTF: Now using the number of characters to calculate
  3481. the new location for the selection and cursor (x/y cannot be used
  3482. due to potentially already wrapped text)
  3483. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3484. * TextControl.cs: Added property and implemented means to allow
  3485. disabling recalculation of a document (can be used to speed up
  3486. multiple inserts and is needed to make RTF inserts predictable, see
  3487. bug #77659)
  3488. * RichTextBox.cs: Using the new NoRecalc property of Document to
  3489. keep x/y insert locations predictable. Also makes it faster inserting
  3490. large chunks of RTF
  3491. 2006-02-27 Peter Dennis Bartok <[email protected]>
  3492. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  3493. it's easier for a child control to handle the other messages without
  3494. having to duplicate the special functionality
  3495. * TextBoxBase.cs
  3496. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  3497. code to handle processing the key ourselves, in order to get
  3498. access to the result of KeyEventArgs.Handled. We now only call
  3499. ProcessKey if they key hasn't been handled already. Fixes #77526.
  3500. - set_Text: If null or empty string is given, just clear the
  3501. document. Fixes part of #77526
  3502. 2006-02-27 Jackson Harper <[email protected]>
  3503. * SizeGrip.cs: Paint the background color before painting the grip
  3504. so things look right.
  3505. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  3506. 2006-02-27 Mike Kestner <[email protected]>
  3507. * ListView.cs:
  3508. - Restructure layout and invalidation model to remove a ton of
  3509. flicker from the control and speed up performance in general.
  3510. - Add manual column resize, flickers like crazy, but I already have
  3511. some ideas on how I'll fix that. (#76822)
  3512. - Merge the three Icon-based views into a single layout method.
  3513. - Move item selection interaction logic from the item since
  3514. interaction with the collections is more appropriate to the view.
  3515. - Deselection on non-item clicks.
  3516. * ListViewItem.cs:
  3517. - Encapsulate most of the layout. Add some internal props to trigger
  3518. layout. Move to a model where Items invalidate themselves instead
  3519. of just invalidating the whole control every time something changes.
  3520. - Invalidate on Text/Caption changes.
  3521. - switch to an offset based layout model to avoid having to absolute
  3522. position every element on item moves.
  3523. - correct checkbox layout to conform to MS layout.
  3524. * ThemeWin32Classic.cs:
  3525. - refactor some column header drawing code.
  3526. - fix string justification for column headers (#76821)
  3527. - make SmallIcon labels top justified for compat with MS impl.
  3528. * ThemeClearlooks.cs:
  3529. - adjust to new ListViewItem internal checkbox bounds api.
  3530. 2006-02-27 Jackson Harper <[email protected]>
  3531. * Control.cs: Change where implicit controls fall in the zorder.
  3532. They are now on top of all children.
  3533. - Synced AddImplicit code with Add
  3534. - Removed unused enumerator.
  3535. * SizeGrip.cs: Remove the TODO as its been TODONE.
  3536. 2006-02-26 Peter Dennis Bartok <[email protected]>
  3537. * TextControl.cs(Insert): Combine the last lines unless the insertion
  3538. string ends with \n\n, otherwise we leave one line too many (Fixes
  3539. something I noticed with the testapp for #77526; the bug itself was
  3540. already fixed in the previous checkin)
  3541. 2006-02-26 Peter Dennis Bartok <[email protected]>
  3542. * RichTextBox.cs:
  3543. - SelectionColor and SelectionFont methods no longer set absolute
  3544. styles. Instead, the keep font or color respectively (This
  3545. resolves a long-standing FIXME in the code)
  3546. - When flushing RTF text, the insert code now considers text trailing
  3547. behind the insertion point (Fixes the bug where when replacing
  3548. the selected text via SelectedRTF the remainder of the line behind
  3549. the selection would stay on the first insertion line)
  3550. * TextBoxBase.cs:
  3551. - AppendText now updates the selection points after inserting text
  3552. - AppendText now ensures that the last tag (sometimes 0-length) of
  3553. the document is used for the style information (Fixes part of
  3554. bug #77220)
  3555. * TextControl.cs:
  3556. - Created new FontDefiniton class to allow describing partial style
  3557. changes
  3558. - StreamLine() now takes a lines argument, to allow it to decide
  3559. whether an encountered zero-length tag is the last in the document
  3560. (which must be kept to not loose the font/color contained in it,
  3561. for later appends)
  3562. - Created Combine() and Split() methods for Marker structs, to
  3563. support marker updates due to reformatted documents (soft line
  3564. wraps)
  3565. - Implemented Document.CaretTag setter
  3566. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  3567. of the last line (Not the cause, but also exposed by bug #77220)
  3568. - Added LineTag argument to InsertString method, to allow callers
  3569. to force a certain tag to be used (required to force use of the
  3570. trailing zero-length tag of a document)
  3571. - Now updating markers in Combine(), to avoid stale tag markers
  3572. - Added some method descriptions to aid maintenance
  3573. - Implemented new FormatText concept, allowing additive/subtractive
  3574. formatting by only specifying the components that are to be
  3575. changed. This was needed for resolving the RTB.SelectedColor/
  3576. RTB.SelectedFont fixmes
  3577. - Added Break() support method to allow breaking up linetags (used
  3578. for partial formatting)
  3579. - Added GenerateTextFormat() method. It is used for partial
  3580. formatting and allows to generate a full font/color from given
  3581. attributes and an existing tag.
  3582. 2006-02-26 Jackson Harper <[email protected]>
  3583. * XplatUIX11.cs: Use the correct caption height.
  3584. - Translate hittest coordinates to screen coords to match MS.
  3585. * XplatUIWin32.cs: When we create MDI windows we need to reset
  3586. some of the style flags, so we get a nice blank window, and can
  3587. draw all the decorations ourselves.
  3588. - Set a clipping rectangle on the non client paint event, the
  3589. window manager drawing code needs one.
  3590. * Form.cs: The window manager needs to know when the window state
  3591. has been updated.
  3592. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  3593. don't need to factor in border and title sizes in these
  3594. methods. TODO: Remove the args and fix the call points.
  3595. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  3596. properly.
  3597. - Let the driver set the cursors.
  3598. - Improve active window handling
  3599. - Correct sizes for title bars and buttons.
  3600. - Match MS drawing better
  3601. * MdiWindowManager.cs: We don't need to handle border style
  3602. updates specially anymore.
  3603. - Check for scrollbars when windows are done moving
  3604. - Handle Active properly.
  3605. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  3606. correctly. I am spewing the exception though, so we don't hide the
  3607. bugs.
  3608. 2006-02-26 Pedro Martinez Julia <[email protected]>
  3609. * DataGridViewRowPostPaintEventArgs.cs,
  3610. DataGridViewCellPaintingEventArgs.cs,
  3611. DataGridViewRowCollection.cs,
  3612. DataGridViewRowPrePaintEventArgs.cs,
  3613. DataGridViewCell.cs: Clear a few warnings and implement a few
  3614. exceptions that should be thrown.
  3615. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3616. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  3617. 'inheriting' our parent's (non-default) cursor. (Part of
  3618. the fix for #77479)
  3619. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3620. * XplatUIX11.cs: Fixed cast to make csc happy
  3621. 2006-02-22 Peter Dennis Bartok <[email protected]>
  3622. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  3623. it's for the client area (part of fix for #77479 and needed
  3624. for MDI window cursor handling)
  3625. * XplatUIX11.cs
  3626. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  3627. the appropriate default cursors and also passing the message
  3628. up the parent chain
  3629. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  3630. for non-client areas
  3631. 2006-02-15 Jackson Harper <[email protected]>
  3632. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  3633. is a real MDI window
  3634. 2006-02-14 Alexander Olk <[email protected]>
  3635. * X11DesktopColors.cs: Instead of checking the desktop session
  3636. string for "KDE" check if it starts with "KDE"
  3637. 2006-02-10 Jackson Harper <[email protected]>
  3638. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  3639. systems).
  3640. 2006-02-10 Alexander Olk <[email protected]>
  3641. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  3642. errors
  3643. * ColorDialog.cs:
  3644. - Got rid of the panel. All controls are now directly added to
  3645. the dialog form
  3646. - Changed to mono coding style
  3647. 2006-02-10 Jackson Harper <[email protected]>
  3648. * InternalWindowManager.cs: We don't need the set visibility to
  3649. false hack anymore now that peter has written beautiful shutdown
  3650. code.
  3651. 2006-02-10 Peter Dennis Bartok <[email protected]>
  3652. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  3653. where already explicitly destroyed
  3654. 2006-02-10 Jackson Harper <[email protected]>
  3655. * MdiClient.cs: Handle the case where windows are too high or to
  3656. the left and we need scrollbars.
  3657. 2006-02-10 Alexander Olk <[email protected]>
  3658. * MimeIcon.cs: Added some icons
  3659. * FileDialog.cs:
  3660. - Fixed bug #77477
  3661. - Got rid of the panel. All controls are now directly added to
  3662. the dialog form
  3663. - Changed to mono coding style
  3664. - On Linux "My Computer" and "My Network" will now show some
  3665. more usefull information. A new class, MasterMount, gathers
  3666. this information from /proc/mount. Updated MWFFileView to make
  3667. use of this information
  3668. - Fixed a bug that caused FileDialog to crash when
  3669. ".recently_used" file had a zero size
  3670. - FilterIndex does now what it should
  3671. - Some Refactoring
  3672. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  3673. FileDialog changes
  3674. 2006-02-09 Jackson Harper <[email protected]>
  3675. * ComboBox.cs: Don't touch if null.
  3676. 2006-02-09 Peter Dennis Bartok <[email protected]>
  3677. * Cursor.cs: 64bit safeness fix
  3678. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  3679. 2006-02-09 Jackson Harper <[email protected]>
  3680. * Form.cs: If a form is made into an MDI form update the styles so
  3681. all the props can get set correctly.
  3682. - Kill the mdi_container when we dont need it anymore.
  3683. * InternalWindowManager.cs: Add missing NOT
  3684. 2006-02-08 Jackson Harper <[email protected]>
  3685. * InternalWindowManager.cs: Respek clipping when drawing MDi
  3686. decorations.
  3687. 2006-02-08 Jackson Harper <[email protected]>
  3688. * Hwnd.cs: Add bits to track non client expose events.
  3689. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  3690. gives us a proper invalid rect and will allow for some nice
  3691. optimizations with NC client drawing
  3692. - MDI windows are children windows, so move their style handling
  3693. into the child window block.
  3694. * InternalWindowManager.cs: Remove a state reset that was
  3695. getting invoked at the wrong time. Fixes managed windows getting
  3696. into a 'stuck' captured state.
  3697. 2006-02-07 Peter Dennis Bartok <[email protected]>
  3698. * TextControl.cs (Document.ctor): Now initializing
  3699. selection_anchor. Fixes #77493
  3700. 2006-02-07 Jackson Harper <[email protected]>
  3701. * TrackBar.cs: The increment/decrements were backwards.
  3702. 2006-02-07 Mike Kestner <[email protected]>
  3703. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  3704. to the instance itself.
  3705. 2006-02-07 Peter Dennis Bartok <[email protected]>
  3706. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  3707. on ulongs and pointers, the size differs between 32bit and 64bit
  3708. systems.
  3709. 2006-02-07 Mike Kestner <[email protected]>
  3710. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  3711. for 64 bit platforms to work around a metacity bug.
  3712. 2006-02-07 Jackson Harper <[email protected]>
  3713. * TrackBar.cs: Process the input keys we need, and hookup to
  3714. KeyDown instead of using WndProc, so we get key messages.
  3715. 2006-02-06 Peter Dennis Bartok <[email protected]>
  3716. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  3717. machine we're on.
  3718. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  3719. we need to translate the XdndVersion atoms array before sending it
  3720. 2006-02-06 Peter Dennis Bartok <[email protected]>
  3721. * XplatUIX11.cs:
  3722. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  3723. number of bits for the property, not the number of bytes. The
  3724. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  3725. but would not crash since it specified 8 bits instead of 4 bits)
  3726. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  3727. defined as XID -> long in the C headers)
  3728. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  3729. references since those are now IntPtr to begin with
  3730. - Switched all Atom.XXX 'int' casts to IntPtr casts
  3731. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  3732. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  3733. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  3734. * X11Structs.cs:
  3735. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  3736. - Changed atom in HoverStruct to be IntPtr
  3737. * X11DnD.cs:
  3738. - Removed local DllImports, switched code to use those from XplatUIX11
  3739. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  3740. 2006-02-06 Mike Kestner <[email protected]>
  3741. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  3742. method signatures in the import region. There may still be some
  3743. lingering struct marshaling issues, as I didn't drill down into those.
  3744. Yet.
  3745. 2006-02-06 Jackson Harper <[email protected]>
  3746. * ComboBox.cs: Dont manually set the top_item, this is computed
  3747. when the scrollbar position is set.
  3748. 2006-02-06 Mike Kestner <[email protected]>
  3749. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  3750. startup crashes on amd64. There's other fixes needed. All pinvoke
  3751. usage of Atom needs to be mapped to IntPtr for example. And there are
  3752. likely other int/long issues to be addressed.
  3753. 2006-02-04 Alexander Olk <[email protected]>
  3754. * FileDialog.cs: One more...
  3755. 2006-02-03 Alexander Olk <[email protected]>
  3756. * FileDialog.cs: Next try
  3757. 2006-02-03 Alexander Olk <[email protected]>
  3758. * FileDialog.cs: First part of fix for #77464
  3759. 2006-02-03 Alexander Olk <[email protected]>
  3760. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  3761. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  3762. AcceptButton border drawing.
  3763. 2006-02-03 Peter Dennis Bartok <[email protected]>
  3764. * Form.cs: Moved positioning of form after auto scaling is applied,
  3765. otherwise it would possibly use wrong form size.
  3766. 2006-02-03 Peter Dennis Bartok <[email protected]>
  3767. * Control.cs (RecreateHandle): No need to re-create any child
  3768. controls, the child windows will get destroyed automatically by
  3769. the windowing system or driver, and re-created when the handle
  3770. is being accessed the first time. Fixes #77456
  3771. * Form.cs: No longer setting the form to closing if the handle is
  3772. being recreated. This seems like the right thing to do, don't
  3773. have a bug or testcase for this, though.
  3774. 2006-02-02 Peter Dennis Bartok <[email protected]>
  3775. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  3776. controls to avoid unwanted side effects
  3777. 2006-02-02 Peter Dennis Bartok <[email protected]>
  3778. * Control.cs:
  3779. - ScaleCore needs to scale the bounds, not the ClientSize of the
  3780. control. Fixes #77416.
  3781. - DefaultSize is 0,0 for control
  3782. * TextBoxBase.cs:
  3783. - DefaultSize is 100, 20
  3784. - SetBoundsCore: Now enforcing the height, no matter if the provided
  3785. height is more or less than the preferred one, as long as AutoSize
  3786. is on
  3787. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  3788. 2006-02-02 Peter Dennis Bartok <[email protected]>
  3789. * Control.cs:
  3790. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  3791. call unless both performLayout is true *and* we have a pending
  3792. layout change
  3793. - ResumeLayout: MS does not completely nest Suspend and Resume,
  3794. they bottom out at 0, fixed our code to match that.
  3795. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  3796. SetBoundsCore, we were updating even when we shouldn't. This fixes
  3797. swf-anchors mis-anchoring when resizing the app fast and lots.
  3798. - UpdateDistances: Now only setting the left and top distance if
  3799. we have a parent and are not suspended, this is based on
  3800. a suggestion by Don Edvaldson in bug #77355.
  3801. - OnVisibleChanged: Fixed logic when to create the control. We may
  3802. not create the control if we have no parent or if it's not visible;
  3803. switched to using Visible property instead of is_visible field
  3804. since the property also considers parent states. This fixes a bug
  3805. when starting Paint.Net
  3806. 2006-02-02 Jackson Harper <[email protected]>
  3807. * Form.cs: If the forms handle hasn't been created yet don't call
  3808. into xplatui to make it top most, just set the topmost flag on the
  3809. form in CreateParams
  3810. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  3811. 2006-02-01 Jackson Harper <[email protected]>
  3812. * ScrollableControl.cs: Refactored the Recalculate method a
  3813. little, this wasn't handling all the variants of bottom and right
  3814. bars needed to be added and added/removed based on their
  3815. counterparts being added/removed (which changes the drawable
  3816. size). Also we special case client widths and heights of 0 and
  3817. don't add the scrollbar for those.
  3818. 2006-02-01 Peter Dennis Bartok <[email protected]>
  3819. * XplatUIX11.cs:
  3820. - Added method to get AbsoluteGeometry(); currently unused, but might
  3821. be used in the future, if we try again to figure out toplevel
  3822. coordinates with some more crappy window managers
  3823. - Added FrameExtents() method to retrieve the WM set decoration size
  3824. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  3825. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  3826. * Hwnd.cs:
  3827. - Added whacky_wm tracking var for metacity
  3828. - Added logic to have default menu height if the actual menu height
  3829. has not yet been calculated (part of fix for #77426)
  3830. * Form.cs: Keep track whether client size has been set and re-set
  3831. it if a menu is added/removed afterwards (Fixes #77426)
  3832. 2006-01-31 Jackson Harper <[email protected]>
  3833. * Control.cs: When a new Site is set on the component attempt to
  3834. pull the AmbientProperties from it.
  3835. 2006-01-31 Peter Dennis Bartok <[email protected]>
  3836. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  3837. in the background of the owning form. Fixes #77332
  3838. 2006-01-31 Alexander Olk <[email protected]>
  3839. * MimeIcon.cs: Fix for #77409
  3840. 2006-01-31 Alexander Olk <[email protected]>
  3841. * XplatUIX11GTK.cs: Initial import
  3842. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  3843. * FixedSizeTextBox: fixes class signature
  3844. 2006-01-30 Jackson Harper <[email protected]>
  3845. * FixedSizeTextBox.cs: New internal class that represents a
  3846. textBox that will not be scaled.
  3847. * TreeView.cs:
  3848. * ComboBox.cs:
  3849. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  3850. standard TextBox.
  3851. 2006-01-30 Peter Dennis Bartok <[email protected]>
  3852. * XplatUIX11.cs: Retrieve default screen number instead of
  3853. assuming 0. Attempted fix for #77318
  3854. 2006-01-30 Peter Dennis Bartok <[email protected]>
  3855. * XplatUIWin32.cs:
  3856. - GetWindowPos: When a window is parented by FosterParent, use
  3857. the desktop instead of FosterParent as the base to get coordinates
  3858. - CreateWindow: Don't make FosterParent the parent window for Popups
  3859. if we don't want a taskbar entry, Popups automatically don't get one
  3860. * Hwnd.cs: Need to call remove to actually remove the key from the
  3861. hash table
  3862. 2006-01-30 Mike Kestner <[email protected]>
  3863. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  3864. 2006-01-30 Jackson Harper <[email protected]>
  3865. * TreeView.cs:
  3866. * TreeNode.cs: Raise events no matter how the treenode is
  3867. checked. Patch by Don Edvalson.
  3868. 2006-01-30 Jackson Harper <[email protected]>
  3869. * TreeNode.cs: Signature fix.
  3870. 2006-01-29 Alexander Olk <[email protected]>
  3871. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  3872. 2006-01-20 Mike Kestner <[email protected]>
  3873. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  3874. event forwarding when menus are active.
  3875. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  3876. Most of the patch is pdb's with a little rework.
  3877. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3878. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  3879. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  3880. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  3881. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  3882. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  3883. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  3884. the PaintWindowDecorations method
  3885. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  3886. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  3887. * MenuAPI.cs: Made tracker window invisible
  3888. * XplatUIWin32.cs:
  3889. - Removed GetMenuDC and ReleaseMenuDC methods
  3890. - Implemented the client=false path for PaintEventStart and
  3891. PaintEventEnd
  3892. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3893. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  3894. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  3895. styles
  3896. * Form.cs:
  3897. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  3898. the style
  3899. - CreateParams: Reworked the styles to match MS look'n'feel,
  3900. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  3901. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  3902. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3903. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  3904. window is not mapped, since otherwise every form that's being
  3905. created is considered minimized, which is wrong.
  3906. * Form.cs: Catching the exception and returning our internal value
  3907. instead
  3908. 2006-01-26 Peter Dennis Bartok <[email protected]>
  3909. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  3910. SetWindowMinMax() to have means to tell the driver about the minimum,
  3911. maximum and maximized state window sizes. (Part of the fix for #76485)
  3912. * Form.cs:
  3913. - Implemented tracking of minimum and maximum window size, now calling
  3914. new SetWindowMinMax() driver method to tell the driver (Part of the
  3915. fix for #76485)
  3916. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  3917. (Completes fix for #76485)
  3918. - Calling new SetWindowMinMax driver method when the handle for a
  3919. form is created, to make sure the driver knows about it even if
  3920. the values have been set before the window was created
  3921. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  3922. to avoid messing up our anchoring calculations (partial fix
  3923. for #77355)
  3924. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  3925. * XplatUIX11.cs:
  3926. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  3927. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  3928. (and presumably other freedesktop.org compliant WMs). Left the
  3929. assumption unmapped=minimized, needed for SetVisible to work.
  3930. - Now setting the window state when creating windows
  3931. - Fixed SetVisible to consider/set the window state when mapping
  3932. a Form. We cannot set the state before it's mapped, and we cannot
  3933. use Form.WindowState once it's mapped (since it would ask the
  3934. driver and get 'normal'. Therefore, we grab the state before
  3935. mapping, map, and then set state.
  3936. - Implmemented SetWindowMinMax method; Metacity does not seem to
  3937. honor the ZoomHints, though.
  3938. * XplatUIWin32.cs:
  3939. - Removed MINMAXINFO (moved to XplatUIStructs)
  3940. - Added SetWindowMinMax stub (on Win32 the only way to set that
  3941. information is in response to the WM_GETMINMAXINFO message, which
  3942. is handled in Form.cs)
  3943. - Added logic to SetVisible to set the proper window state when a
  3944. form is made visible (fixes #75720)
  3945. 2006-01-26 Jackson Harper <[email protected]>
  3946. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  3947. same way we handle them with Invoke.
  3948. 2006-01-25 Peter Dennis Bartok <[email protected]>
  3949. * Form.cs:
  3950. - Added tracking of window state so CreateParams can return
  3951. the appropriate style
  3952. - Moved setting of WS_CAPTION style in CreateParams to allow
  3953. styles without caption
  3954. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  3955. control if the TextBox property is accessed. Fixes #77345
  3956. * Control.cs:
  3957. - get_Created: now uses is_disposed and is_created to determine
  3958. return value (suggested by Jackson)
  3959. - CreateHandle: No longer exits if the handle is being recreated
  3960. - RecreateHandle: If the handle is not yet created call the
  3961. appropriate method to create either control or handle. If the
  3962. control is already created CreateHandle will simply exit instead
  3963. of just creating the handle
  3964. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  3965. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  3966. is called.
  3967. * XplatUIX11.cs:
  3968. - When DestroyWindow is called, instead of waiting for the
  3969. DestroyNotification from X11, we directly post it to the WndProc
  3970. and immediately dispose the hwnd object.
  3971. Same applies to DestroyChildWindows, and this obsoletes the
  3972. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  3973. child windows before our own, to avoid X11 errors.
  3974. - Removed the direct sending of WM_PAINT on UpdateWindow
  3975. * XplatUIWin32.cs:
  3976. - Reworked DoEvents and GetMessage to allow access to internal queue
  3977. even when trying non-blocking access to the queue. Fixes #77335.
  3978. Based on a patch suggestion by Don Edvalson. The new private
  3979. GetMessage can now also be used as a backend for a PeekMessage
  3980. frontend version.
  3981. * XplatUI.cs: Improved debug output for CreateWindow
  3982. 2006-01-25 Jackson Harper <[email protected]>
  3983. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  3984. 2006-01-24 Jackson Harper <[email protected]>
  3985. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  3986. when we have a MaxDropItems lower then the selected index.
  3987. 2006-01-24 Jackson Harper <[email protected]>
  3988. * Control.cs: Don't allow selection of non visible controls, allow
  3989. selection of controls without parents.
  3990. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  3991. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  3992. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  3993. 2006-01-23 Jackson Harper <[email protected]>
  3994. * UpDownBase.cs: Make the textbox handle all the selection and
  3995. tabbing. This fixes tabing to updown controls.
  3996. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  3997. * TextBoxBase.cs: fixes exception thown the object was null
  3998. 2006-01-23 Jackson Harper <[email protected]>
  3999. * ButtonBase.cs: Just use the base CreateParams. They set
  4000. visibility and enabled correctly.
  4001. * ComboBox.cs:
  4002. * TrackBar.cs:
  4003. * MonthCalendar.cs: Lets let the base set as much of the
  4004. createparams as possible so we don't have duplicate code all over
  4005. the place.
  4006. 2006-01-22 Alexander Olk <[email protected]>
  4007. * ThemeGtk.cs: Added TrackBar and some experimental code to
  4008. get double buffering back
  4009. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  4010. * DataGrid.cs: Allows row number set internally higher than the last
  4011. when creating a new row. Restores the editing functionality.
  4012. 2006-01-20 Mike Kestner <[email protected]>
  4013. * MimeIcon.cs: delay Image creation until the icons are accessed
  4014. instead of creating 190 scaled images on GnomeHandler startup.
  4015. 2006-01-19 Peter Dennis Bartok <[email protected]>
  4016. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  4017. first call base before processing the event. Fixes #77279
  4018. 2006-01-19 Peter Dennis Bartok <[email protected]>
  4019. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  4020. that the stride for the GDI bitmap would match the stride of
  4021. a DIB or a Cursor.
  4022. 2006-01-19 Alexander Olk <[email protected]>
  4023. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  4024. 2006-01-19 Jackson Harper <[email protected]>
  4025. * ComboBox.cs: Hookup the text controls keydown event so we get
  4026. those when the text control has the focus.
  4027. 2006-01-18 Peter Dennis Bartok <[email protected]>
  4028. * Label.cs: Now using the base events instead of defining new ones;
  4029. this allows us to just call the base properties without having to
  4030. duplicate all base property logic
  4031. 2006-01-18 Peter Dennis Bartok <[email protected]>
  4032. * Label.cs: A label by default is not a tabstop (Fixes one of our
  4033. failing nunit tests)
  4034. 2006-01-18 Peter Dennis Bartok <[email protected]>
  4035. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  4036. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  4037. 2006-01-18 Peter Dennis Bartok <[email protected]>
  4038. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  4039. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  4040. This fixes #77218
  4041. * XplatUIWin32.cs:
  4042. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  4043. constructor creates images that can't be saved. Part of the fix
  4044. for #76103
  4045. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  4046. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  4047. bug fix for handling window state in forms properly)
  4048. 2006-01-18 Alexander Olk <[email protected]>
  4049. * ThemeGtk.cs: Simplify ScrollBar drawing
  4050. 2006-01-18 Jackson Harper <[email protected]>
  4051. * Splitter.cs: Set the default dock style for the splitter control
  4052. in the constructor.
  4053. 2006-01-18 Alexander Olk <[email protected]>
  4054. * ThemeGtk.cs: Corrected StateType and ShadowType for
  4055. gtk_paint_box
  4056. 2006-01-18 Alexander Olk <[email protected]>
  4057. * Control.cs: Make use of Theme.DoubleBufferingSupported
  4058. * ThemeGtk.cs:
  4059. - Added drawing for flat style buttons
  4060. - Added ScrollBar drawing
  4061. 2006-01-18 Alexander Olk <[email protected]>
  4062. * ThemeClearlooks.cs: Removed some unneeded code.
  4063. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  4064. 2006-01-17 Peter Dennis Bartok <[email protected]>
  4065. * LinkLabel.cs: We need to update the hover drawing when
  4066. leaving the control as well.
  4067. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  4068. * DataGrid.cs: Clicking on non empty areas in the columns
  4069. area was giving an exception
  4070. 2006-01-17 Jackson Harper <[email protected]>
  4071. * ThemeWin32Classic.cs:
  4072. * ListView.cs: Do not draw/clip the headers when the header style
  4073. is None.
  4074. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  4075. * DataGrid.cs: Fixes 77260
  4076. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  4077. * DataGrid.cs: Clicking on a column on a empty grid was giving
  4078. an exception
  4079. 2006-01-17 Peter Dennis Bartok <[email protected]>
  4080. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  4081. or any keypress will crash the grid.
  4082. 2006-01-17 Mike Kestner <[email protected]>
  4083. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  4084. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  4085. invisible/previously-visible items.
  4086. [Fixes #76909]
  4087. 2006-01-17 Alexander Olk <[email protected]>
  4088. * ThemeClearlooks.cs:
  4089. - Added CL_Draw_Button method; now other theme controls that are
  4090. not derived from button or do not have a button can draw buttons
  4091. too
  4092. - Updated ComboBox drawing
  4093. - Beautified RadioButton drawing
  4094. - Corrected drawing of bottom and left tabs
  4095. - Beautified DateTimePicker and MonthCalendar
  4096. - Added CPDrawButton and CPDrawRadioButton
  4097. 2006-01-16 Jackson Harper <[email protected]>
  4098. * ComboBox.cs: Set the initial value of the scrollbar to the
  4099. current index. Reduce the numbers of refreshs and IndexOfs called.
  4100. 2006-01-14 Alexander Olk <[email protected]>
  4101. * FileDialog.cs: When the file listview is focused hitting the
  4102. backspace key moves the fileview to the parent directory
  4103. 2006-01-13 Peter Dennis Bartok <[email protected]>
  4104. * Form.cs:
  4105. - Added RecreateHandle call when changing taskbar visibility to
  4106. trigger reparenting in Win32 driver (Fixes #75719)
  4107. - If a window has minimize or maximize buttons, it cannot have
  4108. a help button
  4109. * XplatUIWin32.cs:
  4110. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  4111. the toplevel form with FosterParent (A toolwindow not on the
  4112. taskbar) (Fixes #75719)
  4113. - Made FosterParent a toolwindow
  4114. 2006-01-13 Alexander Olk <[email protected]>
  4115. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  4116. 2006-01-13 Alexander Olk <[email protected]>
  4117. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  4118. is currently over that control, make sure that tooltip_window.Text
  4119. gets updated
  4120. 2006-01-13 Mike Kestner <[email protected]>
  4121. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  4122. 2006-01-13 Jackson Harper <[email protected]>
  4123. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  4124. value passed. Also redraw the selected node when we recieve
  4125. focus, so tabbing between trees works correctly.
  4126. 2006-01-13 Alexander Olk <[email protected]>
  4127. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  4128. ~/.gconf/%gconf-tree.xml, so use
  4129. .gconf/desktop/gnome/interface/%gconf.xml
  4130. 2006-01-13 Peter Dennis Bartok <[email protected]>
  4131. * TextControl.cs: Draw text in gray if control is disabled
  4132. 2006-01-13 Peter Dennis Bartok <[email protected]>
  4133. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  4134. make sure it's always visible. Fixes #76680.
  4135. 2006-01-13 Peter Dennis Bartok <[email protected]>
  4136. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  4137. 2006-01-13 Jonathan Chambers <[email protected]>
  4138. * PageSetupDialog.cs: Added.
  4139. * PrintDialog.cs: Attributes.
  4140. * PrintPreviewControl.cs: Updates.
  4141. * PrintPreviewDialog.cs: Updates.
  4142. 2006-01-12 Peter Dennis Bartok <[email protected]>
  4143. * Control.cs: Undid my selection check fix, since it's not needed
  4144. * TextBoxBase.cs:
  4145. - Now considering the presence of hscroll/vscroll when sizing
  4146. vscroll/hscroll respectively. Fixed bug #77077
  4147. - Added Left/Up/Down/Right to IsInputKey list to prevent
  4148. ContainerControl from stealing them. This fixes what I broke
  4149. with my last checkin.
  4150. 2006-01-12 Peter Dennis Bartok <[email protected]>
  4151. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  4152. I finally understand how the property can be set without a setter :-)
  4153. 2006-01-12 Peter Dennis Bartok <[email protected]>
  4154. * Application.cs:
  4155. - Switched RunLoop to use static Message.Create to create a
  4156. Message object
  4157. - Added PreProcessMessage call in runloop for keyboard events; this
  4158. is part of the fix for #77219, I overlooked this originally in the
  4159. MSDN doc for PreProcessMessage
  4160. * Control.cs:
  4161. - Removed call to PreProcessMessage from handling of keyboard
  4162. messages; it's supposed to be done in the message pump
  4163. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  4164. per MSDN documentation.
  4165. - IsInputChar: All chars are input chars by default; removed the
  4166. parent calling chain, MS does not document that
  4167. - PreProcessMessage: If IsInputChar is true, we want to return false
  4168. to allow dispatching of the message
  4169. - When selecting the next control, now also check that we're not
  4170. selecting ourselves again and therefore return a false positive.
  4171. * TextBoxBase.cs:
  4172. - Tried to match return values for IsInputKey and ProcessDialogKey
  4173. to what MS returns; moved processing of our special keys outside
  4174. ProcessDialogKey since MS does not seem to return true on those.
  4175. - Moved code that previously was in ProcessDialogKey into new private
  4176. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  4177. - Reworked handling of WM_CHAR to not have to duplicate code from
  4178. Control.cs anymore, instead we simply call down to base.
  4179. 2006-01-12 Jackson Harper <[email protected]>
  4180. * ComboBox.cs: We always need to refresh the text area when
  4181. EndUpdate is called. Fixes the combobox in the file dialog.
  4182. * Control.cs: Don't create the creator_thread until the controls
  4183. handle is created. Also in InvokeRequired we check if the
  4184. creator_thread is null. This gives the effect of InvokeRequired
  4185. returning true if the controls handle is not created yet, and
  4186. matches MS.
  4187. 2006-01-12 Peter Dennis Bartok <[email protected]>
  4188. * XplatUI.cs:
  4189. - Added StartLoop() driver method. This is used to allow drivers to
  4190. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  4191. loop for a particular thread
  4192. - Added EndLoop() driver method. This is called once the message
  4193. pump for the thread is shut down
  4194. - Added SupportsTransparency method to allow the driver to indicate
  4195. opacity support for windows
  4196. * Form.cs:
  4197. - Removed TODO attribute, completed AllowTransparency property
  4198. - Added documented logic to Opacity
  4199. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  4200. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  4201. versions of CompatibleTextRendering
  4202. * X11Structs.cs: Added opacity atom to our atom enumeration
  4203. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  4204. of a form might be set before it's reparented by the WM, and we need
  4205. the opacity value without calling up to Form)
  4206. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  4207. SupportsTransparency() driver methods
  4208. * Application.cs: Now calling StartLoop and EndLoop driver methods
  4209. * XplatUIX11.cs:
  4210. - Added opacity atom registration
  4211. - Added StartLoop()/EndLoop() methods. They're empty right now but
  4212. will need to get implemented when we switch to a per-thread queue
  4213. - Implemented SupportsTransparency() method
  4214. - Implemented SetWindowTransparency() method
  4215. - Added support for setting the opacity value when a window is
  4216. reparented (since the opacity needs to be set on the WM frame)
  4217. * XplatUIOSX.cs, XplatUIWin32.cs:
  4218. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  4219. 2006-01-12 Alexander Olk <[email protected]>
  4220. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  4221. 2006-01-12 Alexander Olk <[email protected]>
  4222. * FileDialog.cs: Added ToolTip for MWFFileView
  4223. * MimeIcon.cs: Rewrote GnomeHandler.
  4224. - Get currently used gnome icon theme from
  4225. ($HOME)/.gconf/%gconf-tree.xml
  4226. - Make use of inherited icon themes
  4227. - Support SVG icon themes like Tango via librsvg
  4228. 2006-01-12 Miguel de Icaza <[email protected]>
  4229. Revert's Jackson's revert which broke 2.0 builds. Fix both
  4230. builds.
  4231. * Application.cs: Move the use_compatible_text_rendering outside
  4232. the NET_2_0 define. If we ever need to use the
  4233. use_compatible_text_rendering on the individual controls they will
  4234. access the variable from the common shared code paths.
  4235. 2006-01-12 Peter Dennis Bartok <[email protected]>
  4236. * XplatUI.cs:
  4237. - Added more granular debug options
  4238. - Added method to print both window text and id
  4239. - Switched debug output to use new Window() debug method
  4240. - Added IsEnabled() driver method
  4241. - Added EnableWindow() driver method
  4242. * Form.cs:
  4243. - Removed end_modal; no longer needed, new loop handles termination
  4244. via 'closing' variable
  4245. - If form is modal, setting DialogResult will now initiate loop
  4246. termination via 'closing' variable
  4247. - Added support for is_enabled/WS_DISABLED to CreateParams
  4248. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  4249. does all the work
  4250. - Removed code that's now in RunLoop from ShowDialog()
  4251. - Added various documented sanity checks to ShowDialog()
  4252. - Added handling of WM_DESTROY message; we set 'closing' on getting
  4253. the message to indicate the message pump to terminate
  4254. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  4255. send by the Application.ExitThread method. (We send the message
  4256. to destroy the window after all other events have been
  4257. processed through the queue, instead of destroying the handle
  4258. directly)
  4259. - Moved code from Close() method to WM_CLOSE handler; added logic
  4260. to only send close-related events if the form is not displayed
  4261. modal
  4262. * Splitter.cs (..ctor): Fixed typo in resource name
  4263. * Control.cs:
  4264. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  4265. brush now
  4266. - set_Cursor: Now only setting calling into XplatUI if the handle for
  4267. the control is already created; this avoids implict handle creation
  4268. or crashes if it's not created
  4269. - set_Enabled: Now setting the enabled state via the new driver method
  4270. instead of just tracking it
  4271. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  4272. - CreateControl: Reordered event firing and method calls to more
  4273. closely fire events in the order MS does. Now setting the
  4274. enabled state in the driver when creating the control.
  4275. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  4276. match MS order
  4277. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  4278. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  4279. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  4280. * Hwnd.cs:
  4281. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  4282. - Added EnabledHwnd property to easily allow a driver to find the
  4283. handle of the first enabled window in the parent chain (this is
  4284. used by drivers to pass up input events of disabled windows)
  4285. * XplatUIDriver.cs: Added IsEnabled() method
  4286. * Application.cs:
  4287. - Removed crude and obsolete exiting tracking variable
  4288. - Removed internal ModalRun(); replaced by RunLoop()
  4289. - Implemented private CloseForms() method to allow closing all
  4290. windows owned by a particular (or all) threads
  4291. - Exit() now properly closes all windows without forcing the message
  4292. pump to quit
  4293. - Removed obsolete InternalExit() method
  4294. - Changed Run() methods to use new RunLoop() message pump
  4295. - Implemented new RunLoop() method for both modal and non-modal forms
  4296. * CommonDialog.cs:
  4297. - get_CreateParams: Added setting of WS_DISABLED
  4298. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  4299. invoked via Form.ShowDialog()
  4300. * NativeWindow.cs: We don't remove the window from the collection when
  4301. the handle is destroyed; there might still be messages for it in the
  4302. queue (mainly the resulting WM_DESTROY); instead it will be removed
  4303. when Control calls InvalidateHandle in the WM_DESTROY handler
  4304. * XplatUIX11.cs:
  4305. - CreateWindow: Added logic to handle the WS_DISABLED window style
  4306. - EnableWindow: Implemented based on Hwnd.Enabled
  4307. - GetMessage: Reset PostQuitState so the method can be called again
  4308. - Implemented support for disabled windows (passing messages to the
  4309. first enabled parent) in handling all input messages
  4310. - Added optimizations for handling Expose events
  4311. - Implemeted new driver method IsEnabled()
  4312. - Now always resetting paint pending tracking vars when we start paint
  4313. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  4314. * XplatUIOSX.cs: Added IsEnabled method stub
  4315. * XplatUIWin32.cs: Implemented new IsEnabled() method
  4316. 2006-01-11 Jackson Harper <[email protected]>
  4317. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  4318. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  4319. variables a little.
  4320. * ColorDialog.cs: Clear out the old form before adding the new
  4321. panel.
  4322. 2006-01-11 Jackson Harper <[email protected]>
  4323. * X11Dnd.cs: Make sure to add all the text formats when adding
  4324. strings to the data object.
  4325. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  4326. do some redrawing too. Also change the UpdateNode to an
  4327. UpdateBelow so the newly added node gets painted.
  4328. 2006-01-11 Miguel de Icaza <[email protected]>
  4329. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  4330. LinkLabel.cs, PropertyGrid.cs: Implement the
  4331. UseCompatibleTextRendering property for 2.x
  4332. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  4333. 2006-01-11 Jackson Harper <[email protected]>
  4334. * TreeView.cs: Use the property for setting the selected node so
  4335. the correct events get raised.
  4336. * TreeNode.cs: Update the tree when the fore/back colours of a
  4337. node are set.
  4338. 2006-01-10 Jackson Harper <[email protected]>
  4339. * TreeView.cs: Allow setting SelectedNode to null.
  4340. 2006-01-9 Jonathan Chambers <[email protected]>
  4341. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  4342. 2006-01-9 Jonathan Chambers <[email protected]>
  4343. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  4344. 2006-01-9 Jonathan Chambers <[email protected]>
  4345. * PrintDialog.cs: Added attributes and set default property values.
  4346. 2006-01-9 Jonathan Chambers <[email protected]>
  4347. * PrintControllerWithStatusDialog.cs:
  4348. Added PrintControllerWithStatusDialog.
  4349. 2006-01-9 Jonathan Chambers <[email protected]>
  4350. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  4351. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  4352. 2006-01-9 Jonathan Chambers <[email protected]>
  4353. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  4354. 2006-01-09 Jonathan Chambers <[email protected]>
  4355. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  4356. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  4357. 2006-01-08 Alexander Olk <[email protected]>
  4358. * MimeIcon.cs: Added internal class SVGUtil.
  4359. 2006-01-08 Alexander Olk <[email protected]>
  4360. * FileDialog.cs: Don't crash if there are two files with the
  4361. same name but different locations.
  4362. 2006-01-08 John BouAntoun <[email protected]>
  4363. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  4364. dates across multiple month grids. Used to not highlight entire
  4365. month, but does now.
  4366. 2006-01-06 Jackson Harper <[email protected]>
  4367. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  4368. message loop. Change timer intervals to numbers that seem more
  4369. natural.
  4370. 2006-01-06 John BouAntoun <[email protected]>
  4371. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  4372. object for location info since screen object is now implemented.
  4373. 2006-01-05 Jackson Harper <[email protected]>
  4374. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  4375. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  4376. AsyncMethodResult, this is because we ALWAYS want the
  4377. ManualResetEvent to get set.
  4378. * Control.cs: When disposing use an async invoke to call shutdown
  4379. code, so that thigns don't block on the finalizer thread. Also
  4380. check if we even have a message loop before trying to send
  4381. messages, if we don't then don't bother sending messages.
  4382. - No more weak references for async methods
  4383. * XplatUIDriver.cs: No more weak references for async methods.
  4384. 2006-01-04 Alexander Olk <[email protected]>
  4385. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  4386. returns two FontFamily with the same name
  4387. 2006-01-04 Peter Dennis Bartok <[email protected]>
  4388. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  4389. drawing disabled text. Instead using the ColorGrayText color
  4390. 2006-01-04 Jackson Harper <[email protected]>
  4391. * TreeNode.cs: redraw the node when its image index is changed.
  4392. 2006-01-04 Peter Dennis Bartok <[email protected]>
  4393. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  4394. time I checked there are no others like it.
  4395. 2006-01-04 Jackson Harper <[email protected]>
  4396. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  4397. this gives the behavoir I was looking for.
  4398. * Control.cs: Special case Invoking EventHandlers, this matches MS
  4399. and fixes part of bug #76326.
  4400. 2006-01-04 Alexander Olk <[email protected]>
  4401. * ThemeClearlooks.cs, FileDialog.cs:
  4402. - Reflect the latest Theme class changes
  4403. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  4404. with DateTime
  4405. 2006-01-04 Alexander Olk <[email protected]>
  4406. * Theme.cs: Cache UI resource images and resize them if needed
  4407. 2006-01-03 Peter Dennis Bartok <[email protected]>
  4408. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  4409. is called. This fixes the crash in Nexxia when setting the font
  4410. attributes in the chat. [However, RTF needs a look-over to make sure
  4411. that all SelectionXXX methods handle the special case that selection
  4412. is empty and therefore the change must be applied to all text starting
  4413. at the cursor/selection start]
  4414. 2006-01-03 Peter Dennis Bartok <[email protected]>
  4415. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4416. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  4417. * X11Keyboard.cs: Switched to new way of calling PostMessage
  4418. 2006-01-03 Peter Dennis Bartok <[email protected]>
  4419. * Theme.cs: Added theme interface for images to allow the theme to
  4420. control what images are used for things like FileDialog, MessageBox
  4421. icons, etc.
  4422. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  4423. 2006-01-03 Alexander Olk <[email protected]>
  4424. * FileDialog.cs:
  4425. - Removed some dead code
  4426. - Opening a recently used file does work now
  4427. - Small UI enhancements
  4428. - Refactoring
  4429. 2006-01-02 Alexander Olk <[email protected]>
  4430. * FileDialog.cs: Forgot too add __MonoCS__
  4431. 2006-01-02 Alexander Olk <[email protected]>
  4432. * FileDialog.cs: We are able to read recently used files now let's
  4433. go on and write them.
  4434. 2006-01-01 Alexander Olk <[email protected]>
  4435. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  4436. button
  4437. * MimeIcon.cs: Do a check for the top level media type also
  4438. 2005-12-31 Alexander Olk <[email protected]>
  4439. * ThemeClearlooks.cs:
  4440. - Added CPDrawStringDisabled
  4441. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  4442. some chars if the text doesn't fit into text_rect
  4443. - DrawListViewItem: If View = View.LargeIcon center the image;
  4444. rewrote the drawing of ListViewItem.Text if View =
  4445. View.LargeIcon
  4446. 2005-12-31 Alexander Olk <[email protected]>
  4447. * MimeIcon.cs: Use default KDE icon theme if there is no
  4448. "48x48" directory for the current icon theme, fixes #77114
  4449. * Mime.cs: Disable not working and actually not used code.
  4450. * ThemeWin32Classic.cs:
  4451. - Replace "new SolidBrush" in GetControlBackBrush and
  4452. GetControlForeBrush with ResPool.GetSolidBrush
  4453. - Changed DrawListViewItem from private to protected virtual
  4454. * FileDialog.cs:
  4455. - Added form.MaximizeBox = true
  4456. - Don't throw an exception if there is a broken symbolic link
  4457. 2005-12-23 Jackson Harper <[email protected]>
  4458. * TabControl.cs: Give the panels focus, keyboard navigation is
  4459. fixed so this works correctly now.
  4460. - We need these key events also.
  4461. * ToolBar.cs: Remove some of the poor mans double buffering.
  4462. 2005-12-24 Alexander Olk <[email protected]>
  4463. * ComboBox.cs: The internal TextBox now returns the focus.
  4464. 2005-12-23 Jackson Harper <[email protected]>
  4465. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  4466. 2005-12-23 Peter Dennis Bartok <[email protected]>
  4467. * Control.cs: Removed debug code
  4468. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  4469. implicit children
  4470. 2005-12-23 Peter Dennis Bartok <[email protected]>
  4471. * Control.cs: When creating the control, update the Z-order after
  4472. all it's children are created, too. (Fixes nexxia not showing
  4473. picturebox bug)
  4474. 2005-12-23 Peter Dennis Bartok <[email protected]>
  4475. * Control.cs: Do not update the anchoring distances if layout is
  4476. suspended, instead do it once layout is resumed
  4477. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4478. * Control.cs:
  4479. - After many hours of debugging, for both Jackson and
  4480. myself, it turns out that it helps to set the parent of a control
  4481. if you want to actually see it onscreen. In the spirit of that
  4482. discovery, we're now setting the parent of the control and
  4483. it's children when the control's handle is created. This fix
  4484. will make Lutz Roeder's Reflector run happily.
  4485. - now just creating the handle instead of the whole control when
  4486. getting a graphics context for the control.
  4487. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4488. * ScrollableControl.cs: When calculating the canvas, don't consider
  4489. the scrollbar widths. Instead, predict if horizontal scrollbar
  4490. will affect canvas when deciding on vertical display and vice versa.
  4491. 2005-12-22 Peter Dennis Bartok <[email protected]>
  4492. * RichTextBox.cs: Set default RTF font for documents that don't
  4493. have a font table (Fixes #77076)
  4494. 2005-12-22 Jackson Harper <[email protected]>
  4495. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  4496. clipboard. This prevents a NullRef in that case.
  4497. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  4498. clipboard. PRIMARY is for the currently selected text only. (We
  4499. should implement PRIMARY at some point.
  4500. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4501. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  4502. a Unicode function with a structure that was defined in Ansi way.
  4503. This fixes #76942.
  4504. 2005-12-21 Jackson Harper <[email protected]>
  4505. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  4506. on. Because thats how it rolls. (and this avoids it using ambient
  4507. colours).
  4508. * ThemeWin32Classic.cs: Use the proper back color for filling.
  4509. * Menu.cs: Use the system menu bar color for drawing menu
  4510. bars. Using the window back color will bring ambient colours into
  4511. the picture.
  4512. 2005-12-21 Alexander Olk <[email protected]>
  4513. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  4514. Bitmaps were created and not disposed.
  4515. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4516. * Control.cs (CreateControl): Don't do anything if the control is
  4517. already created, otherwise we'd fire the OnCreated event more than
  4518. once
  4519. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4520. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  4521. will always match. Instead return -1. Fixes #76464.
  4522. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4523. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  4524. neither the beginning nor the end of the line (Fixes bug #76479)
  4525. 2005-12-21 Peter Dennis Bartok <[email protected]>
  4526. * Control.cs:
  4527. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  4528. where handle is invalid
  4529. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  4530. instead of slower linear search
  4531. * NativeWindow.cs: Don't remove the window from the hashtable until
  4532. after the driver has destroyed it (since the driver might use
  4533. Control.FromHandle to lookup the control object
  4534. * Hwnd.cs: Added DestroyPending property to track if a window is
  4535. already destroyed as far as the driver is concerned and only hasn't
  4536. yet notified the control
  4537. * XplatUIX11.cs:
  4538. - Activate(): Check if the window is still valid before using the
  4539. handle
  4540. - Implemented DestroyChildWindow() method to mark child windows as
  4541. destroyed when a window is destroyed. This prevents situations
  4542. where we might call an X method based on queued events for a
  4543. window that already has been destroyed but we haven't yet pulled
  4544. the destroy method from the queue.
  4545. - Added a call to the new DestroyChildWindow() method to the drivers
  4546. DestroyWindow code. Also now marking the destroyed window itself
  4547. as pending
  4548. 2005-12-20 Jackson Harper <[email protected]>
  4549. * StatusBar.cs:
  4550. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  4551. anymore. Just do them when needed, also track the rects of panels
  4552. so that we can optimize refreshing more in the future.
  4553. 2005-12-20 Alexander Olk <[email protected]>
  4554. * ColorDialog.cs: Fixed focus drawing in small color controls
  4555. 2005-12-19 Jackson Harper <[email protected]>
  4556. * InternalWindowManager.cs:
  4557. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  4558. moving windows works properly.
  4559. 2005-12-19 Peter Dennis Bartok <[email protected]>
  4560. * Control.cs:
  4561. - Removed call to InitLayout() from SetBoundsCore(); doc says
  4562. it's only called when a control is added to a container
  4563. - Split InitLayout logic, moved to separate UpdateDistances() method
  4564. since we need to perform those calculations more often than just
  4565. when adding the control to a container. (Needed to fix #77022)
  4566. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  4567. - Reduced the OnBindingContextChanged events count, don't send them
  4568. unless the control is created, we still aren't totally matching
  4569. MS, but I can't quite figure out some of their rules
  4570. 2005-12-18 Alexander Olk <[email protected]>
  4571. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  4572. stripes
  4573. 2005-12-18 Alexander Olk <[email protected]>
  4574. * ThemeClearlooks.cs:
  4575. - Updated ProgressBar drawing
  4576. - Corrected drawing of ScrollBars and scroll buttons
  4577. - Some temporary fixes for minor pixel artefacts
  4578. 2005-12-18 Peter Dennis Bartok <[email protected]>
  4579. * Control.cs:
  4580. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  4581. cause events to be sent in the same order as MS does.
  4582. - Added ChangeParent() method to trigger various OnXXXChanged events
  4583. that need to be fired when a parent changes (This is a reworking
  4584. of the patch from r54254, with the X11 errors fixed)
  4585. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  4586. since on MS we get OnLayoutChanged events when calling Clear()
  4587. - Changed Enabled property to consider parent state as well, if a
  4588. parent is not enabled, the control will not be either
  4589. - Changed Parent property to simply call Controls.Add() since that
  4590. now does all the work required, this way we avoid code duplication
  4591. - Threw in a few OnBindingsContextChanged calls to try and match
  4592. when MS sends them. We seem to send a few too many, though.
  4593. - Added call to CreateControl when adding the control to a parent.
  4594. We were never calling CreateControl. Still needs some work, in
  4595. some places we treat HandleCreated and ControlCreated as equal,
  4596. which is wrong
  4597. - Removed obsolete commented out code from UpdateZOrder()
  4598. 2005-12-18 Alexander Olk <[email protected]>
  4599. * ThemeClearlooks.cs: Updated TrackBar drawing.
  4600. 2005-12-17 Alexander Olk <[email protected]>
  4601. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  4602. 2005-12-17 Alexander Olk <[email protected]>
  4603. * FileDialog.cs: Add the Help button and the open readonly
  4604. checkbox only if needed
  4605. 2005-12-16 Jackson Harper <[email protected]>
  4606. * Control.cs: Make sure we have an active menu before trying to
  4607. process commands on it. Prevents menu-less forms from crashing
  4608. when Alt is pressed.
  4609. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  4610. Dieter Bremes.
  4611. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  4612. 2.0 build.
  4613. 2005-12-16 Jackson Harper <[email protected]>
  4614. * InternalWindowManager.cs: Don't translate tool windows screen
  4615. coordinates. This fixes windows 'bouncing' around when being moved.
  4616. 2005-12-15 Peter Dennis Bartok <[email protected]>
  4617. * TextBoxBase.cs:
  4618. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  4619. not quite MS compatible, MS uses that number only for single line
  4620. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  4621. the limit at 2GB)
  4622. - Now enforcing the MaxLength limit when entering characters
  4623. - Added argument to internal Paste() method to track if it's called
  4624. from programatically or via keyboard, since keyboard driven pastes
  4625. need to enforce max-length
  4626. - Added logic to Paste to only paste as many chars as MaxLength
  4627. allows
  4628. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  4629. * TextControl.cs:
  4630. - Added Length property to return number of characters in document
  4631. - Added private CharCount property which only tracks actual chars
  4632. in the document (no linefeeds) and fires event when CharCount
  4633. changes
  4634. - Added tracking of character count to all methods that alter it
  4635. - Added LengthChanged event to allow applications to subscribe
  4636. to any changes to the document
  4637. 2005-12-15 Peter Dennis Bartok <[email protected]>
  4638. * TextBox.cs:
  4639. - Removed local password_char field (moved to TextBoxBase)
  4640. - Now setting the document's password var when password is
  4641. set
  4642. * TextBoxBase.cs:
  4643. - Added password_char field (needed here so MultiLine can
  4644. access it)
  4645. - Added logic to MultiLine property setter to set the document's
  4646. variable when password display is allowed
  4647. - Removed debug code and made some debug code conditional
  4648. * TextControl.cs:
  4649. - Added RecalculatePasswordLine() method to handle special password
  4650. char only lines
  4651. - Added PasswordChar property, also added related tracking vars
  4652. - Draw() method now uses local text var for grabbing text to draw,
  4653. this var is set to line.text unless we're doing password display,
  4654. then it is set to the pre-generated all-password-chars line
  4655. - Added calling RecalculatePasswordLine() method for password lines
  4656. 2005-12-14 Peter Dennis Bartok <[email protected]>
  4657. * Hwnd.cs:
  4658. - Added Reparented property to allow tracking of Window Manager
  4659. reparenting actions (which affect X/Y calculations of toplevel
  4660. windows)
  4661. - Made ToString() print window handles in hex
  4662. * XplatUIX11.cs:
  4663. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  4664. determine if X/Y needs offsetting
  4665. - AddConfigureNotify(): Fixed offset calculations
  4666. - Now adds ReparentNotify messages into the queue
  4667. - Now processes ReparentNotify messages and causes a
  4668. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  4669. is reparented (as most likely it's X/Y coordinates are changed
  4670. due to that)
  4671. 2005-12-14 Jackson Harper <[email protected]>
  4672. * XplatUIX11.cs: Tool windows still need to respek focus.
  4673. 2005-12-14 Peter Dennis Bartok <[email protected]>
  4674. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  4675. have a working release
  4676. 2005-12-13 Jackson Harper <[email protected]>
  4677. * Form.cs: Update styles after setting the border style regardless
  4678. of whether or not the window is using a window manager.
  4679. 2005-12-13 Jackson Harper <[email protected]>
  4680. * Form.cs: We now hook into an internal window manager instead of just an
  4681. MDI subsystem, this is so we can have properly behaving tool windows.
  4682. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  4683. * InternalWindowManager.cs: New internal class that acts as a
  4684. window manager for tool windows and as a base for mdi windows.
  4685. * MdiWindowManager.cs: New class that acts as a window manager for
  4686. mdi windows.
  4687. 2005-12-12 Jackson Harper <[email protected]>
  4688. * Control.cs: Updates so we match behavoir for for implicit
  4689. controls. Fixes explosions in MDI.
  4690. 2005-12-12 Jackson Harper <[email protected]>
  4691. * Control.cs: Implement Invalidate (Region).
  4692. 2005-12-12 Peter Dennis Bartok <[email protected]>
  4693. * Control.cs:
  4694. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  4695. the same events as MS does. MS fires events for each property
  4696. except, for unknown reasons, Cursor, when the control is reparented.
  4697. I can't seem to totally match add/remove since MS also fires some
  4698. VisibleChanged events, which makes no sense. Consolidated the
  4699. parenting code into a separate method so it can be called from
  4700. both Add and Remove. set_Parent no longer needs any special logic
  4701. as it calls the parent's add method which implicitly fires
  4702. all events
  4703. - Removed some obsolete code and debug output
  4704. - Enabled state is inherited from parents, if this is enabled
  4705. 2005-12-08 Peter Dennis Bartok <[email protected]>
  4706. * Form.cs: Removed commented out code
  4707. 2005-12-08 Peter Dennis Bartok <[email protected]>
  4708. * Control.cs:
  4709. - Added internal version of Invoke, with additional argument
  4710. indicating if we're calling it from a Dispose() handler. That
  4711. way we can avoid BeginInvoke throwing an exception if we're
  4712. calling for an already destroyed window.
  4713. - Added a dispose argument to BeginInvokeInternal, and made the
  4714. check if a valid window handle chain exists conditional on
  4715. it not being a dispose call
  4716. - Removed code in DestroyHandle to destroy our children. Since we
  4717. now handle the WM_DESTROY message we will catch all our children
  4718. being destroyed.
  4719. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  4720. * Form.cs:
  4721. - Added a field to track the application context of the form.
  4722. - No need to set closing variable as response to WM_CLOSE, instead
  4723. we destroy the window. We also call PostQuitMessage if the form
  4724. has an application context (which makes it the main app form,
  4725. which, when closed terminates the app)
  4726. * XplatUI.cs:
  4727. - Dropped Exit() method, it's naming was confusing
  4728. - Added PostQuitMessage() which causes GetMessage to return false
  4729. once the message queue is empty
  4730. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  4731. PostQuitMessage()
  4732. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  4733. no longer a valid XplatUI method, but left it in since it's used
  4734. internally. Added empty PostQuitMessage() method.
  4735. * MenuAPI.cs: Replaced call to Exit() with call to
  4736. PostQuitMessage, even though this is probably no longer needed.
  4737. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  4738. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  4739. * Application.cs:
  4740. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  4741. - Removed old debug code that would call XplatUI for exception
  4742. display, enabled standard exception handling (Still not enabled
  4743. though, until NativeWindow's ExternalExceptionHandler define
  4744. is removed
  4745. * NativeWindow.cs:
  4746. - Added internal method to allow control to update NativeWindow
  4747. after a window has been destroyed
  4748. - Added handling of already destroyed windows when calling i
  4749. DestroyWindow
  4750. - Added removal of handle from list on ReleaseHandle
  4751. * XplatUIX11.cs:
  4752. - Dropped GetMessageResult var and related code
  4753. - Added PostQuitState to field to track if PostQuitMessage has been
  4754. called
  4755. - Dropped Exit() method
  4756. - Added PostQuitMessage() method
  4757. - GetMessage now will return false if PostQuitState is set and no
  4758. more messages are in the queue.
  4759. - Expose handler will no longer generate WM_PAINT messages if we are
  4760. in PostQuitState since it's very likely any windows have already
  4761. been destroyed, and since Hwnd won't get updated until we have
  4762. processed the DestroyNotify we'd be causing X errors.
  4763. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4764. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  4765. Thanks to Mike for pointing out the err of my ways.
  4766. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4767. * Control.cs(PreProcessMessage): Moved menu handling back, but
  4768. after all other key handling, to match MS (who handles Menu in
  4769. DefWndProc)
  4770. * Menu.cs (WndProc): Removed my brainfart
  4771. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4772. * Control.cs(PreProcessMessage): Removed special menu handling
  4773. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  4774. 2005-12-07 Mike Kestner <[email protected]>
  4775. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  4776. state according in tracker.
  4777. * Menu.cs : promote tracker field to base class and provide a tracker
  4778. lookup capability. Add/Remove shortcuts dynamically if the top menu
  4779. has a tracker. Unparent items that are removed from the collection.
  4780. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  4781. * Theme*.cs: add always_show_hotkeys field to support configurability
  4782. of mnemonic display. win32 doesn't show mnemonics until Alt is
  4783. pressed.
  4784. 2005-12-07 Jackson Harper <[email protected]>
  4785. * MdiChildContext.cs: Use Control.ResetCursor.
  4786. * Control.cs: ResetCursor needs to set the property so that the
  4787. correct XplatUI call gets made.
  4788. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4789. * Control.cs: More fixes to make our key events match MS. We
  4790. were not setting the modifier state on KeyData, and we were
  4791. not generating any events when Alt was pressed with a key
  4792. since handling of WM_SYSxxx was missing for the OnKey methods.
  4793. 2005-12-07 Jackson Harper <[email protected]>
  4794. * MdiChildContext.cs: reenable the sizing code.
  4795. - When the mouse leaves a window reset its cursor.
  4796. 2005-12-07 Alexander Olk <[email protected]>
  4797. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  4798. 2005-12-07 Peter Dennis Bartok <[email protected]>
  4799. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  4800. widths of Fixed3D borders
  4801. 2005-12-07 Jackson Harper <[email protected]>
  4802. * MdiClient.cs: Fix warnings. Earn Mike's love.
  4803. 2005-12-07 Alexander Olk <[email protected]>
  4804. * ThemeClearlooks.cs:
  4805. - Adjusted mouse over button color
  4806. - Added first parts of CheckBox drawing
  4807. - Added correct color for selected text background
  4808. - Fixed ComboBox drawing
  4809. - Added CPDrawBorder3D and CPDrawBorder
  4810. 2005-12-06 Peter Dennis Bartok <[email protected]>
  4811. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  4812. 2005-12-06 Peter Dennis Bartok <[email protected]>
  4813. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  4814. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  4815. alert users via sound. We could add an enum arg with different
  4816. types of alerts in the future
  4817. 2005-12-06 Peter Dennis Bartok <[email protected]>
  4818. * Control.cs: Fix behaviour problems pointed out by Mike
  4819. 2005-12-05 Mike Kestner <[email protected]>
  4820. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  4821. prop setters. Calls parent.Refresh for now, but could be maybe be
  4822. optimized with an internal method on StatusBar at some point.
  4823. [Fixes #76513]
  4824. 2005-12-05 Peter Dennis Bartok <[email protected]>
  4825. * RichTextBox.cs: Implemented get_SelectionColor
  4826. 2005-12-05 Alexander Olk <[email protected]>
  4827. * ThemeClearlooks.cs:
  4828. - Removed dead code
  4829. - Draw black button border only if button is Form.AcceptButton
  4830. - Draw correct button color for pressed RadioButton if the mouse
  4831. has entered the button
  4832. - Updated ProgressBar drawing!
  4833. - Updated CPDrawSizeGrip drawing
  4834. - Updated StatusBarPanel drawing
  4835. 2005-12-05 Mike Kestner <[email protected]>
  4836. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  4837. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  4838. 2005-12-04 Alexander Olk <[email protected]>
  4839. * ThemeClearlooks.cs: Initial check-in, activate with
  4840. export MONO_THEME=clearlooks
  4841. * ThemeEngine.cs: Added ThemeClearlooks
  4842. 2005-12-03 Mike Kestner <[email protected]>
  4843. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  4844. [Fixes #76897]
  4845. 2005-12-02 Jackson Harper <[email protected]>
  4846. * Form.cs: If the child form has no menu the default main menu is
  4847. used as the active menu.
  4848. 2005-12-02 Peter Dennis Bartok <[email protected]>
  4849. * ListBox.cs: Check if any items exist before trying to resolve
  4850. coordinates into items
  4851. 2005-12-02 Peter Dennis Bartok <[email protected]>
  4852. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  4853. as the second color for the background hatch
  4854. 2005-12-02 Peter Dennis Bartok <[email protected]>
  4855. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  4856. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  4857. sure that what we pass to FormatText is always 1-based. Fixes #76885
  4858. 2005-11-29 Miguel de Icaza <[email protected]>
  4859. * NumericUpDown.cs (EndInit): When we are done initializing,
  4860. reflect any updates on the UI.
  4861. 2005-12-02 Jackson Harper <[email protected]>
  4862. * ImplicitHScrollBar.cs:
  4863. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  4864. their container controls.
  4865. * TreeView.cs: Use the new implicit scrollbars.
  4866. 2005-12-02 Jackson Harper <[email protected]>
  4867. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  4868. can play with it.
  4869. * TreeNodeCollection.cs: If we remove the topnode we need to
  4870. update topnode to the next node in line.
  4871. - When clearing nodes go through the same process as removing
  4872. them, so they get depareneted and checked if they are top node.
  4873. 2005-12-01 Jackson Harper <[email protected]>
  4874. * TreeView.cs: When imagelists are used the image area is
  4875. selectable as well as the text.
  4876. - If there are no selected nodes select the first one.
  4877. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  4878. so don't do it more then we need to.
  4879. 2005-12-01 Jackson Harper <[email protected]>
  4880. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  4881. that arrows can be scaled.
  4882. 2005-12-01 Jackson Harper <[email protected]>
  4883. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  4884. fail. Patch by Dieter Bremes
  4885. 2005-11-30 Jackson Harper <[email protected]>
  4886. * Form.cs: Property is 2.0 only
  4887. * PrintDialog.cs: Signature fix.
  4888. 2005-11-30 Peter Dennis Bartok <[email protected]>
  4889. * TextControl.cs:
  4890. - No longer artificially moves text 2 pixels down (now that we have
  4891. borders this is no longer needed)
  4892. - Added calcs for left, hanging and right indent
  4893. 2005-11-23 Mike Kestner <[email protected]>
  4894. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  4895. 2005-11-30 Jackson Harper <[email protected]>
  4896. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  4897. get cloned as part of CloneMenu ().
  4898. * Menu.cs: Make sure the parent of the items get set correctly
  4899. when they are added. And the owners are notified of the changes.
  4900. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  4901. we can change the menu being displayed/handled by the form without
  4902. changing the menu assosciated with the form.
  4903. - Don't let Mdi children draw/handle menus.
  4904. 2005-11-30 Jackson Harper <[email protected]>
  4905. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  4906. a MenuChanged event. Just to make the API a little more
  4907. consistent.
  4908. * MainMenu.cs:
  4909. * MenuItem.cs: Use the new OnMenuChanged
  4910. * MdiChildContext.cs: Handle menu merging.
  4911. * Form.cs: Implement MergedMenu.
  4912. 2005-11-30 Jackson Harper <[email protected]>
  4913. * Menu.cs: We were misusing Add. Add goes behind the specified
  4914. index according to the docs, and does not replace the specified
  4915. index. So I added an Insert method.
  4916. 2005-11-30 Peter Dennis Bartok <[email protected]>
  4917. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  4918. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  4919. is for Jackson
  4920. * RichTextBox.cs: Added calls to base for DnD events
  4921. 2005-11-28 Peter Dennis Bartok <[email protected]>
  4922. * TextControl.cs:
  4923. - Fixed drag-selection related crash; style fixes
  4924. - Implemented undo class
  4925. o Implemented method to capture document state for specified
  4926. range in document tree
  4927. o Implemented method to restore captured document state
  4928. o Implemented cursor tracking
  4929. o Implemented basic undo stack
  4930. - Added undo cursor tracking to methods altering cursor location
  4931. - Added undo tracking to selection deletion (still missing
  4932. other text-altering hookups)
  4933. * RichTextBox.cs:
  4934. - Added SelectionLength property
  4935. - Implemented CanPaste()
  4936. - Implemented Paste()
  4937. - Added missing protected methods
  4938. - Fixed RTF->Document conversion; now uses font index 0 and color
  4939. index 0 as the default font for the parsed text
  4940. - Fixed RTF<->Document font size translation
  4941. - Fixed RTF generation, now properly handles cross-tag boundaries
  4942. for single line selection
  4943. - No longer always appends blank line to generated RTF
  4944. - Removed TODOs
  4945. - Added missing attributes
  4946. - Hooked up undo-related methods
  4947. * TextBoxBase.cs:
  4948. - Implemented Copy()
  4949. - Implemented Paste()
  4950. - Implemented Cut()
  4951. - Fixed caret mis-behaviour on backspace across line-boundaries
  4952. 2005-11-29 Jackson Harper <[email protected]>
  4953. * MdiClient.cs: Add a method for activating mdi children. Very
  4954. basic right now. I imagine someday it might need more girth.
  4955. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  4956. children windows names are added to the menu item.
  4957. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  4958. mdilist. This happens regardless of whether or not there are any
  4959. mdi windows to see in the list, and according to my tests happens
  4960. before the items are even added. Also happens if there isn't even
  4961. an mdi client to get windows from.
  4962. 2005-11-29 Alexander Olk <[email protected]>
  4963. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  4964. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  4965. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  4966. * DataGridTableStyle.cs:
  4967. - Create always the styles for the missing columns even if they are
  4968. provided by the user (not default table style)
  4969. * DataGrid.cs:
  4970. - Fixes bug 76770
  4971. - Fixes SetDataBinding (always re-attach source)
  4972. - Fixes SetNewDataSource (only clear styles if they are not for
  4973. this source)
  4974. - Expands OnTableStylesCollectionChanged to handle style refresh
  4975. and remove properly
  4976. 2005-11-29 Jackson Harper <[email protected]>
  4977. * FileDialog.cs: Implement missing bits, remove some dead
  4978. code.
  4979. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  4980. creation of the panel so that the options set on the dialog are
  4981. seen when the panel is created.
  4982. * TreeView.cs: raise a click when items are clicked.
  4983. 2005-11-29 Jackson Harper <[email protected]>
  4984. * MdiClient.cs: Pass some signature methods through to base.
  4985. 2005-11-28 Jackson Harper <[email protected]>
  4986. * ListView.cs: Raise the click event when items are clicked.
  4987. 2005-11-28 Jackson Harper <[email protected]>
  4988. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  4989. a nullref.
  4990. 2005-11-27 Alexander Olk <[email protected]>
  4991. * ThemeNice.cs: - Removed 1 pixel bitmaps
  4992. - Use SmoothingMode.AntiAlias where it makes sense
  4993. (ScrollButton arrow for example)
  4994. - Enhanced Button focus drawing
  4995. - Fixed ComboBox drawing (no artefacts anymore, focus
  4996. rectangle is back again, reduced size of ComboButton, etc.)
  4997. - Fixed RadioButton focus drawing for Appearence.Button
  4998. - Slight ScrollButton redesign
  4999. - Some LinearGradientBrush size fixes
  5000. - GroupBoxes have now rounded edges
  5001. - Fixed StatusBar drawing
  5002. 2005-11-25 Alexander Olk <[email protected]>
  5003. * ThemeNice.cs: - Remove dead code
  5004. - use correct background colors for menus, etc.
  5005. - Fake pixel drawing with 1 pixel bitmaps
  5006. 2005-11-24 Jackson Harper <[email protected]>
  5007. * MdiClient.cs: Size the scrollbars when resizing the window.
  5008. - Resize the maximized windows when the client is resized
  5009. * Form.cs: Make the child context available
  5010. 2005-11-23 Jackson Harper <[email protected]>
  5011. * MdiChildContext.cs: Don't size windows if they are maximized.
  5012. 2005-11-23 Mike Kestner <[email protected]>
  5013. * ContextMenu.cs: use MenuTracker.
  5014. * Control.cs: remove menu handle usage.
  5015. * Form.cs: remove menu handle usage.
  5016. * Hwnd.cs: remove menu handle usage.
  5017. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  5018. motion and clicks to the new Tracker handlers.
  5019. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  5020. and handle usage.
  5021. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  5022. Killed the MENU and MENUITEM data types and associated collections
  5023. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  5024. MenuTracker class that exposes the leftovers from the old MenuAPI
  5025. static methods. Restructured Capture handling so that only one grab is
  5026. done for the entire menu hierarchy instead of handing off grabs to
  5027. submenus. Tracker now has an invisible control to Capture when active.
  5028. * MenuItem.cs: add sizing accessors, kill Create
  5029. and handle usage.
  5030. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  5031. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  5032. MENU(ITEM). remove menu handle usage, use Menu directly.
  5033. * XplatUIDriver.cs: remove menu handle usage.
  5034. * XplatUIOSX.cs: remove menu handle usage.
  5035. * XplatUIWin32.cs: remove menu handle usage.
  5036. * XplatUIX11.cs: remove menu handle usage.
  5037. 2005-11-22 Jackson Harper <[email protected]>
  5038. * Hwnd.cs: Don't compute the menu size for
  5039. DefaultClientRectangle.
  5040. - Reenable menu sizes being computed for GetClienRectangle.
  5041. * Form.cs: Remove comment of trechery
  5042. 2005-11-22 Jackson Harper <[email protected]>
  5043. * Hwnd.cs: The adjustments for the menu bar are made when it is
  5044. attached to the form.
  5045. 2005-11-19 Jackson Harper <[email protected]>
  5046. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  5047. (just like on windows).
  5048. 2005-11-19 Jackson Harper <[email protected]>
  5049. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  5050. use real buttons anymore because they are in non client area. The
  5051. one TODO here is that I need to somehow invalidate a section of
  5052. the non client area.
  5053. 2005-11-18 Jackson Harper <[email protected]>
  5054. * Control.cs: Put the enum check back in now that MDI doesnt have
  5055. to use this to set border styles.
  5056. * Form.cs: Only set mdi child windows borders if the handle has
  5057. been created.
  5058. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  5059. this directly on to the driver.
  5060. - Get the move start position before adjusting for the titlebar
  5061. height, this fixes the windows "skipping" when they are first
  5062. moved.
  5063. 2005-11-18 Jackson Harper <[email protected]>
  5064. * XplatUIX11.cs: Just compute the mdi borders separately as they
  5065. don't totally match up with normal form borders.
  5066. 2005-11-18 Jackson Harper <[email protected]>
  5067. * Control.cs: Set WS_ styles for borders, so that the driver does
  5068. not have to retrieve the control instance to figure out what kind
  5069. of borders it should have.
  5070. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  5071. driver can know its an mdi child easily.
  5072. * XplatUIX11.cs: Get the border styles and whether the window is
  5073. MDI from the Styles and ExStyles params instead of having to get a
  5074. control. This prevents a chicken and egg problem.
  5075. 2005-11-18 Jackson Harper <[email protected]>
  5076. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  5077. 2005-11-18 Jackson Harper <[email protected]>
  5078. * MdiClient.cs: Calculate when to add and remove scrollbars
  5079. correctly.
  5080. * MdiChildContext.cs: Adjust the y position to take the titlebar
  5081. into account.
  5082. - No height for FormBorderStyle.None
  5083. 2005-11-18 Jackson Harper <[email protected]>
  5084. * Control.cs: Allow non enum values to be used for
  5085. InternalBorderStyle. MDI does this to set a special border style.
  5086. - New utility methods for converting points to/from client coords
  5087. - Add the newly created control to the Controls collection before
  5088. updating its style. This way UpdateStyle can walk the control
  5089. heirarchy to find the control if needed.
  5090. so I don't need to create a new Point object all the time.
  5091. * Form.cs: Let MDI windows handle their border styles.
  5092. - Set styles on MDI windows so the correct title style is derived.
  5093. * MdiChildContext.cs: Move all the painting and window handling
  5094. into the non client area.
  5095. - Use correct sizing and put correct buttons on frames based on
  5096. the FormBorderStyle.
  5097. - Notify the mdi client about scrolling
  5098. - Need to handle the buttons ourselves now, because they are all
  5099. in non client areas and we can't add controls there.
  5100. * MdiClient.cs: Halfway to scrolling, this implementation is
  5101. somewhat broken though, we need to check to make sure other
  5102. windows aren't causing scrolling before removing the bars. Also
  5103. the bars need to be drawn on top, maybe I can switch implicit
  5104. controls to be on top.
  5105. * Hwnd.cs: caption_height and tool_caption_height are now
  5106. properties of an hwnd, this way they can be set by the driver
  5107. based on the type of window they are. In X11 the window manager
  5108. handles the decorations so caption_height is zero unless its an
  5109. MDI window.
  5110. - Add 3 pixel borders for MDI windows (0xFFFF).
  5111. - Get rid of some code duplication, have DefaultClientRectanle
  5112. just call GetClientRectangle.
  5113. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  5114. Hwnd now.
  5115. - Set border styles differently for mdi windows.
  5116. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  5117. Hwnd now.
  5118. 2005-11-15 Mike Kestner <[email protected]>
  5119. * Menu.cs: when adding an item to the collection, if item is already
  5120. parented, remove it from the parent.
  5121. 2005-11-13 Alexander Olk <[email protected]>
  5122. * X11DesktopColors.cs: Added KDE support
  5123. 2005-11-11 Peter Dennis Bartok <[email protected]>
  5124. * XplatUIWin32.cs:
  5125. - Clipboard methods now can translate Rtf format
  5126. - No longer removes clipboard contents whenever a new format is added
  5127. to allow placing multiple formats on the clipboard
  5128. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  5129. will place all formats contained in it onto the clipboard. Also
  5130. now cleans the clipboard before placing a new object onto it
  5131. * RichTextBox.cs:
  5132. - Implemented set_Rtf
  5133. - Implemented set_SelectedRtf
  5134. - Created InsertRTFFromStream() method to allow single code base
  5135. for all properties and methods that insert RTF into document
  5136. - Removed debug output
  5137. * TextControl.cs:
  5138. - Fixed Delete(int) to fix up line numbers
  5139. - Fixed ReplaceSelection to combine start and end line
  5140. - Fixed serious DeleteChars bug that would leave the document tree
  5141. broken
  5142. - Improved DumpTree with several logic checks to detect broken
  5143. document trees
  5144. - Removed debug lines
  5145. - Fixed Caret.WordForward/WordBack moving code, now always also
  5146. updates caret.tag (fixes crash when word-selecting across tag
  5147. boundaries via keyboard)
  5148. - Added Insert() method for inserting multiline text into documents
  5149. - Fixed DeleteChars() calculation errors that would cause a broken
  5150. tag chain with multiple tag lines
  5151. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  5152. - Split() no longer moves caret if split is at caret location
  5153. - ReplaceSelection() now updates the cursor and re-displays it
  5154. - ReplaceSelection() now uses new Insert() method to avoid code
  5155. duplication
  5156. - FormatText() can now handle formatting partial lines
  5157. * TextBoxBase.cs:
  5158. - Append now uses new TextControl.Insert() method (this avoids
  5159. duplicate code)
  5160. - Implemented Ctrl-X (Cut) (
  5161. - Implemented Ctrl-C (Copy)
  5162. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  5163. regeneration when pasting text; roundtripping Copy&Paste within
  5164. edit control still fails due to some calculation bugs in GenerateRTF)
  5165. - The Delete key will now remove the current selection if it is visible
  5166. * TextBox.cs: Removed debug lines
  5167. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  5168. driver to be initialized and can't therefore be done via a static ctor)
  5169. 2005-11-10 Peter Dennis Bartok <[email protected]>
  5170. * TextControl.cs: Added backend code for finding char arrays and strings
  5171. * TextBoxBase.cs:
  5172. - Added mouse wheel scroll support
  5173. - Added support for VScroll and HScroll events
  5174. * RichTextBox.cs:
  5175. - Implemented all seven Find() variants
  5176. - Implemented GetCharFromPosition()
  5177. - Implemented GetCharIndexFromPosition()
  5178. - Implemented GetLineFromIndex()
  5179. - Implemented GetPositionFromCharIndex();
  5180. - Implemented SaveFile for PlainText and UnicodeText
  5181. - Fixed set_Font, now setting a new font applies that font to
  5182. the whole document
  5183. - Implemented generic Document to RTF converter
  5184. - Implemented SaveFile for RichText format (still missing unicode
  5185. conversion for non-ansi chars)
  5186. - Implemented get_Rtf
  5187. - Implemented get_SelectedRtf
  5188. 2005-11-09 Peter Dennis Bartok <[email protected]>
  5189. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  5190. to allow any captures to be released before triggering OnClick. This
  5191. way a click handler may capture the mouse without interference.
  5192. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  5193. This way we send them even though X may not allow a grab (if the window
  5194. isn't visible, for example)
  5195. 2005-11-08 Pedro Martinez Julia <[email protected]>
  5196. * DataGridViewRowEventArgs.cs: DataGridView implementation
  5197. * DataGridViewElement.cs: DataGridView implementation
  5198. * DataGridViewComboBoxCell.cs: DataGridView implementation
  5199. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  5200. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  5201. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  5202. * ImageLayout.cs: DataGridView implementation
  5203. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  5204. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  5205. * DataGridViewSelectionMode.cs: DataGridView implementation
  5206. * IDataGridViewEditingControl.cs: DataGridView implementation
  5207. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  5208. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  5209. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  5210. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  5211. * DataGridViewColumnSortMode.cs: DataGridView implementation
  5212. * DataGridView.cs: DataGridView implementation
  5213. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  5214. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  5215. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  5216. * Padding.cs: DataGridView implementation
  5217. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  5218. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  5219. * DataGridViewRowEventHandler.cs: DataGridView implementation
  5220. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  5221. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  5222. * DataGridViewButtonCell.cs: DataGridView implementation
  5223. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  5224. * DataGridViewEditMode.cs: DataGridView implementation
  5225. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  5226. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  5227. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  5228. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  5229. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  5230. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  5231. * DataGridViewCellEventHandler.cs: DataGridView implementation
  5232. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  5233. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  5234. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  5235. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  5236. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  5237. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  5238. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  5239. * QuestionEventArgs.cs: DataGridView implementation
  5240. * IDataGridViewEditingCell.cs: DataGridView implementation
  5241. * DataGridViewTriState.cs: DataGridView implementation
  5242. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  5243. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  5244. * DataGridViewColumnCollection.cs: DataGridView implementation
  5245. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  5246. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  5247. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  5248. * DataGridViewColumn.cs: DataGridView implementation
  5249. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  5250. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  5251. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  5252. * DataGridViewRow.cs: DataGridView implementation
  5253. * DataGridViewImageCellLayout.cs: DataGridView implementation
  5254. * DataGridViewImageCell.cs: DataGridView implementation
  5255. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  5256. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  5257. * DataGridViewHeaderCell.cs: DataGridView implementation
  5258. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  5259. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  5260. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  5261. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  5262. * QuestionEventHandler.cs: DataGridView implementation
  5263. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  5264. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  5265. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  5266. * DataGridViewCell.cs: DataGridView implementation
  5267. * DataGridViewCellEventArgs.cs: DataGridView implementation
  5268. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  5269. * DataGridViewCellStyle.cs: DataGridView implementation
  5270. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  5271. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  5272. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  5273. * TextFormatFlags.cs: DataGridView implementation
  5274. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  5275. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  5276. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  5277. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  5278. * DataGridViewButtonColumn.cs: DataGridView implementation
  5279. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  5280. * HandledMouseEventArgs.cs: DataGridView implementation
  5281. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  5282. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  5283. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  5284. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  5285. * DataGridViewRowCollection.cs: DataGridView implementation
  5286. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  5287. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  5288. * DataGridViewHitTestType.cs: DataGridView implementation
  5289. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  5290. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  5291. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  5292. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  5293. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  5294. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  5295. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  5296. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  5297. * DataGridViewContentAlignment.cs: DataGridView implementation
  5298. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  5299. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  5300. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  5301. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  5302. * DataGridViewPaintParts.cs: DataGridView implementation
  5303. * DataGridViewCellCollection.cs: DataGridView implementation
  5304. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  5305. * DataGridViewImageColumn.cs: DataGridView implementation
  5306. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  5307. * DataGridViewElementStates.cs: DataGridView implementation
  5308. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  5309. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  5310. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  5311. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  5312. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  5313. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  5314. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  5315. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  5316. * DataGridViewTextBoxCell.cs: DataGridView implementation
  5317. * DataGridViewBand.cs: DataGridView implementation
  5318. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  5319. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  5320. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  5321. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  5322. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  5323. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  5324. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  5325. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  5326. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  5327. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  5328. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  5329. 2005-11-08 Peter Dennis Bartok <[email protected]>
  5330. * ThemeWin32Classic.cs:
  5331. - Draw the outside focus rectangle around buttons
  5332. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  5333. doesn't use end caps for every dash of a line anymore. This
  5334. workaround ignores the forecolor.
  5335. 2005-11-08 Kornél Pál <[email protected]>
  5336. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  5337. endian safe.
  5338. 2005-11-07 Jackson Harper <[email protected]>
  5339. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  5340. 2005-11-07 Jackson Harper <[email protected]>
  5341. * ScrollableControl.cs: Calculate the maximum and change vars
  5342. (more) correctly so that scrollbars appear as a sensible size.
  5343. 2005-11-04 Jackson Harper <[email protected]>
  5344. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  5345. collection.
  5346. * TreeView.cs: When the tree is sorted null out the top_node so
  5347. that it is recalculated.
  5348. - Use dotted lines instead of dashed lines to match MS better.
  5349. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  5350. * ListView.cs:
  5351. - Implements key search for items. Useful when browsing files with FileDialog
  5352. - When changing view mode or when clear the items reset scrollbar positions
  5353. 2005-11-04 Jackson Harper <[email protected]>
  5354. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  5355. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  5356. as to what the method may do as there is no real way of creating a
  5357. derived CurrencyManager and calling the method.
  5358. 2005-11-03 Jackson Harper <[email protected]>
  5359. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  5360. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  5361. method which seems to just be used internally to refresh the tabs.
  5362. 2005-11-03 Jackson Harper <[email protected]>
  5363. * TabControl.cs: Implement the remove method. Fix some broken
  5364. comments.
  5365. 2005-11-03 Peter Dennis Bartok <[email protected]>
  5366. * DateTimePicker.cs:
  5367. - Added missing DateTimePickerAccessibleObject class
  5368. - Added missing events
  5369. - Added OnFontChanged method
  5370. * Form.cs: Added missing attributes
  5371. * TreeView.cs: Added missing attributes
  5372. 2005-11-03 Peter Dennis Bartok <[email protected]>
  5373. * GridItemCollection.cs: Fix signatures
  5374. 2005-11-03 Peter Dennis Bartok <[email protected]>
  5375. * XplatUI.cs: Updated build rev/date
  5376. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  5377. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  5378. * Application.cs: Trigger context-specific ExitThread events
  5379. 2005-11-03 Jackson Harper <[email protected]>
  5380. * Menu.cs:
  5381. * MainMenu.cs:
  5382. * GridTableStylesCollection.cs:
  5383. * Timer.cs:
  5384. * TabPage.cs:
  5385. * HelpProvider.cs:
  5386. * StatusBar.cs:
  5387. * MonthCalendar.cs: Signature fixes
  5388. 2005-11-03 Jackson Harper <[email protected]>
  5389. * TreeNodeCollection.cs: Remove should not be virtual.
  5390. * TreeView.cs: Implement the last of the missing methods.
  5391. 2005-11-03 Jackson Harper <[email protected]>
  5392. * TreeNodeConverter.cs: Implement to get off my class-status back.
  5393. 2005-11-03 Jackson Harper <[email protected]>
  5394. * TreeView.cs: Hookup the bits for drag and drop.
  5395. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  5396. that nodes can be moved from tree to tree easily this just causes
  5397. all sorts of problems.
  5398. * TreeNodeCollection: Don't need to give treenodes an index and
  5399. treeview anymore when they are added, these are computed on the
  5400. fly. Also make sure to remove a node before its added.
  5401. 2005-11-03 Peter Dennis Bartok <[email protected]>
  5402. * TextControl.cs:
  5403. - Added CaretSelection enum
  5404. - Added comparison methods to Marker struct, makes selection code
  5405. more readable
  5406. - Added SelectionStart and SelectionEnd as 'moveable' location for
  5407. the CaretDirection enum and handler
  5408. - Added selection_prev variable to track optimized invalidation for
  5409. word and line selection
  5410. - Added SelectionVisible property (returns true if there is a valid
  5411. selection)
  5412. - Switched CaretHasFocus to only display the caret if there is no
  5413. visible selection
  5414. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  5415. using the direct character index; should be much faster
  5416. - Added various conditional debug statements
  5417. - Fixed invalidation calculation for selection ranges
  5418. - Added ExpandSelection() method to support word and line selection
  5419. - Switched SetSelectionToCaret to use new Marker compare overloads
  5420. - Added central IsWordSeparator() method to determine word
  5421. separators/whitespace and FindWordSeparator() to streamline common
  5422. usage of IsWordSeparator()
  5423. * TextBoxBase.cs:
  5424. - Removed unneeded grabbed variable, it was just mirroring
  5425. Control.Capture
  5426. - No longer firing OnTextChanged event when Text setter is called,
  5427. since the base will fire the event for us
  5428. - Added handling of Ctrl-Up/Down selection
  5429. - Added handling of Shift-Cursorkey selection
  5430. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  5431. words
  5432. - Added handling of Shift and Ctrl-Shift-Home/End selection
  5433. - Removed some debug output
  5434. - Added handling for single/double/tripple-click to place caret/
  5435. select word/select line respectively (Fixes bug #76031)
  5436. - Added support for drag expansion of word/line selection
  5437. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  5438. current selection
  5439. 2005-11-02 Jackson Harper <[email protected]>
  5440. * X11Dnd.cs: If the drag is going to and from a MWF window just
  5441. copy the data instead of sending it out through the X Selection
  5442. mechanism.
  5443. 2005-11-02 Jackson Harper <[email protected]>
  5444. * X11Dnd.cs:
  5445. * XplatUIX11.cs: When in a drag we don't want motion notify
  5446. messages to get passed on to the other controls. This prevents
  5447. mouse move messages from showing up in the drag source.
  5448. 2005-11-02 Jackson Harper <[email protected]>
  5449. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  5450. the correct button is release to end a drag.
  5451. * XplatUIX11.cs: Make the button state internal so the drag system
  5452. can access it. Dragging needs to know about all button releases,
  5453. not just left button.
  5454. 2005-11-02 Miguel de Icaza <[email protected]>
  5455. * Form.cs (Icon): If the icon is null, reset the icon to the
  5456. default value.
  5457. * Cursor.cs: When writing the AND-mask bitmap do not include the
  5458. number of colors, but hardcode those to two (black and white),
  5459. fixes the loading of color cursors (Paint Dot Net).
  5460. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  5461. turn off autoscaling.
  5462. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  5463. 2005-11-02 Jackson Harper <[email protected]>
  5464. * X11Dnd.cs: Make sure to send a status message if the pointer
  5465. enters a control that can not accept a drop, otherwise the cursor
  5466. isn't updated correctly. Also tried to compress the lines of code
  5467. a bit.
  5468. 2005-11-02 Jackson Harper <[email protected]>
  5469. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  5470. set actions correctly. This isn't perfect as XDND and win32 have
  5471. some differences on how you allow actions. I'll clear this up by
  5472. adding a path for drag from MWF to MWF windows.
  5473. * XplatUIX11.cs: Hook into the dnd system.
  5474. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  5475. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  5476. previously shown but they are no longer need it. Very obvious when
  5477. browsing files with FileDialog.
  5478. 2005-11-01 Peter Dennis Bartok <[email protected]>
  5479. * Control.cs: We always need to call OnPaintBackground. We pretty much
  5480. ignore AllPaintingInWmPaint and always do the painting there, whether
  5481. it's set or not, since we always ignore the WM_ERASEBKGND message
  5482. (which we don't generate on X11). This fixes #76616.
  5483. * Panel.cs: Removed unneeded background painting. This happens properly
  5484. in Control.cs already
  5485. 2005-10-31 Mike Kestner <[email protected]>
  5486. * Menu.cs: Add items to collection before setting their index.
  5487. * MenuItem.cs : add range checking with ArgumentException like MS.
  5488. [Fixes #76510]
  5489. 2005-10-31 Jackson Harper <[email protected]>
  5490. * ListBox.cs: Invalidate if the area is visible at all not just
  5491. contained in the visible rect. Fixes unselection of semi visible
  5492. items.
  5493. 2005-10-31 Jackson Harper <[email protected]>
  5494. * Control.cs: Consistently name the dnd methods. Make them
  5495. internal so we can override them to match some MS behavoir
  5496. internally.
  5497. * Win32DnD.cs: Use the new consistent names.
  5498. 2005-10-31 Jackson Harper <[email protected]>
  5499. * TreeView.cs: Don't draw the selected node when we lose focus.
  5500. 2005-10-31 Jackson Harper <[email protected]>
  5501. * X11Dnd.cs: We still need to reset the state even though a full
  5502. reset isn't being done, otherwise status's still get sent all over
  5503. the place.
  5504. 2005-10-31 Jackson Harper <[email protected]>
  5505. * Control.cs: Make the dnd_aware flag internal so the dnd
  5506. subsystem can check it. Catch exceptions thrown in dnd handlers to
  5507. match MS behavoir.
  5508. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  5509. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  5510. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  5511. flags to reduce the number of dnd enters/status's sent.
  5512. 2005-10-31 Jackson Harper <[email protected]>
  5513. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  5514. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  5515. * PictureBox.cs: Fixes 76512
  5516. 2005-10-28 Jackson Harper <[email protected]>
  5517. * X11Dnd.cs: Early implementation to support winforms being a drag
  5518. source for data on X11. Also restructured the converters so they
  5519. can go both ways now.
  5520. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  5521. 2005-10-27 Peter Dennis Bartok <[email protected]>
  5522. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  5523. clipboard requests
  5524. 2005-10-27 Jackson Harper <[email protected]>
  5525. * TreeNode.cs: Implement serialization so my DnD examples will work.
  5526. 2005-10-24 Kornél Pál <[email protected]>
  5527. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  5528. TreeView.cs: Don't dispose objects that are not owned.
  5529. 2005-10-24 Peter Dennis Bartok <[email protected]>
  5530. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  5531. should retrieve the current cursor and report that, but XplatUI
  5532. doesn't (yet) have an interface for that (and I'm not sure I even
  5533. can, on X11)
  5534. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  5535. until any message loop processing is done (and the WM_SETCURSOR
  5536. replaces the cursor to the proper one)
  5537. * XplatUIX11.cs:
  5538. - Fixed override behaviour, we can't set the cursor globally on X11,
  5539. just for our windows.
  5540. - Invalidating the System.Drawing X11 display handle when we are
  5541. shutting down
  5542. * Control.cs: Fix to make csc happy
  5543. 2005-10-23 Peter Dennis Bartok <[email protected]>
  5544. * TextBoxBase.cs:
  5545. - get_Text: Add last line (without trailing newline) to returned
  5546. value (Fixes 76212)
  5547. - get_TextLength: Count last line in returned length
  5548. - ToString: Call Text property instead of duplicating code
  5549. 2005-10-23 Kornél Pál <[email protected]>
  5550. * ImageList.cs: Dispose ImageAttributes objects.
  5551. 2005-10-22 Kornél Pál <[email protected]>
  5552. * ImageList.cs: Use attribute constructors with less arguments where
  5553. possible.
  5554. 2005-10-22 Kornél Pál <[email protected]>
  5555. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  5556. Use typeof instead of strings when assembly is referenced. Added
  5557. some more comments.
  5558. 2005-10-21 Jackson Harper <[email protected]>
  5559. * ListView.cs: Raise a double click event. Also tried to somewhat
  5560. fix when the selectedindexchanged event is raised. Its still
  5561. broken though.
  5562. 2005-10-21 Jackson Harper <[email protected]>
  5563. * TreeView.cs: New method to invalidate the plus minus area of a
  5564. node without invalidating the whole node (maybe this can be used
  5565. in some more places).
  5566. * TreeNodeCollection.cs: When adding to an empty node we need to
  5567. invalidate its plus minus area so the little block shows up.
  5568. 2005-10-21 Jackson Harper <[email protected]>
  5569. * TreeView.cs: Make sure that when we invalidate a node the bounds
  5570. are big enough to cover the selected box and the focus
  5571. rectangle. Use a different colour for the lines connecting nodes
  5572. so they show up with all themes.
  5573. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5574. * NativeWindow.cs: Don't call anything that could call into the driver,
  5575. we might be on a different thread.
  5576. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5577. * Control.cs(Dispose): Since Dispose might run on a different thread,
  5578. make sure that we call methods that could call into the driver via
  5579. invoke, to avoid thread issues
  5580. 2005-10-21 Peter Dennis Bartok <[email protected]>
  5581. * XplatUI.cs: Removed finalizer
  5582. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  5583. not allowing to be called on the finalizer thread.
  5584. 2005-10-21 Kornél Pál <[email protected]>
  5585. * ImageList.cs:
  5586. - Reverted r51889 and r51891.
  5587. - Added ImageListItem class that stores unmodified image items and image
  5588. properties required to create list images until handle is created.
  5589. - Added AddItem and moved image creation logic to AddItemInternal.
  5590. - Added CreateHandle method that creates images based on unmodified items.
  5591. - Added DestroyHandle that changes state to store unmodified items.
  5592. - Add and AddStrip methods no more create handle.
  5593. - ReduceColorDepth has no return value.
  5594. - Dispose destroys handle.
  5595. - Modified other methods to reflect the above changes.
  5596. - Implemented key support.
  5597. - Added profile 2.0 members and attributes.
  5598. - Added private Reset and ShouldSerialize methods that provide the same
  5599. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  5600. them as they are private.
  5601. - Added some more comments about implementation details.
  5602. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5603. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  5604. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5605. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  5606. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  5607. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  5608. * DataGridColumnStyle.cs: Remove debug message
  5609. 2005-10-20 Jackson Harper <[email protected]>
  5610. * TreeView.cs: We can always get input keys regardless of whether
  5611. or not editing is enabled. They are used for navigation.
  5612. 2005-10-20 Jackson Harper <[email protected]>
  5613. * TreeNode.cs: Use the viewport rect for determining if a node
  5614. needs to be moved for visibility. Don't use Begin/End edit. This
  5615. calls a full refresh when its done.
  5616. * TreeView.cs: New SetBottom works correctly. Make the viewport
  5617. rect property internal so the treenodes can see it. When clicking
  5618. on a node we need to ensure that its visible because it might just
  5619. be partly visible when clicked.
  5620. 2005-10-20 Jackson Harper <[email protected]>
  5621. * TreeNodeCollection.cs: Remove debug code.
  5622. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  5623. * Datagrid.cs: Implements column sorting in Datagrid
  5624. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  5625. 2005-10-20 Jackson Harper <[email protected]>
  5626. * TreeNodeCollection.cs: Remove items properly. Update the correct
  5627. area after removing them.
  5628. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  5629. * Datagrid.cs: Should not call base.OnPaintBackground
  5630. 2005-10-20 Peter Dennis Bartok <[email protected]>
  5631. * XplatUIX11.cs (GetMessage):
  5632. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  5633. window instead of client window
  5634. - Now properly calculates NC_xBUTTONUP message coordinates
  5635. - ScreenToMenu now properly calculates it's coordinates of whole
  5636. window, since menus are in the whole window, not in the client
  5637. window
  5638. - Added WholeToScreen coordinate translation method
  5639. 2005-10-20 Peter Dennis Bartok <[email protected]>
  5640. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  5641. want to return a message, loop back to the beginning of the function
  5642. and grab the next real message to process instead.
  5643. 2005-10-20 Peter Dennis Bartok <[email protected]>
  5644. * Splitter.cs: Properly set limits if no filler control is used
  5645. 2005-10-19 Jackson Harper <[email protected]>
  5646. * ColorDialog.cs: Don't show the help button if it is not enabled
  5647. instead of disabling it (this is what MS does). Don't create the
  5648. panel until the dialog is run, otherwise the vars (such as
  5649. ShowHelp) are not set yet.
  5650. 2005-10-19 Jackson Harper <[email protected]>
  5651. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  5652. are reduced when adding nodes.
  5653. * TreeNode.cs:
  5654. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  5655. tree.
  5656. 2005-10-19 Jackson Harper <[email protected]>
  5657. * FolderBrowserDialog.cs: End editing our treeview so the window
  5658. actually gets refreshed.
  5659. 2005-10-18 Peter Dennis Bartok <[email protected]>
  5660. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  5661. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  5662. inside of WM_PAINT
  5663. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  5664. * MenuAPI.cs: Returns after Hidding window
  5665. * XplatUIX11.cs: Added TODO found while debugging menu issues
  5666. 2005-10-18 Peter Dennis Bartok <[email protected]>
  5667. * XplatUIX11.cs: Do not re-map the whole window when it's size
  5668. becomes non-zero unless it's supposed to be actually visible
  5669. 2005-10-18 Jackson Harper <[email protected]>
  5670. * TreeView.cs: We don't need to keep a count anymore.
  5671. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  5672. use the Grow method.
  5673. 2005-10-18 Jackson Harper <[email protected]>
  5674. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  5675. implement it manually here.
  5676. 2005-10-18 Jackson Harper <[email protected]>
  5677. * ImageList.cs: Dont kill the list when the colour depth is
  5678. changed, just change the colour depth of all the images.
  5679. - Same goes for setting the image size. Just resize them all
  5680. instead of killing the list softly.
  5681. 2005-10-18 Jackson Harper <[email protected]>
  5682. * Control.cs: Don't invalidate empty rectangles.
  5683. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  5684. * ListViewItem.cs:
  5685. - Adds checked item to the Checked/Item lists (where empty before)
  5686. - Do not add items to the Selected lists if they are already present
  5687. * ListView.cs:
  5688. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  5689. - When deleting items make sure that we delete them for the Selected
  5690. and Checked list also.
  5691. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  5692. * Label.cs: Dispose objects no longer used
  5693. * ThemeWin32Classic.cs: Dispose objects no longer used
  5694. 2005-10-18 Jackson Harper <[email protected]>
  5695. * TabControl.cs: Don't refresh the whole control when the tabs are
  5696. scrolled, we just need to refresh the tab area.
  5697. 2005-10-17 Jackson Harper <[email protected]>
  5698. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  5699. after handle when we need it.
  5700. 2005-10-17 Peter Dennis Bartok <[email protected]>
  5701. * Control.cs: When the parent size changes, recalculate anchor
  5702. positions. Partial fix for #76462
  5703. 2005-10-17 Peter Dennis Bartok <[email protected]>
  5704. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  5705. drawn. Fixes #76462
  5706. 2005-10-17 Jackson Harper <[email protected]>
  5707. * MonthCalendar.cs: Don't create the numeric up down until our
  5708. handle is created. Otherwise our handle is created in the
  5709. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  5710. yet.
  5711. 2005-10-17 Jackson Harper <[email protected]>
  5712. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  5713. correctly.
  5714. 2005-10-17 Rafael Teixeira <[email protected]>
  5715. * TreeNode.cs : small logical fix (was using local var instead of field)
  5716. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  5717. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  5718. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  5719. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  5720. 2005-10-16 Peter Dennis Bartok <[email protected]>
  5721. * Control.cs:
  5722. - Re-implemented anchoring code. My first version was really broken.
  5723. This fixes bug #76033. Unlike the previous implementation we will
  5724. no longer have round errors since all numbers are calculated from
  5725. scratch every time. Removed various anchor-related obsolete vars.
  5726. - InitLayout no longer causes layout event firing and layout to be
  5727. performed
  5728. 2005-10-16 Jackson Harper <[email protected]>
  5729. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  5730. which was broken).
  5731. 2005-10-16 Jackson Harper <[email protected]>
  5732. * TabControl.cs: Remove debug code.
  5733. 2005-10-16 Jackson Harper <[email protected]>
  5734. * XEventQueue.cs: Increase the default queue size (very simple
  5735. apps needed to grow the queue).
  5736. * Hwnd.cs: No finalizer so we don't need to suppress
  5737. finalization. Compute the invalid area manually so a new rectangle
  5738. does not newto be created.
  5739. * ScrollableControl.cs: Don't set any params (otherwise visibility
  5740. isn't set correctly).
  5741. * MdiChildContext.cs: New constructor takes the mdi parent so it
  5742. doesn't have to be computed and avoids a crash on windows. Draw
  5743. the window icon properly, and allow the text to be seen.
  5744. * Form.cs: Use new MdiChildContext constructor. Make sure the
  5745. child context isn't null in wndproc.
  5746. * TabControl.cs: Don't set focus, this is muddling keyboard
  5747. behavoir. Expand the tab rows when a window size increase will
  5748. allow extra tabs to be seen. Don't allow tabs smaller than the
  5749. width of a window to be scrolled out of view.
  5750. * TreeNode.cs:
  5751. * TreeView.cs: Use measure string to calculate a nodes width, the
  5752. width is cached and only updated when the text or the font is
  5753. changed. Don't check for expand/collapse clicks on the first level
  5754. nodes if root lines are disabled.
  5755. 2005-10-16 Ritvik Mayank <[email protected]>
  5756. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  5757. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  5758. * DataGridBoolColumn.cs: fixes warning
  5759. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  5760. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  5761. to match more to match more precisely the MS Net behavior
  5762. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5763. * Hwnd.cs: Added field to track if window is mapped
  5764. * XplatUIX11.cs:
  5765. - Unmap windows if they become 0-size, re-map when
  5766. they are >0 again; fixes #76035
  5767. - Re-set our error handler after initializing X11Desktop
  5768. to override any error handlers Gtk or whatever was called
  5769. may have set.
  5770. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5771. * CheckedListBox.cs: Removed unused vars
  5772. * ListView.cs: Fixed signatures
  5773. * RichTextBox.cs: Removed unused vars
  5774. * TextBoxBase.cs: Removed unused vars
  5775. * XplatUIWin32.cs: Removed unused vars
  5776. * XplatUIX11.cs: Removed unused vars
  5777. * XplatUI.cs: Updated version and date to latest published
  5778. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5779. * Cursor.cs: Added private .ctor to work around a bug in
  5780. resourceset (Thanks to Geoff Norton for the help on this)
  5781. * SplitterEventArgs.cs: Made fields accessible so we don't
  5782. waste boatloads of objects and can reuse the same one
  5783. in Splitter
  5784. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  5785. any captions and borders when generating screen coordinates
  5786. * Splitter.cs: Reimplemented control, now fully complete, uses
  5787. rubberband drawing, supports and obeys all properties, has
  5788. proper cursors
  5789. 2005-10-13 Miguel de Icaza <[email protected]>
  5790. * Form.cs (Form): Setup default values for autoscale and
  5791. autoscale_base_size; Make these instance variables, not static
  5792. variables.
  5793. (OnLoad): on the first load, adjust the size of the form.
  5794. 2005-10-13 Peter Dennis Bartok <[email protected]>
  5795. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  5796. width argument to DrawReversibleRectangle()
  5797. * XplatUIWin32.cs, XplatUIX11.cs:
  5798. - Implemented width for DrawReversibleRectangle()
  5799. - Added logic to DrawReversibleRectangle that recognizes a zero
  5800. width or height and only draws a line in that situation
  5801. 2005-10-12 Peter Dennis Bartok <[email protected]>
  5802. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  5803. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  5804. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  5805. method (it uses our FosterParent window to get a graphics context)
  5806. 2005-10-12 Peter Dennis Bartok <[email protected]>
  5807. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  5808. and SetWindowBackground methods
  5809. * Control.cs:
  5810. - Setting proper ControlStyles
  5811. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  5812. EraseWindowBackground, instead we draw the window background
  5813. ourselves in PaintControlBackground. This behaviour is
  5814. required to match MS, where, when OnPaintBackground is not
  5815. called, the background is not drawn.
  5816. - Removed unneeded Refresh() in set_Text
  5817. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  5818. * XplatUIX11.cs:
  5819. - Created DeriveStyles method to translate from CreateParams to
  5820. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  5821. matches FormBorderStyle enum values)
  5822. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  5823. style calculations into single DeriveStyles method
  5824. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  5825. from redrawing the whole window on any resize or expose.
  5826. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  5827. all styles were applied to our whole/client window appropriately
  5828. - Removed EraseWindowBackground() and SetWindowBackground() methods
  5829. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  5830. no longer clear/redraw the background through X
  5831. - Removed handling of erase_pending bit, we have no use for it (or
  5832. so it seems)
  5833. * XplatUIOSX.cs:
  5834. - Removed generation and handling of WM_ERASEBKGND message
  5835. - Removed EraseWindowBackground() and SetWindowBackground() methods
  5836. - Removed handling of hwnd.ErasePending flag
  5837. * XplatUIWin32.cs:
  5838. - Removed EraseWindowBackground() and SetWindowBackground() methods
  5839. - We no longer call EraseWindowBackground on PaintEventStart, we
  5840. ignore the fErase flag, erasing is handled in Control in the
  5841. background handler
  5842. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  5843. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  5844. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  5845. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  5846. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  5847. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  5848. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  5849. 2005-10-12 Jonathan Chambers <[email protected]>
  5850. * PropertyGrids.cs: Get sub properties
  5851. * PropertyGridView.cs: Fix drawing code
  5852. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5853. * ListBox.cs: Fixes 76383
  5854. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5855. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  5856. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  5857. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  5858. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5859. * ComboBox.cs: Fixes border drawing
  5860. 2005-10-10 Miguel de Icaza <[email protected]>
  5861. * MimeIcon.cs: Ignore errors if the file can not be read.
  5862. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  5863. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  5864. - Fixed border calculations
  5865. - Fixed horizontal scrolling in single column listboxes
  5866. - Fixed drawing issues
  5867. 2005-10-10 Peter Dennis Bartok <[email protected]>
  5868. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  5869. FormBorderStyle enum
  5870. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  5871. code to determine FormBorderStyles from CreateParams
  5872. * Form.cs:
  5873. - Fixed bug where we'd set the wrong window styles if we were
  5874. not creating an MDI window
  5875. - Added call to XplatUI.SetBorderStyle when form borders are set
  5876. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  5877. * Hwnd.cs:
  5878. - Removed obsolete edge style
  5879. - Switched from BorderStyle to FormBorderStyle
  5880. 2005-10-10 Jackson Harper <[email protected]>
  5881. * Form.cs: Use the property to get the window handle instead of
  5882. accessing it directly. Prevents a null reference exception.
  5883. 2005-10-10 Jackson Harper <[email protected]>
  5884. * TreeView.cs: Don't adjust the rect given to DrawString now that
  5885. our libgdiplus draws correctly.
  5886. 2005-10-08 Jackson Harper <[email protected]>
  5887. * TreeView.cs: Don't try to find the clicked on node if there are
  5888. no nodes in the tree.
  5889. 2005-10-08 Alexander Olk <[email protected]>
  5890. * RichTextBox.cs:
  5891. restore
  5892. 2005-10-08 Alexander Olk <[email protected]>
  5893. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  5894. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  5895. ErrorProvider.cs:
  5896. Use ResPool for brushes and dispose System.Drawing objects that
  5897. are not used anymore.
  5898. 2005-10-07 Jackson Harper <[email protected]>
  5899. * MdiChildContext.cs: Use the new borders instead of drawing them
  5900. ourselves.
  5901. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  5902. * Calling UpdateBounds after changing the window's BorderStyle
  5903. since the style can change the ClientSize
  5904. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5905. * Control.cs: Made PaintControlBackground virtual
  5906. * Panel.cs: Overriding PaintControlBackground instead of using paint
  5907. event; paint event method was interfering with 'real' users of the
  5908. event.
  5909. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  5910. * ThemeWin32Classic.cs: remove border drawing since it is handled
  5911. by the base control class now and was causing double border drawing.
  5912. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5913. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  5914. but it does seem to match MS behaviour. This fixes bug #75324
  5915. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5916. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  5917. somewhat hackish looking
  5918. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5919. * TextBoxBase.cs:
  5920. - We now accept Enter even if AcceptEnter is false, if the containing
  5921. form does not have an AcceptButton configured (fixes bug #76355)
  5922. - Calculations are now fixed to no longer use Width/Height, but
  5923. ClientSize.Width/Height, since we now support borders (this was
  5924. a result of fixing borders and therefore bug #76166)
  5925. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  5926. true (fixes bug #76354)
  5927. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5928. * Control.cs:
  5929. - Defaulting BorderStyle and setting it in XplatUI when our window
  5930. is created
  5931. - Added enum check to InternalBorderStyle setter
  5932. * XplatUIX11.cs:
  5933. - Added drawing of window borders
  5934. - Now properly calculates WM decorations offset for toplevel
  5935. windows (fixes bug #74763)
  5936. * XplatUIWin32.cs:
  5937. - Implemented BorderStyles for windows (we're letting win32 draw
  5938. the border for us)
  5939. - Fixed the signature for SetWindowLong
  5940. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  5941. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  5942. setting borders
  5943. * UpDownBase.cs: Remove drawing of borders, this is handled by
  5944. the driver, outside the client area
  5945. * ListView.cs: Removed bogus border calculations. The control should
  5946. be oblivious to borders, since those are not part of the client
  5947. area.
  5948. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  5949. * ThemeWin32Classic.cs: Removed border calculations from ListView
  5950. drawing code
  5951. 2005-10-06 Jackson Harper <[email protected]>
  5952. * MdiChildContext.cs: Clear out the old virtual position remove
  5953. all the unneeded calls to CreateGraphics.
  5954. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5955. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  5956. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5957. * Form.cs:
  5958. - Added loading and setting of our new default icon
  5959. - Only set icon if window is already created
  5960. 2005-10-06 Peter Dennis Bartok <[email protected]>
  5961. * Label.cs:
  5962. - Do not explicitly set the foreground and background colors, to
  5963. allow inheriting from parents (fixes #76302)
  5964. - Use Control's InternalBorderStyle property to deal with borders
  5965. 2005-10-06 Jackson Harper <[email protected]>
  5966. * MdiChildContext.cs: Use the new xplatui function to draw a
  5967. reversible rect.
  5968. 2005-10-06 Jackson Harper <[email protected]>
  5969. * Form.cs: Add the parent before creating the child context cause
  5970. we need the parent when setting up the child.
  5971. 2005-10-06 Jackson Harper <[email protected]>
  5972. * FolderBrowserDialog.cs: redo the tree population code so a
  5973. second thread isn't used. Should be a lot faster and more stable
  5974. now.
  5975. 2005-10-05 Jackson Harper <[email protected]>
  5976. * TreeView.cs: There are no expand/collapse boxes if the node has
  5977. no children.
  5978. 2005-10-05 Jackson Harper <[email protected]>
  5979. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  5980. 2005-10-05 Alexander Olk <[email protected]>
  5981. * FileDialog.cs: Fix InitialDirectory
  5982. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  5983. * ComboBox.cs:
  5984. - Fixes changing between styles
  5985. - Fixes simple mode
  5986. - Fixes last item crashing when navigating with keyboard
  5987. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  5988. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  5989. 2005-10-05 Jackson Harper <[email protected]>
  5990. * TreeView.cs: If updating the root node do a full refresh.
  5991. * TreeNode.cs: The root node should be expanded by default. Also
  5992. added a utility prop to tell if we are the root node.
  5993. * TreeNodeCollection.cs: Only refresh if the node we are being
  5994. added to is expanded. Also added a comment on a potential
  5995. optimization.
  5996. 2005-10-04 Peter Dennis Bartok <[email protected]>
  5997. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  5998. in dispose method. Fixes #76330
  5999. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  6000. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  6001. - Implements vertical and horizontal scrolling using XplatUI
  6002. - Fixes keyboard navagation
  6003. - Fixes EnsureVisible
  6004. - Drawing fixes
  6005. - Handles and draws focus properly
  6006. 2005-10-04 Kornél Pál <[email protected]>
  6007. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  6008. Create handle. NET_2_0: Destroy handle when value is null.
  6009. 2005-10-03 Jackson Harper <[email protected]>
  6010. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  6011. revert and a new patch to prevent the thumb from refreshing so
  6012. much.
  6013. 2005-10-02 Jackson Harper <[email protected]>
  6014. * ScrollBar.cs: Don't update position if it hasn't actually
  6015. changed. This occurs when you hold down the increment/decrement
  6016. buttons and the thumb gets to the max/min.
  6017. 2005-10-01 Jackson Harper <[email protected]>
  6018. * Form.cs:
  6019. * MdiChildContext.cs:
  6020. * MdiClient.cs: Implement ActiveMdiChild in Form.
  6021. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  6022. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  6023. 2005-10-01 Peter Dennis Bartok <[email protected]>
  6024. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  6025. be found
  6026. 2005-09-30 Jackson Harper <[email protected]>
  6027. * ListBox.cs: Don't do a full refresh unless some data has
  6028. actually changed.
  6029. 2005-09-30 Jackson Harper <[email protected]>
  6030. * TreeView.cs: Make sure that the checkboxes size is factored in
  6031. even when not visible.
  6032. 2005-09-30 Peter Dennis Bartok <[email protected]>
  6033. * FileDialog.cs: Fix Jordi's build break
  6034. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  6035. * FileDialog.cs:
  6036. - Use standard the Windows colours for the combobox as espected
  6037. - Dispose objects that use resouces when no longer need them
  6038. 2005-09-30 Peter Dennis Bartok <[email protected]>
  6039. * X11DesktopColors.cs: Initial incomplete implementation
  6040. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  6041. 2005-09-30 Peter Dennis Bartok <[email protected]>
  6042. * Theme.cs:
  6043. - Switched Theme color names to match the names defined in
  6044. System.Drawing.KnownColors. Life's hard enough, no need to make
  6045. it harder.
  6046. - Added setters to all theme color properties so themes can set
  6047. their color schemes. The setters also propagate the color changes
  6048. to System.Drawing.KnownColors via reflection
  6049. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  6050. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  6051. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  6052. use the new, more logical theme color names
  6053. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  6054. post-NT colors
  6055. * ThemeWin32Classic.cs:
  6056. - Removed code to set the old classic Windows colors. Instead it
  6057. now relies on the colors returned by System.Drawing.KnownColors
  6058. which will be either modern static colors (Unix) or colors
  6059. read from the user's configuration (Win32)
  6060. - Updated to use the new, more logical theme color names
  6061. - Switched DataGrid drawing code to use only Theme colors instead of
  6062. a mix of System.Drawing.KnownColors and Theme colors
  6063. - DrawFrameControl(): Removed code that fills the button area, the
  6064. fill would overwrite any previous fill done by a control. This
  6065. fixes bug #75338
  6066. - Added DrawReversibleRectangle() stub
  6067. * ScrollableControl.cs: Set visible state to false when scrollbars
  6068. are removed (pdn fix)
  6069. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  6070. DrawReversibleRectangle() method to allow drawing primitive
  6071. 'rubber bands'
  6072. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  6073. 2005-09-30 Kornél Pál <[email protected]>
  6074. * ImageList.cs: Add(Icon): Create handle.
  6075. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  6076. * ListView.cs:
  6077. * ThemeWin32Classic.cs:
  6078. - Fixes detail mode
  6079. - Sets clippings
  6080. - Issues with drawing
  6081. 2005-09-30 Kornél Pál <[email protected]>
  6082. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  6083. source has to be the ImageList.
  6084. 2005-09-30 Kornél Pál <[email protected]>
  6085. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  6086. 2005-09-30 Kornél Pál <[email protected]>
  6087. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  6088. 2005-09-30 Kornél Pál <[email protected]>
  6089. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  6090. 2005-09-29 Jonathan Chambers <[email protected]>
  6091. * GridItem.cs: Fixed TODOs
  6092. * GridItemCollection.cs: Added ICollection interface
  6093. 2005-09-30 Kornél Pál <[email protected]>
  6094. * ImageList.cs: Resize icons when needed.
  6095. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  6096. * ListViewItem.cs
  6097. - Fixes GetBounds and returns on screen rects
  6098. * ListView.cs:
  6099. - Fixes vertical and horzintal scrolling of items
  6100. * ThemeWin32Classic.cs:
  6101. - Fixes drawing
  6102. 2005-09-29 Raja R Harinath <[email protected]>
  6103. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  6104. 2005-09-29 Kornél Pál <[email protected]>
  6105. * ImageList.cs: Added comments about handle creation. Moved Handle,
  6106. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  6107. Handle is created in Add methods.
  6108. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  6109. * DataGridDrawingLogic.cs:
  6110. - Takes rows into account on Colum calculations
  6111. - Returns the column when clickig
  6112. * DataGrid.cs:
  6113. - Fixes default HitTestInfo values
  6114. - Fixes HitTestInfo.ToString
  6115. - Fixes ResetBackColor
  6116. 2005-09-28 Jackson Harper <[email protected]>
  6117. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  6118. sizing or cursor changes). Also added some temp code to draw the
  6119. titlebars text (Makes dev a little easier).
  6120. 2005-09-28 Kornél Pál <[email protected]>
  6121. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  6122. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  6123. * ListBox.cs: Fixes bug 76253
  6124. 2005-09-28 Kornél Pál <[email protected]>
  6125. * ImageList.cs: Added comments about the current implementation. Added
  6126. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  6127. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  6128. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  6129. with Bitmap.LockBits for better performance. Revised the whole file to
  6130. match MS.NET behaviour and provide better performance. Non-public
  6131. interface members are calling public members even when they throw
  6132. NotSupportedException for better maintainability. Moved ColorDepth,
  6133. ImageSize, ImageStream and TransparentColor implementations to
  6134. ImageCollection for better performance as these properties are not used
  6135. by ImageList.
  6136. * ImageListStreamer.cs: Added a new internal constructor that takes an
  6137. ImageList.ImageCollection and serializes Images based on
  6138. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  6139. match ImageList property name.
  6140. 2005-09-28 Kazuki Oikawa <[email protected]>
  6141. * ListBox.cs: Fixes IndexFromPoint for last item
  6142. 2005-09-27 Jackson Harper <[email protected]>
  6143. * Form.cs: Set the position of new mdi children correctly.
  6144. 2005-09-27 Jackson Harper <[email protected]>
  6145. * MdiClient.cs: New mdi children need to be added to the back of
  6146. the controls collection so the zorder is set correctly. Also add a
  6147. count of all the child windows that have been created.
  6148. 2005-09-27 Jackson Harper <[email protected]>
  6149. * Form.cs (CreateParams): Setup MDI forms correctly.
  6150. 2005-09-27 Jackson Harper <[email protected]>
  6151. * MdiChildContext.cs:
  6152. * MonthCalendar.cs:
  6153. * UpDownBase.cs:
  6154. * ListBox.cs:
  6155. * ListView.cs:
  6156. * TextBoxBase.cs:
  6157. * TreeView.cs:
  6158. * ScrollableControl.cs:
  6159. * ComboBox.cs: Add implicit controls using the new implict control
  6160. functionality in ControlCollection. Also try to block multiple
  6161. control add in a suspend/resume layout to save some cycles.
  6162. 2005-09-27 Jackson Harper <[email protected]>
  6163. * Control.cs: Add functionality to the controls collection to add
  6164. 'implicit controls' these are controls that are created by the
  6165. containing control but should not be exposed to the user. Such as
  6166. scrollbars in the treeview.
  6167. * Form.cs: The list var of the ControlsCollection is no longer
  6168. available because of the potential of implicit controls getting
  6169. ignored by someone accessing the list directly.
  6170. 2005-09-26 Peter Dennis Bartok <[email protected]>
  6171. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  6172. loose it's parent. (Fixed bug introduced in r49103 when we added
  6173. setting the child parent to null on Remove)
  6174. 2005-09-26 Gert Driesen <[email protected]>
  6175. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  6176. * Splitter.cs: Added missing attributes for BorderStyle property.
  6177. * TextBoxBase.cs: Marked Calculate* methods internal.
  6178. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  6179. MS.NET.
  6180. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  6181. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  6182. 2005-09-25 Jackson Harper <[email protected]>
  6183. * TreeView.cs: Update the node bounds correctly regardless of
  6184. whether the node is visible.
  6185. 2005-09-25 Jackson Harper <[email protected]>
  6186. * ImageList.cs: Don't dispose the image after it is added to the
  6187. image list. Only reformat images that need to be resized.
  6188. 2005-09-25 Jackson Harper <[email protected]>
  6189. * ImageList.cs: Don't set the format when changing the image.
  6190. 2005-09-25 Jackson Harper <[email protected]>
  6191. * TreeView.cs: We can't just assume the node has a font. Use the
  6192. treeviews font if no node font is available.
  6193. 2005-09-25 Jackson Harper <[email protected]>
  6194. * TreeView.cs: Allow the scrollbars to be reset with negative
  6195. values.
  6196. - Don't add scrollbars to negative sized windows.
  6197. 2005-09-23 Jackson Harper <[email protected]>
  6198. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  6199. old Mono.Posix. Also remove some stray code that shouldn't have
  6200. been committed.
  6201. 2005-09-23 Jackson Harper <[email protected]>
  6202. * TreeView.cs: Attempt at proper sizing of the horizontal
  6203. scrollbar. Also don't resize the scrollbars unless they are
  6204. visible.
  6205. 2005-09-23 Jackson Harper <[email protected]>
  6206. * TreeView.cs: We don't need to expand the invalid area when the
  6207. selection changes, as this is all drawn in the node's bounding
  6208. box. The area needs to be expanded (previous typo was contracting
  6209. it) when the focus rect moves.
  6210. 2005-09-23 Jackson Harper <[email protected]>
  6211. * TreeView.cs: Display the selection box under the correct
  6212. circumstances. We were rendering white text with no selection box
  6213. before.
  6214. 2005-09-23 Peter Dennis Bartok <[email protected]>
  6215. * TextControl.cs(Split): Now updates selection start/end if it points
  6216. into a line that's being split. Fixes a FIXME and bug #75258
  6217. 2005-09-23 Jackson Harper <[email protected]>
  6218. * Binding.cs:
  6219. * ListControl.cs: Don't use the path when retrieving binding
  6220. managers from the binding context. My bat sense tells me that the
  6221. path is only used on insertion.
  6222. 2005-09-22 Jackson Harper <[email protected]>
  6223. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  6224. 2005-09-22 Jackson Harper <[email protected]>
  6225. * Splitter.cs: There are special cursors used for splitting.
  6226. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  6227. 2005-09-22 Jackson Harper <[email protected]>
  6228. * Splitter.cs: Change the cursor appropriately when the splitter
  6229. is moused over, so the user actually knows there is a splitter
  6230. there.
  6231. 2005-09-22 Hisham Mardam Bey <[email protected]>
  6232. * Label.cs : Fix ToString method to give same output as MS.NET
  6233. 2005-09-22 Jackson Harper <[email protected]>
  6234. * TreeView.cs: Create the scrollbars when the handle is created
  6235. and add them right away, just make them invisble. Also account for
  6236. the window being shrunk vertically to the point that the vert
  6237. scrollbar needs to be added.
  6238. - Remove some 0.5 adjustments to get around anti aliasing issues.
  6239. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  6240. * MainMenu.cs: Fixes default value
  6241. * MenuItem.cs: Fixes default value
  6242. 2005-09-22 Kazuki Oikawa <[email protected]>
  6243. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  6244. 2005-09-21 Jackson Harper <[email protected]>
  6245. * Control.cs: Don't try to set the border style on the window if
  6246. it hasn't been created. When the window is created the border
  6247. style will be used.
  6248. 2005-09-21 Peter Dennis Bartok <[email protected]>
  6249. * Control.cs (Update): Don't call XplatUI if we don't have a
  6250. window handle yet
  6251. 2005-09-21 Peter Dennis Bartok <[email protected]>
  6252. * ContainerControl.cs: Instead of throwing an exception, print
  6253. a one-time warning about Validate not being implemented
  6254. * XplatUIWin32.cs: Removed debug output
  6255. 2005-09-21 Peter Dennis Bartok <[email protected]>
  6256. * Control.cs: Only set XplatUI background if we expect the windowing
  6257. system to handle the background. This stops controls that draw their
  6258. own background from flickering
  6259. * XplatUIX11.cs: Support custom visuals and colormaps for window
  6260. creation. This allows, amongst other things, using MWF X11 windows
  6261. with OpenGL.
  6262. 2005-09-21 Peter Dennis Bartok <[email protected]>
  6263. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  6264. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  6265. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  6266. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  6267. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  6268. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  6269. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  6270. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  6271. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  6272. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  6273. GridColumnStylesCollection.cs,
  6274. IDataGridColumnStyleEditingNotificationService.cs,
  6275. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  6276. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  6277. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  6278. TreeNodeCollection.cs, AmbientProperties.cs,
  6279. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  6280. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  6281. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  6282. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  6283. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  6284. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  6285. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  6286. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  6287. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  6288. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  6289. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  6290. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  6291. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  6292. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  6293. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  6294. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  6295. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  6296. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  6297. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  6298. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  6299. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  6300. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  6301. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  6302. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  6303. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  6304. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  6305. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  6306. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  6307. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  6308. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  6309. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  6310. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  6311. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  6312. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  6313. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  6314. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  6315. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  6316. 2005-09-21 Jackson Harper <[email protected]>
  6317. * TreeNode.cs: Call Before/After Expand not Collapse when
  6318. expanding.
  6319. 2005-09-20 Jackson Harper <[email protected]>
  6320. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  6321. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  6322. * ListViewItem.cs:
  6323. - Fixes bug 76120
  6324. - Fixes proper storing of subitems
  6325. - Fixes not updated items
  6326. 2005-09-20 Peter Dennis Bartok <[email protected]>
  6327. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  6328. things if our window handle isn't created yet. Also disabled
  6329. debug for TextBoxBase
  6330. 2005-09-20 Peter Dennis Bartok <[email protected]>
  6331. * MenuAPI.cs: Remove filtering of events to allow menu usage
  6332. 2005-09-20 Miguel de Icaza <[email protected]>
  6333. * Cursor.cs: Allow null to be passed to Cursor.Current.
  6334. 2005-09-20 Alexander Olk <[email protected]>
  6335. * ThemeWin32Classic.cs:
  6336. - Change some private methods/fields to protected virtual so that
  6337. they can be accessed and overriden in derived classes
  6338. - First refactoring of some methods. Derived themes now don't
  6339. need to duplicate the complete code from ThemeWin32Classic
  6340. * ThemeNice.cs:
  6341. - Added nice StatusBar
  6342. - Derive from ThemeWin32Classic and not Theme
  6343. - Removed duplicate ThemeWin32Classic code
  6344. 2005-09-20 Miguel de Icaza <[email protected]>
  6345. * Control.cs (ControlCollection.Add): If the value null is passed
  6346. the control is ignored.
  6347. Optimize this loop.
  6348. 2005-09-19 Peter Dennis Bartok <[email protected]>
  6349. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  6350. PostQuitMessage state.
  6351. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  6352. 2005-09-19 Peter Dennis Bartok <[email protected]>
  6353. * Application.cs: Our constructor will never get called, move
  6354. initialization to fields; fixes bug #75933
  6355. 2005-09-19 Hisham Mardam Bey <[email protected]>
  6356. * FileDialog.cs :
  6357. - Allow files to be selected properly using file name
  6358. combo box.
  6359. - Add ability to change diretory (absolute / relative)
  6360. using file name combo box.
  6361. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  6362. * ListBox.cs:
  6363. - Fixes Multicolumn listboxes item wrong calculations
  6364. - Allows to click when only one item is in the listbox
  6365. - Fixes crash when no items using keyboard navigation
  6366. 2005-09-16 Alexander Olk <[email protected]>
  6367. * ComboBox.cs: Reverted almost everything from the latest patch which
  6368. broke ComboBox
  6369. 2005-09-16 Kazuki Oikawa <[email protected]>
  6370. * ToolTip.cs:
  6371. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  6372. * ComboBox.cs:
  6373. - When DropDownStyle is Simple, it does not show scrollbar
  6374. to the last item of the list.
  6375. - When DropDownStyle is Simple, it crashed when the list was
  6376. scrolled down with the down cursor key.
  6377. - Fixed a bug that when DropDownStyle is DropDownList, the
  6378. selected item was not shown.
  6379. - The position of the selected item was not preserved when
  6380. the next dropdown happened.
  6381. * ThemeWin32Classic.cs:
  6382. - Items were wrapped at the right end.
  6383. * CheckedListBox.cs:
  6384. - Fixed Add method
  6385. * ListBox.cs:
  6386. - Items should be fully shown.
  6387. - When resizing and vertical scrollbar disappeared, the item
  6388. of index 0 should be on the top of the list.
  6389. - GetItemRectangle should consider the size of ver. scrollbar
  6390. * StatusBar.cs:
  6391. - SizingGrip area should not be allocated when it is not
  6392. displayed.
  6393. - Now it reflects MinWidth of the containing panel and
  6394. fixed a crash that happens when its width becomes so small.
  6395. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  6396. * CheckedListBox.cs: Fixes bug 76028
  6397. * ListBox.cs: Fixes bug 76028
  6398. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  6399. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  6400. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  6401. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  6402. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  6403. 2005-09-09 Jonathan Chambers <[email protected]>
  6404. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  6405. 2005-09-09 Jonathan Chambers <[email protected]>
  6406. * IRootGridEntry.cs: Added
  6407. * PropertyGridCommands.cs: Added
  6408. * PropertiesTab.cs: Added missing methods and property
  6409. * PropertyGridView.cs: Made class internal
  6410. * PropertyGridTextBox.cs: Made class internal
  6411. 2005-09-09 Alexander Olk <[email protected]>
  6412. * MimeIcon.cs: Try to check some other environment variables
  6413. if "DESKTOP_SESSION" returns "default"
  6414. 2005-09-09 Alexander Olk <[email protected]>
  6415. * ThemeNice.cs: Corrected background colors (e.g. menus)
  6416. * ColorDialog.cs: Use correct background colors for controls
  6417. 2005-09-09 Alexander Olk <[email protected]>
  6418. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  6419. 2005-09-08 Peter Dennis Bartok <[email protected]>
  6420. * RichTextBox.cs: Added initial implementation
  6421. * lang.cs: Removed. Was accidentally checked in long time ago
  6422. * TODO: Removed. Contents were obsolete
  6423. 2005-09-06 Jonathan Chambers <[email protected]>
  6424. * PropertiesTab.cs : Added
  6425. 2005-09-06 Jonathan Chambers <[email protected]>
  6426. * PropertyGrid.cs : Update
  6427. * PropertyGridView.cs : Update
  6428. * System.Windows.Forms.resx : Added images and strings
  6429. 2005-09-06 Peter Dennis Bartok <[email protected]>
  6430. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  6431. 2005-09-06 Peter Dennis Bartok <[email protected]>
  6432. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  6433. a busy loop right after the Ungrab the X11 display is otherwise
  6434. blocked
  6435. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  6436. * ThemeWin32Classic.cs: Optimise the use of clipping
  6437. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  6438. * DataGrid.cs: fixes recursion bug
  6439. 2005-09-03 Alexander Olk <[email protected]>
  6440. * ThemeNice.cs:
  6441. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  6442. - Cleanup
  6443. 2005-09-02 Alexander Olk <[email protected]>
  6444. * ThemeNice.cs: Draw nice ProgressBars
  6445. 2005-09-01 Miguel de Icaza <[email protected]>
  6446. * VScrollBar.cs: Another buglet found by Aaron's tool.
  6447. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  6448. bug finder.
  6449. 2005-08-30 Alexander Olk <[email protected]>
  6450. * ThemeNice.cs:
  6451. - Added nicer menu drawing
  6452. - Updated DrawTab
  6453. - some refactoring
  6454. 2005-08-30 Peter Dennis Bartok <[email protected]>
  6455. * CreateParams.cs (ToString): Made output match MS
  6456. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  6457. handle is already created (to avoid forcing window creation)
  6458. * XplatUIX11.cs: Set window text to caption after creating window,
  6459. in case Text was set before window was created
  6460. * Form.cs: Use this.Text instead of a static string as caption
  6461. 2005-08-30 Peter Dennis Bartok <[email protected]>
  6462. * NotifyIcon.cs: Don't set the window to visible; this screws
  6463. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  6464. OnPaint without a bitmap)
  6465. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  6466. happen very often anyway; we could add the check to the WM_PAINT
  6467. event generation code
  6468. 2005-08-30 Peter Dennis Bartok <[email protected]>
  6469. * NotifyIcon.cs: Fill the icon area with a background color, to
  6470. avoid 'residue' when transparent icons are drawn
  6471. * XplatUIX11.cs:
  6472. - Handle whole_window == client_window when destroying windows
  6473. - SystrayAdd(): Set client_window to whole_window value to
  6474. get mouse and other events passed to NotifyIcon
  6475. 2005-08-30 Peter Dennis Bartok <[email protected]>
  6476. * Form.cs: Set proper default for Opacity property
  6477. * NotifyIcon.cs:
  6478. - ShowSystray(): Don't bother creating telling the OS
  6479. about the systray item if no icon is provided
  6480. - Now handles WM_NCPAINT message to deal with whole/client window
  6481. split
  6482. - Create window as visible to not get caught by Expose optimization
  6483. * Hwnd.cs: Removed debug message
  6484. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  6485. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  6486. PaintEventStart/End to use new client argument
  6487. * TextBoxBase.cs:
  6488. - Commented out debug messages
  6489. - Switched PaintEventStart/End to use new client argument
  6490. * XplatUI.cs: Added client window bool to PaintEventStart()/
  6491. PaintEventEnd() calls, to support drawing in non-client areas
  6492. * XplatUIDriver.cs:
  6493. - Added client window bool to PaintEventStart()/PaintEventEnd()
  6494. calls, to support drawing in non-client areas
  6495. - Added conditional compile to allow using MWF BeginInvoke
  6496. on MS runtime
  6497. * XplatUIX11.cs:
  6498. - Added some conditional debug output
  6499. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  6500. whole/client window split
  6501. - Implemented handling of client argument to PaintEventStart()/End()
  6502. * Control.cs:
  6503. - Throw exception if BeginInvoke() is called and the window handle
  6504. or one of the window's parent handles is not created
  6505. - Added conditional compile to allow using MWF BeginInvoke on
  6506. MS runtime
  6507. - get_Parent(): Only sets parent if handle is created. This avoids
  6508. forcing window handle creation when parent is set.
  6509. - Now fires Layout and Parent changed events in proper order
  6510. - Switched to use Handle instead of window.Handle for Z-Order setting,
  6511. the get_Parent() patch above causes us to possibly get null for 'window'
  6512. - Implemented handling of client argument to PaintEventStart()/End()
  6513. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  6514. default handling)
  6515. - Now sends a Refresh() to all child windows when Refresh() is called
  6516. 2005-08-29 Peter Dennis Bartok <[email protected]>
  6517. * Form.cs: Added (non-functional) Opacity property
  6518. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  6519. 2005-08-29 Alexander Olk <[email protected]>
  6520. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  6521. use export MONO_THEME=nice to activate it.
  6522. Currently supported controls:
  6523. - Button
  6524. - ComboBox
  6525. - ScrollBar
  6526. - TabControl (TabAlignment.Top only, other will follow)
  6527. * ThemeEngine.cs: Add theme nice
  6528. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  6529. if enabled
  6530. 2005-08-25 Jonathan Chambers <[email protected]>
  6531. * Splitter.cs: Resize docked control and its neighbor.
  6532. 2005-08-24 Rafael Teixeira <[email protected]>
  6533. -- Making Windows with Menus layout correctly --
  6534. * Form.cs : The first leg of the fix
  6535. Menu setter - adjust Client Size as needed to make space for the menu
  6536. SetClientSizeCore - doesn't call base version to be able to pass the
  6537. menu handle to XplatUI.CalculateWindowRect
  6538. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  6539. * XplatUIX11.cs: The critical second leg of the fix
  6540. GetWindowPos needs to use a recalculated client_rect
  6541. so that resizing the window doesn't break layout of child controls.
  6542. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  6543. Lots of \t\n killed
  6544. 2005-08-23 Peter Dennis Bartok <[email protected]>
  6545. * Label.cs: Now properly recalculates width and height on Font and Text
  6546. changes if AutoSize is set
  6547. 2005-08-19 Rafael Teixeira <[email protected]>
  6548. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  6549. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  6550. * ImageList.cs: Makes ToString method compatible with MS
  6551. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  6552. * MenuAPI.cs: fixes bug 75716
  6553. 2005-08-11 Umadevi S <[email protected]>
  6554. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  6555. 2005-08-11 Umadevi S <[email protected]>
  6556. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  6557. 2005-08-10 Umadevi S <[email protected]>
  6558. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  6559. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  6560. * Menu.cs: fixes bug 75700
  6561. * MenuAPI.cs: fixes navigation issues
  6562. 2005-08-09 Umadevi S <[email protected]>
  6563. * CheckedListBox.cs - simple fix for GetItemChecked.
  6564. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  6565. * ComboBox.cs: Serveral fixes
  6566. * ListBox.cs: Serveral fixes
  6567. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  6568. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  6569. * ListBox.cs: Fixes FindString methods
  6570. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  6571. * DataGrid.cs: fixes bugs exposed by new tests
  6572. 2005-08-04 Peter Dennis Bartok <[email protected]>
  6573. * Mime.cs: Compile Mono assembly references only if compiling
  6574. with Mono (Allows to build with VS.Net again)
  6575. 2005-07-28 Marek Safar <[email protected]>
  6576. * Control.cs (PaintControlBackground): Draw background image
  6577. corrrectly.
  6578. (CheckForIllegalCrossThreadCalls): Stubbed.
  6579. * Form.cs (OnCreateControl): Center when should be centered.
  6580. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  6581. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  6582. * Binding.cs: Binding to properties should be case unsensitive
  6583. 2005-07-18 [email protected]
  6584. * DataGrid.cs: fixes setmember order
  6585. 2005-07-07 Alexander Olk <[email protected]>
  6586. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  6587. * FileDialog.cs: FileDialog is now resizable and uses the new
  6588. MimeIconEngine
  6589. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  6590. * DataGridTextBoxColumn.cs: default value
  6591. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  6592. * GridTableStylesCollection.cs: fixes checking MappingName
  6593. * DataGridDrawingLogic.cs: fixes drawing logic issues
  6594. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  6595. * DataGrid.cs: fixes
  6596. 2005-07-06 Alexander Olk <[email protected]>
  6597. * MimeGenerated.cs: Use case sensitive comparer for
  6598. NameValueCollections
  6599. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  6600. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  6601. * ThemeWin32Classic.cs: bug fixes, code refactoring
  6602. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  6603. * DataGrid.cs: bug fixes, code refactoring
  6604. * DataGridTextBox.cs: bug fixes, code refactoring
  6605. * DataGridColumnStyle.cs: bug fixes, code refactoring
  6606. * Theme.cs: bug fixes, code refactoring
  6607. 2005-07-01 Peter Bartok <[email protected]>
  6608. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  6609. and other text box usage
  6610. 2005-07-01 Jackson Harper <[email protected]>
  6611. * TabControl.cs: Make sure the bottom of the tab covers the pages
  6612. border.
  6613. 2005-06-30 Peter Bartok <[email protected]>
  6614. * Form.cs (ShowDialog): Assign owner of the dialog
  6615. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  6616. might have been moved to a tag with different height
  6617. 2005-06-30 Jackson Harper <[email protected]>
  6618. * Form.cs: Don't create an infinite loop when setting focus
  6619. * MenuItem.cs: Don't dirty the parents if we don't have any
  6620. 2005-06-29 Ben Maurer <[email protected]>
  6621. * LibSupport.cs: Rename
  6622. 2005-06-29 Peter Bartok <[email protected]>
  6623. * TextBoxBase.cs: Re-align caret after deleting a character
  6624. * TextControl.cs:
  6625. - DeleteChars(): Ensure that tag covers the provided position
  6626. - StreamLine(): Drop reference for dropped tag
  6627. 2005-06-29 Peter Bartok <[email protected]>
  6628. * TextControl.cs:
  6629. - Selections now work properly, anchoring at the initial location
  6630. and properly extending in either direction (SetSelectionToCaret(),
  6631. SetSelectionStart() and SetSelectionEnd())
  6632. - No longer redraws the whole control on selection change, now
  6633. calculates delta between previous and new selection and only
  6634. invalidates/redraws that area
  6635. - Fixed FindPos() math off-by-one errors
  6636. - Changed DeleteChars() to verify the provided tag covers the
  6637. provided position, selections may have a tag that doesn't cover
  6638. the position if the selection is at a tag border
  6639. - Fixed off-by-one errors in DeleteChars()
  6640. - Added missing streamlining check in DeleteChars() to remove
  6641. zero-length tags
  6642. - Implemented Invalidate() method, now properly calculates exposures
  6643. between two given lines/positions
  6644. - Implemented SetSelection()
  6645. - Obsoleted and removed FixupSelection()
  6646. - Improved RecalculateDocument() logic, removing code duplication
  6647. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  6648. * LibSupport.cs: changes to match different input/output arguments.
  6649. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  6650. * LibSupport.cs: added libsupport.so init routine.
  6651. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  6652. * ControlBindingsCollection.cs
  6653. - Throws an exception on null datasource when adding
  6654. - Checks for duplicated bindings when adding
  6655. 2005-06-28 Jackson Harper <[email protected]>
  6656. * TreeView.cs (OnKeyDown): Support left and right properly
  6657. (navigates as well as expanding and collapsing.
  6658. - Add support for Multiply, this expands all the selected nodes
  6659. children.
  6660. - Fix some tabbing.
  6661. 2005-06-28 Jackson Harper <[email protected]>
  6662. * TreeView.cs: Implement keyboard navigation, currently supports,
  6663. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  6664. support for toggling checkboxes with the space bar.
  6665. 2005-06-28 Jackson Harper <[email protected]>
  6666. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  6667. tree.
  6668. 2005-06-28 Jackson Harper <[email protected]>
  6669. * TreeView.cs: Add missing event.
  6670. 2005-06-27 Peter Bartok <[email protected]>
  6671. * TextControl.cs:
  6672. - Made line ending size configurable (now allows for counting
  6673. lineendings as \n or \r\n)
  6674. - Added margin to viewport to keep caret visible on right side
  6675. - Fixed translation routines for line/pos to documentpos to consider
  6676. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  6677. - Fixed some line-endings to be unix style
  6678. - Fixed Document.FormatText to perform it's calculations 1-based
  6679. - Added descriptions for a few methods that might otherwise get
  6680. used wrong
  6681. - Added NOTE section with some basic conventions to remember at
  6682. the top of the file
  6683. - Major fixup for RichTextBox selection drawing:
  6684. * Fixed crashes when multiple tags on a single line were selected
  6685. * fixed selection box drawing not overlaying text
  6686. * fixed bogus offset calculation for tags not starting at index 1
  6687. * Switched behaviour from using multiple Substrings of a
  6688. StringBuilder.ToString() to using multiple
  6689. StringBuilder.ToString(start, length) statements, hoping this is
  6690. faster (kept original version commented out in the code, in case
  6691. original version was faster)
  6692. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  6693. alignment != Left
  6694. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  6695. call it as well
  6696. 2005-06-27 Jackson Harper <[email protected]>
  6697. * TabControl.cs: Move to the left and right with the arrow
  6698. keys. These keys don't cycle beyond first and last like
  6699. tab. Refresh all the tabs when scrolling them to the left or
  6700. right.
  6701. 2005-06-27 Jackson Harper <[email protected]>
  6702. * TabControl.cs:
  6703. - ToString: Added method
  6704. - CreateParams: Remove TODO and comment
  6705. - OnKeyDown: Cycle through bounds properly.
  6706. - SelectedIndex: Scroll to the right or left if we need to
  6707. display the newly selected tab.
  6708. 2005-06-23 Jackson Harper <[email protected]>
  6709. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  6710. set.
  6711. 2005-06-23 Jackson Harper <[email protected]>
  6712. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  6713. CTRL-SHIFT-TAB, and HOME, END are there any others?
  6714. 2005-06-23 Jackson Harper <[email protected]>
  6715. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  6716. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  6717. * DataGridTextBoxColumn.cs: fixes and enhancements
  6718. * ThemeWin32Classic.cs: fixes and enhancements
  6719. * DataGridBoolColumn.cs: fixes and enhancements
  6720. * DataGridDrawingLogic.cs: fixes and enhancements
  6721. * CurrencyManager.cs: fixes and enhancements
  6722. * DataGrid.cs: fixes and enhancements
  6723. * DataGridColumnStyle.cs: fixes and enhancements
  6724. 2005-06-22 Jackson Harper <[email protected]>
  6725. * TabControl.cs: Add some missing methods that just call into the
  6726. base. Make the TabPageCollection's IList interface behave in the
  6727. same manner as the MS implementation.
  6728. 2005-06-22 Peter Bartok <[email protected]>
  6729. * TextControl.cs: Added sanity check
  6730. * TextBoxBase.cs:
  6731. - Fixed wrapping behaviour, don't set wrap on single line controls
  6732. (this fixes the breakage of colordialog introduced in an earlier
  6733. checkin)
  6734. - Added rudimentary support for autoscrolling right-aligned controls
  6735. (still needs fixing, also, center alignment scroll is missing)
  6736. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  6737. * ScrollBar.cs: Fixes thumbpos on Maximum values
  6738. 2005-06-21 Jonathan Chambers <[email protected]>
  6739. * PropertyGridView.cs: Pass context information to UITypeEditors
  6740. 2005-06-21 Peter Bartok <[email protected]>
  6741. * TextBoxBase.cs:
  6742. - Now calling PositionCaret with absolute space coordinates
  6743. - Enabled vertical scrolling
  6744. - Better tracking of scrollbar changes, tied into WidthChange
  6745. event
  6746. - Improved cursor tracking
  6747. - Removed debug output
  6748. * TextControl.cs:
  6749. - PositionCaret coordinates are now works in absolute space, not
  6750. the canvas
  6751. - Improved tracking of document size
  6752. - Added events for width and height changes
  6753. 2005-06-21 Peter Bartok <[email protected]>
  6754. * Form.cs: Set focus to active control when form is activated
  6755. * TextControl.cs:
  6756. - Added word-wrap functionality to RecalculateLine()
  6757. - Added some short function descriptions for VS.Net to aid in
  6758. writing dependent controls
  6759. - Added Caret property, returning the current coords of the caret
  6760. - Added ViewPortWidth and ViewPortHeight properties
  6761. - Added Wrap property
  6762. - Added CaretMoved event
  6763. - Removed some old debug code
  6764. - Split() can now create soft splits
  6765. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  6766. - Added method to format existing text
  6767. - Fixed size/alignment calculations to use viewport
  6768. - RecalculateDocument now can handle changing line-numbers while
  6769. calculating lines
  6770. * TextBox.cs:
  6771. - Added some wrap logic, we don't wrap if alignment is not left
  6772. - Added casts for scrollbar var, base class switched types to
  6773. also support RichTextBoxA
  6774. - Implemented handling of scrollbar visibility flags
  6775. * TextBoxBase.cs:
  6776. - Switched scrollbars type to RichTextBoxScrollBars to support
  6777. RichTextBox
  6778. - Added tracking of canvas width/height
  6779. - Switched scrollbars to be not selectable (to keep focus on text)
  6780. - Added central CalculateDocument() method to handle all redraw
  6781. requirements
  6782. - Added ReadOnly support
  6783. - Added WordWrap support
  6784. - Fixed handling of Enter key (we now treat it as a DialogKey)
  6785. - Fixed caret positioning when h or v scroll is not zero
  6786. - Fixed placing/generation of vertical scrollbar
  6787. - Added CalculateScrollBars() method to allow updating scrollbar
  6788. limits and visibility
  6789. - Fixed handling of horizontal scroll
  6790. - Added handling of vertical scroll
  6791. - Implemented auto-'jump' when caret moves to close to a left or
  6792. right border and there is text to be scrolled into view (currently
  6793. there's the potential for a stack overflow, until a bug in
  6794. scrollbar is fixed)
  6795. 2005-06-21 Geoff Norton <[email protected]>
  6796. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  6797. 2005-06-19 Alexander Olk <[email protected]>
  6798. * Mime.cs:
  6799. - added inodes.
  6800. - return application/x-zerosize for files with size zero
  6801. (if no extension pattern matches).
  6802. - check matches collection for strings too.
  6803. - return only the first mime type if the name value
  6804. collection has more than one mime type.
  6805. 2005-06-18 Jonathan Chambers <[email protected]>
  6806. * PropertyGrid.cs: Cleaned up some TODOs
  6807. * PropertyGridView.cs: Added support for UITypeEditors
  6808. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  6809. * DataGrid.cs: clears cached value
  6810. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  6811. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  6812. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  6813. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  6814. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  6815. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  6816. * ThemeWin32Classic.cs: fixes colour
  6817. 2005-06-15 Peter Bartok <[email protected]>
  6818. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  6819. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  6820. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  6821. * Control.cs: Added some MWFCategory and MWFDescription attributes
  6822. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  6823. 2005-06-15 Alexander Olk <[email protected]>
  6824. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  6825. usage
  6826. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  6827. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  6828. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  6829. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  6830. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  6831. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  6832. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  6833. 2005-06-13 Jackson Harper <[email protected]>
  6834. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  6835. isn't printed when the user enables dropping. (X11 does accept
  6836. drops).
  6837. 2005-06-13 Jackson Harper <[email protected]>
  6838. * TreeView.cs: Remove some TODOS.
  6839. 2005-06-13 Jackson Harper <[email protected]>
  6840. * Form.cs: Hook into the mdi framework.
  6841. * MdiClient.cs: Use the base control collections add method so
  6842. parents get setup correctly. Set the default back colour and dock
  6843. style.
  6844. * MdiChildContext.cs: New class, this bad actor handles an
  6845. instance of an MDI window. Right now there is only basic
  6846. support. You can drag, close, and resize windows. Minimize and
  6847. Maximize are partially implemented.
  6848. 2005-06-13 Jackson Harper <[email protected]>
  6849. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  6850. freaky when both vals are negative. NOTE: There are probably other
  6851. places in XplatUIX11 that this needs to be done.
  6852. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  6853. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  6854. * DataGridColumnStyle.cs: fixes signature
  6855. 2005-06-12 Jackson Harper <[email protected]>
  6856. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  6857. windows.
  6858. 2005-06-11 Jackson Harper <[email protected]>
  6859. * StatusBarPanel.cs: Signature cleanups. Implement
  6860. BeginInit/EndInit.
  6861. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  6862. * DataGridTextBoxColumn.cs: Honors aligment
  6863. * GridColumnStylesCollection.cs: Contains is case unsensitive
  6864. * GridTableStylesCollection.cs: several fixes
  6865. * DataGridTableStyle.cs: default column creation
  6866. * DataGridDrawingLogic.cs: fixes
  6867. * CurrencyManager.cs: ListName property
  6868. * DataGrid.cs: multiple styles support
  6869. * DataGridColumnStyle.cs: fixes
  6870. 2005-06-10 Peter Bartok <[email protected]>
  6871. * Control.cs(Select): Moved SetFocus call to avoid potential
  6872. loops if controls change the active control when getting focus
  6873. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  6874. the up/down buttons
  6875. 2005-06-10 Matthias Felgner <[email protected]>
  6876. * ImageListConverter.cs: Implemented
  6877. 2005-06-10 John BouAntoun <[email protected]>
  6878. * MonthCalendar.cs: Wired in NumericUpDown control for year
  6879. 2005-06-10 John BouAntoun <[email protected]>
  6880. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  6881. DoubleClick events, since they are not meant to be fired.
  6882. 2005-06-09 Peter Bartok <[email protected]>
  6883. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  6884. Jonathan's standalone controls into MWF, implemented missing
  6885. events, attributes and methods; added xxxAccessible classes
  6886. * AccessibleObject.cs: Made fields internal so other classes
  6887. can change them if needed
  6888. 2005-06-09 Jonathan Gilbert <[email protected]>
  6889. * UpDownBase.cs: Complete implementation
  6890. * NumericUpDown.cs: Complete implementation
  6891. * DomainUpDown.cs: Complete implementation
  6892. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  6893. * DataGridTextBoxColumn.cs: drawing fixes
  6894. * DataGridCell.cs: fixes ToString method to match MSNet
  6895. * DataGridTableStyle.cs: fixes
  6896. * DataGridBoolColumn.cs: fixes, drawing
  6897. * DataGridDrawingLogic.cs: fixes, new methods
  6898. * DataGridTextBox.cs: Keyboard and fixes
  6899. * DataGrid.cs:
  6900. - Keyboard navigation
  6901. - Scrolling fixes
  6902. - Row selection (single, multiple, deletion, etc)
  6903. - Lots of fixes
  6904. 2005-06-07 Jackson Harper <[email protected]>
  6905. * ThemeWin32Classic.cs: Clear the background area when drawing
  6906. buttons.
  6907. 2005-06-06 Peter Bartok <[email protected]>
  6908. * ImageListStreamer.cs: Fixed signature for GetData
  6909. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  6910. * ComboBox.cs:
  6911. - Added missing ChildAccessibleObject class
  6912. - Added missing OnXXXFocus overrides, switched to using those
  6913. instead of the event handler
  6914. * Control.cs:
  6915. - Added Parent property for ControlAccessibleObject
  6916. - Fixed signatures
  6917. - Fixed attributes
  6918. - Added ResetBindings()
  6919. * ListBindingConverter.cs: Implemented some methods
  6920. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  6921. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  6922. * ContainerControl.cs: Fixed signature, now subscribing to the
  6923. ControlRemoved event instead of overriding the handler, LAMESPEC
  6924. * CurrencyManager.cs: Added missing attribute
  6925. * MonthCalendar.cs: Added missing properties
  6926. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  6927. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  6928. 2005-06-06 Gaurav Vaish and Ankit Jain
  6929. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  6930. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  6931. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  6932. * Control.cs: fixes CreateParams Width / Height.
  6933. 2005-06-05 Peter Bartok <[email protected]>
  6934. * Win32DnD.cs: Removed compilation warnings
  6935. 2005-06-05 Peter Bartok <[email protected]>
  6936. * Control.cs (CreateParams): Since we don't know if one of the
  6937. properties we use is overridden, lets make sure if we fail accessing
  6938. we continue with a backup plan
  6939. 2005-06-05 Peter Bartok <[email protected]>
  6940. * Win32DnD.cs:
  6941. - Removed debug output
  6942. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  6943. struct
  6944. - Plugged resource leak
  6945. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  6946. MS size
  6947. 2005-06-05 Peter Bartok <[email protected]>
  6948. * XplatUIWin32.cs: Removed DnD code
  6949. * Win32DnD.cs: Implemented drop source and drop target functionality
  6950. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  6951. * UpDownBase.cs: remove duplicate addition of event, enable some code
  6952. that was commented out.
  6953. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  6954. Validate input when a key is pressed. It works fine now for every
  6955. combination of Hexadecimal. Only missing some drawing love when sharing
  6956. space with other controls.
  6957. 2005-06-04 Peter Bartok <[email protected]>
  6958. * Control.cs:
  6959. - We need to pass a window for DragDrop, so enable callback events
  6960. - Added DnD callback events when being a DragSource
  6961. * XplatUI.cs (StartDrag): Added window handle argument
  6962. * XplatUIDriver.cs (StartDrag): Added window handle argument
  6963. * QueryContinueDragEventArgs: Made fields internally accessible so
  6964. drivers can set them
  6965. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  6966. can set them
  6967. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  6968. * DataGridTextBoxColumn.cs: column text editing
  6969. * DataGridTableStyle.cs: Respect columns styles created by the user
  6970. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  6971. * DataGridBoolColumn.cs: bool column editing
  6972. * DataGrid.cs: fixes to scrolling, properties, etc
  6973. * DataGridTextBox.cs: handle keyboard
  6974. * DataGridColumnStyle.cs: fixes
  6975. 2005-06-02 Jackson Harper <[email protected]>
  6976. * ImageListStreamer.cs: Somewhat broken implementation of
  6977. GetObjectData. The RLE needs some work to match MS properly.
  6978. 2005-06-02 Jackson Harper <[email protected]>
  6979. * X11Dnd.cs: Attempting to keep at least one file in MWF
  6980. monostyled.
  6981. 2005-06-02 Peter Bartok <[email protected]>
  6982. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  6983. that way
  6984. 2005-06-02 Peter Bartok <[email protected]>
  6985. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  6986. * XplatUI.cs: Added DoDragDrop() method
  6987. * XplatUIDriver.cs: Added DoDragDrop() method
  6988. 2005-06-02 Jackson Harper <[email protected]>
  6989. * Splitter.cs: Implement BorderStyle.
  6990. 2005-06-02 Jackson Harper <[email protected]>
  6991. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  6992. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  6993. X11 using XDND.
  6994. 2005-06-02 Peter Bartok <[email protected]>
  6995. * DataObject.cs:
  6996. - Added Data setter
  6997. - Fixed broken insertion code for SetData, now also
  6998. overwrites any existing entry of the same format name
  6999. * Hwnd.cs: Added list of pointers that automatically gets
  7000. freed when the window is disposed
  7001. * XplatUI.cs: Call driver initialization method when loading
  7002. a driver
  7003. * Control.cs:
  7004. - OnDragLeave takes EventArgs, not DragEventArgs
  7005. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  7006. supported
  7007. - Forces style update when drop state changes
  7008. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  7009. not perfect since we cannot (yet) call the IDataObject.GetData()
  7010. method, we keep getting 0x80004005 error, dunno why)
  7011. 2005-06-02 Peter Bartok <[email protected]>
  7012. * DragEventArgs.cs: Make fields internal so we can cache the
  7013. object and re-set the fields from XplatUI
  7014. 2005-06-02 Jackson Harper <[email protected]>
  7015. * Control.cs: Add some internal methods so the DnD subsystem can
  7016. raise DnD events. Also call into the driver when AllowDrop is set.
  7017. * XplatUI.cs:
  7018. * XplatUIDriver.cs: New method for setting whether or not a window
  7019. is allowed to accept drag and drop messages.
  7020. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  7021. * ScrollBar.cs: Make sure that values sent in Scroll events
  7022. are always between Maximum and Minimum.
  7023. 2005-06-01 Marek Safar <[email protected]>
  7024. * Menu.cs: Call MenuChanged when menuitem visibility has been
  7025. changed.
  7026. * MenuItem.cs: Rebuild menu when item is (not) visible.
  7027. * MainMenu.cs: MainMenu has special MenuChanged.
  7028. * Theme.cs: Caption and FrameBorderSize are not fixed.
  7029. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  7030. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  7031. * XplatUIX11.cs,
  7032. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  7033. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  7034. 2005-05-30 Jackson Harper <[email protected]>
  7035. * DataFormat.cs: We can't statically initialize this stuff because
  7036. it calls into the xplatui and could create a loop. So we lazy init
  7037. it.
  7038. 2005-05-28 Jackson Harper <[email protected]>
  7039. * Control.cs: Proper implementation of Product(Name/Version).
  7040. 2005-05-27 Jackson Harper <[email protected]>
  7041. * DataObject.cs: Dont crash if no data is found.
  7042. 2005-05-26 Rafael Teixeira <[email protected]>
  7043. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  7044. as per status page, guessing it should be set to true
  7045. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  7046. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  7047. * DataGridTableStyle.cs: set proper formatting text, def header text
  7048. * ThemeWin32Classic.cs: new themable paramaters
  7049. * DataGridBoolColumn.cs: paint check box, get data, fixes
  7050. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  7051. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  7052. * DataGridColumnStyle.cs: fixes
  7053. * Theme.cs: new themable paramaters
  7054. 2005-05-26 Peter Bartok <[email protected]>
  7055. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  7056. 2005-05-24 Jonathan S. Chambers <[email protected]>
  7057. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  7058. 2005-05-24 Peter Bartok <[email protected]>
  7059. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  7060. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  7061. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  7062. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  7063. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  7064. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  7065. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  7066. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  7067. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  7068. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  7069. missing attributes, etc
  7070. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  7071. 2005-05-24 Peter Bartok <[email protected]>
  7072. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  7073. when user tries to get help
  7074. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  7075. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  7076. to suppress warnings
  7077. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  7078. avoid unreachable code warning
  7079. 2005-05-20 Peter Bartok <[email protected]>
  7080. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  7081. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  7082. * DataGridTextBoxColumn.cs: Basic painting methods
  7083. * DataGridTableStyle.cs: Set table style in the column
  7084. * ThemeWin32Classic.cs: Use Theme for colors
  7085. * DataGridDrawingLogic.cs: Implement more drawing
  7086. * DataGrid.cs: drawing, theming, enhacements, fixes
  7087. * DataGridColumnStyle.cs: fixes, drawing
  7088. * Theme.cs: theming for Datagrid
  7089. 2005-05-20 Peter Bartok <[email protected]>
  7090. * Cursor.cs: Implemented GetObjectData() method
  7091. 2005-05-20 Peter Bartok <[email protected]>
  7092. * Cursors.cs: Added setting of cursor name
  7093. * Cursor.cs:
  7094. - Implemented constructors
  7095. - Implemented Draw and DrawStretched
  7096. - Implemented Current property
  7097. - Implemented == and != operators
  7098. - Implemented Dispose()
  7099. - Implemented ToString
  7100. - Added missing attributes
  7101. * XplatUIX11.cs:
  7102. - Added missing reset for OverrideCursor when DoEvents is called
  7103. - Fixed creation of cursor, logic was wrong
  7104. * XplatUIWin32.cs:
  7105. - Added missing reset for OverrideCursor when DoEvents is called
  7106. - Fixed creation of cursor, bit arrays were swapped
  7107. * Clipboard.cs: Removed obsolete MonoTODO attribute
  7108. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  7109. * ComboBox.cs: fixes OnSelectedItemChanged
  7110. * ControlBindingsCollection.cs: fixes item range check
  7111. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  7112. * UpDownBase.cs:
  7113. - Calc preferred height properly
  7114. - Implement missing properties
  7115. * NumericUpDown.cs: Implement missing events
  7116. 2005-05-19 Jackson Harper <[email protected]>
  7117. * TabControl.cs: New method that resizes the tab pages before
  7118. redrawing them. This as needed as the control is double buffered
  7119. and sizing will not be recalculated unless ResizeTabPages is
  7120. called.
  7121. * TabPage.cs: Set base.Text instead of Text in the constructor so
  7122. that UpdateOwner does not get called. Use the new Redraw method of
  7123. TabControl instead of Refresh so the sizing is recalculated.
  7124. * ThemeWin32Classic.cs: Draw the text for button tabs.
  7125. 2005-05-19 Jackson Harper <[email protected]>
  7126. * Control.cs: Paint control background images. Fix typo where
  7127. PaintControlBackground was not getting called correctly.
  7128. 2005-05-19 Peter Bartok <[email protected]>
  7129. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  7130. I can investigate, apparently I broke FileDialog
  7131. 2005-05-19 Marek Safar <[email protected]>
  7132. * AxHost.cs: Some simple properties.
  7133. * Control.cs: window must be accessible after ctor.
  7134. * Form.cs: Added TransparencyKey property.
  7135. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  7136. * XplatUIWin32.cs: SetBorderStyle implemented.
  7137. 2005-05-18 Peter Bartok <[email protected]>
  7138. * DataObject.cs: Entries are not global but particular to the
  7139. DataObject, now it behaves that way
  7140. * XplatUIWin32.cs: Implemented Clipboard methods
  7141. * Clipboard.cs: Implemented
  7142. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  7143. * XplatUIOSX.cs: Updated to final clipboard prototypes
  7144. * XplatUIX11.cs: Implemented Clipboard methods
  7145. * XplatUIDriver.cs: Updated to final clipboard prototypes
  7146. * XplatUIStructs.cs:
  7147. - Added BITMAPINFOHEADER struct
  7148. - Added ClipboardFormats enum
  7149. * X11Structs.cs:
  7150. - Added ClipboardStruct
  7151. - Added Atom enum items for clipboard types
  7152. - Fixed atom types for Selection event structures
  7153. * DataFormats.cs:
  7154. - Added internal properties and methods for drivers to enumerate
  7155. all known formats
  7156. - Switched initialization method to allow drivers to assign their
  7157. own IDs even for the MS predefined clipboard IDs
  7158. * XplatUI.cs: Updated to final clipboard interface
  7159. 2005-05-18 Jonathan S. Chambers <[email protected]>
  7160. * PropertyGridView.cs: Fixed compiler warnings.
  7161. 2005-05-18 Jonathan S. Chambers <[email protected]>
  7162. * PropertyGrid.cs: Added some event calls
  7163. * PropertyGridView.cs: Change drawing code to use double buffering
  7164. * PropertyGridTextBox.cs: Changed Text property name
  7165. * GridItem.cs: Added Bounds property.
  7166. * GridEntry.cs: Added Bounds property.
  7167. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  7168. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  7169. since GetType() may not return the correct type if the object is
  7170. a remoting proxy.
  7171. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  7172. * TreeNodeCollection.cs: fixes get/set item ranges
  7173. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  7174. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  7175. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  7176. * ComboBox.cs: Fix item range comparation
  7177. * ListView.cs: Fix item range comparation
  7178. 2005-05-03 Alexander Olk <[email protected]>
  7179. * FontDialog.cs:
  7180. - Clear example panel when OnPaint is called
  7181. - Better solution for displaying the example panel text
  7182. - Select default indexes in the ListBoxes
  7183. 2005-05-11 Geoff Norton <[email protected]>
  7184. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  7185. 2005-05-11 Peter Bartok <[email protected]>
  7186. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  7187. * SelectionRangeConverter.cs: Implemented
  7188. * PropertyGrid.cs: Fixed attribute value
  7189. * Control.cs:
  7190. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  7191. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  7192. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  7193. that's common to all drivers. First methods to go there are
  7194. Sebastien Pouliot's CAS Stack Propagation helper methods
  7195. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  7196. Sebastien Pouliot for CAS Stack Propagation
  7197. 2005-05-11 Geoff Norton <[email protected]>
  7198. * OSXStructs.cs:
  7199. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  7200. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  7201. * DataGridTextBoxColumn.cs: fixed some members
  7202. * GridColumnStylesCollection.cs: indexed column is case insensitive
  7203. * DataGridTableStyle.cs: fixes
  7204. * ThemeWin32Classic.cs: add new theme parameter
  7205. * Theme.cs: add new theme parameter
  7206. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  7207. * DataGrid.cs: fixes, new internal properties, etc.
  7208. * DataGridColumnStyle.cs: allows to set grid value
  7209. *
  7210. 2005-05-10 Peter Bartok <[email protected]>
  7211. * AccessibleObject.cs:
  7212. - Removed MonoTODO attribute on help, method is correct
  7213. - Fixed Bounds property
  7214. * AxHost.cs: Moved MonoTODO
  7215. * ButtonBase.cs: Now setting AccessibleObject properties
  7216. * RadioButton.cs: Setting proper AccessibleObject role
  7217. * CheckBox.cs: Setting proper AccessibleObject role
  7218. * ControlBindingsCollection.cs: Added properties, methods and attributes
  7219. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  7220. userdefined DataFormats.Format items as well
  7221. * ListControl.cs: Removed data_member from the public eye
  7222. * OpenFileDialog.cs:
  7223. - Made class sealed
  7224. - Added missing attributes
  7225. * SaveFileDialog.cs: Added missing attributes
  7226. * ImageListStreamer.cs: Fixed code that caused warnings
  7227. * LinkLabel.cs: Removed unreachable code
  7228. * TreeView.cs: Fixed code that caused warnings
  7229. * PropertyGridView.cs: Fixed code that caused warnings
  7230. * GridColumnStylesCollection.cs: Added missing attributes
  7231. * GridTableStylesCollection: Added missing attribute
  7232. * PropertyManager: Added .ctor
  7233. * SecurityIDType: Added
  7234. * DataObject.cs: Implemented class
  7235. * LinkArea.cs: Added missing attribute
  7236. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  7237. * RadioButton.cs: call base method to allow to fire OnClick event
  7238. * UpDownBase.cs: OnMouseUp call base method
  7239. * CheckedListBox.cs: call base method before returning
  7240. * TrackBar.cs: call base method before returning
  7241. 2005-05-10 Peter Bartok <[email protected]>
  7242. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  7243. for messages
  7244. 2005-05-10 Peter Bartok <[email protected]>
  7245. * DataFormats.cs: Implemented
  7246. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  7247. XplatUIX11.cs: Added Clipboard APIs
  7248. * XplatUIWin32.cs: Implemented Clipboard APIs
  7249. * FolderBrowserDialog.cs: Added missing event, attributes
  7250. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  7251. * CheckBox.cs: call base method to allow to fire OnClick event
  7252. 2005-05-09 Sebastien Pouliot <[email protected]>
  7253. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  7254. 2005-05-06 Peter Bartok <[email protected]>
  7255. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  7256. * Screen.cs: Implemented
  7257. * HelpNavigator.cs: Added
  7258. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  7259. property
  7260. * HelpProvider.cs: Implemented all we can do until we have a CHM
  7261. help library (which means that "What's This" does work now)
  7262. 2005-05-06 Jackson Harper <[email protected]>
  7263. * XplatUIX11.cs: Fix waking up the main loop.
  7264. 2005-05-05 Peter Bartok <[email protected]>
  7265. * XplatUI.cs: Updated revision
  7266. * Form.cs: Removed enless loop
  7267. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  7268. * Label.cs (OnPaint): Added call to base.OnPaint()
  7269. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  7270. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  7271. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  7272. * AxHost.cs: Added
  7273. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  7274. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  7275. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  7276. reuse of ToolTipWindow by other controls
  7277. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  7278. * XplatUIX11.cs: Now clipping drawing area (experimental)
  7279. * PictureBox.cs: Moved base.OnPaint() call to end of method
  7280. * Theme.cs: Fixed ToolTip abstracts to match new format
  7281. * ErrorProvider.cs: Implemented
  7282. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  7283. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  7284. * LinkLabel.cs:
  7285. - Adds cursors
  7286. - Handles focus
  7287. - Implements LinkBehavior
  7288. - Fixes many issues
  7289. 2005-05-03 Jackson Harper <[email protected]>
  7290. * ListView.cs: Calculate the scrollbar positioning on resize and
  7291. paint, so they get put in the correct place.
  7292. 2005-05-03 Alexander Olk <[email protected]>
  7293. * ColorDialogs.cs: The small color panels are now handled by
  7294. SmallColorControl. This fixes drawing of the focus rectangle
  7295. and adds a 3D border.
  7296. 2005-05-03 Peter Bartok <[email protected]>
  7297. * Control.cs: Modified version of Jonathan Chamber's fix for
  7298. double-buffering
  7299. 2005-05-03 Jackson Harper <[email protected]>
  7300. * ListView.cs: Remove redraw variable. Control now handles whether
  7301. or not a redraw needs to be done, and will only raise the paint
  7302. event if redrawing is needed.
  7303. 2005-05-03 Jackson Harper <[email protected]>
  7304. * Splitter.cs: No decorations for the splitter form. Cache the
  7305. hatch brush.
  7306. 2005-05-03 Jackson Harper <[email protected]>
  7307. * TreeView.cs: Use dashed lines to connect nodes. Use the
  7308. ControlPaint method for drawing the focus rect instead of doing
  7309. that in treeview.
  7310. 2005-05-02 Peter Bartok <[email protected]>
  7311. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  7312. 2005-04-29 Jackson Harper <[email protected]>
  7313. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  7314. entire image buffer. Just clear the clipping rectangle.
  7315. 2005-04-29 Jackson Harper <[email protected]>
  7316. * ThemeWin32Classic.cs: Don't draw list view items that are
  7317. outside the clipping rectangle.
  7318. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  7319. * ListBox.cs: added horizontal item scroll
  7320. 2005-04-29 Jackson Harper <[email protected]>
  7321. * ThemeWin32Classic.cs: Remove some old debug code that was
  7322. causing flicker with the new double buffering code.
  7323. 2005-04-29 John BouAntoun <[email protected]>
  7324. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  7325. behave like combobox and comboboxlist (still not sure if this is
  7326. correct though).
  7327. 2005-04-28 Jackson Harper <[email protected]>
  7328. * ThemeWin32Classic.cs: Don't fill the middle of progress
  7329. bars. This fills areas outside of the clip bounds that don't need
  7330. to be filled.
  7331. 2005-04-28 Jackson Harper <[email protected]>
  7332. * Control.cs: Don't expose functionality to touch the image buffers.
  7333. * ProgressBar.cs:
  7334. * ListView.cs: We do not need to (and no longer can) manipulate
  7335. the image buffers directly. All of this is handled by Control.
  7336. 2005-04-28 Peter Bartok <[email protected]>
  7337. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  7338. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  7339. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  7340. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  7341. * Combobox:
  7342. - Adjust control's height for non-simple comboboxes (bug fix)
  7343. - Remove dead code
  7344. * MenuAPI.cs: remove unused var
  7345. * ScrollBar.cs: remove unsed var
  7346. * ListBox.cs: unselect items when clearing
  7347. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  7348. * ListControl.cs: honors OnPositionChanged and default Selected Item
  7349. * ListBox.cs: unselect items when clearing
  7350. 2005-04-27 Jackson Harper <[email protected]>
  7351. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  7352. if a "correct" keyboard is not found. This will make us not crash,
  7353. but might give some users bad keyboard layouts...seems to be the
  7354. same thing rewind does.
  7355. 2005-04-27 Jackson Harper <[email protected]>
  7356. * BindingManagerBase.cs: Attach the current/position changed
  7357. handlers to their respective events.
  7358. 2005-04-27 Jackson Harper <[email protected]>
  7359. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  7360. not just a blit.
  7361. * ThemeWin32Classic.cs: Don't fill the background for picture
  7362. boxes. This could overright user drawing.
  7363. * ComboBox.cs: Just fill the clipping rect not the entire client
  7364. rect when drawing the background. This prevents pieces of the
  7365. image buffer from getting overwritten and is theoretically faster.
  7366. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  7367. * ComboBox.cs: Databinding support fixes, fire missing events
  7368. * ListControl.cs: implement missing methods and properties, fixes
  7369. * ThemeWin32Classic.cs: Databiding support on Drawing
  7370. * CheckedListBox.cs: Databinding support fixes, fire missing events
  7371. * ListBox.cs: Databinding support fixes, fire missing events
  7372. 2005-04-25 Peter Bartok <[email protected]>
  7373. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  7374. 2005-04-25 Jackson Harper <[email protected]>
  7375. * TreeView.cs: Use the horizontal scrollbars height not width when
  7376. determining how much of the client area is available.
  7377. 2005-04-25 Jackson Harper <[email protected]>
  7378. * Control.cs: Double buffering is handled differently now. As per
  7379. the spec, the extra buffer is created in the WM_PAINT message and
  7380. passed down to the control's drawing code.
  7381. * GroupBox.cs:
  7382. * Label.cs:
  7383. * CheckBox.cs:
  7384. * ProgressBar.cs:
  7385. * RadioButton.cs:
  7386. * ColorDialog.cs:
  7387. * ComboBox.cs:
  7388. * PropertyGridView.cs:
  7389. * UpDownBase.cs:
  7390. * MessageBox.cs:
  7391. * MenuAPI.cs:
  7392. * ListView.cs:
  7393. * ButtonBase.cs:
  7394. * SizeGrip.cs:
  7395. * ScrollBar.cs:
  7396. * ListBox.cs:
  7397. * TrackBar.cs:
  7398. * ToolBar.cs:
  7399. * PictureBox.cs:
  7400. * DateTimePicker.cs:
  7401. * StatusBar.cs:
  7402. * TreeView.cs: Update to new double buffering system.
  7403. * MonthCalendar.cs: Uncomment block, as Capture is now
  7404. working. Update to new double buffering
  7405. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  7406. * PaintEventArgs.cs: New internal method allows us to set the
  7407. graphics object. This is used for double buffering.
  7408. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  7409. rectangle. The internal paint_area var has been removed from
  7410. StatusBar. The clipping rect should be used instead.
  7411. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  7412. * TabPage.cs: The RefreshTabs method was removed, so just call the
  7413. tab controls Refresh method now.
  7414. * TabControl.cs: Update to new double buffering. Make sure the
  7415. handle is created before sizing the tab pages, otherwise we will
  7416. get stuck in a loop.
  7417. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  7418. * LinkLabel.cs: Fix typo, bug #74719; patch
  7419. from Borja Sanchez Zamorano
  7420. 2005-04-22 Jackson Harper <[email protected]>
  7421. * TreeNode.cs: Implement Handle stuff.
  7422. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  7423. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  7424. * DataGridTextBoxColumn.cs: call base constructors, fixes
  7425. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  7426. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  7427. * DataGridTableStyle.cs: implements create default column styles
  7428. * DataGridBoolColumn.cs: which types can handle
  7429. * DataGrid.cs: missing methods, fixes, new functionality
  7430. * DataGridColumnStyle.cs: fixes
  7431. 2005-04-20 Alexander Olk <[email protected]>
  7432. * FolderBrowserDialog.cs:
  7433. - Use a thread to fill the TreeView
  7434. - Adjusted some sizes
  7435. 2005-04-19 Peter Bartok <[email protected]>
  7436. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  7437. property. Fixes #74360.
  7438. 2005-04-19 Jackson Harper <[email protected]>
  7439. * XEventQueue.cs: Lock when getting the lockqueue size.
  7440. * PictureBox.cs: Call base OnPaint
  7441. 2005-04-19 Peter Bartok <[email protected]>
  7442. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  7443. messages were no longer being processed (this broke BeginInvoke)
  7444. 2005-04-18 Jackson Harper <[email protected]>
  7445. * TreeView.cs: buglet that caused node images to get drawn
  7446. regardless of whether or not they were in the clipping rectangle.
  7447. 2005-04-18 Jackson Harper <[email protected]>
  7448. * CurrencyManager.cs: There are four rules for GetItemProperties:
  7449. - If the type is an array use the element type of the array
  7450. - If the type is a typed list, use the type
  7451. - If the list contains an Item property that is not an object, use
  7452. that property
  7453. - use the first element of the list if there are any elements in
  7454. the list.
  7455. 2005-04-17 Jackson Harper <[email protected]>
  7456. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  7457. click. This handles offsets for scrolling properly and reduces
  7458. memory. Also fixed GetNode to not offset now that TopNode works
  7459. properly.
  7460. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  7461. 2005-04-17 Jackson Harper <[email protected]>
  7462. * CursorConverter.cs: Initial implementation.
  7463. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  7464. * ListControl.cs: work towards complex data binding support on ListControl
  7465. * CurrencyManager.cs: work towards complex data binding support on ListControl
  7466. * ListBox.cs: work towards complex data binding support on ListControl
  7467. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  7468. * GridTableStylesCollection.cs: fixes name and constructor
  7469. * DataGridTableStyle.cs: fixes
  7470. * DataGridBoolColumn.cs: fixes names and constructors
  7471. * DataGrid.cs: define methods and properties. Some init implementations
  7472. * DataGridCell.cs: define methods and properties. Some init implementations
  7473. * GridTablesFactory.cs: Define methods and properties
  7474. 2005-04-15 Geoff Norton <[email protected]>
  7475. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  7476. graphics port changes. We still want the coordinates in global screen
  7477. coordinates.
  7478. 2005-04-14 Jackson Harper <[email protected]>
  7479. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  7480. check plus minus or checkbox clicks unless those features are enabled.
  7481. 2005-04-14 Jackson Harper <[email protected]>
  7482. * TreeView.cs: Add methods for setting the top and bottom visible
  7483. nodes. TreeNode::EnsureVisible uses these methods.
  7484. * TreeNode.cs: Implement EnsureVisible
  7485. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  7486. * Form.cs: Pospone menu assignation if the window has not been created yet
  7487. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  7488. size and position
  7489. 2005-04-12 Jackson Harper <[email protected]>
  7490. * TreeView.cs: Set the TopNode properly when scrolling
  7491. occurs. This has the added benifit of reducing the amount of
  7492. walking that needs to be done when drawing. Also removed an old
  7493. misleading TODO.
  7494. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  7495. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  7496. * Timer.cs: fixes interval setting when the timer is already enabled
  7497. 2005-04-10 Alexander Olk <[email protected]>
  7498. * FolderBrowserDialog.cs: First approach
  7499. 2005-04-09 Peter Bartok <[email protected]>
  7500. * FolderBrowserDialog: Added
  7501. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  7502. * LinkLabel.cs: move drawing code into the theme
  7503. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  7504. * Theme.cs: define DrawLinkLabel method
  7505. 2005-04-05 Jackson Harper <[email protected]>
  7506. * BindingContext.cs: Use weak references so these bad actors don't
  7507. stay alive longer then they need to.
  7508. 2005-04-05 Jackson Harper <[email protected]>
  7509. * ListControl.cs: Basic implementation of complex databinding.
  7510. * ComboBox.cs:
  7511. * ListBox.cs: Add calls to ListControl databinding methods.
  7512. 2005-04-05 Alexander Olk <[email protected]>
  7513. * FileDialog.cs:
  7514. - Don't change PopupButtonState to Normal when the
  7515. PopupButton gets pressed several times.
  7516. - Renamed ButtonPanel to PopupButtonPanel
  7517. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  7518. * ColorDialog.cs: Use cached objects instead of creating them
  7519. * LinkLabel.cs: Use cached objects instead of creating them
  7520. * Splitter.cs: Use cached objects instead of creating them
  7521. * FontDialog.cs: Use cached objects instead of creating them
  7522. * PropertyGridView.cs: Use cached objects instead of creating them
  7523. * MessageBox.cs: Use cached objects instead of creating them
  7524. * FileDialog.cs: Use cached objects instead of creating them
  7525. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  7526. * TreeView.cs: Use cached objects instead of creating them
  7527. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  7528. * Control.cs: use Equals to compare the font since no == op
  7529. * ScrollBar.cs: use Equals to compare the font since no == op
  7530. 2005-04-04 Alexander Olk <[email protected]>
  7531. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  7532. 2005-04-01 Jackson Harper <[email protected]>
  7533. * Binding.cs: Implement IsBinding.
  7534. * BindingManagerBase.cs:
  7535. * PropertyManager.cs:
  7536. * CurrencyManager.cs: Add IsSuspended property.
  7537. 2005-04-01 Jackson Harper <[email protected]>
  7538. * Binding.cs: Had some IsAssignableFrom calls backwards.
  7539. 2005-04-01 Jackson Harper <[email protected]>
  7540. * Binding.cs: Handle null data members when pulling data.
  7541. * PropertyManager.cs: Handle the data member being a property that
  7542. does not exist.
  7543. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  7544. * DataGridTextBoxColumn.cs: fixes signature
  7545. * DataGrid.cs: calls right constructor
  7546. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  7547. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  7548. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  7549. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  7550. * DataGridTableStyle.cs: implements DataGridTableStyle
  7551. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  7552. * DataGridTextBox.cs: implements DataGridTextBox
  7553. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  7554. 2005-03-31 Alexander Olk <[email protected]>
  7555. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  7556. 2005-03-29 Peter Bartok <[email protected]>
  7557. * Application.cs:
  7558. - Properly implemented CompanyName property
  7559. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  7560. returns a path that includes CompanyName, ProductName and
  7561. Version (fixes bug #70330)
  7562. 2005-03-29 Stefan Buehler <[email protected]>
  7563. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  7564. fixes bug #72588.
  7565. 2005-03-28 Alexander Olk <[email protected]>
  7566. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  7567. - Added ReadOnly CheckBox
  7568. - Further refactoring: moved some code from Open-/SaveFileDialog
  7569. to FileDialog
  7570. 2005-03-28 Alexander Olk <[email protected]>
  7571. * OpenFileDialog.cs: Fixed CheckFileExists
  7572. * FileDialog.cs:
  7573. Moved FileView and DirComboBox outside FileDialog class.
  7574. They can now be used outside FileDialog
  7575. 2005-03-27 Alexander Olk <[email protected]>
  7576. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  7577. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  7578. 2005-03-27 Alexander Olk <[email protected]>
  7579. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  7580. - Added missing CreatePrompt property in SaveDialog
  7581. - Overall SaveDialog handling should be better now
  7582. - Added non standard ShowHiddenFiles property
  7583. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  7584. - Added InitialDirectory and RestoreDirectory support
  7585. 2005-03-26 Alexander Olk <[email protected]>
  7586. * FileDialog.cs: Made dirComboBox usable
  7587. 2005-03-24 Alexander Olk <[email protected]>
  7588. * FileDialog.cs: Added Filter support (case sensitiv)
  7589. 2005-03-24 Jackson Harper <[email protected]>
  7590. * TabControl.cs: Need a couple more pixels for the lines.
  7591. 2005-03-23 Jackson Harper <[email protected]>
  7592. * TabControl.cs: Give the tab page focus when it is selected.
  7593. 2005-03-23 Jackson Harper <[email protected]>
  7594. * TabControl.cs: Account for the drawing of tabs borders when
  7595. invalidating. If the slider was clicked dont do click detection on
  7596. the tabs.
  7597. 2005-03-23 Jackson Harper <[email protected]>
  7598. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  7599. 2005-03-22 Jonathan Chambers <[email protected]>
  7600. * CategoryGridEntry.cs: Added
  7601. * GridItem.cs: Added helper properties
  7602. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  7603. * GridEntry.cs: Updated code for collection
  7604. * PropertyGrid.cs: Cleaned up some formatting
  7605. * PropertyGridView.cs: Added drop down functionality for enums.
  7606. * GridItemCollection.cs: Added enumerator logic
  7607. * PropertyGridEntry.cs: Added
  7608. 2005-03-19 Alexander Olk <[email protected]>
  7609. * FileDialog.cs:
  7610. - Removed unnecessary commented code
  7611. - Fixed handling for entering the filename manually in the combobox
  7612. 2005-03-19 Alexander Olk <[email protected]>
  7613. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  7614. 2005-03-18 Peter Bartok <[email protected]>
  7615. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  7616. them being touching the border
  7617. 2005-03-18 Peter Bartok <[email protected]>
  7618. * TextControl.cs: Quick hack to center text better
  7619. 2005-03-18 Peter Bartok <[email protected]>
  7620. * ControlPaint.cs:
  7621. - Don't throw NotImplemented exceptions, just print a notice once
  7622. instead (requested by Miguel). This makes running existing SWF
  7623. apps a bit easier
  7624. * Control.cs:
  7625. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  7626. - Added context menu trigger on right click
  7627. * Panel.cs: Trigger invalidate on resize
  7628. * StatusBar.cs:
  7629. - Removed old double-buffer drawing
  7630. - Added ResizeRedraw style to force proper update of statusbar
  7631. * ListView.cs:
  7632. - Removed debug output
  7633. * ThemeWin32Classic.cs:
  7634. - Fixed drawing of status bar, now draws Text property if there
  7635. are no defined panels
  7636. 2005-03-18 Jackson Harper <[email protected]>
  7637. * ImageList.cs: When the image stream is set pull all the images
  7638. from it.
  7639. * ImageListStreamer.cs: Implement reading image list streams.
  7640. 2005-03-18 Peter Bartok <[email protected]>
  7641. * ThemeWin32Classic.cs (DrawPictureBox):
  7642. - Fixed calculations for centered drawing
  7643. - Fixed drawing for normal mode, not scaling the image on normal
  7644. 2005-03-18 Peter Bartok <[email protected]>
  7645. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  7646. textbox
  7647. * FileDialog.cs:
  7648. - Made Open/Save button the accept button for FileDialog
  7649. - Tied the cancel button to the IButtonControl cancel button
  7650. - Save/Open now properly builds the pathname
  7651. - Now handles user-entered text
  7652. - Preventing crash on right-click if no item is selected
  7653. - Fixed Text property, now uses contents of textbox
  7654. - Fixed SelectedText property, now just returns the text part that
  7655. is selected in the text box
  7656. 2005-03-18 Jackson Harper <[email protected]>
  7657. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  7658. rect, make sure to de-adjust the interior rect after drawing the
  7659. tab text.
  7660. 2005-03-18 Peter Bartok <[email protected]>
  7661. * MenuAPI.cs: Remove menu *before* executing selected action to
  7662. prevent the menu from 'hanging around'
  7663. 2005-03-17 Geoff Norton <[email protected]>
  7664. * XplatUIOSX.cs: Implemented WorkingArea property
  7665. 2005-03-17 Peter Bartok <[email protected]>
  7666. * XplatUIX11.cs: Fixed menu coord calculations
  7667. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  7668. for calculating offsets
  7669. 2005-03-17 Peter Bartok <[email protected]>
  7670. * Hwnd.cs: Do not consider menu presence for default client
  7671. rectangle location/size
  7672. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  7673. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  7674. translation functions
  7675. * FileDialog.cs: Fixed (what I presume is a) typo
  7676. 2005-03-17 Jonathan Gilbert <[email protected]>
  7677. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  7678. X access (avoids X-Async errors)
  7679. 2005-03-16 Jackson Harper <[email protected]>
  7680. * TabControl.cs: Raise the SelectedIndexChanged event.
  7681. 2005-03-16 Alexander Olk <[email protected]>
  7682. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  7683. - Removed vertical ToolBar and replaced it with a custom panel
  7684. (desktop and home button already work)
  7685. - Added Help button (some controls get resized or relocated then)
  7686. - Draw correct text depending on Open or Save.
  7687. - Fixed some typos...
  7688. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  7689. * ScrollBar.cs:
  7690. - Only change Maximum and Minimum when need it (bug fix)
  7691. 2005-03-15 Peter Bartok <[email protected]>
  7692. * Form.cs: Use Handle for icon, to trigger creation if
  7693. the window does not yet exist
  7694. * Control.cs:
  7695. - CanSelect: Slight performance improvement
  7696. - Focus(): Preventing possible recursion
  7697. - Invalidate(): Removed ControlStyle based clear flag setting
  7698. - WM_PAINT: fixed logic for calling OnPaintBackground
  7699. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  7700. EraseWindowBackground if the control doesn't paint background
  7701. * XplatUIWin32.cs:
  7702. - Moved EraseWindowBackground() method to internal methods
  7703. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  7704. is sent via SendMessage on BeginPaint call on Win32
  7705. * XplatUIX11.cs:
  7706. - Added EraseWindowBackground() method
  7707. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  7708. PaintEventStart, which more closely matches Win32 behaviour
  7709. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  7710. - Fixed SetFocus() to properly deal with client and whole windows
  7711. * Hwnd.cs: Added ErasePending property
  7712. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  7713. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  7714. 2005-03-12 Geoff Norton <[email protected]>
  7715. * XplatUIOSX.cs:
  7716. - Fix hard loop when timers exist.
  7717. - Fix bugs with middle and right click for 3 button mice.
  7718. 2005-03-11 Peter Bartok <[email protected]>
  7719. * XplatUIX11.cs:
  7720. - get_WorkingArea: Need to call X directly, GetWindowPos only
  7721. returns cached data now
  7722. - Added sanity check to GetWindowPos hwnd usage
  7723. 2005-03-11 Jackson Harper <[email protected]>
  7724. * BindingManagerBase.cs: This method isn't used anymore as
  7725. PullData now updates the data in the control.
  7726. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  7727. * Form.cs: fixes menu drawing on X11
  7728. * MenuAPI.cs: fixes menu drawing on X11
  7729. 2005-03-11 Peter Bartok <[email protected]>
  7730. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  7731. from Jonathan Gilbert; should fix bug #73606
  7732. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  7733. in Screen coordinates. Thanks, Jordi.
  7734. * Form.cs: Added missing attribute
  7735. 2005-03-11 Peter Bartok <[email protected]>
  7736. * Form.cs:
  7737. - Rudimentary Mdi support
  7738. - Removed outdated FormParent code
  7739. - Implemented lots of missing properties and methods, still missing
  7740. transparency support
  7741. - Added missing attributes
  7742. - Implemented support for MaximumBounds
  7743. - Added firing of various events
  7744. * XplatUI.cs: Added SetIcon() method
  7745. * XplatUIDriver.cs: Added SetIcon() abstract
  7746. * XplatUIOSX.cs: Stubbed out SetIcon() method
  7747. * XplatUIX11.cs:
  7748. - Implemented SetIcon() support
  7749. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  7750. - Switched to unix line endings
  7751. * XplatUIWin32.cs:
  7752. - Made POINT internal so for can access it as part of MINMAX
  7753. - Implemented SetIcon() support
  7754. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  7755. native Mdi support again, might have to go managed)
  7756. * Control.cs: Now fires the StyleChanged event
  7757. * MdiClient.cs: Added; still mostly empty
  7758. 2005-03-10 Peter Bartok <[email protected]>
  7759. * SaveFileDialog.cs: Added emtpy file
  7760. 2005-03-08 Peter Bartok <[email protected]>
  7761. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  7762. in turn triggers OnCreateContro) when creating a handle for the
  7763. first time.
  7764. * TextControl.cs: Fixed endless loop in certain cases when
  7765. replacing the current selection
  7766. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  7767. * ScrollBar.cs:
  7768. - Honors NewValue changes in Scroll events allowing apps to change it
  7769. - Adds First and Last Scroll events
  7770. - Fixes Thumb events
  7771. 2005-03-07 Peter Bartok <[email protected]>
  7772. * Hwnd.cs: Added DefaultClientRectangle property
  7773. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  7774. more detailed debug information
  7775. * XplatUIX11.cs:
  7776. - Fixed size-change feedback loop, where we would pull an old size
  7777. off the queue and mistakenly change our window's size to an
  7778. earlier value
  7779. - Now compressing ConfigureNotify events, to reduce looping and
  7780. redraw issues
  7781. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  7782. is called
  7783. 2005-03-07 Jackson Harper <[email protected]>
  7784. * Binding.cs: Push data pushes from data -> property. Check if the
  7785. property is readonly when attempting to set it.
  7786. 2005-03-07 Jackson Harper <[email protected]>
  7787. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  7788. instead of IsSubclassOf. Pulling data now sets the value on the
  7789. control.
  7790. * PropertyManager.cs:
  7791. * CurrencyManager.cs: Just need to pull data when updating now,
  7792. because PullData will set the value on the control.
  7793. 2005-03-04 Jackson Harper <[email protected]>
  7794. * Binding.cs: Implement data type parsing and converting on pulled
  7795. data. TODO: Are there more ways the data can be converted?
  7796. 2005-03-04 Jackson Harper <[email protected]>
  7797. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  7798. controls Validating method so we can repull the data when the
  7799. control loses focus.
  7800. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  7801. * ColumnHeader.cs:
  7802. - Fixes null string format
  7803. * ListView.cs:
  7804. - Adds enum type checks
  7805. - Fixes redrawing and recalc need after changing some properties
  7806. - Fixes on focus_item set after the event
  7807. - Fixes adding columns after the control has been created
  7808. * ThemeWin32Classic.cs:
  7809. - Fixes CheckBox focus rectangle
  7810. - Fixes ColumnHeader drawing
  7811. 2005-03-03 Jackson Harper <[email protected]>
  7812. * Binding.cs: Bind to <Property>Changed events so we can detect
  7813. when properties are changed and update the data.
  7814. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  7815. * ImageList.cs:
  7816. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  7817. - Fixes ImageList constructor with ImageList container
  7818. - Fixes image scaling (wrong parameters at DrawImage)
  7819. 2005-02-02 Jackson Harper <[email protected]>
  7820. * Binding.cs: Make property searches case-insensitive. Eliminate
  7821. some duplicated code.
  7822. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  7823. * ComboBox.cs:
  7824. - Handle focus event
  7825. - Fix scrollbar events
  7826. - Discard highlighted item if remove it
  7827. - Fixes SelectedItem with strings
  7828. 2005-03-01 Peter Bartok <[email protected]>
  7829. * Control.cs:
  7830. - Fixed Visible property, now follows (once again) parent chain
  7831. to return false if any control in the chain is visible=false
  7832. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  7833. - Fixed several places where is_visible instead of Visible was used
  7834. - Implemented FIXME related to focus selection when setting focused
  7835. control to be invisible
  7836. * XplatUIWin32.cs: Now using proper method to find out if window is
  7837. visible. Thanks to Jordi for pointing it out
  7838. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  7839. * ComboBox.cs: show/hide scrollbar instead of creating it
  7840. 2005-02-27 Jackson Harper <[email protected]>
  7841. * CurrencyManager.cs: Add PositionChanged stuff.
  7842. 2005-02-27 Peter Bartok <[email protected]>
  7843. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  7844. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  7845. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  7846. * XplatUIX11.cs:
  7847. - Implemented GetMenuDC()
  7848. - Implemented GetMenuOrigin()
  7849. - Implemented ReleaseMenuDC()
  7850. - Implemented generation of WM_NCPAINT message
  7851. - Implemented generation and handling of WM_NCCALCSIZE message
  7852. * Form.cs: Added debug helper message for Jordi's menu work
  7853. * Hwnd.cs:
  7854. - Modified ClientRect property; added setter, fixed getter to handle
  7855. setting of ClientRect
  7856. - Added MenuOrigin property
  7857. 2005-02-26 Peter Bartok <[email protected]>
  7858. * XplatUIX11.cs:
  7859. - Destroys the caret if a window that's being destroyed contains it
  7860. - Ignores expose events coming from the X11 queue for windows that
  7861. already are destroyed
  7862. - Now uses the proper variable for handling DestroyNotify, before we
  7863. marked the wrong window as destroyed
  7864. - Improved/added some debug output
  7865. 2005-02-26 Peter Bartok <[email protected]>
  7866. * X11Keyboard.cs: Fixes to work on 64bit systems
  7867. 2005-02-26 Peter Bartok <[email protected]>
  7868. * Control.cs:
  7869. - Now calling OnHandleDestroyed from DestroyHandle()
  7870. instead of Dispose()
  7871. - Removed bogus call to controls.Remove() from DestroyHandle()
  7872. 2005-02-26 Peter Bartok <[email protected]>
  7873. * Control.cs: Properly destroy child windows when our handle is
  7874. destroyed
  7875. 2005-02-25 Peter Bartok <[email protected]>
  7876. * XplatUI.cs:
  7877. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  7878. - Alphabetized Static Methods and Subclasses
  7879. * XplatUIX11.cs:
  7880. - Added XException class to allow custom handling of X11 exceptions
  7881. - Created custom X11 error handler, tied into XException class
  7882. - Added support for MONO_XEXCEPTIONS env var to allow the user
  7883. to either throw an exception on X errors or continue running
  7884. after displaying the error
  7885. - Added handling of DestroyNotify message
  7886. - Added handler for CreateNotify message (still disabled)
  7887. - Improved (tried to at least) Where method to provide file and lineno
  7888. * X11Structs.cs:
  7889. - Added XErrorHandler delegate
  7890. - Added XRequest enumeration (to suppor translation of errors)
  7891. 2005-02-25 Jackson Harper <[email protected]>
  7892. * PropertyManager.cs: Implement editing features
  7893. * CurrencyManager.cs:
  7894. * Binding.cs: First attempt at UpdateIsBinding
  7895. * BindingManagerBase.cs: Call UpdateIsBinding before
  7896. pushing/pulling data.
  7897. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  7898. * MenuAPI.cs: Respect disabled items
  7899. * ThemeWin32Classic.cs
  7900. - Caches ImageAttributes creation for DrawImageDisabled
  7901. - Fixes vertical menu line drawing
  7902. - Draws disabled arrows in disable menu items
  7903. 2005-02-24 Peter Bartok <[email protected]>
  7904. * Hwnd.cs:
  7905. - Added UserData property to allow associating arbitrary objects
  7906. with the handle
  7907. - Fixed leak; now removing Hwnd references from static windows array
  7908. * XplatUIWin32.cs:
  7909. - Fixed Graphics leak in PaintEventEnd
  7910. - Removed usage of HandleData, switched over to Hwnd class
  7911. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  7912. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  7913. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  7914. * ScrollBar.cs: Fixes bug
  7915. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  7916. keyboard navigation enhancements
  7917. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  7918. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  7919. * GroupBox.cs: Add control styles
  7920. * Label.cs: Add control styles
  7921. * UpDownBase.cs: Add control styles
  7922. * ListBox.cs: Add control styles
  7923. * XplatUIWin32.cs: Fixes wrong parameter order
  7924. 2005-02-23 Chris Bacon <[email protected]>
  7925. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  7926. 2005-02-23 Jackson Harper <[email protected]>
  7927. * PropertyManager.cs: Implement property binding. This doesn't
  7928. seem to work yet though as (I think) there are some bugs in
  7929. System.ComponentModel.PropertyDescriptor.
  7930. * BindingContext.cs: Use new PropertyManager constructor.
  7931. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  7932. * ProgressBar.cs: use clip region in ProgressBar
  7933. * ThemeWin32Classic.cs: use clip region in ProgressBar
  7934. 2004-02-22 Jackson Harper <[email protected]>
  7935. * BindingsCollection.cs: Remove some debug code.
  7936. 2005-02-22 Jackson Harper <[email protected]>
  7937. * BindingContext.cs:
  7938. * ControlBindingsCollection.cs:
  7939. * CurrencyManager.cs:
  7940. * Binding.cs:
  7941. * BindingManagerBase.cs: Initial implementation
  7942. * BindingsCollection.cs: Add an internal contains method that the
  7943. BindingManagerBase uses to ensure bindings aren't added twice to
  7944. the collection.
  7945. * PropertyManager.cs: Stubbed out.
  7946. * Control.cs:
  7947. * ContainerControl.cs: Hook up databinding
  7948. 2005-02-22 Geoff Norton <[email protected]>
  7949. * XplatUIOSX.cs:
  7950. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  7951. Fixed Invalidate/Update chain.
  7952. Fixed tons of other minor bugs (this is almost a complete rewrite).
  7953. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  7954. * ComboBox.cs: do subcontrol creation when the control is created
  7955. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  7956. * Label.cs: fixes image drawing (image and imagelist)
  7957. * ThemeWin32Classic.cs: cache brushes
  7958. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  7959. * Form.cs: Move menu drawing code to Theme class
  7960. * ComboBox.cs: Move ComboBox drawing code to Theme class
  7961. * MenuItem.cs: Move menu drawing code to Theme class
  7962. * MenuAPI.cs: Move menu drawing code to Theme class
  7963. * ThemeWin32Classic.cs: New methods
  7964. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  7965. * ListBox.cs: Move Listbox drawing code to Theme class
  7966. * Theme.cs: New methods
  7967. 2005-02-20 Peter Bartok <[email protected]>
  7968. * Control.cs:
  7969. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  7970. only process mnemonics on those)
  7971. - Fixed event sequence for key handling; first calling
  7972. ProcessKeyEventArgs now
  7973. * TextBoxBase.cs:
  7974. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  7975. for processing non-character keys
  7976. - Fixed WM_CHAR to generate proper event sequence before processing
  7977. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  7978. generation
  7979. 2005-02-19 Peter Bartok <[email protected]>
  7980. * UserControl.cs: Added TextChanged event; added attributes
  7981. * SizeGrip.cs: Implemented resizing and optional display of grip
  7982. * Form.cs: Fixed attribute
  7983. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  7984. Changed meaning of ScrollWindow bool argument; instead of the
  7985. clear attribute (which will be true usually anyway), it gives the
  7986. option of moving child controls as well.
  7987. * XplatUIX11.cs:
  7988. - Changed to match new ScrollWindow argument
  7989. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  7990. now handles the implicit parent window a WM puts around us
  7991. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  7992. to work)
  7993. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  7994. * TreeView.cs: Adjusted to new ScrollWindow arguments
  7995. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  7996. * Form.cs: Menu integration with non-client area
  7997. * MenuItem.cs: Menu integration with non-client area
  7998. * MenuAPI.cs: Menu integration with non-client area
  7999. 2005-02-18 Peter Bartok <[email protected]>
  8000. * MethodInvoker.cs: Added
  8001. * MdiLayout.cs: Added
  8002. * SendKeys.cs: Started implementation
  8003. * ErrorIconAlignment.cs: Added
  8004. 2005-02-18 Peter Bartok <[email protected]>
  8005. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  8006. * Form.cs: Added handling for Menu-related Non-client messages
  8007. 2005-02-17 Peter Bartok <[email protected]>
  8008. * UpDownBase.cs: Fixed typo, compilation errors
  8009. * DomainUpDown.cs: Fixed attribute value
  8010. 2005-02-16 Miguel de Icaza <[email protected]>
  8011. * UpDownBase.cs: Attach entry events.
  8012. Propagate events.
  8013. Add ForeColor property, Focused, InterceptArrowKeys (interception
  8014. does not work yet).
  8015. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  8016. * Form.cs:
  8017. - Redraw non client are on Setmenu
  8018. - Calc proper menu starting point
  8019. 2005-02-17 Peter Bartok <[email protected]>
  8020. * Application.cs: Fixed message_filter check
  8021. 2005-02-17 Peter Bartok <[email protected]>
  8022. * Application.cs: Now calls registered message filters
  8023. * DockStyle.cs: Fixed attribute
  8024. * Form.cs: Fixed attribute
  8025. * Menu.cs: Fixed attribute
  8026. * ToolTip.cs: Fixed attribute
  8027. * TreeNode.cs: Added missing attributes and arranged in regions
  8028. * PropertyGrid.cs: Fixed signatures
  8029. * TreeNodeCollection.cs: Added attributes
  8030. * Splitter.cs: Added missing attributes; arranged into regions
  8031. * TabPage.cs: Added missing attributes; arranged into regions
  8032. * TextBoxBase.cs: Added missing attributes
  8033. * TextBox.cs: Added missing attributes
  8034. * ArrangeDirection.cs: Added missing attributes
  8035. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  8036. * ToolBarButton.cs: Fixed attributes
  8037. * AnchorStyles.cs: Fixed attribute
  8038. * TrackBar.cs: Fixed attributes
  8039. * TabControl.cs: Added missing attributes and arranged into regions
  8040. * ToolBar.cs: Fixed attribute
  8041. * StatusBar.cs: Fixed signature, organized into regions and added
  8042. attributes
  8043. * StatusBarPanel.cs: Fixed attributes
  8044. * ContentsResizedEventArgs.cs: Implemented
  8045. * ContentsResizedEventHandler.cs: Implemented
  8046. * DateBoldEventArgs.cs: Implemented
  8047. * DateBoldEventHandler.cs: Implemented
  8048. * UpDownEventArgs.cs: Implemented
  8049. * UpDownEventHandler.cs: Implemented
  8050. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  8051. * Form.cs: first Menu NC refactoring
  8052. * MenuAPI.cs: first Menu NC refactoring
  8053. 2005-02-16 Peter Bartok <[email protected]>
  8054. * ImeMode.cs: Added missing attributes
  8055. * Menu.cs: Fixed attribute
  8056. * GroupBox.cs: Fixed attribute
  8057. * Label.cs: Fixed attribute
  8058. * ColorDialog.cs (RunDialog): Removed TODO attribute
  8059. * ComboBox.cs: Fixed attributes
  8060. * ListControl.cs: Added missing attributes
  8061. * PropertyGrid.cs: Fixed attributes
  8062. * Control.cs: Fixed attributes
  8063. * ListViewItem.cs: Added TypeConverter attribute
  8064. * NotifyIcon.cs: Fixed attributes
  8065. * ListView.cs: Fixed attributes
  8066. * ButtonBase.cs: Fixed attribute
  8067. * ImageList.cs: Added missing attributes
  8068. * ContainerControl.cs: Fixed signature
  8069. * CheckedListBox.cs: Fixed attribute; added missing attributes
  8070. * Panel.cs: Fixed attributes
  8071. * PropertyTabChangedEventArgs.cs: Added missing attribute
  8072. * PropertyValueChangedEventArgs.cs: Added missing attribute
  8073. * Binding.cs: Fixed attribute
  8074. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  8075. * ListBox.cs: Fixed attribute; added missing attributes;
  8076. * ScrollableControl.cs: Added missing attributes
  8077. * PictureBox.cs: Added missing attributes; implemented missing property
  8078. * DateTimePicker.cs: Added missing attributes
  8079. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  8080. * MonthCalendar.cs: Fixed attributes
  8081. * StatusBarPanel.cs: Added missing attributes
  8082. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  8083. 2005-02-16 Peter Bartok <[email protected]>
  8084. * TextBoxBase.cs: The previous method to enforce height yet remember
  8085. the requested high was less than ideal, this is an attempt to do
  8086. it better.
  8087. * Control.cs: Added comment about possible problem
  8088. * Copyright: Updated format
  8089. * GridItemType.cs: Fixed swapped values
  8090. 2005-02-15 Jackson Harper <[email protected]>
  8091. * BaseCollection.cs: Use property so we never access an
  8092. uninitialized list. Also initialize the list in the property.
  8093. 2005-02-15 Peter Bartok <[email protected]>
  8094. * GroupBox.cs (ProcessMnemonic): Implemented
  8095. * Label.cs (ProcessMnemonic): Implemented
  8096. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  8097. hotkeys
  8098. 2005-02-15 Peter Bartok <[email protected]>
  8099. * RadioButton.cs (ProcessMnemonic): Implemented
  8100. * CheckBox.cs (ProcessMnemonic): Implemented
  8101. * Control.cs:
  8102. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  8103. handling
  8104. - Added internal method to allow calling ProcessMnemonic from other
  8105. controls
  8106. * ContainerControl.cs:
  8107. - Started support for handling validation chain handling
  8108. - Implemented ProcessMnemonic support
  8109. - Added Select() call to Active, to make sure the active control
  8110. receives focus
  8111. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  8112. FormParent rewrite)
  8113. * ThemeWin32Classic.cs:
  8114. - DrawCheckBox(): Fixed stringformat to show hotkeys
  8115. - DrawRadioButton(): Fixed stringformat to show hotkeys
  8116. * CommonDialog.cs: Removed WndProc override, not needed
  8117. 2005-02-14 Peter Bartok <[email protected]>
  8118. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  8119. missed those in the rewrite
  8120. 2005-02-14 Miguel de Icaza <[email protected]>
  8121. * NumericUpDown.cs (Increment, ToString): Add.
  8122. (DecimalPlaces): implement.
  8123. Add attributes.
  8124. * UpDownBase.cs: Add the designer attributes.
  8125. 2005-02-13 Peter Bartok <[email protected]>
  8126. * Panel.cs: Removed border_style, now in Control
  8127. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  8128. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  8129. 2005-02-13 Peter Bartok <[email protected]>
  8130. * MouseButtons.cs: Added missing attributes
  8131. * XplatUIStructs.cs: Added enumeration for title styles
  8132. * LeftRightAlignment.cs: Added missing attributes
  8133. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  8134. it compatible with Graphics.FromHwnd()
  8135. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  8136. * Keys.cs: Added missing attributes
  8137. * SelectionRange.cs: Added missing attributes
  8138. * SelectionRangeConverter.cs: Added
  8139. * XplatUI.cs:
  8140. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  8141. ReleaseMenuDC methods
  8142. - Renamed ReleaseWindow to UngrabWindow
  8143. - Added proper startup notice to allow version identification
  8144. * Form.cs:
  8145. - Added missing attributes
  8146. - Removed FormParent concept
  8147. * Label.cs: Removed border_style field, now in Control
  8148. * RadioButton.cs: Now properly selects RadioButton when focus is
  8149. received
  8150. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  8151. * Control.cs:
  8152. - Added missing attributes
  8153. - Added borderstyle handling
  8154. - Removed FormParent concept support
  8155. - Fixed calls to XplatUI to match changed APIs
  8156. - Fixed bug that would case us to use disposed Graphics objects
  8157. - Removed unneeded internal methods
  8158. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  8159. - SelectNextControl(): Fixed to properly check common parents
  8160. * TextBoxBase.cs: Removed border_style field (now in Control)
  8161. * MessageBox.cs:
  8162. - Patch by Robert Thompson ([email protected]): Added icon support,
  8163. fixed calculations for form size
  8164. - Added support for localized strings and icons
  8165. - Improved form size calculations, added border
  8166. * ListView.cs: Removed border_style field (now in Control)
  8167. * X11Structs.cs: Moved several structs from X11 driver here
  8168. * X11Keyboard.cs: Changed debug message
  8169. * Application.cs: Removed FormParent concept support
  8170. * CommonDialog.cs:
  8171. - Resetting end_modal flag
  8172. - Removed FormParent concept support
  8173. * NativeWindow.cs: Removed FormParent concept support
  8174. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  8175. Client area and Non-Client whole window to allow support for WM_NC
  8176. messages
  8177. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  8178. prevent using it until it supports Hwnd as per Geoff Norton's request
  8179. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  8180. * PictureBox.cs: Removed border_style field, now in Control
  8181. * XplatUIWin32.cs: Added new driver methods
  8182. 2005-02-12 Peter Bartok <[email protected]>
  8183. * OpacityConverter.cs: Implemented
  8184. * Hwnd.cs: Internal class to support drivers that need to emulate
  8185. client area/non-client area window behaviour
  8186. 2005-02-11 Peter Bartok <[email protected]>
  8187. * KeysConverter.cs: Implemented
  8188. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  8189. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  8190. * LinkLabel: Added missing attributes
  8191. * MainMenu.cs: fixes ToString
  8192. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  8193. * ListBox.cs: fixes event position
  8194. * TrackBar.cs: adds missing attributes and events
  8195. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  8196. * MenuItem.cs: Use SystemInformation and bug fixes
  8197. * MenuAPI.cs: Use SystemInformation and bug fixes
  8198. 2005-02-09 Jackson Harper <[email protected]>
  8199. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  8200. their keystate otherwise things like VK_MENU get stuck "on".
  8201. 2005-02-09 Kazuki Oikawa <[email protected]>
  8202. * ListBox.cs: Fixes AddRange bug
  8203. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  8204. * ProgressBar.cs
  8205. - Add missing attributes
  8206. - Add missing method
  8207. * CheckedListBox.cs: Added missing attributes
  8208. - Add missing attributes
  8209. - Remove extra method
  8210. * ComboBox.cs: Added missing attributes
  8211. * VScrollBar.cs: Added missing attributes
  8212. * ScrollBar.cs: Added missing attributes
  8213. * ListBox.cs: Fixes signature, add missing consts
  8214. * LinkArea.cs: Added missing attributes
  8215. 2005-02-08 Peter Bartok <[email protected]>
  8216. * Menu.cs: Added missing attributes
  8217. * MainMenu.cs: Added missing attributes
  8218. * GroupBox.cs: Added missing attributes
  8219. * Label.cs: Added missing attributes
  8220. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  8221. * ColorDialog.cs:
  8222. - Added Instance and Options properties
  8223. - Added missing attributes
  8224. * Cursor.cs: Made Serializable
  8225. * NotifyIcon: Added missing attributes
  8226. * MenuItem.cs: Added missing attributes
  8227. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  8228. * Panel.cs: Added Missing attributes
  8229. * MonthCalendar.cs: Fixed CreateParams
  8230. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  8231. * LinkLabel.cs:
  8232. - Fixes signature
  8233. - Fixes issues with links
  8234. - Adds the class attributes
  8235. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  8236. * ComboBox.cs:
  8237. - Fixes button when no items available in dropdown
  8238. - Fixes repainting problems
  8239. - Adds the class attributes
  8240. 2005-02-07 Geoff Norton <[email protected]>
  8241. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  8242. the current theme. Cache these on startup.
  8243. 2005-02-07 Jackson Harper <[email protected]>
  8244. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  8245. the scrollbar buttons when they are depressed.
  8246. 2005-02-07 Geoff Norton <[email protected]>
  8247. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  8248. Get the display size from the main displayid. We currently dont
  8249. support multiple display configurations.
  8250. 2005-02-07 Geoff Norton <[email protected]>
  8251. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  8252. 2005-02-07 Miguel de Icaza <[email protected]>
  8253. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  8254. 2005-02-05 Jonathan Chambers <[email protected]>
  8255. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  8256. 2005-02-04 Jackson Harper <[email protected]>
  8257. * ThemeWin32Classic.cs: Respect the clipping rect when
  8258. drawing. Only fill the intersection of clips and rects so there
  8259. isn't a lot of large fills.
  8260. * ScrollBar.cs: Pass the correct clipping rect to the theme
  8261. engine. Remove some debug code.
  8262. 2005-02-05 John BouAntoun <[email protected]>
  8263. * DateTimePicker.cs:
  8264. - Fixed crash on DateTime.Parse, use Constructor instead
  8265. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  8266. * MenuItem.cs:
  8267. * MenuAPI.cs:
  8268. - Owner draw support (MeasureItem and DrawItem)
  8269. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  8270. * Menu.cs:
  8271. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  8272. - Fixes MenuItems.Add range
  8273. * MenuItem.cs:
  8274. - MergeMenu and Clone and CloneMenu functions
  8275. 2005-02-03 Jackson Harper <[email protected]>
  8276. * ScrollBar.cs: Make abstract
  8277. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  8278. is abstract.
  8279. 2005-02-03 Jackson Harper <[email protected]>
  8280. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  8281. all the unneeded refreshes and uses invalidates with properly
  8282. computed rects.
  8283. 2005-02-03 Peter Bartok <[email protected]>
  8284. * ComponentModel.cs: Added
  8285. * IDataGridEditingService.cs: Added
  8286. * Timer.cs: Added missing attributes
  8287. * ToolTip.cs: Added missing attributes
  8288. 2005-02-03 Jonathan Chambers <[email protected]>
  8289. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  8290. 2005-02-03 Peter Bartok <[email protected]>
  8291. * ListBox.cs: Added missing attributes
  8292. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  8293. * ListBox.cs:
  8294. - Fixes font height after font change
  8295. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  8296. 2005-02-02 Peter Bartok <[email protected]>
  8297. * HandleData.cs: Introduced static methods to allow class
  8298. to be more self-contained and track it's own HandleData objects
  8299. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  8300. HandleData to use new static methods
  8301. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  8302. * Combobox.cs:
  8303. - Fixes default size and PreferredHeight
  8304. - Missing events
  8305. - ObjectCollection.Insert implementation
  8306. * ListControl.cs
  8307. - Fixes signature
  8308. * ListBox.cs:
  8309. - Several fixes
  8310. - ObjectCollection.Insert implementation
  8311. - No selection after clean
  8312. - Small fixes
  8313. 2005-01-31 John BouAntoun <[email protected]>
  8314. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  8315. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  8316. * Combobox.cs:
  8317. - Caches ItemHeight calculation for OwnerDrawVariable
  8318. - Handles dropdown properly
  8319. - Fixes several minor bugs
  8320. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  8321. * ListBox.cs:
  8322. - Fixes 71946 and 71950
  8323. - Fixes changing Multicolumn on the fly
  8324. - Fixes keyboard navigation on Multicolumn listboxes
  8325. 2005-01-31 Geoff Norton <[email protected]>
  8326. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  8327. crash reporter log.
  8328. 2005-01-31 Geoff Norton <[email protected]>
  8329. * XplatUIOSX.cs: Allow applications to actually exit.
  8330. 2005-01-31 Geoff Norton <[email protected]>
  8331. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  8332. their parent at creation time rather than lazily later. Fixes a major
  8333. regression we were experiencing.
  8334. 2005-01-31 John BouAntoun <[email protected]>
  8335. * ThemeWin32Classic.cs: more date time picker painting fixes
  8336. * DateTimePicker.cs: more monthcalendar drop down fixes
  8337. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  8338. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  8339. * ScrollBar.cs:
  8340. - When moving the thumb going outside the control should stop the moving
  8341. - Adds the firing of missing events
  8342. - Fixes no button show if Size is not specified
  8343. - End / Home keys for keyboard navigation
  8344. 2005-01-30 Peter Bartok <[email protected]>
  8345. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  8346. sanity check to prevent theoretical loop
  8347. * XplatUIWin32.cs (SetVisible): Removed debug output
  8348. * XplatUIX11.cs (SystrayChange): Added sanity check
  8349. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  8350. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  8351. behaviour, valid until the X11 client window rewrite is done
  8352. * TextBox.cs (ctor): Setting proper default foreground and background
  8353. colors
  8354. 2005-01-30 John BouAntoun <[email protected]>
  8355. * Theme: Added DrawDateTimePicker to interface
  8356. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  8357. * DateTimePicker.cs: Created (still needs keys and painting code)
  8358. * DateTimePickerFormat.cs: added
  8359. * MonthCalendar.cs: fixed CreateParams for popup window mode
  8360. 2005-01-29 Peter Bartok <[email protected]>
  8361. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  8362. this should also the calculations for ligher/darker
  8363. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  8364. 2005-01-29 Peter Bartok <[email protected]>
  8365. * ArrangeDirection.cs: Added
  8366. * ArrangeStartingPositon.cs: Added
  8367. * SystemInformation.cs: Implemented
  8368. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  8369. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  8370. used by SystemInformation class
  8371. * X11Strucs.cs: Added XSizeHints structure
  8372. * MenuAPI.cs:
  8373. - Fixed CreateParams to make sure the menu window is always visible
  8374. - TrackPopupMenu: Added check to make sure we don't draw the
  8375. menu offscreen
  8376. 2005-01-29 Peter Bartok <[email protected]>
  8377. * HandleData.cs: Added method for altering invalid area
  8378. * TextBoxBase.cs: Implemented TextLength
  8379. 2005-01-28 Peter Bartok <[email protected]>
  8380. * XplatUIX11.cs: Improvement over last patch, not sending
  8381. the WM_PAINT directly anymore, instead we scroll any pending
  8382. exposed areas and let the system pick out the WM_PAINT later
  8383. 2005-01-28 Peter Bartok <[email protected]>
  8384. * SWF.csproj: Deleted, no longer used. Instead,
  8385. Managed.Windows.Forms/SWF.csproj should be used
  8386. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  8387. directly, to avoid a potential race condition with the next
  8388. scroll
  8389. 2005-01-28 Peter Bartok <[email protected]>
  8390. * XplatUI.cs: Made class internal
  8391. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  8392. * CheckedListBox.cs:
  8393. - Draw focus
  8394. - Fixed Drawing
  8395. - Missing methods and events
  8396. 2005-01-27 Peter Bartok <[email protected]>
  8397. * Application.cs (Run): Don't use form if we don't have one
  8398. 2005-01-27 Peter Bartok <[email protected]>
  8399. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  8400. 2005-01-27 Peter Bartok <[email protected]>
  8401. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  8402. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  8403. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  8404. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  8405. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  8406. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  8407. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  8408. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  8409. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  8410. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  8411. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  8412. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  8413. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  8414. * Combobox.cs:
  8415. - Draw focus on Simple Combobox
  8416. - Fixes drawing issues
  8417. - fixes 71834
  8418. 2005-01-27 Peter Bartok <[email protected]>
  8419. * Form.cs:
  8420. - Place window in default location, instead of hardcoded 0/0
  8421. - Send initial LocationChanged event
  8422. * Control.cs:
  8423. - UpdateBounds after creation to find out where the WM placed us
  8424. - Make sure that if the ParentForm changes location the Form
  8425. is notified
  8426. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  8427. to the root, but to whatever the WM placed around us.
  8428. Translate to root coordinates before returning toplevel
  8429. coordinates
  8430. * XplatUIWin32.cs: Removed debug output
  8431. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  8432. flag to GetWindowPos, to allow translation of coordinates on X11
  8433. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  8434. * ListBox.cs: connect LostFocus Event
  8435. 2005-01-27 Peter Bartok <[email protected]>
  8436. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  8437. XplatUIX11.cs: Extended the Systray API
  8438. * Form.cs: Removed debug output
  8439. * Application.cs: Fixed focus assignment, always need to call
  8440. XplatUI.Activate() since Form.Activate() has rules that may
  8441. prevent activation
  8442. * NotifyIcon.cs: Should be complete now
  8443. * ToolTip.cs: Worked around possible timer bug
  8444. 2005-01-27 Jackson Harper <[email protected]>
  8445. * TabControl.cs:
  8446. - Only invalidate the effected tabs when the
  8447. selected index changes. This reduces drawing and gets rid of some
  8448. flicker.
  8449. - Only refresh if the tabs need to be shifted, otherwise only
  8450. invalidate the slider button.
  8451. - On windows the tabs are not filled to right if the slider is
  8452. visible.
  8453. 2005-01-27 Jackson Harper <[email protected]>
  8454. * TabControl.cs: Only refresh on mouseup if we are showing the
  8455. slider. Also only invalidate the button whose state has changed.
  8456. 2005-01-26 Peter Bartok <[email protected]>
  8457. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  8458. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  8459. and SystrayRemove() methods
  8460. * XplatUIOSX.cs: Stubbed Systray methods
  8461. * XplatUIX11.cs:
  8462. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  8463. methods
  8464. - Fixed broken XChangeProperty calls (marshalling messed up things)
  8465. * X11Structs.cs: Added enums and structs required for Size hinting
  8466. * NotifyIcon.cs: Added & implemented
  8467. 2005-01-26 Jackson Harper <[email protected]>
  8468. * TabControl.cs: Space vertically layed out tabs properly.
  8469. 2005-01-26 Peter Bartok <[email protected]>
  8470. * Form.cs (CreateClientParams): Always set the location to 0,0
  8471. since we're a child window.
  8472. * Control.cs (SetVisibleCore): Always explicitly setting the location
  8473. of a toplevel window, apparently X11 doesn't like to move windows
  8474. while they're not mapped.
  8475. 2005-01-26 Jackson Harper <[email protected]>
  8476. * TabControl.cs: Implement FillToRight size mode with vertically
  8477. rendered tabs.
  8478. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  8479. * ControlPaint.cs, ThemeWin32Classic.cs
  8480. - Fixes DrawFocusRectangle
  8481. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  8482. * MenuAPI.cs:
  8483. - MenuBar tracking only starts when item is first clicked
  8484. - Fixes menu hidding for multiple subitems
  8485. - Unselect item in MenuBar when item Executed
  8486. - Fixes bug 71495
  8487. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  8488. * ListControl.cs:
  8489. - IsInputKey for ListBox
  8490. * ListBox.cs:
  8491. - Focus item
  8492. - Shift and Control item selection
  8493. - Implement SelectionMode.MultiExtended
  8494. - Fixes RightToLeft
  8495. * ComboBox.cs:
  8496. - IsInputKey implemented
  8497. - Do not generate OnTextChangedEdit on internal txt changes
  8498. 2005-01-23 Peter Bartok <[email protected]>
  8499. * AccessibleObject.cs: Partially implemented Select()
  8500. * MonthCalendar.cs: Added missing attributes and events
  8501. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  8502. form can properly override CreateParams.
  8503. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  8504. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  8505. Control performs Invalidate & Update
  8506. * NativeWindow (CreateHandle): Added special handling for Form
  8507. and Form.FormParent classes to allow overriding of From.CreateParams
  8508. * Control.cs:
  8509. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  8510. name 'owner'
  8511. - ControlNativeWindow: Added Owner property
  8512. - Removed usage of Refresh() on property changes, changed into
  8513. Invalidate(), we need to wait until the queue is processed for
  8514. updates, direct calls might cause problems if not all vars for
  8515. Paint are initialized
  8516. - Added call to UpdateStyles() when creating the window, to set any
  8517. styles that CreateWindow might have ignored.
  8518. - Added support for Form CreateParent overrides to UpdateStyles()
  8519. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  8520. CreateParams are now properly overridable
  8521. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  8522. CreateParams are now properly overridable
  8523. 2005-01-23 Miguel de Icaza <[email protected]>
  8524. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  8525. OnTextBoxChanged.
  8526. Capture LostFocus and OnTextBoxChanged. The later introduces a
  8527. recursive invocation that I have not figured out yet.
  8528. Reset the timer when not using (it was accumulating).
  8529. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  8530. user has made changes that require validation.
  8531. Reset changing to avoid loops.
  8532. 2005-01-22 Miguel de Icaza <[email protected]>
  8533. * NumericUpDown.cs: Display value at startup.
  8534. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  8535. ValidateEditText.
  8536. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  8537. filled in. Added some basic parsing of text.
  8538. Still missing the OnXXX method overrides, and figuring out the
  8539. events that must be emitted.
  8540. * UpDownBase.cs: Handle UserEdit on the Text property.
  8541. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  8542. * ComboBox.cs:
  8543. - Fixes IntegralHeight
  8544. - ToString method
  8545. 2005-01-21 Jackson Harper <[email protected]>
  8546. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  8547. is set so that the page visibility is updated and the tabs are
  8548. sized correctly.
  8549. 2005-01-21 Jackson Harper <[email protected]>
  8550. * TabControl.cs: Use cliping rectangle for blitting. Give the
  8551. theme the clipping rect so we can do clipping while
  8552. drawing. Remove some debug code.
  8553. 2005-01-21 Jackson Harper <[email protected]>
  8554. * TabPage.cs: Add a new method so tab pages can force the tab
  8555. control to recalculate the tab page sizes.
  8556. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  8557. sizes.
  8558. 2005-01-20 Jackson Harper <[email protected]>
  8559. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  8560. 2005-01-20 Jackson Harper <[email protected]>
  8561. * TreeView.cs: Set the bounds for nodes properly. They were
  8562. getting screwed up when checkboxes were not enabled, but images
  8563. were.
  8564. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  8565. * ListBox.cs:
  8566. - Owner draw support
  8567. - Fixes
  8568. 2005-01-20 Jackson Harper <[email protected]>
  8569. * XplatUIStructs.cs: More misc keys
  8570. * X11Keyboard.cs: Ignore some control keys.
  8571. 2005-01-20 Jackson Harper <[email protected]>
  8572. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  8573. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  8574. 2005-01-19 Peter Bartok <[email protected]>
  8575. * Control.cs: Un-selecting the control when it is loosing focus
  8576. 2005-01-19 Jackson Harper <[email protected]>
  8577. * TreeView.cs: Hook up to the text controls leave event so we can
  8578. end editing when the users clicks outside the text box.
  8579. 2005-01-19 Jackson Harper <[email protected]>
  8580. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  8581. get set in the conversion array.
  8582. 2005-01-19 Peter Bartok <[email protected]>
  8583. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  8584. focus is properly set
  8585. * Button.cs:
  8586. - Added missing attributes
  8587. - removed styles, those are already set in the base class
  8588. * ButtonBase.cs:
  8589. - Added missing attributes
  8590. - Added clip window styles
  8591. * CheckBox.cs: Added missing attributes
  8592. * CommonDialog.cs:
  8593. - FormParentWindow.CreateParams: Added required clip styles
  8594. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  8595. also filters modifier keys
  8596. * MessageBox.cs:
  8597. - Added assignment of Accept and Cancel button to enable Enter
  8598. and Esc keys in MessageBox dialogs
  8599. - FormParentWindow.CreateParams: Added required clip styles
  8600. * RadioButton.cs: Added missing attributes
  8601. * TextControl.cs: No longer draws selection if control does not
  8602. have focus
  8603. * TextBoxBase.cs:
  8604. - Now draws simple rectangle around test area to make it obvious
  8605. there's a control. This is a hack until we properly support borders
  8606. - A few simple fixes to support selections better, now erases selected
  8607. text when typing, and resets selection when using movement keys
  8608. 2005-01-19 Miguel de Icaza <[email protected]>
  8609. * UpDownBase.cs: Added some new properties.
  8610. * DomainUpDown.cs: Implement a lot to get my test working.
  8611. 2005-01-19 Geoff Norton <[email protected]>
  8612. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  8613. 2005-01-19 Geoff Norton <[email protected]>
  8614. * OSXStructs (WindowAttributes): Fixed csc complaints
  8615. 2005-01-19 Geoff Norton <[email protected]>
  8616. * XplayUIOSX.cs:
  8617. OSXStructs.cs: Initial refactor to move enums and consts into
  8618. OSXStructs and use them in the driver for greater readability.
  8619. 2005-01-19 Geoff Norton <[email protected]>
  8620. * XplatUIOSX.cs: Initial support for Standard Cursors.
  8621. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  8622. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  8623. * ComboBox.cs: ability to change style when the ctrl is already
  8624. created, missing methods and events, bug fixes, signature fixes
  8625. 2005-01-19 Peter Bartok <[email protected]>
  8626. * Cursors.cs (ctor): Added ctor to fix signature
  8627. 2005-01-18 Peter Bartok <[email protected]>
  8628. * Button.cs: Implemented DoubleClick event
  8629. * ButtonBase.cs:
  8630. - Fixed keyboard handling to behave like MS, where the press of
  8631. Spacebar is equivalent to a mousedown, and the key release is
  8632. equivalent to mouseup. Now a spacebar push will give the same
  8633. visual feedback like a mouse click.
  8634. - Added missing attributes
  8635. - Added ImeModeChanged event
  8636. - Added support for generating DoubleClick event for derived classes
  8637. * CheckBox.cs:
  8638. - Implemented DoubleClick event
  8639. - Added missing attributes
  8640. * CommonDialog.cs: Added missing attribute
  8641. * ContextMenu.cs: Added missing attributes
  8642. * RadioButton.cs:
  8643. - AutoChecked buttons do not allow to be unselected when clicked
  8644. (otherwise we might end up with no selected buttons in a group)
  8645. - Added missing attributes
  8646. - Implemented DoubleClickEvent
  8647. * ThreadExceptionDialog.cs: Enabled TextBox code
  8648. 2005-01-18 Peter Bartok <[email protected]>
  8649. * Form.cs: Removed debug output
  8650. * Button.cs: Added support for DoubleClick method
  8651. 2005-01-18 Peter Bartok <[email protected]>
  8652. * Form.cs:
  8653. - Added method to parent window that allows triggering size
  8654. calculations when a menu is added/removed
  8655. - set_Menu: Cleaned up mess from early days of Form and Control,
  8656. now properly triggers a recalc when a menu is added/removed
  8657. - Added case to select form itself as focused form if no child
  8658. controls exist
  8659. - Added PerformLayout call when showing dialog, to ensure properly
  8660. placed controls
  8661. * Control.cs:
  8662. - Select(): Made internal so Form can access it
  8663. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  8664. status
  8665. * Application.cs (Run): Removed hack and calls PerformLayout instead
  8666. to trigger calculation when Form becomes visible
  8667. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  8668. * ComboBox.cs: fixes for ownerdraw
  8669. 2005-01-18 Peter Bartok <[email protected]>
  8670. * TextControl.cs:
  8671. - Sentinel is no longer static, each Document gets it's own, this
  8672. avoids locking or alternatively overwrite problems when more
  8673. than one text control is used simultaneously.
  8674. - Switched to use Hilight and HilightText brushes for text selection
  8675. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  8676. 2005-01-18 Peter Bartok <[email protected]>
  8677. * Control.cs:
  8678. - Hooked up the following events:
  8679. o ControlAdded
  8680. o ControlRemoved
  8681. o HandleDestroyed
  8682. o ImeModeChanged
  8683. o ParentChanged
  8684. o TabStopChanged
  8685. o Invalidated
  8686. o SystemColorsChanged
  8687. o ParentFontChanged
  8688. o Move
  8689. - Removed debug output
  8690. - Added a call to the current theme's ResetDefaults when a color change
  8691. is detected
  8692. * Form.cs: Now setting the proper ImeMode
  8693. * Theme.cs: Defined a method to force recreation of cached resources
  8694. and rereading of system defaults (ResetDefaults())
  8695. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  8696. 2005-01-17 Peter Bartok <[email protected]>
  8697. * Control.cs: Added missing attributes
  8698. 2005-01-17 Jackson Harper <[email protected]>
  8699. * TreeNode.cs: Implement editing. Add missing properties selected
  8700. and visible.
  8701. * TreeView.cs: Implement node editing. Also some fixes to use
  8702. Invalidate (invalid area) instead of Refresh when selecting.
  8703. 2005-01-17 Peter Bartok <[email protected]>
  8704. * Control.cs:
  8705. - Implemented InvokeGotFocus() method
  8706. - Implemented InvokeLostFocus() method
  8707. - Implemented InvokePaint() method
  8708. - Implemented InvokePaintBackground() method
  8709. - Implemented InvokeClick() method
  8710. - Implemented FindForm() method
  8711. - Implemented RectangleToClient() method
  8712. - Implemented ClientToRectangle() method
  8713. - Implemented ResetBackColor() method
  8714. - Implemented ResetCursor() method
  8715. - Implemented ResetFont() method
  8716. - Implemented ResteForeColor() method
  8717. - Implemented ResetImeMode() method
  8718. - Implemented ResetLeftToRight() method
  8719. - Implemented ResetText() method
  8720. - Implemented Scale() methods
  8721. - Implemented ScaleCore() method
  8722. - Implemented Update() method
  8723. - Removed unused variables
  8724. - Stubbed AccessibilityNotifyClients and
  8725. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  8726. with those yet)
  8727. - Now setting proper default for RightToLeft property
  8728. - Fixed bug in SetClientSizeCore that would cause windows to get
  8729. really big
  8730. - Now sending Click/DoubleClick events
  8731. - Now selecting controls when left mouse button is clicked on
  8732. selectable control
  8733. * AccessibleEvents.cs: Added
  8734. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  8735. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  8736. * XplatUIWin32.cs: Implemented UpdateWindow() method
  8737. * XplatUIX11.cs: Implemented UpdateWindow() method
  8738. * Form.cs: Removed stray semicolon causing CS0162 warning
  8739. * ThemeWin32Classic.cs: Fixed unused variable warnings
  8740. * ScrollableControl.cs: Now calls base method for ScaleCore
  8741. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  8742. style to avoid interference with internal click handler (which is
  8743. different than standard Control click handling)
  8744. * RadioButton.cs:
  8745. - Now unchecks all sibling radio buttons when control is
  8746. selected (Fixes #68756)
  8747. - Removed internal tabstop variable, using the one inherited from
  8748. Control
  8749. 2005-01-17 Jackson Harper <[email protected]>
  8750. * NavigateEventArgs.cs: Fix base type.
  8751. * LinkLabel.cs: Sig fix
  8752. 2005-01-17 Jackson Harper <[email protected]>
  8753. * TreeView.cs: Only invalidate the effected nodes bounds when
  8754. selecting nodes.
  8755. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  8756. * XplatUIWin32.cs: fixes Win32 marshaling
  8757. * XplatUIX11.cs: fixes method signature
  8758. 2005-01-17 Peter Bartok <[email protected]>
  8759. * XplatUIX11.cs: Clean up resources when we no longer need them
  8760. 2005-01-17 Peter Bartok <[email protected]>
  8761. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  8762. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  8763. and DestroyCursor() methods.
  8764. * Cursor.cs: Partially implemented, now supports standard cursors;
  8765. still contains some debug code
  8766. * Cursors.cs: Implemented class
  8767. * Control.cs:
  8768. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  8769. appropriate cursor
  8770. - Implemented Cursor property
  8771. - Replaced break; with return; more straightforwar and possibly
  8772. faster
  8773. - Now properly setting the result for WM_HELP
  8774. * X11Structs.cs: Added CursorFontShape enum
  8775. * XplatUIStructs.cs:
  8776. - Added StdCursor enum (to support DefineStdCursor() method)
  8777. - Added HitTest enum (to support sending WM_SETCURSOR message)
  8778. * XplatUIX11.cs:
  8779. - Now sends the WM_SETCURSOR message
  8780. - Implemented new cursor methods
  8781. * XplatUIOSX.cs: Stubbed new cursor methods
  8782. * XplatUIWin32.cs:
  8783. - Implemented new cursor methods
  8784. - Added GetSystemMetrics function and associated enumeration
  8785. 2005-01-15 Peter Bartok <[email protected]>
  8786. * Control.cs:
  8787. - WndProc(): Now handles EnableNotifyMessage
  8788. - SelectNextControl(): Fixed bug where if no child or sibling
  8789. controls exist we looped endlessly
  8790. 2005-01-14 Jackson Harper <[email protected]>
  8791. * TreeView.cs: Recalculate the tab pages when a new one is added
  8792. so that the proper bounding rects are created.
  8793. 2005-01-14 Jackson Harper <[email protected]>
  8794. * TreeView.cs: Draw a gray box instead of a grip in the lower
  8795. right hand corner when there are both horizontal and vertical
  8796. scroll bars.
  8797. 2005-01-14 Jackson Harper <[email protected]>
  8798. * Control.cs: When erasing backgrounds use FromHwnd instead of
  8799. FromHdc when there is a NULL wparam. This occurs on the X driver.
  8800. * XplatUIX11.cs: Set the wparam to NULL.
  8801. 2005-01-13 Jackson Harper <[email protected]>
  8802. * PictureBox.cs: Implement missing methods (except ToString, need
  8803. to test that on windows) and events. When visibility is changed we
  8804. need to redraw the image because the buffers are killed. When size
  8805. is changed refresh if the sizemode needs it.
  8806. 2005-01-13 Peter Bartok <[email protected]>
  8807. * Control.cs (SelectNextControl): Was using wrong method to select
  8808. a control
  8809. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  8810. * ComboBox.cs: fixes dropstyle
  8811. 2005-01-13 Peter Bartok <[email protected]>
  8812. * Form.cs:
  8813. - Implemented Select() override
  8814. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  8815. - Now sets keyboard focus on startup
  8816. * Control.cs (SelectNextControl): Now properly handles directed=true
  8817. * TextBoxBase.cs:
  8818. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  8819. - Added (really bad) focus rectangle (mostly for testing)
  8820. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  8821. to enforce redraw on focus changes
  8822. * ContainerControl.cs:
  8823. - Fixed detection of Shift-Tab key presses
  8824. - Fixed traversal with arrow keys
  8825. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  8826. gonna keep this or if it's complete yet
  8827. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  8828. * ComboBox.cs: missing properties, fixes
  8829. 2005-01-13 Peter Bartok <[email protected]>
  8830. * Panel.cs (ctor): Setting Selectable window style to off
  8831. * Splitter.cs (ctor): Setting Selectable window style to off
  8832. * GroupBox.cs (ctor): Setting Selectable window style to off
  8833. * Label.cs (ctor): Setting Selectable window style to off
  8834. 2005-01-12 Miguel de Icaza <[email protected]>
  8835. * UpDownBase.cs (InitTimer): If the timer has been already
  8836. created, enable it.
  8837. Use a TextBox instead of a Label.
  8838. 2005-01-12 Jackson Harper <[email protected]>
  8839. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  8840. draw the connecting node lines (when ShowLines is true).
  8841. * TreeNode.cs: The nodes index can now be updated. This is used
  8842. when a node collection is sorted.
  8843. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  8844. insert or an existing unsorted node collection can be sorted.
  8845. 2005-01-12 Peter Bartok <[email protected]>
  8846. * ContainerControl.cs: Implemented ProcessDialogKeys()
  8847. 2005-01-12 Peter Bartok <[email protected]>
  8848. * Control.cs:
  8849. - Implemented SelectNextControl() method
  8850. - Several focus related bug fixes
  8851. - Fixed Docking calculations to match MS documentation and
  8852. behaviour
  8853. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  8854. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  8855. bug fixes
  8856. 2005-01-12 Peter Bartok <[email protected]>
  8857. * Control.cs:
  8858. - Fixed broken Contains() method
  8859. - Implemented GetNextControl() method. Finally. This is the pre-
  8860. requisite for focus handling.
  8861. 2005-01-12 Peter Bartok <[email protected]>
  8862. * OSXStrucs.cs: Added
  8863. 2005-01-12 Peter Bartok <[email protected]>
  8864. * XplatUIWin32.cs:
  8865. - Removed PeekMessageFlags
  8866. - Implemented SetWindowStyle() method
  8867. * XplatUIStructs.cs: Added PeekMessageFlags
  8868. * X11Structs: Added missing border_width field to XWindowChanges struct
  8869. * XplatUIX11.cs:
  8870. - PeekMessage: Now throws exception if flags which are not yet
  8871. supported are passed
  8872. - Implemented SetWindowStyle() method
  8873. - Fixed SetZOrder to handle AfterHwnd properly
  8874. * XplatUI.cs: Added SetWindowStyle() method
  8875. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  8876. * Control.cs:
  8877. - Implemented UpdateStyles() method
  8878. - Implemented UpdateZOrder() method
  8879. * XplatUIOSX.cs: Added SetWindowStyle() stub
  8880. 2005-01-12 Geoff Norton <[email protected]>
  8881. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  8882. button mouse).
  8883. 2005-01-11 Jackson Harper <[email protected]>
  8884. * TreeView.cs: Still need to draw lines to siblings even if out of
  8885. the current node is out of the clip.
  8886. 2005-01-11 Jackson Harper <[email protected]>
  8887. * TreeView.cs: When setting the hbar/vbar/grip position use
  8888. SetBounds so that perform layout is only called once. Also suspend
  8889. and resume layout so layout is only done once for all controls.
  8890. - Removed some debug fluff
  8891. * SizeGrip.cs: Call base implmentation in overriding methods.
  8892. - When visibility is changed the drawing buffers are killed so we
  8893. need to redraw.
  8894. 2005-01-11 Jackson Harper <[email protected]>
  8895. * TreeView.cs: Calculate the open node count while drawing. This
  8896. saves us an entire tree traversal for every paint operation. Use
  8897. a member var for the open node count so less vars are passed around.
  8898. 2005-01-11 John BouAntoun <[email protected]>
  8899. * MonthCalendar.cs:
  8900. - fixed selection to use mousemove, not mouse polling on timer
  8901. * ThemeWin32Classic.cs
  8902. - removed redundant unused variable "no_more_content"
  8903. 2005-01-11 Peter Bartok <[email protected]>
  8904. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  8905. are pending, so it now calls PeekMessage instead of GetMessage;
  8906. implemented a incomplete version of PeekMessage
  8907. 2005-01-11 Peter Bartok <[email protected]>
  8908. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  8909. I18n issues
  8910. * TextBoxBase.cs: Added sending of TextChanged event
  8911. 2005-01-10 Jackson Harper <[email protected]>
  8912. * TreeView.cs: Try not to draw outside the clipping rectangle on
  8913. each node element.
  8914. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  8915. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  8916. 2005-01-10 Jackson Harper <[email protected]>
  8917. * TreeView.cs:
  8918. - Implement fast scrolling. Now only the newly
  8919. exposed nodes are drawn and the old image is moved using the
  8920. XplatUI::ScrollWindow method.
  8921. - Factor in height of nodes when calculating whether or not the
  8922. node is in the clipping rect.
  8923. 2005-01-10 Jackson Harper <[email protected]>
  8924. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  8925. 2005-01-10 Peter Bartok <[email protected]>
  8926. * Application.cs: Added temporary hack to resolve all our resize
  8927. required issues on startup. This will get fixed properly at
  8928. some point in the future
  8929. 2005-01-10 Jackson Harper <[email protected]>
  8930. * SizeGrip.cs: New internal class that is used as a sizing
  8931. grip control...hence the name.
  8932. 2005-01-10 Peter Bartok <[email protected]>
  8933. * Control.cs: Implemented proper TabIndex handling, now assigning
  8934. a tabindex when a control is added to a container
  8935. * GroupBox.cs (ctor): Now sets the Container style bit, required
  8936. for Control.GetNextControl()
  8937. 2005-01-09 Jackson Harper <[email protected]>
  8938. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  8939. 2005-01-09 Peter Bartok <[email protected]>
  8940. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  8941. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  8942. an overload for ScrollWindow to allow only scrolling a rectangle
  8943. 2005-01-09 Peter Bartok <[email protected]>
  8944. * Form.cs:
  8945. - Implemented SetDesktopBounds method
  8946. - Implemented SetDesktopLocation method
  8947. 2005-01-08 Jackson Harper <[email protected]>
  8948. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  8949. the node count has changed, this removes to VScroll::Refresh calls
  8950. when drawing.
  8951. 2005-01-08 Geoff Norton <[email protected]>
  8952. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  8953. 2005-01-07 Jackson Harper <[email protected]>
  8954. * TreeNode.cs: Just update the single node when it is
  8955. checked. Don't refresh after toggling, the Expand/Collapse already
  8956. handles this.
  8957. * TreeView.cs: Respect clipping a little more when drawing. Try
  8958. not to redraw things that don't need to be redrawn. Just hide the
  8959. scrollbars when they are no longer needed instead of removing
  8960. them, so they don't have to be created again and again.
  8961. 2005-01-07 Geoff Norton <[email protected]>
  8962. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  8963. coordinates to window space to place the caret properly, FIXED.
  8964. Implement GetWindowState & SetWindowState
  8965. 2005-01-06 Peter Bartok <[email protected]>
  8966. * Form.cs:
  8967. - Implemented ClientSize property
  8968. - Implemented DesktopBounds property
  8969. - Implemented DesktopLocation property
  8970. - Implemented IsRestrictedWindow property
  8971. - Implemented Size property
  8972. - Implemented TopLevel property
  8973. - Implemented FormWindowState property
  8974. * Control.cs:
  8975. - Implemented GetTopLevel() method
  8976. - Implemented SetTopLevel() method
  8977. * X11Structs.cs (Atom):
  8978. - Added AnyPropertyType definition
  8979. - Added MapState definiton and updated XWindowAttribute struct
  8980. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  8981. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  8982. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  8983. * XplatUIWin32.cs:
  8984. - Implemented GetWindowState() and SetWindowState() methods
  8985. - Fixed Win32GetWindowLong return type
  8986. * XplatUIX11.cs:
  8987. - Introduced central function for sending NET_WM messages
  8988. - Implemented GetWindowState() and SetWindowState() methods
  8989. * TextBoxBase.cs (set_Lines):
  8990. - Now uses Foreground color for text added via Text property (Duh!)
  8991. - Added code to remember programmatically requested size (fixes
  8992. behaviour when Multiline is set after Size)
  8993. - Added AutoSize logic
  8994. 2005-01-06 Jackson Harper <[email protected]>
  8995. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  8996. 2005-01-06 Jackson Harper <[email protected]>
  8997. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  8998. set to less then 0.
  8999. 2005-01-06 Jackson Harper <[email protected]>
  9000. * ScrollableControl.cs: Lazy init the scrollbars.
  9001. 2005-01-06 Jackson Harper <[email protected]>
  9002. * Theme.cs: Speed up getting pens and solid brushes, by using
  9003. their ARGB as a hash instead of tostring and not calling Contains.
  9004. 2005-01-06 Peter Bartok <[email protected]>
  9005. * Form.cs:
  9006. - Implemented OnActivated and OnDeactivate event trigger
  9007. - Implemented Activate() method
  9008. - Fixed ShowDialog() to activate the form that was active before
  9009. the dialog was shown
  9010. * XplatUIX11.cs:
  9011. - Added global active_window var that tracks the currently active
  9012. X11 window
  9013. - Now always grabs Property changes from the root window to always
  9014. catch changes on the active window property
  9015. - Added code to PropertyNotify handler to send Active/Inactive
  9016. messages when state changes. This puts X11 and Win32 en par on
  9017. WM_ACTIVATE notifications (except for double notifications when
  9018. the user clicks away from our modal window to another one of our
  9019. windows)
  9020. 2005-01-05 Jackson Harper <[email protected]>
  9021. * ImageList.cs: Implment ctor
  9022. 2005-01-05 Geoff Norton <[email protected]>
  9023. * XplatUIOSX.cs: Implement Activate/SetTopmost
  9024. 2005-01-05 Geoff Norton <[email protected]>
  9025. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  9026. 2005-01-05 Geoff Norton <[email protected]>
  9027. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  9028. 2005-01-05 Peter Bartok <[email protected]>
  9029. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  9030. XplatUIOSX.cs: Added GetActive method to return the currently
  9031. active window for the application (or null, if none is active)
  9032. * Form.cs:
  9033. - Implemented ActiveForm
  9034. - Commented out owner assignment for modal dialogs (causes problems
  9035. on Win32, since the owner will be disabled)
  9036. - Reworked some Active/Focus handling (still incomplete)
  9037. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  9038. (causes problems on Win32, since the owner will be disabled)
  9039. * IWin32Window: Added ComVisible attribute
  9040. 2005-01-05 Peter Bartok <[email protected]>
  9041. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  9042. required XplatUI functions.
  9043. 2005-01-05 Peter Bartok <[email protected]>
  9044. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  9045. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  9046. to implement focus and activation handling; still incomplete and
  9047. with debug output
  9048. 2005-01-04 Peter Bartok <[email protected]>
  9049. * TextBoxBase.cs: Changed access level for Document property to
  9050. match switch to internal for TextControl
  9051. 2005-01-04 Peter Bartok <[email protected]>
  9052. * AccessibleObject: Added ComVisible attribute
  9053. 2005-01-04 Jackson Harper <[email protected]>
  9054. * X11Keyboard.cs: Remove unneeded var.
  9055. 2005-01-04 Jackson Harper <[email protected]>
  9056. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  9057. but PAINT.
  9058. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  9059. ClientMessage. This makes apps exit cleanly (more often).
  9060. 2005-01-04 Jackson Harper <[email protected]>
  9061. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  9062. handling focus, return correct colors and fonts,
  9063. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  9064. handle selection, horizontal scrolling, and mouse interaction.
  9065. 2005-01-04 Peter Bartok <[email protected]>
  9066. * ICommandExecutor.cs: Added
  9067. * IDataGridColumnStyleEditingNotificationService.cs: Added
  9068. * IFeatureSupport.cs: Added
  9069. * IFileReaderService.cs: Added
  9070. * IDataObject.cs: Added ComVisible attribute
  9071. * AmbientProperties.cs: Added
  9072. * BaseCollection.cs: Added missing attributes
  9073. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  9074. * BaseCollection.cs: Added missing attributes
  9075. * Binding.cs: Added TypeConverter attribute
  9076. * BindingContext.cs: Added DefaultEvent attribute
  9077. * BindingsCollection.cs: Added DefaultEvent attribute
  9078. * Button.cs: Added DefaultValue attribute
  9079. * DragEventArgs.cs: Added ComVisible attribute
  9080. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  9081. * KeyEventArgs.cs: Added ComVisible attribute
  9082. * KeyPressEventArgs.cs: Added ComVisible attribute
  9083. * MouseEventArgs.cs: Added ComVisible attribute
  9084. * NavigateEventArgs.cs: Added
  9085. * NavigateEventHandler.cs: Added
  9086. * FeatureSupport.cs: Added
  9087. * OSFeature.cs: Added
  9088. * Theme.cs: Added abstract Version property to support OSFeature
  9089. * ThemeWin32Classic.cs: Added Version property to
  9090. support OSFeature.Themes
  9091. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  9092. the proper styles to avoid background drawing are set, also doesn't
  9093. match MS signature
  9094. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  9095. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  9096. * ScrollEventArgs.cs: Added ComVisible attribute
  9097. * SplitterEventArgs.cs: Added ComVisible attribute
  9098. * AccessibleSelection.cs: Added Flags attribute
  9099. * Appearance.cs: Added ComVisible attribute
  9100. * Border3DSide.cs: Added ComVisible attribute
  9101. * Border3DStyle.cs: Added ComVisible attribute
  9102. * BorderStyle.cs: Added ComVisible attribute
  9103. * DragAction.cs: Added ComVisible attribute
  9104. * ErrorBlinkStyle.cs: Added
  9105. * ScrollEventType.cs: Added ComVisible attribute
  9106. * AnchorStyles.cs: Added Editor attribute
  9107. * DockStyle.cs: Added Editor attribute
  9108. * HorizontalAlignment.cs: Added ComVisible attribute
  9109. * HelpEventArgs.cs: Added ComVisible attribute
  9110. * PaintEventArgs.cs: Added IDisposable
  9111. 2005-01-04 Peter Bartok <[email protected]>
  9112. * TextControl.cs: Switched Line, LineTag and Document classes to
  9113. internal
  9114. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  9115. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  9116. Simple mode, fixes, IntegralHeight, etc.
  9117. 2005-01-04 Peter Bartok <[email protected]>
  9118. * TextBoxBase.cs: Using proper font variable now
  9119. 2005-01-04 Peter Bartok <[email protected]>
  9120. * Form.cs (ShowDialog): Set parent to owner, if provided
  9121. * GroupBox.cs: Removed unused vars
  9122. * TextControl.cs:
  9123. - Added GetHashCode() for Document and LineTag classes
  9124. - Removed unused variables
  9125. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  9126. to allow translation between continuous char position and line/pos
  9127. * CheckBox.cs: Removed vars that are provided by base class
  9128. * RadioButton.cs: Removed vars that are provided by base class, added
  9129. new keyword where required
  9130. * LinkLabel.cs: Added new keyword where required
  9131. * Control.cs (WndProc): Removed unused variable
  9132. * TextBoxBase.cs:
  9133. - Finished SelectionLength property
  9134. - Implemented SelectionStart property
  9135. - Implemented Text property
  9136. - Removed unused vars
  9137. * MessageBox.cs: Added new keyword where required
  9138. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  9139. WndProc signature
  9140. * MenuAPI.cs: Added new keyword where required
  9141. * ButtonBase.cs: Removed vars that are provided by base class, added
  9142. new keyword where required
  9143. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  9144. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  9145. into this)
  9146. * Application.cs (Run): Now triggers the ThreadExit event
  9147. * CommonDialog.cs: Added new keyword where required; now properly sets
  9148. parent (owner) for dialog
  9149. * XplatUIX11.cs: Commented out unused vars
  9150. * StatusBar.cs: Fixed signature for Text property
  9151. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  9152. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  9153. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  9154. TrackBar.cs, MonthCalendar.cs: remove unused vars
  9155. 2005-01-03 Jackson Harper <[email protected]>
  9156. * ThemeWin32Classic.cs:
  9157. * X11Keyboard.cs: Remove unused vars.
  9158. 2005-01-03 Peter Bartok <[email protected]>
  9159. * TextBox.cs:
  9160. - set_Text: Tied into TextControl
  9161. - set_TextAlignment: Tied into TextControl
  9162. * TextControl.cs:
  9163. - Added alignment properties and implemented alignment handling
  9164. and drawing (still has a bug, not generating proper expose events)
  9165. - Added new Line() constructor to allow passing the line alignment
  9166. - Fixed selection setting, properly handling end<start now
  9167. - Added aligment considerations to RecalculateDocument()
  9168. * TextBoxBase.cs:
  9169. - Now properly enforces control height for single line controls
  9170. - Added support for CharacterCasing
  9171. - Added IsInputKey override
  9172. - Fixed Keys.Enter logic
  9173. - Added SetBoundsCore override
  9174. - Fixed mouse selection handling
  9175. 2005-01-03 Jackson Harper <[email protected]>
  9176. * TreeView.cs:
  9177. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  9178. - Checkboxes are always aligned to the bottom of the node,
  9179. regardless of item height.
  9180. - Use the node bounds to draw the text so we can center it when
  9181. the item height is greater then the font height.
  9182. - Node::Bounds are only the text part of the node.
  9183. * TreeNode.cs: New method to combine collapsing and unchecking all
  9184. nodes recursively.
  9185. 2005-01-02 Jackson Harper <[email protected]>
  9186. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  9187. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  9188. tree when a check is changed. TODO: Only refresh the checked node.
  9189. 2004-12-30 Jackson Harper <[email protected]>
  9190. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  9191. * TreeNode.cs: When collapsing make sure to never collapse the
  9192. root node.
  9193. 2004-12-29 Jackson Harper <[email protected]>
  9194. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  9195. 2004-12-28 Zoltan Varga <[email protected]>
  9196. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  9197. 2004-12-28 Peter Bartok <[email protected]>
  9198. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  9199. not yet assigned
  9200. 2004-12-28 Peter Bartok <[email protected]>
  9201. * Control.cs (WndProc): Added WM_HELP handler, now generates
  9202. HelpRequested event
  9203. * Form.cs: Added HelpButton property and required support code
  9204. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  9205. 2004-12-28 Peter Bartok <[email protected]>
  9206. * CommonDialog.cs:
  9207. - Made DialogForm.owner variable internal
  9208. - Added check to ensure owner form is set before setting
  9209. owner properties in CreateParams
  9210. 2004-12-28 Geoff Norton <[email protected]>
  9211. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  9212. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  9213. GetCursorPos. Fix major visibility issues. Rework the windowing
  9214. system to support borderless/titleless windows (implements menus).
  9215. Fix GetWindowPos. Implement initial background color support for
  9216. views.
  9217. 2004-12-28 Peter Bartok <[email protected]>
  9218. * Form.cs (get_CreateParams): Make sure we have an owner before using
  9219. the owner variable. Implement proper default if no owner exists
  9220. 2004-12-28 Peter Bartok <[email protected]>
  9221. * In preparation for making Managed.Windows.Forms the default build target
  9222. for System.Windows.Forms, the following stubbed files were added.
  9223. Dialogs are currently being implemented by contributors and are only
  9224. short-term place holders.
  9225. * ColorDialog.cs: Initial check-in (minmal stub)
  9226. * DataGrid.cs: Initial check-in (minimal stub)
  9227. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  9228. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  9229. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  9230. * FontDialog.cs: Initial check-in (minimal stub)
  9231. * FileDialog.cs: Initial check-in (minimal stub)
  9232. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  9233. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  9234. * OpenFileDialog: Initial check-in (minimal stub)
  9235. * IComponentEditorPageSite.cs: Initial check-in
  9236. * Splitter.cs: Initial check-in (for Jackson)
  9237. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  9238. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  9239. * TextBox.cs: Initial check-in; still needs some wiring to
  9240. TextControl backend
  9241. * Form.cs: Implemented ControlBox property
  9242. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  9243. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  9244. * TextControl.cs: Added selection functionality; added todo header
  9245. * TextBoxBase.cs:
  9246. - Implemented Lines property
  9247. - Implemented TextHeight property
  9248. - Implemented SelectedText property
  9249. - Implemented SelectionLength property
  9250. - Implemented SelectAll method
  9251. - Implemented ToString method
  9252. - Removed and cleaned up some debug code
  9253. - Implemented (still buggy) mouse text selection
  9254. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  9255. * ComboBox.cs: Complete DropDownList implementation, fixes.
  9256. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  9257. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  9258. * ComboBoxStyle.cs: ComboBoxStyle enum
  9259. * ComboBox.cs: Initial work on ComboBox control
  9260. 2004-12-21 Peter Bartok <[email protected]>
  9261. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  9262. forward so that anything that creates a window gets the default,
  9263. also no longer uses Visible property in CreateParams to avoid
  9264. walking up the parent chain and possibly get the wrong visible
  9265. status. Fixed IsVisible to no longer walk up to the parent.
  9266. 2004-12-21 Peter Bartok <[email protected]>
  9267. * Form.cs (ShowDialog): Unset modality for the proper window
  9268. 2004-12-20 Peter Bartok <[email protected]>
  9269. * CommonDialog.cs: Initial check-in
  9270. 2004-12-20 Peter Bartok <[email protected]>
  9271. * Control.cs (Visible): Now uses the parent window instead of the
  9272. client area window for the property
  9273. * Form.cs
  9274. - ShowDialog(): Now uses the proper window for modality
  9275. - The default visibility state for the form parent is now false. This
  9276. will prevent the user from seeing all the changes to the form and
  9277. its controls before the application hits Application.Run()
  9278. - Removed some stale commented out code
  9279. * NativeWindow.cs:
  9280. - Added FindWindow() method to have a method to check for existence
  9281. of a window handle
  9282. - Added ability to override default exception handling (for example
  9283. when debugging with VS.Net; to do this the ExternalExceptionHandler
  9284. define must be set
  9285. - Removed some useless debug output
  9286. * XplatUIX11.cs:
  9287. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  9288. not working as expected
  9289. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  9290. property to allow switching back to the modal window if focus is
  9291. given to another one of our windows (Application Modal)
  9292. - Now only sets override_redirect if we create a window
  9293. without WS_CAPTION
  9294. - Moved EventMask selection before mapping of newly created window
  9295. so we can catch the map event as well
  9296. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  9297. - Added various Atom related DllImports
  9298. - Implemented Exit() method
  9299. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  9300. in the CreateParams
  9301. * MessageBox.cs: Now properly deals with the FormParent window by
  9302. providing an override the FormParent CreateParams property to
  9303. set as POPUP instead of OVERLAPPED window.
  9304. 2004-12-19 Geoff Norton <[email protected]>
  9305. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  9306. Minor code cleanup.
  9307. 2004-12-19 Geoff Norton <[email protected]>
  9308. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  9309. 2004-12-18 Peter Bartok <[email protected]>
  9310. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  9311. implementing SetModal() method
  9312. 2004-12-18 Peter Bartok <[email protected]>
  9313. * X11Structs.cs (XGCValues): Fixed type of function element
  9314. * XplatUI.cs: Added ScrollWindow() method
  9315. * XplatUIDriver.cs: Added ScrollWindow() abstract
  9316. * XplatUIWin32.cs: Implemented ScrollWindow() method
  9317. * XplatUIX11.cs: Implemented ScrollWindow() method
  9318. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  9319. 2004-12-17 Geoff Norton <[email protected]>
  9320. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  9321. Some more keyboard support (INCOMPLETE)
  9322. 2004-12-17 Peter Bartok <[email protected]>
  9323. * TextControl.cs:
  9324. - Added color attribute to line tags.
  9325. - Added color argument to all functions dealing with tags
  9326. - Added color argument support to various functions
  9327. - Fixed miss-calculation of baseline/shift in certain circumstances
  9328. * TextBoxBase.cs: Added new color option to test code
  9329. 2004-12-17 Jackson Harper <[email protected]>
  9330. * TreeNode.cs:
  9331. * MonthCalendar.cs: Signature fixes
  9332. 2004-12-17 Geoff Norton <[email protected]>
  9333. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  9334. keyboard event moved it. Create a new graphics context for each paint resolves this
  9335. 2004-12-17 Geoff Norton <[email protected]>
  9336. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  9337. Make caret exist and go blink blink. Initial keyboard support.
  9338. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  9339. works.
  9340. 2004-12-17 Jackson Harper <[email protected]>
  9341. * XplatUIStructs.cs: Updated set of virtual keycodes.
  9342. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  9343. 2004-12-17 Jackson Harper <[email protected]>
  9344. * XplatUIX11.cs: Prune old keyboard code.
  9345. 2004-12-17 Jackson Harper <[email protected]>
  9346. * XplatUIX11.cs: When generating mouse wparams get the modifier
  9347. keys from the ModifierKeys property.
  9348. 2004-12-17 Jackson Harper <[email protected]>
  9349. * X11Keyboard.cs: Send up/down input when generating
  9350. messages. Remove some unused vars.
  9351. 2004-12-17 Jackson Harper <[email protected]>
  9352. * TabControl.cs:
  9353. * TreeView.cs: get rid of warnings.
  9354. 2004-12-17 Jackson Harper <[email protected]>
  9355. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  9356. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  9357. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  9358. CheckedListBox.cs: Implementation
  9359. 2004-12-17 Peter Bartok <[email protected]>
  9360. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  9361. 2004-12-16 Peter Bartok <[email protected]>
  9362. * TextControl.cs:
  9363. - InsertCharAtCaret(): Fixed start pos fixup
  9364. - CaretLine_get: No longer derives the line from the tag, the tag
  9365. could be stale if lines in the document have been added or deleted
  9366. - RebalanceAfterDelete(): Fixed bug in balancing code
  9367. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  9368. - Line.Streamline(): Now can also elminate leading empty tags
  9369. - DumpTree(): Added a few more tests and prevented exception on
  9370. uninitialized data
  9371. - Added Debug section for Combining lines
  9372. - Delete(): Now copies all remaining properties of a line
  9373. * TextBoxBase.cs:
  9374. - Left mousebutton now sets the caret (and middle button still acts
  9375. as formatting tester, which must go away soon)
  9376. - Added Debug section for Deleting/Combining lines
  9377. - Fixed calculations for UpdateView after Combining lines
  9378. 2004-12-16 Peter Bartok <[email protected]>
  9379. * TextControl.cs: Now properly aligns text on a baseline, using the
  9380. new XplatUI.GetFontMetrics() method. Simplified several calculations
  9381. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  9382. defined
  9383. 2004-12-16 Peter Bartok <[email protected]>
  9384. * XplatUI.cs: Added GetFontMetrics() method
  9385. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  9386. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  9387. into libgdiplus, our private GetFontMetrics function
  9388. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  9389. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  9390. 2004-12-16 Jackson Harper <[email protected]>
  9391. * XplatUIStruct.cs: Add enum for dead keys
  9392. * X11Keyboard.cs: Map and unmap dead keys.
  9393. 2004-12-16 Jackson Harper <[email protected]>
  9394. * X11Keyboard.cs: Detect and use the num lock mask.
  9395. 2004-12-16 Peter Bartok <[email protected]>
  9396. * Control.cs (CreateGraphics): Added check to make sure the
  9397. handle of the window exists before calling Graphics.FromHwnd()
  9398. 2004-12-16 Peter Bartok <[email protected]>
  9399. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  9400. contains a lot of code that's not supposed to be there for the
  9401. real thing, but required for developing/testing the textbox
  9402. backend.
  9403. 2004-12-16 Peter Bartok <[email protected]>
  9404. * TextControl.cs:
  9405. - Fixed Streamline method
  9406. - Added FindTag method to Line
  9407. - Added DumpTree method for debugging
  9408. - Added DecrementLines() method for deleting lines
  9409. - Fixed UpdateView to update the cursor to end-of-line on single-line
  9410. updates
  9411. - Added PositionCaret() method
  9412. - Fixed MoveCaret(LineDown) to move into the last line, too
  9413. - Added InsertChar overload
  9414. - Fixed InsertChar tag offset calculations
  9415. - Added DeleteChar() method
  9416. - Added Combine() method for folding lines
  9417. - Fixed Delete() method, no longer allocates wasted Line object and
  9418. now copies all properties when swapping nodes
  9419. - Delete() method now updates document line counter
  9420. 2004-12-15 Jackson Harper <[email protected]>
  9421. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  9422. * X11Keyboard.cs: Expose the currently selected modifier keys
  9423. through a property.
  9424. 2004-12-15 Peter Bartok <[email protected]>
  9425. * TextControl.cs: Initial check-in. Still incomplete
  9426. 2004-12-15 Jackson Harper <[email protected]>
  9427. * TreeNode.cs:
  9428. * TreeView.cs: Fix build on csc (second time today ;-))
  9429. 2004-12-15 Jackson Harper <[email protected]>
  9430. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  9431. is calculated and use this for click testing.
  9432. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  9433. 2004-12-15 Jackson Harper <[email protected]>
  9434. * TreeView.cs: Pass the nodes image index to the image list when
  9435. drawing that image.
  9436. 2004-12-15 Jackson Harper <[email protected]>
  9437. * X11Keyboard.cs: Set messages hwnd.
  9438. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  9439. post_message calls.
  9440. 2004-12-15 Jackson Harper <[email protected]>
  9441. * X11Keyboard.cs: Fix to compile with csc.
  9442. 2004-12-15 Jackson Harper <[email protected]>
  9443. * X11Structs.cs: Add key mask values
  9444. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  9445. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  9446. down/up foo into WM_CHAR foo
  9447. * KeyboardLayouts.cs: Common keyboard layouts
  9448. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  9449. post messages into the main queue.
  9450. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  9451. * Button.cs: implement ProcessMnemonic
  9452. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  9453. brushes everytime
  9454. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  9455. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  9456. 2004-12-12 John BouAntoun <[email protected]>
  9457. * MonthCalendar.cs: Implemented click-hold for next/previous month
  9458. and date selection
  9459. 2004-12-11 Peter Bartok <[email protected]>
  9460. * X11Structs.cs:
  9461. - Added XKeyboardState (moved from XplatUIX11.cs)
  9462. - Added XCreateGC related enums and structures
  9463. - Added GXFunction for XSetFunction
  9464. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  9465. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  9466. CaretVisible() calls
  9467. * ToolTip.cs: Added code to prevent stealing focus from app windows
  9468. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  9469. DestroyCaret, SetCaretPos and CaretVisible)
  9470. * XplatUIX11.cs:
  9471. - Added implementation for caret functions
  9472. - Moved hover variables into a struct, to make it a bit easier
  9473. on the eyes and to debug
  9474. - Removed XKeyboardState (moved to XplatUIX11.cs)
  9475. - Moved Keyboard properties into the properties region
  9476. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  9477. call to get a graphics context for our control
  9478. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  9479. * TreeView.cs: Fixed bug. No matter what color was set it would always
  9480. return SystemColors.Window
  9481. * XplatUIWin32.cs: Implemented caret overrides
  9482. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  9483. * ListBox.cs: fire events, implement missing methods and properties,
  9484. sorting.
  9485. 2004-12-10 John BouAntoun <[email protected]>
  9486. * MonthCalendar.cs: invalidation bug fixing
  9487. * ThemeWin32Classic.cs: paint fixing
  9488. 2004-12-09 Geoff Norton <[email protected]>
  9489. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  9490. prepare the CGContextRef there now.
  9491. 2004-12-09 John BouAntoun <[email protected]>
  9492. * MonthCalendar.cs:
  9493. - optimisationL only invalidate areas that have changed
  9494. * ThemeWin32Classic.cs:
  9495. - only paint parts that intersect with clip_area
  9496. 2004-12-09 Peter Bartok <[email protected]>
  9497. * Application.cs: Undid changes from r37004 which cause problems
  9498. on X11
  9499. 2004-12-09 Ravindra <[email protected]>
  9500. * ToolBar.cs: Added support for displaying ContextMenu
  9501. attached to a button on ToolBar.
  9502. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  9503. property.
  9504. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  9505. * Label.cs: autosize works in text change and removes unnecessary
  9506. invalidate
  9507. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  9508. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  9509. remove warnings
  9510. 2004-12-08 Geoff Norton <[email protected]>
  9511. * XplatUIOSX.cs: Added mouse move/click/grab support
  9512. Remove some debugging WriteLines not needed anymore.
  9513. Add window resizing/positioning.
  9514. Fix visibility on reparenting.
  9515. 2004-12-08 Peter Bartok <[email protected]>
  9516. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  9517. 2004-12-07 Geoff Norton <[email protected]>
  9518. * XplatUIOSX.cs: Initial checkin
  9519. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  9520. 2004-12-03 Ravindra <[email protected]>
  9521. * ListView.cs: Added some keybindings and fixed scrolling.
  9522. ScrollBars listen to ValueChanged event instead of Scroll
  9523. Event. This would let us take care of all changes being
  9524. done in the scrollbars' values programmatically or manually.
  9525. * ListView.cs (CanMultiselect): Added a check for shift key.
  9526. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  9527. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  9528. of ListViewSubItemCollection as well.
  9529. 2004-12-06 Peter Bartok <[email protected]>
  9530. * Control.cs (Parent): Added check and exception to prevent
  9531. circular parenting
  9532. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  9533. * ListBox.cs: implemented clipping, selection single and multiple,
  9534. bug fixing
  9535. 2004-12-03 Ravindra <[email protected]>
  9536. * ListView.cs (ListView_KeyDown):
  9537. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  9538. when CTRL key is pressed.
  9539. * ListViewItem.cs (Selected): Fixed setting the property.
  9540. 2004-12-03 Marek Safar <[email protected]>
  9541. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  9542. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  9543. MinimizeBox, ShowInTaskbar, TopMost properties.
  9544. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  9545. will be implemented).
  9546. 2004-12-03 Marek Safar <[email protected]>
  9547. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  9548. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  9549. tests.
  9550. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  9551. * TreeView.cs: BackColor is Colors.Window.
  9552. 2004-12-01 Jackson Harper <[email protected]>
  9553. * TreeView.cs: When resizing the tree if the user is making it
  9554. smaller we don't get expose events, so we need to handle adding
  9555. the horizontal scrollbar in the size changed handler as well as
  9556. the expose handler.
  9557. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  9558. * DrawItemState.cs: fixes wrong enum values
  9559. 2004-12-01 Jackson Harper <[email protected]>
  9560. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  9561. 2004-12-01 Jackson Harper <[email protected]>
  9562. * NodeLabelEditEventArgs.cs:
  9563. * NodeLabelEditEventHandler.cs:
  9564. * OpenTreeNodeEnumerator.cs:
  9565. * TreeNode.cs:
  9566. * TreeNodeCollection.cs:
  9567. * TreeView.cs:
  9568. * TreeViewAction.cs:
  9569. * TreeViewCancelEventArgs.cs:
  9570. * TreeViewCancelEventHandler.cs:
  9571. * TreeViewEventArgs.cs:
  9572. * TreeViewEventHandler.cs: Initial implementation.
  9573. 2004-12-01 Ravindra <[email protected]>
  9574. * ListView.cs (CalculateListView): Fixed scrolling related
  9575. calculations. Also, removed some debug statements from other
  9576. places.
  9577. * ListViewItem.cs: Changed access to 'selected' instance variable
  9578. from private to internal.
  9579. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  9580. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  9581. * ThemeWin32Classic.cs: remove cache of brush and pens for
  9582. specific controls and use the global system, fixes scrollbutton
  9583. bugs (for small sizes, disabled, etc)
  9584. * ScrollBar.cs: does not show the thumb for very small controls
  9585. (as MS) and allow smaller buttons that the regular size
  9586. 2004-12-01 Miguel de Icaza <[email protected]>
  9587. * UpDownBase.cs: Add abstract methods for the interface.
  9588. Add new virtual methods (need to be hooked up to TextEntry when it
  9589. exists).
  9590. Add override methods for most features.
  9591. Computes the size, forces the height of the text entry.
  9592. * NumericUpDown.cs: Put here the current testing code.
  9593. * Set eol-style property on all files that do not have mixed line
  9594. endings, to minimize the future problems. There are still a few
  9595. files with mixed endings, and someone should choose whether they
  9596. want to move it or not.
  9597. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  9598. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  9599. System.Colors
  9600. 2004-11-30 Ravindra <[email protected]>
  9601. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  9602. drawing and replaced use of SystemColors by theme colors.
  9603. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  9604. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  9605. same ListViewItem is being added more than once.
  9606. 2004-11-30 John BouAntoun <[email protected]>
  9607. * MonthCalendar.cs:
  9608. - ControlStyles love to make the control not flicker
  9609. 2004-11-30 Peter Bartok <[email protected]>
  9610. * CharacterCasing.cs: Added
  9611. 2004-11-29 Peter Bartok <[email protected]>
  9612. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  9613. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  9614. I am removing these files as they conflict with already completed
  9615. work. While it is fantastic to get contributions to MWF, I
  9616. respectfully ask that everyone please coordinate their contributions
  9617. through mono-winforms-list or #mono-winforms at this time. We're
  9618. explicitly avoiding stubbing and don't want controls that don't have
  9619. their basic functionality implemented in svn. Please also see
  9620. http://www.mono-project.com/contributing/winforms.html
  9621. 2004-11-29 Marek Safar <[email protected]>
  9622. * Application.cs (ModalRun): Don't hang after exit.
  9623. * Theme.cs: New TreeViewDefaultSize property.
  9624. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  9625. with less hardcoded SystemColors constant.
  9626. Implemented TreeViewDefaultSize.
  9627. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  9628. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  9629. 2004-11-29 John BouAntoun <[email protected]>
  9630. * MonthCalendar.cs:
  9631. - Fix NextMonthDate and PrevMonthDate click moving calendar
  9632. 2004-11-26 John BouAntoun <[email protected]>
  9633. * MonthCalendar.cs:
  9634. - Fix usage of ScrollChange Property when scrolling months
  9635. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  9636. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  9637. - Fixes menu destroying
  9638. - Support adding and removing items on already created menus
  9639. 2004-11-26 John BouAntoun <[email protected]>
  9640. * MonthCalendar.cs:
  9641. - Re-worked all bolded dates handling to match win32
  9642. * ThemeWin32Classic.cs:
  9643. - Fixed rendering with bolded dates
  9644. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  9645. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  9646. - Horizontal scroolbar
  9647. - Multicolumn
  9648. - Fixes
  9649. 2004-11-25 John BouAntoun <[email protected]>
  9650. * MonthCalendar.cs:
  9651. - Fix Usage of MaxSelectionCount from SelectionRange
  9652. - Fixed Shift + Cursor Selection
  9653. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  9654. - Fixed normal cursor selection to be compat with win32
  9655. - Fixed Shift + Mouse Click selection
  9656. 2004-11-24 Peter Bartok <[email protected]>
  9657. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  9658. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  9659. * XplatUIX11.cs:
  9660. - CreatedKeyBoardMsg now updates keystate with Alt key
  9661. - Added workaround for timer crash to CheckTimers, Jackson will
  9662. develop a proper fix and check in later
  9663. - Implemented DispatchMessage
  9664. - Removed calling the native window proc from GetMessage (call
  9665. now moved to DispatchMessage)
  9666. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  9667. the keydata (Fixes bug #69831)
  9668. * XplatUIWin32.cs:
  9669. - (DispatchMessage): Switched to return IntPtr
  9670. - Added DllImport for SetFocus
  9671. 2004-11-24 Ravindra <[email protected]>
  9672. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  9673. background drawing.
  9674. * ListViewItem.cs: Fixed various properties, calculations
  9675. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  9676. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  9677. and some internal properties. Fixed MouseDown handler and Paint
  9678. method.
  9679. 2004-11-24 John BouAntoun <[email protected]>
  9680. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  9681. 2004-11-24 John BouAntoun <[email protected]>
  9682. * ContainerControl.cs: correct accidental check in of local changes
  9683. 2004-11-24 John BouAntoun <[email protected]>
  9684. * ThemeWin32Classic.cs:
  9685. - Fixed Drawing Last month in grid (sometimes not showing)
  9686. * MonthCalendar.cs:
  9687. - Fixed title width calculation bug (makeing title small)
  9688. 2004-11-23 Peter Bartok <[email protected]>
  9689. * XplatUIX11.cs:
  9690. - Added generation of WM_MOUSEHOVER event
  9691. - Added missing assignment of async_method atom
  9692. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  9693. 2004-11-23 John BouAntoun <[email protected]>
  9694. * ThemeWin32Classic.cs:
  9695. - Fixed Drawing of today circle when showtodaycircle not set
  9696. - fixed drawing of first and last month in the grid (gay dates)
  9697. * MonthCalendar.cs:
  9698. - Fixed Drawing of today circle
  9699. - Fixed drawing of grady dates
  9700. - Fixed HitTest for today link when ShowToday set to false
  9701. - Fixed DefaultSize to obey ShowToday
  9702. 2004-11-23 John BouAntoun <[email protected]>
  9703. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  9704. * System.Windows.Forms/Theme.cs
  9705. * MonthCalendar.cs: added for MonthCalendar
  9706. * SelectionRange.cs: added for MonthCalendar
  9707. * Day.cs: added for MonthCalendar: added for MonthCalendar
  9708. * DateRangeEventArgs.cs: added for MonthCalendar
  9709. * DateRangeEventHandler.cs: added for MonthCalendar
  9710. 2004-11-22 Ravindra <[email protected]>
  9711. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  9712. property.
  9713. 2004-11-22 Miguel de Icaza <[email protected]>
  9714. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  9715. event handler.
  9716. * NumericUpDown.cs: Added new implementation.
  9717. * UpDownBase.cs: Added new implementation.
  9718. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  9719. implementations.
  9720. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  9721. implementations.
  9722. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  9723. methods.
  9724. 2004-11-21 Miguel de Icaza <[email protected]>
  9725. * Timer.cs (Dispose): Should call the base dispose when
  9726. overriding.
  9727. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  9728. * ScrollBar.cs: updates thumb position when max, min or increment
  9729. is changed
  9730. 2004-11-21 Ravindra <[email protected]>
  9731. * ListView.cs: Implemented item selection, activation and
  9732. column header style. Fixed properties to do a redraw, if
  9733. required. Added support for MouseHover, DoubleClick, KeyDown
  9734. and KeyUp event handling and some minor fixes.
  9735. * ListViewItem.cs: Fixed constructor.
  9736. * ThemeWin32Classic.cs: Improved drawing for ListView.
  9737. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  9738. * ThemeWin32Classic.cs: initial listbox drawing code
  9739. * DrawMode.cs: new enumerator
  9740. * ListControl.cs: stubbed class
  9741. * ListBox.cs: initial implementation
  9742. * Theme.cs: new methods definitions
  9743. * SelectionMode.cs: new enumerator
  9744. 2004-11-17 Peter Bartok <[email protected]>
  9745. * XplatUIWin32.cs: Added double-click events to the class style
  9746. * Control.cs (WndProc):
  9747. - Added handling of click-count to MouseDown/ MouseUp events.
  9748. - Added handling of middle and right mouse buttons
  9749. - Removed old debug code
  9750. 2004-11-17 Jackson Harper <[email protected]>
  9751. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  9752. 2004-11-17 Ravindra <[email protected]>
  9753. * ListView.cs: Added event handling for MouseMove/Up/Down.
  9754. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  9755. * ThemeWin32Classic.cs: We need to clear the graphics context and
  9756. draw column header in a proper state.
  9757. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  9758. * Menu.cs: fixes signature
  9759. 2004-11-16 Peter Bartok <[email protected]>
  9760. * XplatUIX11.cs (GetMessage): Implemented generation of
  9761. double click mouse messages
  9762. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  9763. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  9764. not by menu
  9765. 2004-11-11 Peter Bartok <[email protected]>
  9766. * HandleData.cs: Added Visible property
  9767. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  9768. HandleData
  9769. * XplatUIX11.cs: Removed old debug leftovers
  9770. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  9771. * Control.cs (WndProc): Removed old debug leftovers,
  9772. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  9773. needed WM_SIZE handling
  9774. 2004-11-11 Jackson Harper <[email protected]>
  9775. * OwnerDrawPropertyBag.cs:
  9776. * TreeViewImageIndexConverter.cs: Initial implementation
  9777. 2004-11-10 Jackson Harper <[email protected]>
  9778. * ThemeWin32Classic.cs:
  9779. * TabControl.cs: instead of moving tabs by the slider pos just
  9780. start drawing at the tab that is offset by the slider. This way
  9781. scrolling always moves by exactly one tab.
  9782. 2004-11-10 Jackson Harper <[email protected]>
  9783. * TabControl.cs: You can only scroll left when the slider has
  9784. already ben moved right.
  9785. 2004-11-10 Jackson Harper <[email protected]>
  9786. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  9787. the clip area.
  9788. 2004-11-10 Jackson Harper <[email protected]>
  9789. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  9790. clip area.
  9791. 2004-11-09 Jackson Harper <[email protected]>
  9792. * TabControl.cs (CalcXPos): New helper method so we can determine
  9793. the proper place to start drawing vertical tabs.
  9794. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  9795. 2004-11-09 Jackson Harper <[email protected]>
  9796. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  9797. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  9798. and Bottom, left and right are illegal values for this and
  9799. multiline is enabled when the alignment is set to left or right.
  9800. (DrawTab): Each alignment block should draw the text itself now
  9801. because Left requires special love. Also add rendering for Left
  9802. aligned tabs.
  9803. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  9804. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  9805. does not destroy the windows, removes debugging messages
  9806. 2004-11-09 jba <[email protected]>
  9807. * ThemeWin32Classic.cs
  9808. (DrawButtonBase): Fix verticle text rect clipping in windows
  9809. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  9810. rendering and incorrect text rect clipping
  9811. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  9812. rendering and incorrect text rect clipping
  9813. 2004-11-08 Jackson Harper <[email protected]>
  9814. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  9815. bottom when they are bottom aligned so the bottoms of the tabs get
  9816. displayed.
  9817. * TabControl.cs (DropRow): Move rows up instead of down when the
  9818. tab control is bottom aligned.
  9819. 2004-11-08 13:59 pbartok
  9820. * XplatUIX11.cs:
  9821. - Added handling for various window styles
  9822. - Added handling for popup windows
  9823. - Added SetTopmost handling
  9824. 2004-11-08 13:55 pbartok
  9825. * XplatUIWin32.cs:
  9826. - Added argument to SetTopmost method
  9827. - Fixed broken ClientToScreen function
  9828. 2004-11-08 13:53 pbartok
  9829. * XplatUIStructs.cs:
  9830. - Added missing WS_EX styles
  9831. 2004-11-08 13:53 pbartok
  9832. * XplatUI.cs, XplatUIDriver.cs:
  9833. - Added argument to SetTopmost
  9834. 2004-11-08 13:52 pbartok
  9835. * X11Structs.cs:
  9836. - Added XSetWindowAttributes structure
  9837. - Improved XWindowAttributes structure
  9838. - Added SetWindowValuemask enum
  9839. - Added window creation arguments enum
  9840. - Added gravity enum
  9841. - Added Motif hints structure
  9842. - Added various Motif flags and enums
  9843. - Added PropertyMode enum for property functions
  9844. 2004-11-08 13:50 pbartok
  9845. * Form.cs:
  9846. - Fixed arguments for updated SetTopmost method
  9847. 2004-11-08 13:49 pbartok
  9848. * ToolTip.cs:
  9849. - Fixed arguments for updated SetTopmost function
  9850. - Fixed usage of PointToClient
  9851. 2004-11-08 13:44 pbartok
  9852. * MenuAPI.cs:
  9853. - Added Clipping of children and siblings
  9854. 2004-11-08 13:41 pbartok
  9855. * MainMenu.cs:
  9856. - Removed SetMenuBarWindow call. We do this in Form.cs
  9857. 2004-11-08 13:40 jackson
  9858. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  9859. scrolling jimmi in the correct location with bottom aligned tabs
  9860. 2004-11-08 13:36 pbartok
  9861. * ContainerControl.cs:
  9862. - Implemented BindingContext
  9863. - Implemented ParentForm
  9864. 2004-11-08 12:46 jackson
  9865. * TabControl.cs: Put bottom rendered tabs in the right location
  9866. 2004-11-08 07:15 jordi
  9867. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  9868. removes dead code
  9869. 2004-11-05 17:30 jackson
  9870. * TabControl.cs: When selected tabs are expanded make sure they
  9871. don't go beyond the edges of the tab control
  9872. 2004-11-05 14:57 jackson
  9873. * TabControl.cs: Reset show_slider so if the control is resized to
  9874. a size where it is no longer needed it's not displayed anymore
  9875. 2004-11-05 13:16 jackson
  9876. * TabControl.cs: Make tab pages non visible when added to the
  9877. control
  9878. 2004-11-05 12:42 jackson
  9879. * TabControl.cs: Implement SizeMode.FillToRight
  9880. 2004-11-05 12:16 jackson
  9881. * Control.cs: Do not call CreateHandle if the handle is already
  9882. created
  9883. 2004-11-05 11:46 jackson
  9884. * TabControl.cs: Remove superflous call to CalcTabRows
  9885. 2004-11-05 09:07 jackson
  9886. * XplatUIX11.cs: Update for Mono.Posix changes
  9887. 2004-11-05 07:00 ravindra
  9888. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  9889. scrolling.
  9890. 2004-11-04 22:47 jba
  9891. * ThemeWin32Classic.cs:
  9892. - Fix Button rendering for FlatStyle = Flat or Popup
  9893. - Fix RadioButton and CheckBox rendering when Appearance = Button
  9894. (normal and flatstyle).
  9895. - Correct outer rectangle color when drawing focus rectangle
  9896. - Adjust button bounds to be 1 px smaller when focused
  9897. - Make button not draw sunken 3d border when pushed (windows compat)
  9898. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  9899. - Offset the text in RadioButton and Checkbox when being rendered as
  9900. a button.
  9901. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  9902. radiobuttons
  9903. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  9904. - Fixed disabled text rendering for normally rendered radiobuttons
  9905. 2004-11-04 10:26 jackson
  9906. * TabControl.cs: Recalculate tab rows when resizing
  9907. 2004-11-04 07:47 jordi
  9908. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  9909. collection completion, drawing issues, missing features
  9910. 2004-11-04 05:03 ravindra
  9911. * ScrollBar.cs:
  9912. - We need to recalculate the Thumb area when
  9913. LargeChange/maximum/minimum values are changed.
  9914. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  9915. than minimum. This is required to handle the case if large_change is
  9916. more than max, and use LargeChange property instead of large_change
  9917. variable.
  9918. - We return max+1 when large_change is more than max, like MS does.
  9919. 2004-11-04 04:29 ravindra
  9920. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  9921. - Changed default value signatures (prefixed all with ListView).
  9922. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  9923. ListView.
  9924. - Fixed calculations for ListViewItem and implemented Clone()
  9925. method.
  9926. 2004-11-04 04:26 ravindra
  9927. * Theme.cs, ThemeWin32Classic.cs:
  9928. - Changed default ListView values signatures (prefixed all with
  9929. ListView).
  9930. - Fixed default size values for VScrollBar and HScrollBar.
  9931. - Fixed DrawListViewItem method.
  9932. 2004-11-04 04:05 ravindra
  9933. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  9934. 2004-11-04 04:04 ravindra
  9935. * ImageList.cs: Implemented the missing overload for Draw method.
  9936. 2004-11-03 19:29 jackson
  9937. * TabControl.cs: Handle dropping rows on selection properly
  9938. 2004-11-03 11:59 jackson
  9939. * TabControl.cs: remove debug code
  9940. 2004-11-03 11:52 jackson
  9941. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  9942. the scrolly widgerywoo
  9943. 2004-11-02 13:52 jackson
  9944. * TabControl.cs: Resize the tab pages and tabs when the tab control
  9945. is resized
  9946. 2004-11-02 13:40 jackson
  9947. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  9948. selected tab to the bottom
  9949. 2004-11-02 13:39 jackson
  9950. * TabPage.cs: Store the tab pages row
  9951. 2004-11-02 12:33 jordi
  9952. * MenuItem.cs: fixes handle creation
  9953. 2004-11-02 11:42 jackson
  9954. * TabControl.cs: signature fix
  9955. 2004-11-02 08:56 jackson
  9956. * TabControl.cs: Calculate whether the tab is on an edge properly.
  9957. Remove top secret debugging code
  9958. 2004-11-01 19:57 jackson
  9959. * TabControl.cs: Add click handling, and proper sizing
  9960. 2004-11-01 19:47 jackson
  9961. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  9962. tab controls
  9963. 2004-11-01 19:39 jackson
  9964. * TabPage.cs: add internal property to store the bounds of a tab
  9965. page
  9966. 2004-10-30 04:23 ravindra
  9967. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  9968. values.
  9969. 2004-10-30 04:21 ravindra
  9970. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  9971. fixed calculations.
  9972. 2004-10-30 03:06 pbartok
  9973. * XplatUIX11.cs:
  9974. - Removed extension of DllImported libs
  9975. 2004-10-29 09:55 jordi
  9976. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  9977. navigation, itemcollection completion, menu fixes
  9978. 2004-10-27 22:58 pbartok
  9979. * XplatUIX11.cs:
  9980. - Now throws a nice error message when no X display could be opened
  9981. 2004-10-26 13:51 jordi
  9982. * ListView.cs: removes warning
  9983. 2004-10-26 03:55 ravindra
  9984. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  9985. ThemeWin32Classic.cs: Some formatting for my last checkins.
  9986. 2004-10-26 03:36 ravindra
  9987. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  9988. control and default values.
  9989. 2004-10-26 03:35 ravindra
  9990. * Theme.cs: Added some default values for ListView control.
  9991. 2004-10-26 03:33 ravindra
  9992. * ToolBar.cs: ToolBar should use the user specified button size, if
  9993. there is any. Added a size_specified flag for the same.
  9994. 2004-10-26 03:33 ravindra
  9995. * ColumnHeader.cs: Added some internal members and calculations for
  9996. ColumnHeader.
  9997. 2004-10-26 03:32 ravindra
  9998. * ListViewItem.cs: Calculations for ListViewItem.
  9999. 2004-10-26 03:31 ravindra
  10000. * ListView.cs: Added some internal members and calculations for
  10001. ListView.
  10002. 2004-10-22 13:31 jordi
  10003. * MenuAPI.cs: speedup menus drawing
  10004. 2004-10-22 13:16 jackson
  10005. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  10006. expose event
  10007. 2004-10-22 11:49 jackson
  10008. * Control.cs: oops
  10009. 2004-10-22 11:41 jackson
  10010. * Control.cs: Check to see if the window should have its background
  10011. repainted by X when drawing.
  10012. 2004-10-22 11:31 jackson
  10013. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  10014. clear is true, this way we do not get flicker from X repainting the
  10015. background
  10016. 2004-10-22 11:28 jackson
  10017. * XEventQueue.cs: Queue properly
  10018. 2004-10-21 09:38 jackson
  10019. * XEventQueue.cs: Fix access modifier
  10020. 2004-10-21 09:36 jackson
  10021. * XEventQueue.cs: Don't loose messages
  10022. 2004-10-21 09:22 jackson
  10023. * XEventQueue.cs: Don't loose messages
  10024. 2004-10-20 04:15 jordi
  10025. * BootMode.cs: enum need it by SystemInfo
  10026. 2004-10-19 21:58 pbartok
  10027. * XplatUIWin32.cs:
  10028. - Small sanity check
  10029. 2004-10-19 21:56 pbartok
  10030. * Form.cs:
  10031. - Added private FormParentWindow class which acts as the container
  10032. for our form and as the non-client area where menus are drawn
  10033. - Added/Moved required tie-ins to Jordi's menus
  10034. - Fixed/Implemented the FormStartPosition functionality
  10035. 2004-10-19 21:52 pbartok
  10036. * Control.cs:
  10037. - Removed unneeded locals
  10038. - Added code to all size and location properties to understand and
  10039. deal with the parent container of Form
  10040. 2004-10-19 21:33 pbartok
  10041. * Application.cs:
  10042. - Fixed to deal with new Form subclasses for menus
  10043. 2004-10-19 17:48 jackson
  10044. * XEventQueue.cs: commit correct version of file
  10045. 2004-10-19 16:50 jackson
  10046. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  10047. 2004-10-19 16:15 jordi
  10048. * MenuAPI.cs: MenuBarCalcSize returns the height
  10049. 2004-10-19 08:31 pbartok
  10050. * Control.cs:
  10051. - Added missing call to PreProcessMessage before calling OnXXXKey
  10052. methods
  10053. 2004-10-19 00:04 ravindra
  10054. * ToolTip.cs: Fixed constructor.
  10055. 2004-10-18 09:31 jordi
  10056. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  10057. 2004-10-18 09:26 jordi
  10058. * MenuItem.cs: fixes MenuItem class signature
  10059. 2004-10-18 08:56 jordi
  10060. * MenuAPI.cs: prevents windows from showing in the taskbar
  10061. 2004-10-18 00:28 ravindra
  10062. * ToolTip.cs: Suppressed a warning message.
  10063. 2004-10-18 00:27 ravindra
  10064. * Control.cs: Default value of visible property must be true.
  10065. 2004-10-17 23:19 pbartok
  10066. * ToolTip.cs:
  10067. - Complete implementation
  10068. 2004-10-17 23:19 pbartok
  10069. * XplatUIX11.cs:
  10070. - Added EnableWindow method
  10071. - Added SetModal stub
  10072. - Added generation of WM_ACTIVATE message (still needs testing)
  10073. - Added SetTopMost stub
  10074. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  10075. 2004-10-17 23:17 pbartok
  10076. * XplatUIWin32.cs:
  10077. - Removed VirtualKeys to XplatUIStructs
  10078. - Implemented SetTopMost method
  10079. - Implemented EnableWindow method
  10080. - Bugfix in ScreenToClient()
  10081. - Bugfixes in ClientToScreen()
  10082. 2004-10-17 22:51 pbartok
  10083. * XplatUIStructs.cs:
  10084. - Added WS_EX styles to WindowStyles enumeration
  10085. 2004-10-17 22:50 pbartok
  10086. * XplatUI.cs, XplatUIDriver.cs:
  10087. - Added method for enabling/disabling windows
  10088. - Added method for setting window modality
  10089. - Added method for setting topmost window
  10090. 2004-10-17 22:49 pbartok
  10091. * ThemeWin32Classic.cs:
  10092. - Added ToolTip drawing code
  10093. 2004-10-17 22:49 pbartok
  10094. * Theme.cs:
  10095. - Added ToolTip abstracts
  10096. 2004-10-17 22:47 pbartok
  10097. * Form.cs:
  10098. - Fixed Form.ControlCollection to handle owner relations
  10099. - Added Owner/OwnedForms handling
  10100. - Implemented Z-Ordering for owned forms
  10101. - Removed unneeded private overload of ShowDialog
  10102. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  10103. so I hope)
  10104. - Fixed Close(), had wrong default
  10105. - Added firing of OnLoad event
  10106. - Added some commented out debug code for Ownership handling
  10107. 2004-10-17 22:16 pbartok
  10108. * Control.cs:
  10109. - Fixed/implemented flat list of controls
  10110. 2004-10-17 22:14 pbartok
  10111. * Application.cs:
  10112. - Added code to simulate modal dialogs on Win32
  10113. 2004-10-17 16:11 jordi
  10114. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  10115. mouse event
  10116. 2004-10-17 13:39 jordi
  10117. * MenuAPI.cs: menu drawing fixes
  10118. 2004-10-15 09:10 ravindra
  10119. * StructFormat.cs: General Enum.
  10120. 2004-10-15 09:09 ravindra
  10121. * SizeGripStyle.cs: Enum for Form.
  10122. 2004-10-15 09:08 ravindra
  10123. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  10124. in Theme for ListView.
  10125. 2004-10-15 09:06 ravindra
  10126. * ColumnHeader.cs: Flushing some formatting changes.
  10127. 2004-10-15 09:05 ravindra
  10128. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  10129. style.
  10130. 2004-10-15 09:03 ravindra
  10131. * ListView.cs: Implemented Paint method and fixed coding style.
  10132. 2004-10-15 07:34 jordi
  10133. * MenuAPI.cs: fix for X11
  10134. 2004-10-15 07:32 ravindra
  10135. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  10136. - Renamed Paint() method to Draw() for clarity. Also, moved
  10137. DrawImage() to OnPaint().
  10138. 2004-10-15 07:25 ravindra
  10139. * CheckBox.cs, RadioButton.cs:
  10140. - Removed Redraw (), we get it from ButtonBase.
  10141. - Implemented Paint (), to do class specific painting.
  10142. 2004-10-15 07:16 ravindra
  10143. * ButtonBase.cs:
  10144. - Redraw () is not virtual now.
  10145. - Added an internal virtual method Paint (), so that
  10146. derived classes can do their painting on their own.
  10147. - Modified OnPaint () to call Paint ().
  10148. 2004-10-15 06:43 jordi
  10149. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  10150. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  10151. 2004-10-15 00:30 ravindra
  10152. * MessageBox.cs:
  10153. - MessageBox on windows does not have min/max buttons.
  10154. This change in CreateParams fixes this on Windows. We
  10155. still need to implement this windowstyle behavior in
  10156. our X11 driver.
  10157. 2004-10-14 05:14 ravindra
  10158. * ToolBar.cs:
  10159. - Changed Redraw () to do a Refresh () always.
  10160. - Fixed the MouseMove event handling when mouse is pressed,
  10161. ie drag event handling.
  10162. - Replaced the usage of ToolBarButton.Pressed property to
  10163. ToolBarButton.pressed internal variable.
  10164. 2004-10-14 05:10 ravindra
  10165. * ToolBarButton.cs:
  10166. - Added an internal member 'inside' to handle mouse move
  10167. with mouse pressed ie mouse drag event.
  10168. - Changed 'Pressed' property to return true only when
  10169. 'inside' and 'pressed' are both true.
  10170. - Some coding style love.
  10171. 2004-10-14 00:17 ravindra
  10172. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  10173. public method.
  10174. 2004-10-14 00:15 ravindra
  10175. * ButtonBase.cs: Redraw () related improvements.
  10176. 2004-10-14 00:14 ravindra
  10177. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  10178. removed unnecessary calls to Button.Show () method.
  10179. 2004-10-13 17:50 pbartok
  10180. * XplatUIX11.cs:
  10181. - Formatting fix
  10182. - Removed destroying of window until we solve the problem of X
  10183. destroying the window before us on shutdown
  10184. 2004-10-13 16:32 pbartok
  10185. * ButtonBase.cs:
  10186. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  10187. 2004-10-13 14:18 pbartok
  10188. * XplatUIX11.cs:
  10189. - Added code to destroy the X window
  10190. 2004-10-13 14:18 pbartok
  10191. * XplatUIWin32.cs:
  10192. - Added code to destroy a window
  10193. 2004-10-13 14:12 pbartok
  10194. * ButtonBase.cs:
  10195. - Added the Redraw on Resize that got dropped in the last rev
  10196. 2004-10-13 09:06 pbartok
  10197. * ThemeWin32Classic.cs:
  10198. - Path from John BouAntoun:
  10199. * Fix check rendering (centre correctly for normal style, offset
  10200. correctly for FlatStyle).
  10201. * Fix border color usage (use backcolor) for FlatStyle.Popup
  10202. * Use checkbox.Capture instead of checkbox.is_pressed when
  10203. rendering flatstyle states.
  10204. 2004-10-12 21:48 pbartok
  10205. * ThemeWin32Classic.cs:
  10206. - Removed all occurences of SystemColors and replaced them with the
  10207. matching theme color
  10208. 2004-10-12 21:41 pbartok
  10209. * ThemeWin32Classic.cs:
  10210. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  10211. him using the function for flatstyle drawing
  10212. - Changed functions to use the new version of CPDrawBorder3D
  10213. 2004-10-12 21:15 pbartok
  10214. * ControlPaint.cs:
  10215. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  10216. match MS documentation. They need to return defined colors if the
  10217. passed color matches the configured control color. Thanks to John
  10218. BouAntoun for pointing this out.
  10219. 2004-10-12 20:57 pbartok
  10220. * Control.cs:
  10221. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  10222. color is changed
  10223. 2004-10-12 20:46 pbartok
  10224. * CheckBox.cs:
  10225. - Fix from John BouAntoun: Now properly sets the Appearance property
  10226. 2004-10-12 20:45 pbartok
  10227. * ThemeWin32Classic.cs:
  10228. - Fixes from John BouAntoun: now handles forecolors and backcolors
  10229. for flatstyle rendered controls much better; It also fixes normal
  10230. checkbox rendering when pushed or disabled.
  10231. 2004-10-08 02:50 jordi
  10232. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  10233. work
  10234. 2004-10-07 08:56 jordi
  10235. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  10236. 2004-10-06 03:59 jordi
  10237. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  10238. XplatUIWin32.cs: removes warnings from compilation
  10239. 2004-10-05 12:23 jackson
  10240. * RadioButton.cs: Fix ctor
  10241. 2004-10-05 11:10 pbartok
  10242. * MessageBox.cs:
  10243. - Partial implementation by Benjamin Dasnois
  10244. 2004-10-05 10:15 jackson
  10245. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  10246. by John BouAntoun
  10247. 2004-10-05 03:07 ravindra
  10248. * ToolBar.cs:
  10249. - Removed a private method, Draw ().
  10250. - Fixed the ButtonDropDown event handling.
  10251. - Fixed MouseMove event handling.
  10252. 2004-10-05 03:04 ravindra
  10253. * ThemeWin32Classic.cs:
  10254. - Added DrawListView method and ListViewDefaultSize property.
  10255. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  10256. - Changed DOS style CRLF to Unix format (dos2unix).
  10257. 2004-10-05 03:03 ravindra
  10258. * Theme.cs:
  10259. - Added DrawListView method and ListViewDefaultSize property.
  10260. 2004-10-05 02:42 ravindra
  10261. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  10262. clicks on DropDown arrow.
  10263. 2004-10-04 22:56 jackson
  10264. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  10265. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  10266. Control handle the buffers, derived classes should not have to
  10267. CreateBuffers themselves.
  10268. 2004-10-04 21:20 jackson
  10269. * StatusBar.cs: The control handles resizing the buffers now.
  10270. 2004-10-04 21:18 jackson
  10271. * Control.cs: When resizing the buffers should be invalidated. This
  10272. should be handled in Control not in derived classes.
  10273. 2004-10-04 14:45 jackson
  10274. * TabPage.cs: oops
  10275. 2004-10-04 02:14 pbartok
  10276. * LeftRightAlignment.cs:
  10277. - Initial check-in
  10278. 2004-10-04 01:09 jordi
  10279. * ThemeWin32Classic.cs: fixes right button position causing right
  10280. button not showing on horizontal scrollbars
  10281. 2004-10-02 13:12 pbartok
  10282. * XplatUIX11.cs:
  10283. - Simplified the Invalidate method by using an X call instead of
  10284. generating the expose ourselves
  10285. - Added an expose when the window background is changed
  10286. - Implemented ClientToScreen method
  10287. 2004-10-02 13:08 pbartok
  10288. * XplatUIWin32.cs:
  10289. - Added Win32EnableWindow method (test for implementing modal
  10290. dialogs)
  10291. - Added ClientToScreen method and imports
  10292. 2004-10-02 13:07 pbartok
  10293. * XplatUI.cs, XplatUIDriver.cs:
  10294. - Added ClientToScreen coordinate translation method
  10295. 2004-10-02 13:06 pbartok
  10296. * KeyPressEventArgs.cs:
  10297. - Fixed access level for constructor
  10298. 2004-10-02 13:06 pbartok
  10299. * NativeWindow.cs:
  10300. - Changed access level for the window_collection hash table
  10301. 2004-10-02 13:05 pbartok
  10302. * Form.cs:
  10303. - Added KeyPreview property
  10304. - Added Menu property (still incomplete, pending Jordi's menu work)
  10305. - Implemented ProcessCmdKey
  10306. - Implemented ProcessDialogKey
  10307. - Implemented ProcessKeyPreview
  10308. 2004-10-02 13:02 pbartok
  10309. * Control.cs:
  10310. - Added private method to get the Control object from the window
  10311. handle
  10312. - Implemented ContextMenu property
  10313. - Implemented PointToScreen
  10314. - Implemented PreProcessMessage
  10315. - Implemented IsInputChar
  10316. - Implemented IsInputKey
  10317. - Implemented ProcessCmdKey
  10318. - Completed ProcessKeyEventArgs
  10319. - Fixed message loop to call the proper chain of functions on key
  10320. events
  10321. - Implemented ProcessDialogChar
  10322. - Implemented ProcessDialogKey
  10323. - Implemented ProcessKeyMessage
  10324. - Implemented ProcessKeyPreview
  10325. - Added RaiseDragEvent stub (MS internal method)
  10326. - Added RaiseKeyEvent stub (MS internal method)
  10327. - Added RaiseMouseEvent stub (MS Internal method)
  10328. - Added RaisePaintEvent stub (MS Internal method)
  10329. - Added ResetMouseEventArgs stub (MS Internal method)
  10330. - Implemented RtlTranslateAlignment
  10331. - Implemented RtlTranslateContent
  10332. - Implemented RtlTranslateHorizontal
  10333. - Implemented RtlTranslateLeftRight
  10334. - Added generation of KeyPress event
  10335. 2004-10-02 05:57 ravindra
  10336. * ListViewItem.cs: Added attributes.
  10337. 2004-10-02 05:32 ravindra
  10338. * ListView.cs: Added attributes.
  10339. 2004-10-01 11:53 jackson
  10340. * Form.cs: Implement the Close method so work on MessageBox can
  10341. continue.
  10342. 2004-09-30 14:06 pbartok
  10343. * XplatUIX11.cs:
  10344. - Bug fixes
  10345. 2004-09-30 11:34 jackson
  10346. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  10347. 2004-09-30 07:26 ravindra
  10348. * ListViewItemConverter.cs: Converter for ListViewItem.
  10349. 2004-09-30 07:26 ravindra
  10350. * SortOrder.cs: Enum for ListView control.
  10351. 2004-09-30 07:25 ravindra
  10352. * ColumnHeader.cs: Supporting class for ListView control.
  10353. 2004-09-30 07:24 ravindra
  10354. * ListView.cs, ListViewItem.cs: Initial implementation.
  10355. 2004-09-30 07:20 ravindra
  10356. * ItemActivation.cs: Enum for ListView Control.
  10357. 2004-09-29 20:29 pbartok
  10358. * XplatUIX11.cs:
  10359. - Added lookup of pixel value for background color; tries to get a
  10360. color 'close' to the requested color, it avoids having to create a
  10361. colormap. Depending on the display this could mean the used color
  10362. is slightly off the desired color. Might have to change it to a more
  10363. resource intensive colormap approach, but it will work as a
  10364. workaround to avoid red screens.
  10365. 2004-09-29 14:27 jackson
  10366. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  10367. 2004-09-28 12:44 pbartok
  10368. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  10369. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  10370. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  10371. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  10372. TrackBar.cs, VScrollBar.cs:
  10373. - Streamlined Theme interfaces:
  10374. * Each DrawXXX method for a control now is passed the object for
  10375. the control to be drawn in order to allow accessing any state the
  10376. theme might require
  10377. * ControlPaint methods for the theme now have a CP prefix to avoid
  10378. name clashes with the Draw methods for controls
  10379. * Every control now retrieves it's DefaultSize from the current
  10380. theme
  10381. 2004-09-28 12:17 jackson
  10382. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  10383. drawing
  10384. 2004-09-24 14:57 jackson
  10385. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  10386. Gives us a nice little performance boost.
  10387. 2004-09-24 12:02 jackson
  10388. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  10389. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  10390. Control and supporting classes. Initial checkin
  10391. 2004-09-23 13:08 jackson
  10392. * Form.cs: Temp build fixage
  10393. 2004-09-23 01:39 ravindra
  10394. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  10395. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  10396. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  10397. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  10398. EventHandlers needed by ListView Control.
  10399. 2004-09-22 14:12 pbartok
  10400. * ScrollableControl.cs:
  10401. - Implemented DockPadding property
  10402. - Implemented AutoScroll property
  10403. - Implemented AutoScrollMargin property
  10404. - Implemented AutoScrollMinSize property
  10405. - Implemented AutoScrollPosition property
  10406. - Implemented DisplayRectangle property (still incomplete)
  10407. - Implemented CreateParams property
  10408. - Implemented HScroll property
  10409. - Implemented VScroll property
  10410. - Implemented OnVisibleChanged property
  10411. 2004-09-22 14:09 pbartok
  10412. * Form.cs:
  10413. - Added Form.ControllCollection class
  10414. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  10415. RemoveOwnedForm (still incomplete, missing on-top and common
  10416. minimize/maximize behaviour)
  10417. - Added StartPosition property (still incomplete, does not use when
  10418. creating the form)
  10419. - Added ShowDialog() methods (still incomplete, missing forcing the
  10420. dialog modal)
  10421. 2004-09-22 14:05 pbartok
  10422. * Application.cs:
  10423. - Added message loop for modal dialogs
  10424. 2004-09-22 14:02 pbartok
  10425. * GroupBox.cs:
  10426. - Fixed wrong types for events
  10427. 2004-09-22 14:00 pbartok
  10428. * Shortcut.cs, FormWindowState.cs:
  10429. - Fixed wrong values
  10430. 2004-09-22 12:01 jackson
  10431. * Control.cs: Text is never null
  10432. 2004-09-20 22:14 pbartok
  10433. * XplatUIWin32.cs:
  10434. - Fixed accessibility level for Idle handler
  10435. 2004-09-20 18:54 jackson
  10436. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10437. XplatUIX11.cs: New message loop that uses poll so we don't get a
  10438. busy loop
  10439. 2004-09-17 10:43 pbartok
  10440. * ScrollBar.cs:
  10441. - Fixed behaviour of arrow buttons. Now properly behaves like
  10442. Buttons (and like Microsoft's scrollbar arrow buttons)
  10443. 2004-09-17 10:14 pbartok
  10444. * ScrollBar.cs:
  10445. - Added missing release of keyboard/mouse capture
  10446. 2004-09-17 06:18 jordi
  10447. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  10448. Theme.cs: Very early menu support
  10449. 2004-09-16 17:45 pbartok
  10450. * XplatUIWin32.cs:
  10451. - Fixed sending a window to the front
  10452. - Added overload for SetWindowPos to avoid casting
  10453. 2004-09-16 17:44 pbartok
  10454. * Control.cs:
  10455. - Added SendToBack and BringToFront methods
  10456. 2004-09-16 07:00 ravindra
  10457. * Copyright: Added Novell URL.
  10458. 2004-09-16 07:00 ravindra
  10459. * ToolBar.cs: Invalidate should be done before redrawing.
  10460. 2004-09-15 21:19 ravindra
  10461. * ColumnHeaderStyle.cs: Enum for ListView Control.
  10462. 2004-09-15 21:18 ravindra
  10463. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  10464. ListView Control.
  10465. 2004-09-13 18:26 jackson
  10466. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  10467. properly
  10468. 2004-09-13 18:13 jackson
  10469. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  10470. a second thread and post messages into the main threads message
  10471. queue. This makes timing much more consistent. Both win2K and XP
  10472. have a minimum timer value of 15 milliseconds, so we now do this
  10473. too.
  10474. 2004-09-13 15:18 pbartok
  10475. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10476. XplatUIX11.cs:
  10477. - Added Z-Ordering methods
  10478. 2004-09-13 10:56 pbartok
  10479. * Form.cs:
  10480. - Fixed #region names
  10481. - Moved properties and methods into their proper #regions
  10482. 2004-09-13 10:51 pbartok
  10483. * Form.cs:
  10484. - Added Accept and CancelButton properties
  10485. - Added ProcessDialogKey() method
  10486. 2004-09-13 08:18 pbartok
  10487. * IWindowTarget.cs:
  10488. - Initial check-in
  10489. 2004-09-10 21:50 pbartok
  10490. * Control.cs:
  10491. - Added DoDragDrop() [incomplete]
  10492. - Properly implemented 'Visible' handling
  10493. - Added SetVisibleCore()
  10494. - Implemented FindChildAtPoint()
  10495. - Implemented GetContainerControl()
  10496. - Implemented Hide()
  10497. 2004-09-10 19:28 pbartok
  10498. * Control.cs:
  10499. - Moved methods into their appropriate #regions
  10500. - Reordered methods within regions alphabetically
  10501. 2004-09-10 18:57 pbartok
  10502. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  10503. - Added method to retrieve text from window
  10504. 2004-09-10 18:56 pbartok
  10505. * Control.cs:
  10506. - Moved some internal functions into the internal region
  10507. - Implemented FontHeight
  10508. - Implemented RenderRightToLeft
  10509. - Implemented ResizeRedraw
  10510. - Implemented ShowFocusCues
  10511. - Implemented ShowKeyboardCues
  10512. - Implemented FromChildHandle
  10513. - Implemented FromHandle
  10514. - Implemented IsMnemonic
  10515. - Implemented ReflectMessage
  10516. - All public and protected Static Methods are now complete
  10517. 2004-09-10 16:54 pbartok
  10518. * Control.cs:
  10519. - Implemented remaining missing public instance properties
  10520. - Alphabetized some out of order properties
  10521. 2004-09-10 05:51 ravindra
  10522. * PictureBox.cs: Added a check for null image.
  10523. 2004-09-10 00:59 jordi
  10524. * GroupBox.cs: remove cvs tag
  10525. 2004-09-09 05:25 ravindra
  10526. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  10527. 2004-09-09 05:23 ravindra
  10528. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  10529. parent redraw.
  10530. 2004-09-09 02:28 pbartok
  10531. * ThemeWin32Classic.cs:
  10532. - Improve disabled string look
  10533. 2004-09-09 01:15 jordi
  10534. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  10535. args and handler
  10536. 2004-09-08 23:56 ravindra
  10537. * ItemBoundsPortion.cs: It's enum, not a class!
  10538. 2004-09-08 23:47 ravindra
  10539. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  10540. Enums for Form.
  10541. 2004-09-08 21:13 ravindra
  10542. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  10543. ListView control.
  10544. 2004-09-08 21:03 ravindra
  10545. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  10546. avoid crash.
  10547. 2004-09-08 21:01 ravindra
  10548. * ScrollableControl.cs: Removed unreachable code.
  10549. 2004-09-08 06:45 jordi
  10550. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  10551. 2004-09-08 01:00 jackson
  10552. * XplatUIX11.cs: Only run the timers when updating the message
  10553. queue. This effectively gives X messages a higher priority then
  10554. timer messages. Timers still need love though
  10555. 2004-09-07 14:01 jackson
  10556. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  10557. this for us and the handle is no longer valid.
  10558. 2004-09-07 13:59 jackson
  10559. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  10560. loop that manages to not crash. TODO: Add poll and cleanup timers
  10561. 2004-09-07 11:12 jordi
  10562. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  10563. 2004-09-07 03:40 jordi
  10564. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  10565. fixes, methods, multiple links
  10566. 2004-09-06 06:55 jordi
  10567. * Control.cs: Caches ClientRectangle rectangle value
  10568. 2004-09-05 02:03 jordi
  10569. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  10570. certain situations
  10571. 2004-09-04 11:10 jordi
  10572. * Label.cs: Refresh when font changed
  10573. 2004-09-02 16:24 pbartok
  10574. * Control.cs:
  10575. - Added sanity check to creation of double buffer bitmap
  10576. 2004-09-02 16:24 pbartok
  10577. * ButtonBase.cs:
  10578. - Fixed selection of text color
  10579. - Fixed handling of resize event; now properly recreates double
  10580. buffering bitmap
  10581. - Added missing assignment of TextAlignment
  10582. - Added proper default for TextAlignment
  10583. 2004-09-02 14:26 pbartok
  10584. * RadioButton.cs:
  10585. - Added missing RadioButton.RadioButtonAccessibleObject class
  10586. 2004-09-02 14:26 pbartok
  10587. * Control.cs:
  10588. - Added missing Control.ControlAccessibleObject class
  10589. - Started to implement Select()ion mechanisms, still very incomplete
  10590. 2004-09-02 14:25 pbartok
  10591. * AccessibleObject.cs:
  10592. - Added missing methods
  10593. 2004-09-02 14:23 pbartok
  10594. * AccessibleNavigation.cs, AccessibleSelection.cs:
  10595. - Initial check-in
  10596. 2004-09-02 10:32 jordi
  10597. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  10598. pool for pens, brushes, and hatchbruses
  10599. 2004-09-01 15:30 jackson
  10600. * StatusBar.cs: Fix typo
  10601. 2004-09-01 14:44 pbartok
  10602. * RadioButton.cs:
  10603. - Fixed state
  10604. 2004-09-01 14:39 pbartok
  10605. * Button.cs, RadioButton.cs:
  10606. - Functional initial check-in
  10607. 2004-09-01 14:01 pbartok
  10608. * CheckBox.cs:
  10609. - Added missing default
  10610. - Added missing region mark
  10611. 2004-09-01 09:10 jordi
  10612. * Label.cs: fixes method signatures, new methods, events, fixes
  10613. autosize
  10614. 2004-09-01 07:19 jordi
  10615. * Control.cs: Init string variables with an empty object
  10616. 2004-09-01 04:20 jordi
  10617. * Control.cs: fires OnFontChanged event
  10618. 2004-08-31 20:07 pbartok
  10619. * ButtonBase.cs:
  10620. - Enabled display of strings
  10621. 2004-08-31 20:05 pbartok
  10622. * Form.cs:
  10623. - Added (partial) implementation of DialogResult; rest needs to be
  10624. implemented when the modal loop code is done
  10625. 2004-08-31 19:55 pbartok
  10626. * CheckBox.cs:
  10627. - Fixed to match the removal of the needs_redraw concept
  10628. 2004-08-31 19:55 pbartok
  10629. * ButtonBase.cs:
  10630. - Removed the rather odd split between 'needs redraw' and redrawing
  10631. - Now handles the events that require regeneration (ambient
  10632. properties and size)
  10633. 2004-08-31 19:41 pbartok
  10634. * Control.cs:
  10635. - Added firing of BackColorChanged event
  10636. - Added TopLevelControl property
  10637. - Fixed handling of WM_ERASEBKGRND message
  10638. 2004-08-31 12:49 pbartok
  10639. * ButtonBase.cs:
  10640. - Removed debug
  10641. - Minor fixes
  10642. 2004-08-31 12:48 pbartok
  10643. * CheckBox.cs:
  10644. - Finished (famous last words)
  10645. 2004-08-31 04:35 jordi
  10646. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  10647. scrolling bugs, adds new methods
  10648. 2004-08-30 14:42 pbartok
  10649. * CheckBox.cs:
  10650. - Implemented CheckBox drawing code
  10651. 2004-08-30 14:42 pbartok
  10652. * ButtonBase.cs:
  10653. - Made Redraw() and CheckRedraw() virtual
  10654. - Improved mouse up/down/move logic to properly track buttons
  10655. 2004-08-30 09:44 pbartok
  10656. * CheckBox.cs:
  10657. - Updated to fix broken build. Not complete yet.
  10658. 2004-08-30 09:28 pbartok
  10659. * CheckState.cs:
  10660. - Initial checkin
  10661. 2004-08-30 09:17 pbartok
  10662. * Appearance.cs:
  10663. - Initial check-in
  10664. 2004-08-27 16:12 ravindra
  10665. * ToolBarButton.cs: Added TypeConverter attribute.
  10666. 2004-08-27 16:07 ravindra
  10667. * ImageIndexConverter.cs: Implemented.
  10668. 2004-08-27 14:17 pbartok
  10669. * Control.cs:
  10670. - Removed unneeded stack vars
  10671. - First attempt to fix sizing issues when layout is suspended
  10672. 2004-08-25 15:35 jordi
  10673. * ScrollBar.cs: more fixes to scrollbar
  10674. 2004-08-25 14:04 ravindra
  10675. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  10676. Added the missing divider code and grip for ToolBar Control.
  10677. 2004-08-25 13:20 pbartok
  10678. * Control.cs:
  10679. - Control now properly passes the ambient background color to child
  10680. controls
  10681. 2004-08-25 13:20 jordi
  10682. * ScrollBar.cs: small bug fix regarding bar position
  10683. 2004-08-25 12:33 pbartok
  10684. * Timer.cs:
  10685. - Now only calls SetTimer or KillTimer if the enabled state has
  10686. changed
  10687. 2004-08-25 12:33 pbartok
  10688. * XplatUIWin32.cs:
  10689. - Fixed timer handling, now seems to work
  10690. - Improved error message for window creation
  10691. 2004-08-25 12:32 pbartok
  10692. * Control.cs:
  10693. - Fixed generation of MouseUp message
  10694. 2004-08-25 12:29 jordi
  10695. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  10696. and fixes for progressbar
  10697. 2004-08-24 18:43 ravindra
  10698. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  10699. in ToolBar control.
  10700. 2004-08-24 17:15 pbartok
  10701. * Panel.cs:
  10702. - Added #region
  10703. - Added missing events
  10704. - Alphabetized
  10705. 2004-08-24 17:14 pbartok
  10706. * StatusBar.cs, PictureBox.cs:
  10707. - Now uses Control's CreateParams
  10708. 2004-08-24 16:36 pbartok
  10709. * XplatUIX11.cs:
  10710. - Fixed background color handling
  10711. - Fixed sending of enter/leave events on a grab
  10712. 2004-08-24 16:35 pbartok
  10713. * X11Structs.cs:
  10714. - Refined definitions for CrossingEvent
  10715. 2004-08-24 12:37 jordi
  10716. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  10717. formmating, methods signature, and adds missing events
  10718. 2004-08-24 12:24 jordi
  10719. * Control.cs: fire OnEnabledChanged event
  10720. 2004-08-24 11:17 pbartok
  10721. * XplatUIWin32.cs:
  10722. - Implemented SetTimer() and KillTimer()
  10723. 2004-08-24 11:16 pbartok
  10724. * XplatUIX11.cs:
  10725. - Now uses Remove instead of Add to kill the timer
  10726. 2004-08-24 10:16 jackson
  10727. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  10728. picture boxes in the theme now. Draw picture box borders and obey
  10729. sizing modes
  10730. 2004-08-24 05:49 jackson
  10731. * Timer.cs: Remove top secret debugging code
  10732. 2004-08-24 05:34 jackson
  10733. * PictureBox.cs: Temp hack to make picture boxes draw their full
  10734. image
  10735. 2004-08-24 05:29 jackson
  10736. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  10737. XplatUIX11.cs: Move timers to the driver level. On X they are
  10738. queued by the driver and checked on idle.
  10739. 2004-08-24 01:07 jackson
  10740. * XplatUIX11.cs: Use a queue for async messages instead of passing
  10741. them as ClientMessages since that was totally broken. Also simply
  10742. check for events and return an idle message if none are found. This
  10743. gives us an idle handler, and prevents deadlocking when no messages
  10744. are in the queue.
  10745. 2004-08-23 18:19 ravindra
  10746. * XplatUIWin32.cs: Removed the unwanted destructor.
  10747. 2004-08-23 17:27 pbartok
  10748. * ButtonBase.cs:
  10749. - Finishing touches. Works now, just needs some optimizations.
  10750. 2004-08-23 16:53 jordi
  10751. * ScrollBar.cs: small fix
  10752. 2004-08-23 16:45 pbartok
  10753. * Application.cs:
  10754. - Removed debug output
  10755. - Simplifications
  10756. 2004-08-23 16:43 jordi
  10757. * ScrollBar.cs: [no log message]
  10758. 2004-08-23 16:10 pbartok
  10759. * Form.cs:
  10760. - Fixed handling of WM_CLOSE message
  10761. - Removed debug output
  10762. 2004-08-23 16:09 pbartok
  10763. * Application.cs:
  10764. - Added handling of Idle event
  10765. - Added handling of form closing
  10766. - Fixed reporting of MessageLoop property
  10767. - Removed some unneeded code, should provide a bit of a speedup
  10768. 2004-08-23 15:22 pbartok
  10769. * Control.cs:
  10770. - Added InitLayout() method
  10771. - Added code to properly perform layout when Anchor or Dock property
  10772. is changed
  10773. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  10774. LAMESPEC, tried to do it in a way that makes sense
  10775. 2004-08-23 14:10 jordi
  10776. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  10777. properties and methods
  10778. 2004-08-23 13:55 pbartok
  10779. * Control.cs:
  10780. - Properly fixed Jordi's last fix
  10781. - Now uses Cursor's Position property instead of calling XplatUI
  10782. directly
  10783. 2004-08-23 13:44 jordi
  10784. * PaintEventHandler.cs: Adding missing attribute
  10785. 2004-08-23 13:39 pbartok
  10786. * Cursor.cs:
  10787. - Implemented Position property
  10788. 2004-08-23 13:39 pbartok
  10789. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  10790. - Added method to move mouse cursor
  10791. 2004-08-23 13:39 pbartok
  10792. * XplatUIX11.cs:
  10793. - Fixed setting of background color
  10794. - Added method to move mouse cursor
  10795. 2004-08-23 13:16 jordi
  10796. * Control.cs: avoids null exception
  10797. 2004-08-22 17:46 jackson
  10798. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  10799. PictureBox
  10800. 2004-08-22 17:40 jackson
  10801. * XplatUIX11.cs: Add some missing locks
  10802. 2004-08-22 15:10 pbartok
  10803. * Control.cs, Form.cs:
  10804. - Removed OverlappedWindow style from Control, instead it's default
  10805. now is child
  10806. - Made form windows OverlappedWindow by default
  10807. 2004-08-22 13:34 jackson
  10808. * ScrollBar.cs: Update the position through the Value property so
  10809. the OnValueChanged event is raised.
  10810. 2004-08-22 12:04 pbartok
  10811. * SWF.csproj:
  10812. - Added Cursor.cs and UserControl.cs
  10813. 2004-08-22 12:03 pbartok
  10814. * Cursor.cs:
  10815. - Started implementation, not usable yet
  10816. 2004-08-22 12:00 pbartok
  10817. * UserControl.cs:
  10818. - Implemented UserControl (complete)
  10819. 2004-08-21 19:20 ravindra
  10820. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  10821. 2004-08-21 18:49 ravindra
  10822. * ToolBar.cs: Probably this completes the missing attributes in
  10823. toolbar control.
  10824. 2004-08-21 18:03 ravindra
  10825. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  10826. Fixed toolbar control signatures.
  10827. 2004-08-21 16:32 pbartok
  10828. * LinkLabel.cs:
  10829. - Signature Fixes
  10830. 2004-08-21 16:30 pbartok
  10831. * Label.cs:
  10832. - Signature fixes
  10833. 2004-08-21 16:19 pbartok
  10834. * Control.cs, Label.cs:
  10835. - Signature fixes
  10836. 2004-08-21 15:57 pbartok
  10837. * ButtonBase.cs:
  10838. - Added loads of debug output for development
  10839. - Fixed typo in method name
  10840. 2004-08-21 15:52 pbartok
  10841. * ToolBarButtonClickEventArgs.cs:
  10842. - Added missing base class
  10843. 2004-08-21 14:53 pbartok
  10844. * Control.cs:
  10845. - Updated to match new GrabWindow signature
  10846. 2004-08-21 14:51 pbartok
  10847. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10848. - Added method to get default display size
  10849. 2004-08-21 14:23 pbartok
  10850. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  10851. - Added method to query current grab state
  10852. - Added argument to allow confining a grab to a window
  10853. 2004-08-21 14:22 pbartok
  10854. * Keys.cs:
  10855. - Added [Flags] attribute so that modifiers can be used in bitwise
  10856. ops
  10857. 2004-08-21 14:21 pbartok
  10858. * TrackBar.cs, ScrollBar.cs:
  10859. - Replaced direct XplatUI calls with their Control counterpart
  10860. 2004-08-21 13:32 pbartok
  10861. * Control.cs:
  10862. - Implemented Created property
  10863. 2004-08-21 13:28 pbartok
  10864. * Control.cs:
  10865. - Implemented ContainsFocus
  10866. 2004-08-21 13:26 pbartok
  10867. * Control.cs:
  10868. - Implemented CausesValidation
  10869. 2004-08-21 13:21 pbartok
  10870. * Control.cs:
  10871. - Implemented CanFocus
  10872. - Implemented CanSelect
  10873. - Implemented Capture
  10874. 2004-08-21 12:35 pbartok
  10875. * XplatUIWin32.cs:
  10876. - Fixed bug with Async message handling
  10877. - Implemented getting the ModifierKeys
  10878. 2004-08-21 12:32 jackson
  10879. * AsyncMethodResult.cs: Make sure we have the mutex before we
  10880. release it. Fixes BeginInvoke on windows
  10881. 2004-08-21 11:31 pbartok
  10882. * XplatUIWin32.cs, XplatUIX11.cs:
  10883. - Drivers now return proper mouse state
  10884. 2004-08-21 10:54 jackson
  10885. * Control.cs: Implement EndInvoke
  10886. 2004-08-21 10:48 jackson
  10887. * Timer.cs: Remove unneeded finalizer
  10888. 2004-08-20 19:52 ravindra
  10889. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  10890. in mouse event handling in the ToolBar control.
  10891. 2004-08-20 19:50 ravindra
  10892. * ImageList.cs: Changed draw method to use the arguments passed in
  10893. to draw the image.
  10894. 2004-08-20 18:58 pbartok
  10895. * XplatUIStructs.cs:
  10896. - Added private message for async communication
  10897. 2004-08-20 17:38 ravindra
  10898. * Control.cs: Made RightToLeft property virtual and removed a
  10899. Console.WriteLine.
  10900. 2004-08-20 14:39 jordi
  10901. * ThemeGtk.cs: use style_attach
  10902. 2004-08-20 14:39 pbartok
  10903. * XplatUIWin32.cs:
  10904. - Added jackson's Async code from X11 to Win32
  10905. 2004-08-20 14:09 pbartok
  10906. * SWF.csproj:
  10907. - Added all new files
  10908. 2004-08-20 14:09 pbartok
  10909. * Control.cs:
  10910. - Added call to set window background color
  10911. 2004-08-20 14:03 pbartok
  10912. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  10913. - Added method for setting the window background
  10914. 2004-08-20 14:02 pbartok
  10915. * XplatUIWin32.cs:
  10916. - Added method for setting the background color
  10917. - Added handling for erasing the window background
  10918. 2004-08-20 13:45 jordi
  10919. * TrackBar.cs: fixes timer, new properties and methods
  10920. 2004-08-20 13:34 jackson
  10921. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  10922. correct thread
  10923. 2004-08-20 13:22 jackson
  10924. * Timer.cs: Timer Tick events are now handed through Controls Async
  10925. mechanism so the callbacks are executed in the same thread as X
  10926. 2004-08-20 13:19 jackson
  10927. * XplatUIDriver.cs: Expose functionality to send async messages
  10928. through the driver
  10929. 2004-08-20 13:18 jackson
  10930. * Control.cs: Implement Begininvoke
  10931. 2004-08-20 13:14 jackson
  10932. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  10933. messages through the driver
  10934. 2004-08-20 13:12 jackson
  10935. * XplatUIX11.cs: Lock before all X operations. Also added Async
  10936. method functionality through XSendEvent
  10937. 2004-08-20 13:11 jackson
  10938. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  10939. This will screw up on 64 bit systems)
  10940. 2004-08-20 13:10 jackson
  10941. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  10942. Async messages through X/Win32
  10943. 2004-08-19 19:39 pbartok
  10944. * XplatUIX11.cs:
  10945. - Updated code to match new HandleData.DeviceContext type
  10946. 2004-08-19 19:38 pbartok
  10947. * HandleData.cs:
  10948. - Made DeviceContext a generic object to allow usage from various
  10949. drivers
  10950. - Added support for queueing Windows messages
  10951. 2004-08-19 19:37 pbartok
  10952. * XplatUIWin32.cs:
  10953. - Added generation of MouseEnter, MouseLeave and MouseHover events
  10954. - Added cleanup on EndPaint
  10955. 2004-08-19 19:17 pbartok
  10956. * Control.cs:
  10957. - Added handling of WM_MOUSEHOVER
  10958. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  10959. code
  10960. 2004-08-19 18:55 jordi
  10961. * ThemeGtk.cs: fixes button order
  10962. 2004-08-19 18:12 jordi
  10963. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  10964. 2004-08-19 17:09 pbartok
  10965. * Control.cs:
  10966. - Added Right property
  10967. - Added RightToLeft property
  10968. 2004-08-19 16:27 jordi
  10969. * ThemeGtk.cs: experimental GTK theme support
  10970. 2004-08-19 16:26 jordi
  10971. * ITheme.cs, Theme.cs: move themes from an interface to a class
  10972. 2004-08-19 16:25 jordi
  10973. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  10974. theme enhancaments
  10975. 2004-08-19 16:04 pbartok
  10976. * XplatUIX11.cs:
  10977. - Added colormap basics
  10978. - Added a way to re-initialize with a different display handle
  10979. - Fixed setting of the window background color
  10980. - Added various X11 imports related to colors and colormaps
  10981. 2004-08-19 15:51 pbartok
  10982. * X11Structs.cs:
  10983. - Removed packing hints (Paolo suggested this a while back)
  10984. - fixed colormap type
  10985. - Added default Atom types
  10986. - Added Screen and color structs and enums
  10987. 2004-08-19 15:39 pbartok
  10988. * ImageList.cs:
  10989. - Added missing Draw() method
  10990. - Added missing RecreateHandle event
  10991. 2004-08-19 15:30 pbartok
  10992. * Form.cs:
  10993. - Added handling of WM_CLOSE
  10994. 2004-08-18 13:16 jordi
  10995. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  10996. a table
  10997. 2004-08-18 09:56 jordi
  10998. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  10999. 2004-08-17 15:31 ravindra
  11000. * SWF.csproj: Updated project.
  11001. 2004-08-17 15:25 pbartok
  11002. * Control.cs:
  11003. - Drawing improvement; don't call UpdateBounds if we are not visible
  11004. (or have been minimized)
  11005. 2004-08-17 15:24 pbartok
  11006. * XplatUIWin32.cs:
  11007. - Finished IsVisible
  11008. - Added Win32GetWindowPlacement
  11009. 2004-08-17 15:08 jackson
  11010. * Panel.cs: Initial checkin of the Panel
  11011. 2004-08-17 14:25 pbartok
  11012. * Control.cs:
  11013. - Fixed broken handling of default window sizes
  11014. 2004-08-17 13:29 jackson
  11015. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  11016. has a large startup time.
  11017. 2004-08-17 10:25 jackson
  11018. * HandleData.cs: union areas properly
  11019. 2004-08-17 10:12 jackson
  11020. * HandleData.cs: union areas properly
  11021. 2004-08-16 20:00 ravindra
  11022. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  11023. 2004-08-16 18:48 ravindra
  11024. * ToolBar.cs: Added attributes.
  11025. 2004-08-16 17:17 ravindra
  11026. * SWF.csproj: Updated project.
  11027. 2004-08-16 17:16 jackson
  11028. * XplatUIX11.cs: Check for more expose events before sending a
  11029. WM_PAINT so they can all be grouped together. This makes dragging a
  11030. window across another window redraw in a sane way.
  11031. 2004-08-16 15:47 pbartok
  11032. * Control.cs:
  11033. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  11034. support OnMouseEnter/Leave()
  11035. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  11036. exposure handling
  11037. 2004-08-16 15:46 pbartok
  11038. * XplatUIStructs.cs, XplatUIX11.cs:
  11039. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  11040. OnMouseEnter/Leave()
  11041. 2004-08-16 15:34 jackson
  11042. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  11043. sure messages get the message field set to WM_NULL if they are not
  11044. handled.
  11045. 2004-08-16 15:24 jackson
  11046. * HandleData.cs: HandleData is used for storing message information
  11047. for window handles
  11048. 2004-08-15 17:23 ravindra
  11049. * ColorDepth.cs: Added attribute.
  11050. 2004-08-15 17:23 ravindra
  11051. * SWF.csproj: Updated project for ToolBar Control.
  11052. 2004-08-15 17:20 ravindra
  11053. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  11054. control and also dos2unix format.
  11055. 2004-08-15 17:13 ravindra
  11056. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  11057. ToolBarButtonClickEventArgs.cs,
  11058. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  11059. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  11060. 2004-08-15 15:31 pbartok
  11061. * ButtonBase.cs:
  11062. - First (mostly) working version
  11063. 2004-08-13 16:15 pbartok
  11064. * Control.cs:
  11065. - Fixed Anchor default
  11066. 2004-08-13 15:43 pbartok
  11067. * Control.cs:
  11068. - Changed GetCursorPos signature
  11069. 2004-08-13 15:42 pbartok
  11070. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  11071. - Changed signature for GetCursorPos
  11072. 2004-08-13 15:25 pbartok
  11073. * XplatUIX11.cs:
  11074. - Cleanup
  11075. - Fixed resizing/exposure handling
  11076. 2004-08-13 15:22 jordi
  11077. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  11078. with tickposition
  11079. 2004-08-13 14:55 jordi
  11080. * TrackBar.cs: change from wndproc to events
  11081. 2004-08-13 13:00 jordi
  11082. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  11083. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  11084. 2004-08-13 12:53 pbartok
  11085. * XplatUIWin32.cs:
  11086. - Changed GetWindowPos to also provide client area size
  11087. - Fixed broken prototypes for several win32 functions
  11088. 2004-08-13 12:53 pbartok
  11089. * XplatUI.cs, XplatUIDriver.cs:
  11090. - Changed GetWindowPos to also provide client area size
  11091. 2004-08-13 12:52 pbartok
  11092. * XplatUIX11.cs:
  11093. - Added generation of WM_POSCHANGED
  11094. - Changed GetWindowPos to also provide client area size
  11095. 2004-08-13 12:52 pbartok
  11096. * Control.cs:
  11097. - Added Dispose() and destructor
  11098. - Fixed resizing and bounds calculation
  11099. - Fixed Layout
  11100. - Added memory savings for invisible windows
  11101. 2004-08-13 12:46 jordi
  11102. * TrackBar.cs: adds timer and grap window
  11103. 2004-08-13 10:25 jackson
  11104. * Timer.cs: SWF Timer
  11105. 2004-08-12 16:59 pbartok
  11106. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11107. - Implemented method to get current mouse position
  11108. 2004-08-12 14:29 jordi
  11109. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  11110. enhancement, fix mouse problems, highli thumb, etc
  11111. 2004-08-12 13:31 pbartok
  11112. * Control.cs:
  11113. - Fixed Anchoring bugs
  11114. 2004-08-12 13:01 jackson
  11115. * StatusBar.cs: Don't forget things
  11116. 2004-08-12 12:54 jackson
  11117. * ThemeWin32Classic.cs: Handle owner draw status bars
  11118. 2004-08-12 12:54 jackson
  11119. * StatusBar.cs: Implement missing properties, events, and methods.
  11120. Handle mouse clicking
  11121. 2004-08-12 10:19 jackson
  11122. * StatusBarPanelClickEventArgs.cs,
  11123. StatusBarPanelClickEventHandler.cs: Classes for handling status
  11124. bar panel click events
  11125. 2004-08-12 10:10 jackson
  11126. * Control.cs: Add missing properties
  11127. 2004-08-12 09:46 pbartok
  11128. * BindingsManagerBase.cs:
  11129. - Name changed to BindingManagerBase.cs
  11130. 2004-08-12 09:25 jordi
  11131. * ScrollableControl.cs: calls ctrlbase instead of exeception
  11132. 2004-08-11 16:28 pbartok
  11133. * InputLanguageChangingEventArgs.cs:
  11134. - Never check in before compiling. Fixes the last check-in
  11135. 2004-08-11 16:26 pbartok
  11136. * InputLanguageChangingEventArgs.cs:
  11137. - More signature fixes
  11138. 2004-08-11 16:20 pbartok
  11139. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  11140. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  11141. ImageListStreamer.cs, InputLanguage.cs,
  11142. InputLanguageChangedEventArgs.cs,
  11143. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  11144. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  11145. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  11146. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11147. - Signature fixes
  11148. 2004-08-11 16:16 pbartok
  11149. * Application.cs:
  11150. - Fixed Signature
  11151. - Added .Net 1.1 method
  11152. 2004-08-11 15:25 pbartok
  11153. * SWF.csproj:
  11154. - Fixed BindingManagerBase.cs filename
  11155. 2004-08-11 15:22 pbartok
  11156. * BindingManagerBase.cs:
  11157. - Was checked in with wrong filename
  11158. 2004-08-11 14:50 pbartok
  11159. * SWF.csproj:
  11160. - Updated
  11161. 2004-08-11 13:41 jordi
  11162. * XplatUIWin32.cs: Fixes ClientRect
  11163. 2004-08-11 13:19 pbartok
  11164. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  11165. XplatUIX11.cs:
  11166. - We had SetWindowPos and MoveWindow to set window positions and
  11167. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  11168. keep SetWindowPos as matching counterpart
  11169. - Added some X11 sanity checking
  11170. 2004-08-11 12:59 pbartok
  11171. * Control.cs:
  11172. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  11173. (It seems that SetBounds is just a front for SetBoundsCore and
  11174. SetBoundsCore updates the underlying window system and
  11175. UpdateBounds is responsible for updating the variables associated
  11176. with the Control and sending the events)
  11177. - Major cleanup of Size handling; we now have two sizes, client_size
  11178. and bounds. Bounds defines the window with decorations, client_size
  11179. without them.
  11180. 2004-08-11 12:55 pbartok
  11181. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11182. - Added method to calculate difference between decorated window and
  11183. raw client area
  11184. 2004-08-11 12:54 pbartok
  11185. * Label.cs:
  11186. - Forcing redraw on resize
  11187. 2004-08-11 11:43 pbartok
  11188. * ImageList.cs:
  11189. - Removed disposing of the actual images when the list is disposed
  11190. 2004-08-11 09:13 pbartok
  11191. * Control.cs:
  11192. - Now properly reparents windows
  11193. 2004-08-11 08:37 pbartok
  11194. * Control.cs:
  11195. - Duh!
  11196. 2004-08-11 07:47 pbartok
  11197. * Control.cs:
  11198. - Rewrote the collection stuff. Might not be as fast now, not
  11199. keeping the number of children around and accessible directly, but
  11200. it's more straightforward
  11201. 2004-08-11 07:44 pbartok
  11202. * AccessibleObject.cs:
  11203. - Fixed to match ControlCollection rewrite
  11204. 2004-08-11 07:43 pbartok
  11205. * ImageList.cs:
  11206. - Added missing creation of the collection list
  11207. 2004-08-10 20:08 jackson
  11208. * StatusBar.cs: Get the paint message from WndProc
  11209. 2004-08-10 19:31 jackson
  11210. * ThemeWin32Classic.cs: Create Brushes as little as possible
  11211. 2004-08-10 19:20 jackson
  11212. * UICues.cs: Add Flags attribute
  11213. 2004-08-10 19:19 jackson
  11214. * StatusBarPanel.cs: Signature cleanup
  11215. 2004-08-10 19:10 jackson
  11216. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  11217. Initial implementation of status bar item drawing
  11218. 2004-08-10 17:27 jordi
  11219. * TrackBar.cs: add missing methods, properties, and restructure to
  11220. hide extra ones
  11221. 2004-08-10 16:24 jackson
  11222. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  11223. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  11224. attribute
  11225. 2004-08-10 13:21 jordi
  11226. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  11227. enhancements and standarize on win colors defaults
  11228. 2004-08-10 12:52 jackson
  11229. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  11230. ThemeWin32Classic.cs: Implement DrawItem functionality
  11231. 2004-08-10 12:47 jordi
  11232. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  11233. 2004-08-10 12:32 jordi
  11234. * Control.cs: throw ontextchange event
  11235. 2004-08-10 11:43 pbartok
  11236. * Control.cs:
  11237. - Added more to the still unfinished Dock/Anchor layout code
  11238. 2004-08-10 11:39 pbartok
  11239. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  11240. - Added GetWindowPos method
  11241. 2004-08-10 11:36 pbartok
  11242. * XplatUIWin32.cs:
  11243. - Implemented several methods
  11244. 2004-08-10 09:47 jackson
  11245. * TrackBar.cs: Allow control to handle buffering
  11246. 2004-08-10 09:41 jackson
  11247. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  11248. 2004-08-10 09:24 jackson
  11249. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  11250. 2004-08-10 09:09 jackson
  11251. * StatusBar.cs: Let Control handle all the buffering.
  11252. 2004-08-10 09:08 jackson
  11253. * Control.cs: Control will now handle the buffering code, so each
  11254. control does not have to implement this.
  11255. 2004-08-10 08:34 jackson
  11256. * XplatUIDriver.cs: Use default colors from the theme
  11257. 2004-08-09 17:12 pbartok
  11258. * ImageList.cs:
  11259. - Fixed several bugs Ravindra pointed out
  11260. 2004-08-09 16:11 pbartok
  11261. * Control.cs:
  11262. - Added incomplete dock layout code
  11263. - Added support for mouse wheel
  11264. 2004-08-09 16:09 pbartok
  11265. * XplatUIX11.cs:
  11266. - Added handling for middle and right mousebutton
  11267. - Added handling for mouse wheel
  11268. - Added handling for key state and mouse state and position
  11269. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  11270. messages
  11271. 2004-08-09 15:40 jackson
  11272. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  11273. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  11274. checkin
  11275. 2004-08-09 15:37 jackson
  11276. * StatusBar.cs: Initial implementation of StatusBar
  11277. 2004-08-09 15:36 jackson
  11278. * ITheme.cs: Add support for drawing status bar and getting status
  11279. bar item sizes
  11280. 2004-08-09 15:35 pbartok
  11281. * MouseButtons.cs:
  11282. - Fixed values
  11283. 2004-08-09 15:34 jackson
  11284. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  11285. status bar item sizes
  11286. 2004-08-09 15:21 jackson
  11287. * ThemeWin32Classic.cs: Use known colors for default control
  11288. colours
  11289. 2004-08-09 15:12 jackson
  11290. * ThemeWin32Classic.cs: Make the default font static, it is static
  11291. in control so this doesn't change functionality and creating fonts
  11292. is sloooooow.
  11293. 2004-08-09 14:56 pbartok
  11294. * X11Structs.cs:
  11295. - Added GrabMode enum
  11296. 2004-08-09 14:55 pbartok
  11297. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11298. - Removed Run method, was only required for initial development
  11299. 2004-08-09 14:51 pbartok
  11300. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  11301. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  11302. capture
  11303. 2004-08-09 13:48 pbartok
  11304. * XplatUIX11.cs:
  11305. - Fixed default sizing for child windows
  11306. 2004-08-09 12:56 pbartok
  11307. * XplatUIX11.cs:
  11308. - Added generation of WM_DESTROY message
  11309. - Added handling of window manager induced shutdown
  11310. 2004-08-09 11:31 jackson
  11311. * ThemeWin32Classic.cs: New names for control properties
  11312. 2004-08-09 11:25 jackson
  11313. * Control.cs: Use new color names
  11314. 2004-08-09 11:02 jackson
  11315. * XplatUI.cs: Get default window properties from the theme
  11316. 2004-08-09 11:01 jackson
  11317. * ITheme.cs: The theme engine now controls default window
  11318. properties
  11319. 2004-08-09 11:00 jackson
  11320. * ThemeWin32Classic.cs: Add default window color properties
  11321. 2004-08-09 10:17 jackson
  11322. * ThemeWin32Classic.cs: Use correct default back color
  11323. 2004-08-09 10:05 jackson
  11324. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  11325. the theme now.
  11326. 2004-08-09 09:56 jackson
  11327. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  11328. 2004-08-09 09:54 jackson
  11329. * Control.cs: Get default properties from the theme.
  11330. 2004-08-09 09:53 jackson
  11331. * ITheme.cs: Themes now handle default control properties
  11332. 2004-08-09 09:53 jackson
  11333. * ThemeWin32Classic.cs: Themes now handle default control
  11334. properties so coloring will be consistent
  11335. 2004-08-08 16:54 jordi
  11336. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  11337. 2004-08-08 15:08 jordi
  11338. * XplatUIX11.cs: fixes keyboard crash
  11339. 2004-08-08 13:47 jordi
  11340. * Label.cs: add cvs header info
  11341. 2004-08-08 12:09 jackson
  11342. * ThemeWin32Classic.cs: Add pen_buttonface
  11343. 2004-08-08 11:52 jordi
  11344. * Label.cs, LinkLabel.cs: [no log message]
  11345. 2004-08-08 11:34 jordi
  11346. * ThemeWin32Classic.cs: Use Windows Standard Colours
  11347. 2004-08-07 17:32 jordi
  11348. * TrackBar.cs: throw exceptions of invalid enums values
  11349. 2004-08-07 17:31 jordi
  11350. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  11351. draw method name
  11352. 2004-08-07 16:56 jackson
  11353. * HorizontalAlignment.cs: Initial checkin
  11354. 2004-08-07 13:16 jordi
  11355. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  11356. methods
  11357. 2004-08-07 13:05 jordi
  11358. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  11359. GetSysColor defines
  11360. 2004-08-06 18:01 pbartok
  11361. * ThemeWin32Classic.cs:
  11362. - Fixed some rounding issues with float/int
  11363. 2004-08-06 18:00 jackson
  11364. * DockStyle.cs, AnchorStyles.cs:
  11365. Add flags and serializable attributes.
  11366. 2004-08-06 17:46 pbartok
  11367. * XplatUIX11.cs:
  11368. - Implemented GetParent
  11369. 2004-08-06 17:18 pbartok
  11370. * TrackBar.cs:
  11371. - Fixed some rounding issues with float/int
  11372. 2004-08-06 17:17 pbartok
  11373. * X11Structs.cs, XplatUIX11.cs:
  11374. - Fixed Refresh and Invalidate
  11375. 2004-08-06 15:30 pbartok
  11376. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  11377. - Fixed recursive loop when resizing
  11378. - Improved/fixed redrawing on expose messages
  11379. 2004-08-06 09:53 jordi
  11380. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  11381. keyboard navigation
  11382. 2004-08-06 08:02 pbartok
  11383. * X11Structs.cs, XplatUIX11.cs:
  11384. - Fixed reparenting
  11385. - Fixed window border creation
  11386. 2004-08-05 15:38 pbartok
  11387. * XplatUIX11.cs:
  11388. - Attempted fix for reparenting problems
  11389. 2004-08-04 15:14 pbartok
  11390. * Control.cs:
  11391. - Fixed Invalidation bug (calculated wrong client area)
  11392. - Added ClientSize setter
  11393. 2004-08-04 15:13 pbartok
  11394. * Form.cs:
  11395. - Added AutoScale properties
  11396. 2004-08-04 15:13 pbartok
  11397. * SWF.csproj:
  11398. - Added latest files
  11399. 2004-08-04 14:11 pbartok
  11400. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  11401. XplatUIX11.cs:
  11402. - Added Invalidate handling
  11403. 2004-08-03 17:09 jordi
  11404. * XplatUIDriver.cs: fixes spelling mistake
  11405. 2004-07-27 09:53 jordi
  11406. * TrackBar.cs: fixes trackbar events, def classname, methods
  11407. signature
  11408. 2004-07-27 09:29 jordi
  11409. * ScrollBar.cs: fixes scrollbar events
  11410. 2004-07-27 04:38 jordi
  11411. * Control.cs: changes to be able to run winforms samples
  11412. 2004-07-26 11:42 jordi
  11413. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  11414. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  11415. 2004-07-26 05:41 jordi
  11416. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  11417. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  11418. implementation
  11419. 2004-07-22 09:22 jordi
  11420. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  11421. check link overlapping, implement events, and fixes
  11422. 2004-07-21 10:28 jordi
  11423. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  11424. 2004-07-21 10:19 jordi
  11425. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  11426. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  11427. LinkLabelLinkClickedEventArgs.cs,
  11428. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  11429. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  11430. implementation
  11431. 2004-07-19 13:09 jordi
  11432. * Control.cs, Label.cs: label control re-written: added missing
  11433. functionlity, events, and properties
  11434. 2004-07-19 10:49 jordi
  11435. * Control.cs: fixes SetBounds logic
  11436. 2004-07-19 01:29 jordi
  11437. * Control.cs: Call RefreshWindow only if the window has created
  11438. 2004-07-15 14:05 pbartok
  11439. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  11440. - Implemented ImageList and ImageList.ImageCollection classes
  11441. - Added ColorDepth enumeration
  11442. - Updated SWF VS.Net project
  11443. 2004-07-15 11:06 jordi
  11444. * XplatUIStructs.cs: added MsgButons enum
  11445. 2004-07-15 11:03 jordi
  11446. * Control.cs: added basic mouse handeling events
  11447. 2004-07-15 03:38 jordi
  11448. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  11449. Vertical TrackBar control implementation
  11450. 2004-07-13 09:33 jordi
  11451. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  11452. 2004-07-13 09:31 jordi
  11453. * Control.cs, Form.cs: commit: new properties and fixes form size
  11454. problems
  11455. 2004-07-09 14:13 miguel
  11456. * ProgressBar.cs: Spelling
  11457. 2004-07-09 11:25 pbartok
  11458. * ProgressBar.cs:
  11459. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  11460. faster
  11461. 2004-07-09 11:17 miguel
  11462. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  11463. * ProgressBar.cs: Fixed spelling for `block'
  11464. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  11465. style guidelines.
  11466. Avoid using the += on rect.X, that exposed a bug in the compiler.
  11467. 2004-07-08 23:21 pbartok
  11468. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  11469. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  11470. BaseCollection.cs, Binding.cs, BindingContext.cs,
  11471. BindingMemberInfo.cs, BindingsCollection.cs,
  11472. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  11473. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  11474. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  11475. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  11476. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  11477. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  11478. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  11479. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  11480. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  11481. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  11482. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  11483. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  11484. InputLanguageChangedEventArgs.cs,
  11485. InputLanguageChangedEventHandler.cs,
  11486. InputLanguageChangingEventArgs.cs,
  11487. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  11488. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  11489. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  11490. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  11491. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  11492. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  11493. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  11494. QueryAccessibilityHelpEventArgs.cs,
  11495. QueryAccessibilityHelpEventHandler.cs,
  11496. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  11497. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  11498. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  11499. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  11500. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  11501. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  11502. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  11503. XplatUIX11.cs, lang.cs:
  11504. - Initial check-in