ChangeLog 670 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097
  1. 2006-11-17 Jackson Harper <[email protected]>
  2. * TextControl.cs: When soft splitting a line, mark it as a soft
  3. split line. Also carry over the current line break to the next
  4. line.
  5. 2006-11-17 Chris Toshok <[email protected]>
  6. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  7. only want to shift the part of the invalid area that overlaps the
  8. area we're scrolling. we also don't want to clear the invalid
  9. area unless the invalid area was entirely contained within the
  10. scrolling area.
  11. 2006-11-16 Chris Toshok <[email protected]>
  12. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  13. also make sure to free the memory returned by XGetWindowProperty
  14. in GetText().
  15. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  16. 2006-11-16 Chris Toshok <[email protected]>
  17. * XplatUI.cs: add a new super secret way to get at the totally
  18. unsupported X11 backend.
  19. 2006-11-16 Gert Driesen <[email protected]>
  20. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  21. 2006-11-16 Jackson Harper <[email protected]>
  22. * TreeView.cs: Allow more explicit setting of top node position
  23. for scrollbars. Slower algo, but more accurate.
  24. - CollapseAll should maintain the current top node.
  25. * TextBoxBase.cs: When positioning the caret, use the line, pos
  26. method, since the x, y method does not grab the correct tag, and
  27. the caret height never gets set correctly. (Maybe I should just do
  28. away with the caret having its own height, and always use the
  29. carets current tag for height).
  30. 2006-11-16 Jonathan Pobst <[email protected]
  31. [Fixes 79778, 79923]
  32. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  33. Parent to the FosterParent instead.
  34. 2006-11-16 Jackson Harper <[email protected]>
  35. * TreeView.cs: Need to recalc the topnode when we expand or
  36. collapse. The scrolling methods can't handle this on their own,
  37. since they use differences between the last scroll position, and
  38. those difference get completely messed up since we are expanding
  39. nodes. This problem should probably be fixed in the scrolling
  40. methods, so they can figure out exactly where they are, but this
  41. will slow things down a little.
  42. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  43. strings, makes nunit-gui look a lot nicer.
  44. 2006-11-16 Chris Toshok <[email protected]>
  45. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  46. the broken multithreaded event handling we have in here. File
  47. this entry under "Why we should move to the new X11 backend".
  48. Any thread can make it into UpdateMessageQueue, which gets events
  49. from the X socket - some of which could belong to hwnds being
  50. managed by a different thread. We can also have multiple threads
  51. in UpdateMessageQueue at the same time, with each one reading from
  52. the X socket. This leads to many problems, with the following
  53. solutions:
  54. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  55. EnqueueLocked.
  56. The MotionNotify compression we do can't work across threads
  57. (without locking the entire queue, perhaps) since we call
  58. hwnd.Queue.Peek, so we just punt and don't compress motion events
  59. unless the owning thread is the one which got the X event.
  60. ConfigureNotify is another fun one, since it modifies the hwnd's
  61. bounds and then enqueues the event. We add a lock to Hwnd which
  62. is held when setting configure_pending to true (and enqueuing the
  63. event).
  64. There is a race wrt the wake socket. we need to make sure that
  65. only 1 thread is waiting on that socket, or else a thread could
  66. sleep waiting for data that never comes. It's difficult (but not
  67. impossible) to make happen, because it seems to require something
  68. like the following:
  69. 1. Thread 1 polls on wake_receive
  70. 2. poll returns saying there's data to be read on
  71. wake_receive.
  72. 3. Thread 2 polls on wake_receive and immediately returns
  73. saying there's data to be read.
  74. 4. Thread 2 reads the wakeup byte from wake_receive
  75. 5. Thread 1 attempts to read the wakeup byte from
  76. wake_receive.
  77. 6. Thread 2 exits (due to a form closing, perhaps).
  78. 7. Thread 1 blocks forever.
  79. Fun, eh?
  80. Fixing the Expose handling isn't done yet, and the races inherent
  81. in that piece of code are responsible for the drawing mistakes you
  82. see when generating expose events in a MT app (like NPlot). This
  83. one is the likely to be the hardest to bandaid, and it doesn't
  84. appear to cause anything but drawing problems. The other issues
  85. caused apps to exit or hang.
  86. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  87. called from a different thread than the one that should be calling
  88. these functions.
  89. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  90. 2006-11-15 Chris Toshok <[email protected]>
  91. * Application.cs: null out the context's MainForm when we exit
  92. RunLoop. Fixes a newly checked in unit test as well as the last
  93. ODE from bug #79933.
  94. 2006-11-15 Chris Toshok <[email protected]>
  95. * Form.cs (set_Owner): allow a null value so we can clear the
  96. form's owner.
  97. (Dispose): set all our owned_form's Owner properties to null, and
  98. clear the owned_forms collection.
  99. (WM_CLOSE): clean up this a little bit.. still not right though.
  100. * ApplicationContext.cs: OnMainFormClosed should only call
  101. ExitThreadCore if the main form isn't recreating. Fixes unit
  102. test.
  103. 2006-11-15 Jonathan Pobst <[email protected]>
  104. [Fixes 78346]
  105. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  106. 2006-11-15 Jonathan Pobst <[email protected]>
  107. [Fixes 79433]
  108. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  109. keep popup window types from stealing focus from the main form
  110. on Windows.
  111. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  112. * MenuAPI.cs: Set above flag to true.
  113. 2006-11-15 Chris Toshok <[email protected]>
  114. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  115. the button being released is not in wParam.
  116. 2006-11-15 Jonathan Pobst <[email protected]>
  117. * Form.cs: Add the released button to MouseEventArgs.Button
  118. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  119. on Win32.
  120. 2006-11-15 Chris Toshok <[email protected]>
  121. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  122. GetText(). untested because it's unused in our implementation.
  123. Control.Text always caches the text, even if
  124. ControlStyles.CacheText is not set.
  125. fixes bug #79939.
  126. 2006-11-15 Chris Toshok <[email protected]>
  127. [ fixes #79933 ]
  128. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  129. message. no hiding, no disposing.
  130. in the WM_CLOSE handler, hide the form if it's modal.
  131. 2006-11-15 Chris Toshok <[email protected]>
  132. * XplatUIX11.cs: use AddExpose instead of sending a message.
  133. fixes textbox border drawing.
  134. 2006-11-15 Chris Toshok <[email protected]>
  135. * PropertyGridView.cs: keep from crashing on mouse move/down when
  136. the property grid is empty.
  137. 2006-11-14 Jackson Harper <[email protected]>
  138. * TextControl.cs: Make PageUp and PageDown more like the MS
  139. versions.
  140. * TextBoxBase.cs: When we set the text property position the
  141. cursor at the beginning of the document.
  142. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  143. * Form.cs: if a mdi child's WindowState has changed
  144. before it's creation, it would display wrong control
  145. buttons.
  146. 2006-11-14 Alexander Olk <[email protected]>
  147. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  148. (Fixes bug #79927)
  149. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  150. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  151. the window gets to paint its borders even if the window is
  152. getting smaller.
  153. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  154. otherwise the old control buttons would still be painted
  155. if the window gets bigger.
  156. * PaintEventArgs.cs: add an internal method so that the clip
  157. rectangle can be changed.
  158. 2006-11-13 Chris Toshok <[email protected]>
  159. [ fixes bug #79745 ]
  160. * NotifyIcon.cs: lots of cleanup.
  161. * X11Structs.cs: add an enum for XEMBED messages.
  162. * XplatUIX11.cs: reindent one of the giant switch statements, it
  163. was taking up an additional tab stop, and this file is already way
  164. too wide for my laptop's screen.
  165. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  166. we get it, resize the hwnd to the WMNormalHints max_width/height.
  167. 2006-11-13 Jackson Harper <[email protected]>
  168. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  169. teh simple way.
  170. 2006-11-13 Chris Toshok <[email protected]>
  171. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  172. #79898. force a reference to the Region to stick around so the
  173. unmanaged object isn't collected (rendering our handle in the MSG
  174. stale).
  175. 2006-11-13 Chris Toshok <[email protected]>
  176. * XplatUIX11.cs: fix #79917 for window managers which support
  177. using XStoreName on the raw utf8, and we need to convert to
  178. COMPOUND_TEXT if it's non-latin1.
  179. 2006-11-13 Chris Toshok <[email protected]>
  180. * Form.cs (set_DialogResult): we need to set closing to false if
  181. we're setting our result to None. fixes bug #79908.
  182. 2006-11-13 Jackson Harper <[email protected]>
  183. * TextControl.cs: When formatting text, compute the adjusted tag
  184. lengths correctly, using FindTag for the end tag instead of trying
  185. to figure it out outselves.
  186. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  187. the item, ItemHeight doesn't work, because trees with large
  188. imagelists use those for their height
  189. * TreeView.cs: ActualItemHeight factors in the image height
  190. - compute left edge of checkboxes correctly
  191. - when expanding/collapsing move the bottom down one pixel, so we
  192. aren't moving part of the node
  193. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  194. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  195. stack in PaintEventStart so that it won't get disposed by the gc
  196. before reaching PaintEventEnd.
  197. 2006-11-13 Jackson Harper <[email protected]>
  198. * TextBoxBase.cs: Don't select the word if we are on a line with
  199. no text.
  200. - We don't need to position the caret on mouse up, since the mouse
  201. move handler should be doing this
  202. - When double clicking a blank line, the caret is advanced to the
  203. next line.
  204. 2006-11-13 Gert Driesen <[email protected]>
  205. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  206. 2006-11-12 Gert Driesen <[email protected]>
  207. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  208. Fixes part of bug #79910.
  209. 2006-11-11 Alexander Olk <[email protected]>
  210. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  211. (bug #79903). Some minor string updates to match ms.
  212. 2006-11-10 Alexander Olk <[email protected]>
  213. * FileDialog.cs: Don't add an extension if the filename
  214. already ends with that extension.
  215. 2006-11-10 Jackson Harper <[email protected]>
  216. * TreeView.cs: Use the currently highlighted node for the
  217. BeforeSelect event.
  218. * TextBoxBase.cs: There is no need to expand selection on
  219. MouseMove.
  220. - CanUndo means 'is there any undo operations', not 'is undo
  221. allowed on this textcontrol. Fixed ClearUndo unit test.
  222. 2006-11-10 Andreia Gaita <[email protected]>
  223. * Button.cs: only perform click when button is Selectable (so as
  224. not to activate default buttons when they're disabled)
  225. * Control.cs: Rewrite of the SelectNextControl and related
  226. methods. HandleClick now selects next control if the current one
  227. is being disabled.
  228. * Form.cs: OnActivated selects next active control only if Load
  229. has already occurred. If Load hasn't run, there's no point in
  230. selecting here, Load might change the state of controls.
  231. * FocusTest.cs: Tests marked as working again for these fixes
  232. 2006-11-10 Chris Toshok <[email protected]>
  233. * XplatUIX11.cs: a couple of fixes.
  234. - use XInternAtoms with almost all the atoms we need to register,
  235. instead of many, many calls to XInternAtom. should help a bit on
  236. startup time, at the expense of making the code look a little
  237. worse.
  238. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  239. isn't reparented (which seems to be a clue that we're running fon
  240. compiz) and they have an Owner form. This fixes the tool windows
  241. in paint.net when running under compiz.
  242. - when setting the opacity of a window, support both the case
  243. where the window has been reparented and also when it hasn't been.
  244. Since compiz/beryl doesn't seem to reparent windows, and these are
  245. the only window managers which support translucency, I'm not sure
  246. why we need the hwnd.reparented case at all.. but leave it in.
  247. now we get translucent windows in paint.net under compiz/beryl.
  248. 2006-11-10 Alexander Olk <[email protected]>
  249. * FileDialog.cs: Always return the value for FilterIndex that
  250. was set. Internally convert it to values that make sense.
  251. 2006-11-10 Everaldo Canuto <[email protected]>
  252. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  253. 2006-11-10 Everaldo Canuto <[email protected]>
  254. * Toolbar.cs: Change default value of DropDownArrows to true, the
  255. signature still using false to make it compatible with MS but the
  256. initial value is true. Fixes #79855.
  257. 2006-11-10 Alexander Olk <[email protected]>
  258. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  259. only available on Linux.
  260. 2006-11-09 Everaldo Canuto <[email protected]>
  261. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  262. reduce number of calls to redraw method during toolbar creation.
  263. 2006-11-09 Mike Kestner <[email protected]>
  264. * ListView.cs : raise SelectedIndexChanged when an item is selected
  265. programmatically via the Item.Selected property. Gert's nice
  266. ListViewSelectedIndexChanged test fixture now runs clean.
  267. 2006-11-09 Mike Kestner <[email protected]>
  268. * ListView.cs : raise SelectedIndexChanged when a selected item is
  269. removed from the item collection using Remove or RemoveAt.
  270. 2006-11-09 Mike Kestner <[email protected]>
  271. * ListView.cs : raise SelectedIndexChanged once per selected item
  272. for compat with MS. Fixes #79849+.
  273. 2006-11-09 Chris Toshok <[email protected]>
  274. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  275. we need to (if we have any tab pages). Fixes unit test.
  276. 2006-11-09 Chris Toshok <[email protected]>
  277. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  278. width is 0, not 3. Fixes a unit test.
  279. 2006-11-09 Mike Kestner <[email protected]>
  280. * ListView.cs : use Implicit scrollbars so that focus isn't
  281. stolen from the listview when they are clicked. Fixes #79850.
  282. 2006-11-09 Chris Toshok <[email protected]>
  283. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  284. have a root item. Fixes #79879.
  285. 2006-11-09 Alexander Olk <[email protected]>
  286. * FileDialog.cs:
  287. - Fix ToString ()
  288. - An ArgumentException is now thrown if a wrong filter
  289. is applied (matches ms). The previous filter doesn't change
  290. anymore if an exception is thrown.
  291. - Changing the FileName property also affects FileNames
  292. * ColorDialog.cs: The length of the CustomColors array is always
  293. 16. It doesn't matter if we use a smaller array or null to update
  294. or change the custom colors property.
  295. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  296. for RootFolder if we get a undefined value.
  297. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  298. * StatusBarPanel.cs:
  299. - Width is set to MinWidth if Width is smaller than
  300. MinWidth. Fixes #79842.
  301. - MinWidth now always overrides Width (MSDN says MinWidth
  302. is set to Width when AutoSize = None, but they do not
  303. behave like that).
  304. - Style has now the the correct default value.
  305. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  306. * TrackBar.cs:
  307. - The control is completely invalidated on
  308. Got/LostFocus to draw the focus rectangle correctly.
  309. - When AutoSize then height is always 45 (width for
  310. vertical controls).
  311. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  312. on the mouse when moved and it doesn't move when grabbed
  313. until the mouse moves as well. Also fixed some wrong
  314. calculations when clicking on the thumb (control thought
  315. click was outside of thumb and didn't grab it).
  316. Fixes some of the issues in #79718.
  317. 2006-11-08 Everaldo Canuto <[email protected]>
  318. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  319. 2006-11-08 Chris Toshok <[email protected]>
  320. * PropertyGridView.cs: only call ToggleValue if the item is not
  321. readonly.
  322. 2006-11-08 Jackson Harper <[email protected]>
  323. * TextBoxBase.cs: The RichTextBox and textbox have very different
  324. word selection methods. Implement the textbox's simple word
  325. selection here, and let the RichTextBox override and provide it's
  326. own.
  327. - Don't do extra selection on mouseup
  328. * RichTextBox.cs: Use the documents word selection algorithm, I
  329. think ideally, this function will be pulled into the
  330. RichTextBox.cs code someday.
  331. 2006-11-08 Chris Toshok <[email protected]>
  332. * RootGridEntry.cs: new class to represent GridItemType.Root.
  333. * CategoryGridEntry.cs: reformat, and add boilerplate.
  334. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  335. returns the UI parent anyway, and we need special handling to
  336. implement the GetTarget method in the face of it. Also, implement
  337. Select().
  338. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  339. a root grid item, and use that instead of PropertyGrid.grid_items.
  340. Also, make use of TypeConverters (and add limitted support for
  341. ICustomTypeDescriptors) when initially populating the grid.
  342. Arrays now show up more or less properly.
  343. 2006-11-08 Chris Toshok <[email protected]>
  344. * Application.cs: set the modal dialog to non modal after we close
  345. it. Fixes bug #79866.
  346. 2006-11-08 Jackson Harper <[email protected]>
  347. * TextControl.cs: When combining lines carry over the line end
  348. style from the end line.
  349. - Invalidate the selected area when setting it, if it is visible.
  350. * TextBoxBase.cs: Only rich text box can do full line selects.
  351. - Make sure to set the cursor position when there is a click,
  352. otherwise two clicks in separate areas could cause a large chunk
  353. to be selected.
  354. 2006-11-07 Everaldo Canuto <[email protected]>
  355. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  356. Fixes #79863.
  357. 2006-11-07 Everaldo Canuto <[email protected]>
  358. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  359. time. Remove tooltips when ToolButton click events. Fixes #79856.
  360. 2006-11-07 Everaldo Canuto <[email protected]>
  361. * MenuAPI.cs: Ignore right click for menu actions and fixes
  362. menu border when clicked. Fixes #79846.
  363. 2006-11-07 Everaldo Canuto <[email protected]>
  364. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  365. MouseState after create wParam for message, this fixes mouse button
  366. equal none in mouse up events.
  367. 2006-11-07 Andreia Gaita <[email protected]>
  368. * Control.cs : Focus() now calls Select to set the Container's
  369. Active Control and to give it focus. To avoid infinite recursion
  370. (because ActiveControl also calls Focus at one point), a check
  371. is made in Focus with the help of a new internal variable
  372. is_focusing.
  373. 2006-11-07 Mike Kestner <[email protected]>
  374. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  375. if there's a selection. Fixes #79849.
  376. 2006-11-07 Gert Driesen <[email protected]>
  377. * PropertyGrid.cs: Avoid fixed height of help description label.
  378. Fixes part of bug #79829.
  379. 2006-11-07 Chris Toshok <[email protected]>
  380. * XplatUIX11.cs: fix #79790 again, by using the
  381. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  382. 2006-11-07 Everaldo Canuto <[email protected]>
  383. * ToolBar.cs: Fix left click checking.
  384. 2006-11-07 Chris Toshok <[email protected]>
  385. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  386. 2006-11-07 Chris Toshok <[email protected]>
  387. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  388. PropertyManager unit tests.
  389. * PropertyManager.cs: make property_name internal.
  390. 2006-11-07 Chris Toshok <[email protected]>
  391. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  392. pass a unit test. Also, don't set image_index to anything in
  393. response to setting the ImageList property.
  394. 2006-11-07 Everaldo Canuto <[email protected]>
  395. * ToolBar.cs: Ignore click events when mouse button is not a
  396. left button, only accepts other button for dropdown menus.
  397. Fixes #79854.
  398. 2006-11-07 Chris Toshok <[email protected]>
  399. * DataGrid.cs: make the back and parent row buttons a little less
  400. ugly.
  401. 2006-11-07 Jackson Harper <[email protected]>
  402. * TextBoxBase.cs: When converting to Text don't put line breaks in
  403. for soft line breaks.
  404. * TextControl.cs: There is an initial "fake" line in the document,
  405. this is now a soft break line, so that an extra line feed doesn't
  406. get added to the end of documents.
  407. 2006-11-07 Chris Toshok <[email protected]>
  408. [ fix bug #79778 ]
  409. * CurrencyManager.cs: if the list is readonly, don't bother
  410. checking if IBindingList.AllowNew is true.
  411. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  412. for non-DataRowView datasources.. or rather, make it not crash.
  413. (DataGridPaintRelationRow): make sure we limit the row painting to
  414. the area not covered by the row header, and make our cell width at
  415. least large enough to cover the relation area. This allows grids
  416. that have relations but no rows to render correctly.
  417. (DataGridPaintRowContents): same type of changes here.
  418. (SetDataSource): move back to always calling
  419. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  420. navigating back through relations.
  421. (HitTest): handle the case where we have no cells but have
  422. relations. Right now we generate a hit in cell 0 of whatever the
  423. row is, not sure if this is strictly correct, but it works for our
  424. purposes.
  425. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  426. bother doing anything.
  427. 2006-11-07 Jonathan Pobst <[email protected]>
  428. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  429. early version of StatusStrip. Not responsible for eaten
  430. application or firstborn children.
  431. 2006-11-06 Chris Toshok <[email protected]>
  432. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  433. call GetTabRect with a -1 index. Fixes #79847.
  434. 2006-11-06 Jackson Harper <[email protected]>
  435. * TreeNodeCollection.cs: Update scrollbars after clearing.
  436. 2006-11-06 Chris Toshok <[email protected]>
  437. * NumericUpDown.cs: fix the ToString method for some unit test
  438. love.
  439. 2006-11-06 Chris Toshok <[email protected]>
  440. * PropertyGrid.cs:
  441. - set the initial SelectedGridItem if we can.
  442. - Exclude non-mergable properties only if we're merging > 1
  443. object. Merging 1 object isn't really merging, obviously.
  444. - Handle PropertySort.NoSort just like Alphabetical, which is
  445. wrong of course, but at least gets things on the screen.
  446. * PropertyGridView.cs:
  447. - Add method "FindFirstItem" which finds the first property grid
  448. item, so we can select it by default.
  449. - make use of GridEntry.CanResetValue.
  450. - Don't call RedrawBelowItemOnExpansion here anymore, the
  451. individual GridEntry's will do that.
  452. - Remove the ITypeDescriptorContextImpl internal class.
  453. * GridEntry.cs:
  454. - this class needs to implement ITypeDescriptorContext, as it's
  455. what MS's PropertyDescriptorGridEntry does, which means we can
  456. remove the ITypeDescriptorContextImpl internal class from
  457. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  458. - keep a reference to our PropertyGridView, and move the call to
  459. RedrawBelowItemOnExpansion here from PGV. This means
  460. programmaticly setting Expanded actually does something visible.
  461. - add a CanResetValue() function which takes into account our
  462. possibly multiple "selected_objects" in the merged case. Shifting
  463. PropertyGridView to use this method fixes another unreported
  464. crasher found running the test for #79829.
  465. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  466. is updated to reflect this.
  467. * CategoryGridEntry.cs: the ctor takes the PGV now.
  468. 2006-11-06 Jackson Harper <[email protected]>
  469. * TextControl.cs: These are 1 based.
  470. * TextBoxBase.cs: When setting the selected text, don't change the
  471. selected text tags, this is done by ReplaceText, just position the
  472. cursor at the end of the new text.
  473. 2006-11-06 Alexander Olk <[email protected]>
  474. * ListView.cs: Allow label edit only when, when LabelEdit is
  475. set to true.
  476. 2006-11-06 Jackson Harper <[email protected]>
  477. * TextControl.cs: If a suitable wrapping position isn't found,
  478. just wrap right in the middle of a word.
  479. 2006-11-06 Alexander Olk <[email protected]>
  480. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  481. bug #79820.
  482. 2006-11-06 Jackson Harper <[email protected]>
  483. * TreeView.cs: Can't use the VisibleCount property when setting
  484. scrollbar heights, because this doesn't take into account whether
  485. or not the horz scrollbar just came visible.
  486. 2006-11-05 Everaldo Canuto <[email protected]>
  487. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  488. activated. Fixes #79369, #79832.
  489. 2006-11-05 Alexander Olk <[email protected]>
  490. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  491. had to remove support for links that point to a directory. FileInfo
  492. returns no usefull information (means, the directory they point to)
  493. for such links. Replaced some empty string ("") with String.Empty.
  494. 2006-11-04 Gert Driesen <[email protected]>
  495. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  496. NullReferenceException when attempting to remove node that is not in
  497. collection. Throw NullReferenceException when null is passed to
  498. Remove. Allow first element of the collection to be removed. Fixes
  499. bug #79831. In GetEnumerator ().Current return null if positioned
  500. before the first element of the collection. In GetEnumerator ().Reset,
  501. position before first element of the collection.
  502. 2006-11-04 Gert Driesen <[email protected]>
  503. * PropertyGrid.cs: To match MS, remove default title and description
  504. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  505. buttons.
  506. 2006-11-04 Chris Toshok <[email protected]>
  507. * Theme.cs: add a Clamp method, just for kicks.
  508. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  509. 2006-11-04 Chris Toshok <[email protected]>
  510. * Form.cs: if the form isn't visible, Close() does nothing.
  511. 2006-11-03 Chris Toshok <[email protected]>
  512. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  513. Hide it.
  514. (WndProc): don't Dispose after handling the WM_CLOSE message.
  515. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  516. them as such, instead of using casts from Control to Form. Also,
  517. don't Dispose of the modal dialog when we fall out of the loop -
  518. Close() it instead.
  519. fixes bug #79813.
  520. 2006-11-03 Chris Toshok <[email protected]>
  521. * Control.cs (Dispose): only go through the dispose thing if we're
  522. @disposing, and we haven't already been disposed. Fixes bug
  523. #79814.
  524. * Form.cs: no reason to call "base.Dispose()" here instead of
  525. "Dispose()".
  526. 2006-11-03 Mike Kestner <[email protected]>
  527. * ComboBox.cs : use ToString instead of casts in AddItem for
  528. sorting functionality. Fixes #79812.
  529. 2006-11-03 Chris Toshok <[email protected]>
  530. * Application.cs: pave the way for actually using the thread
  531. exception dialog. it's ifdefed out at the moment.
  532. 2006-11-03 Chris Toshok <[email protected]>
  533. * ThreadExceptionDialog.cs: until we get a better layout, actually
  534. hide the details textbox and label when we shouldn't see them.
  535. 2006-11-03 Jackson Harper <[email protected]>
  536. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  537. multiline textboxes anymore. This method also determines the
  538. width/height of a textboxes canvas area.
  539. - Sorta a revert of the last patch. For multiline just position
  540. the controls, then bail. This way the scrollbar width won't be
  541. altered.
  542. 2006-11-03 Everaldo Canuto <[email protected]>
  543. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  544. it dont need. Fixes #79537.
  545. 2006-11-02 Jackson Harper <[email protected]>
  546. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  547. send the status after firing the DndOver event.
  548. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  549. * TrackBar.cs: Now orientation only switches height / width if
  550. the control's handle is created (Win32 does it like this). Also
  551. fixed a typo in ToString() for a test to pass, changed the
  552. exception thrown in set_LargeChange and set_SmallChange to
  553. match Win32 behaviour, and added TrackBar tests to the unit
  554. tests.
  555. 2006-11-02 Chris Toshok <[email protected]>
  556. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  557. not _NET_WM_STATE_NO_TASKBAR.
  558. 2006-11-02 Jackson Harper <[email protected]>
  559. * TextControl.cs: Increment count by one, since in the update view
  560. count - 1 is used.
  561. 2006-11-02 Jackson Harper <[email protected]>
  562. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  563. the mouse is in the client rectangle (duh).
  564. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  565. * TrackBar.cs: Fixed trackbar jumping around when clicking
  566. on it - the trackbar was not detecting correctly at which
  567. side of the thumb the click was done. (fixes #79718)
  568. 2006-11-02 Everaldo Canuto <[email protected]>
  569. * ListBox.cs: scroll visible area when change SelectedIndex to
  570. a non visible area. Fixes #79481.
  571. 2006-11-01 Jackson Harper <[email protected]>
  572. * TextControl.cs: When replacing the selection move the selection
  573. start/end/anchor to the end of the new text.
  574. 2006-11-01 Jackson Harper <[email protected]>
  575. * XplatUIWin32.cs: When setting the parent change the controls
  576. visibility to it's visibility flag, not to it's old parents
  577. visibility (.Visible walks the parent chain).
  578. 2006-11-01 Chris Toshok <[email protected]>
  579. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  580. XSetTransientForHint fix breaks paint .net's tool windows. more
  581. work needed for that one.
  582. 2006-11-01 Chris Toshok <[email protected]>
  583. * ScrollBar.cs: throw ArgumentException instead of Exception in
  584. LargeChange/SmallChange setters. fixes unit tests.
  585. 2006-10-31 Andreia Gaita <[email protected]>
  586. * ContainerControl.cs: reverted rev.67183 (which was itself
  587. a reversion of rev.66853... eh).
  588. * Control.cs: Fixes Reflector hang by changing Focus() call
  589. to what it was before rev.66643 (calling Select() here sets
  590. ActiveControl, which in some situations calls back Focus and
  591. eventually does a stack overflow). Temp fix.
  592. Changes to GetNextControl() to not look for children to select when
  593. parent cannot be selectable (so it looks for siblings instead)
  594. 2006-10-31 Mike Kestner <[email protected]>
  595. * CheckedListBox.cs : off by one error in returned index from
  596. ObjectCollection.Add. Fixes #79758.
  597. 2006-10-31 Chris Toshok <[email protected]>
  598. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  599. calls for the textbox/spinner, to keep from recursing to the point
  600. where we crash. Fixes #79760.
  601. 2006-10-31 Chris Toshok <[email protected]>
  602. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  603. null/"" value, just return. matches ms's behavior and fixes some
  604. failing tests.
  605. 2006-10-31 Chris Toshok <[email protected]>
  606. * Control.cs (set_Capture): make a logic a little easier to
  607. follow.
  608. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  609. if it's being destroyed. A necessary fix surely, but a bandaid
  610. also, to fix the stuck capture problem in bug #78413.
  611. 2006-10-31 Chris Toshok <[email protected]>
  612. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  613. convention of clearing hwnd.ClientRect when we set the
  614. width/height (so it'll be recalculated by Hwnd).
  615. 2006-10-31 Andreia Gaita <[email protected]>
  616. * ContainerControl.cs: reversed Contains check from
  617. ActiveControl due to hanging problems. This fix
  618. partly regresses #79667 (button does not have
  619. initial focus), so this might be a symptom for
  620. a larger parenting problem (set_ActiveControl
  621. is being called but the child control does
  622. not have the parent set yet?)
  623. 2006-10-31 Mike Kestner <[email protected]>
  624. * MenuAPI.cs : fix keynav when menu is click activated.
  625. 2006-10-31 Jonathan Pobst <[email protected]>
  626. * ToolStrip*: Version 0.2.
  627. * MenuStrip.cs: Version 0.1.
  628. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  629. 2006-10-30 Chris Toshok <[email protected]>
  630. [ fixes the oversized notify icon issue in bug #79745 ]
  631. * NotifyIcon.cs: scale the icon down to the size we're given by
  632. the XplatUI layer (this would be faster if we did it once instead
  633. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  634. since it's never invoked.
  635. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  636. pixels high by default, so let's hardcode our systray icon to that
  637. size. The SYSTEM_TRAY protocol should really have a way for
  638. client apps to query for the correct icon size.. but oh well. A
  639. couple of patches to deal with the screwy client_window ==
  640. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  641. instance, and also make sure we don't XSelectInput twice).
  642. 2006-10-30 Chris Toshok <[email protected]>
  643. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  644. recreating forms. Control recreation is the bane of my existence.
  645. Fix it in a way that keeps everyone happy.
  646. 2006-10-30 Chris Toshok <[email protected]>
  647. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  648. just non-CHILD ones. otherwise sometimes scrollbars end up with
  649. client_windows not being resized to the proper size (ReportBuilder
  650. shows this extremely well).
  651. 2006-10-30 Chris Toshok <[email protected]>
  652. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  653. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  654. showing up in the gnome taskbar. Fixes bug #79790.
  655. 2006-10-30 Chris Toshok <[email protected]>
  656. * ApplicationContext.cs: guard against a NRE.
  657. * Application.cs: null out the old MainForm for the context, so we
  658. don't try to use it again once it's disposed. Fixes bug #79783.
  659. 2006-10-30 Chris Toshok <[email protected]>
  660. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  661. BindingContext, set the data source directly, otherwise do the
  662. lazy approach - the actual ListManager will be created when we get
  663. a BindingContext. Fixes bug #79700.
  664. 2006-10-30 Jonathan Pobst <[email protected]>
  665. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  666. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  667. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  668. 2006-10-30 Jonathan Pobst <[email protected]>
  669. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  670. of SetVisible that allows a window to be shown, but not activated.
  671. This is needed on Windows for MenuStrip, and can probably be used
  672. with MainMenu and ComboBox to fix the focus stealing issues on
  673. Windows.
  674. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  675. 2006-10-30 Alexander Olk <[email protected]>
  676. * PictureBox.cs: Fix the output of the ToString method.
  677. 2006-10-29 Chris Toshok <[email protected]>
  678. * Control.cs (get_TopLevelControl): fix bug #79781.
  679. 2006-10-29 Chris Toshok <[email protected]>
  680. * ListControl.cs (set_DataSource): throw Exception here, not
  681. ArgumentException, to match MS behavior.
  682. 2006-10-29 Chris Toshok <[email protected]>
  683. * Form.cs: remove the try-catch's around calls to GetWindowState.
  684. We can just check the return value.
  685. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  686. Instead return -1.
  687. * XplatUI.cs: Add note about additional return value for
  688. GetWindowState.
  689. 2006-10-29 Chris Toshok <[email protected]>
  690. * Control.cs (CreateHandle): when we create our handle, we also
  691. create the handles of our child controls. Fixes one of the
  692. Control unit tests (CH11).
  693. 2006-10-28 Alexander Olk <[email protected]>
  694. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  695. 2006-10-28 Alexander Olk <[email protected]>
  696. * ThemeClearlooks.cs: A little speedup.
  697. 2006-10-27 Chris Toshok <[email protected]>
  698. * Control.cs: implement Control.FromChildHandle in a way that
  699. matches the docs (and fixes the failed test.)
  700. 2006-10-27 Chris Toshok <[email protected]>
  701. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  702. comments).
  703. * DataGrid.cs: implement ResetForeColor such that the tests
  704. succeed.
  705. 2006-10-27 Chris Toshok <[email protected]>
  706. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  707. being set to "". Fixes bug #79759.
  708. 2006-10-27 Jackson Harper <[email protected]>
  709. * TextControl.cs: We need to clear the entire selection area when
  710. setting the start, otherwise multiline selections are still
  711. visible.
  712. 2006-10-26 Chris Toshok <[email protected]>
  713. * PropertyGridView.cs:
  714. - ifdef all the code specific to the double
  715. buffer case, and provide some alternatives in the non-doublebuffer
  716. code, which makes heavy use of XplatUI.ScrollWindow to move things
  717. around without having to invalidate (and cause flicker). There
  718. are still some drawing problems in the non-doublebuffered case, so
  719. DOUBLEBUFFER is defined by default.
  720. - Fix the way dropdowns are handled. now we explicitly watch for
  721. the events which might cause the dropdown to close, and break out
  722. of the nested event loop there. This gets rid of all Capture
  723. code, at the expense of the Msg special casing. Seems to work,
  724. though, and fixes bug #79743.
  725. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  726. * Control.cs: SetIsRecreating now recreates implicitly added
  727. child controls as well. Finally fixes #79629. The flag passed to
  728. SetIsRecreating has also been removed since it wasn't used.
  729. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  730. * PageSetupDialog.cs: Clean some code, fix some bits,
  731. add some checks, and add a printer sub-dialog.
  732. 2006-10-26 Chris Toshok <[email protected]>
  733. * PropertyGrid.cs: make set_SelectedObject call
  734. set_SelectedObjects, and move the duplicate logic to the
  735. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  736. * PropertyGridView.cs: hide the textbox when we get a
  737. SelectedObjectsChanged event.
  738. Fixes bug #79748.
  739. 2006-10-26 Chris Toshok <[email protected]>
  740. * PropertyGridView.cs: deal with the type converter not supporting
  741. GetStandardValues() or GetStandardValues() returning null, which
  742. is does in the default case. Fixes #79742.
  743. 2006-10-25 Andreia Gaita <[email protected]>
  744. * CheckedListBox.cs: nunit no longer crashes when selecting
  745. Project/Edit menu option
  746. 2006-10-25 Andreia Gaita <[email protected]>
  747. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  748. is no menu selected. fixes #79739
  749. 2006-10-25 Chris Toshok <[email protected]>
  750. * PropertyGridView.cs: factor out the splitter invalidation code
  751. into the SplitterPercent setter, and for kicks implement the
  752. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  753. amount in either direction.
  754. 2006-10-25 Chris Toshok <[email protected]>
  755. * PropertyGridView.cs: do some cleanup of the brush used to draw
  756. text - read only fields should be grayed out. not sure how to do
  757. this with the textbox, though. but the textbox's should also be
  758. readonly now at least. Also, hide/show the textbox when resizing
  759. the control.
  760. * CursorConverter.cs: use System.Reflection when getting the
  761. properties of Cursors, as TypeDescriptor.GetProperties isn't
  762. returning static properties.
  763. 2006-10-25 Chris Toshok <[email protected]>
  764. * PropertyGridView.cs: factor out the up/down handling, and reuse
  765. it for page up/down. also add End/Home support.
  766. 2006-10-25 Chris Toshok <[email protected]>
  767. * PropertyGridView.cs:
  768. - ensure the selected grid item is visible in the scrolled area,
  769. fixes bug #79572.
  770. - fix Keys.Down handling when you're on the last item in the
  771. propertygrid.
  772. 2006-10-25 Mike Kestner <[email protected]>
  773. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  774. clicks too. Fixes #79725.
  775. 2006-10-24 Chris Toshok <[email protected]>
  776. * PropertyGrid.cs: use property.Converter instead of
  777. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  778. TypeConverters declared on the property as well as on the
  779. PropertyType. Fixes bug #79678.
  780. 2006-10-24 Alexander Olk <[email protected]>
  781. * MimeIcon.cs, Mime.cs:
  782. Fallback to the default platform handler if no shared mime info
  783. stuff exists (fixes #79693).
  784. 2006-10-20 Andreia Gaita <[email protected]>
  785. * ContainerControl.cs: Incorrect contains check in ActiveControl
  786. from previous fix (duh).
  787. 2006-10-20 Chris Toshok <[email protected]>
  788. * PropertyGridView.cs: the dropdown should be MIN(number of items
  789. in list, 15). Fixes #79551.
  790. 2006-10-20 Andreia Gaita <[email protected]>
  791. Fixes #79384, #79394, #79652, #79667
  792. * Application.cs:
  793. - Modal windows are now destroyed in the proper order for windows
  794. * ContainerControl.cs:
  795. - ActiveControl setter has more conditions on when to return:
  796. - if we're reselecting the active control, but it actually
  797. didn't have focus (window hidden or some such), it runs
  798. - if the active control being selected doesn't actually
  799. exist in the container, it returns
  800. * Form.cs
  801. - The ShowDialog now gets the current form as the owner when
  802. invoking without parameters, and correctly activates the owner
  803. when returning
  804. * MessageBox.cs
  805. - MessageBox now catches the Escape key to exit
  806. 2006-10-20 Chris Toshok <[email protected]>
  807. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  808. most of bug #79676):
  809. - you can navigate around the property grid with the arrow keys.
  810. - the dropdown is sized properly when the pg has a vertical
  811. scrollbar.
  812. - fix the indentation for subentries, and properly select the
  813. entire label rect.
  814. - fix the gray bar's drawing (only draw it to the last element,
  815. not for the height of the control. Also make sure we draw that
  816. last horizontal grid line.
  817. - use the same mechanism the datagrid uses wrt the editing textbox
  818. when scrolling/resizing/etc. Namely, we hide it first, do the
  819. operation, then show it again (if it's still visible).
  820. - aggressively remove a lot of unnecessary refreshes (and also
  821. calls to Invalidate(). call more limited variants, and only redraw
  822. what we need.)
  823. * PropertyGrid.cs:
  824. - when we're populating the merged collection, fill in the UI
  825. parent with either the passed in item, or the category item we
  826. create.
  827. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  828. * GridItem.cs: drop some fully qualified names.
  829. * GridEntry.cs: add a "UIParent", which is basically the parent
  830. treenode.
  831. * GridItemCollection.cs: add an IndexOf method.
  832. 2006-10-20 Mike Kestner <[email protected]>
  833. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  834. a working win32 NC invalidation mechanism, we can't invalidate
  835. menus. [Fixes #79705]
  836. 2006-10-20 Mike Kestner <[email protected]>
  837. * ListBox.cs : don't update the VScrollbar if the list is empty,
  838. just hide it. [Fixes #79692]
  839. 2006-10-20 Jackson Harper <[email protected]>
  840. * RichTextBox.cs: Handle some special chars better, and don't skip
  841. the entire group when we encounter a special char that we don't
  842. handle correctly.
  843. 2006-10-18 Chris Toshok <[email protected]>
  844. * PropertyGridView.cs: address a number of issues from bug #79676,
  845. mostly of the cosmetic variety.
  846. - The highlight rectangle for indented items not extends all the
  847. way to the left.
  848. - Indented items aren't indented so much.
  849. - the dropdown is properly sized width-wise if the pg has a
  850. vertical scrollbar.
  851. 2006-10-18 Chris Toshok <[email protected]>
  852. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  853. systray stuff is rather convoluted to begin with.
  854. systray icons are a single window for some reason (that I haven't
  855. figured out yet), and for them, client_window == whole_window.
  856. Given the way the tests are structured elsewhere to determine
  857. which paints are pending (client vs. nc), that situation will
  858. always yield PAINT, not NCPAINT. So, if we have a pending
  859. nc_expose and no pending expose, remove the hwnd from the paint
  860. queue, and also set nc_expose_pending to false, to keep us from
  861. blocking further expose's adding the hwnd to the paint queue.
  862. phew. like i said, a rather convoluted change. Fixes the
  863. notifyicon repaint issues in bug #79645.
  864. 2006-10-18 Chris Toshok <[email protected]>
  865. * Form.cs: when getting the backcolor of the form, don't get
  866. base.BackColor, as this allows parents to influence the background
  867. color. This breaks mdi forms. Instead, if the background_color
  868. is empty, return the default.
  869. 2006-10-18 Chris Toshok <[email protected]>
  870. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  871. to being private instead of internal static.
  872. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  873. crap, it wasn't working for more deeply nested controls anyway,
  874. and we already have the is_recreating flag - use that instead.
  875. Before calling DestroyHandle in RecreateHandle, recurse through
  876. the control tree setting it to true. this returns the recreate
  877. code to much of its original simplicity, while now guaranteeing we
  878. actually recreate everything we're supposed to. This change gets
  879. fyireporting actually showing mdi children.
  880. 2006-10-17 Chris Toshok <[email protected]>
  881. * Form.cs: remove some debug spew, and collapse some duplicate
  882. code at the end of SetClientSizeCore.
  883. * XplatUIX11.cs:
  884. - add some more debug spew here too wrt Destroy handling.
  885. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  886. in Control's handling of WM_DESTROY.
  887. - Remove the handling of zombie window DestroyNotifies from the
  888. event loop - we don't need it. Now the only DestroyNotifies we
  889. actually handle are ones generated by X.
  890. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  891. match gtk's (functioning) handling of this. This keep metacity
  892. from leaving droppings in the form of wm borders with no window
  893. contents all over the place.
  894. * Control.cs:
  895. - add a bunch of debug spew wrt control recreation.
  896. - fix a bug where we weren't tracking Visible properly on
  897. recreated hwnds.
  898. - fixed the WM_PAINT double buffer handling to support re-entrant
  899. calls (yes, i know it's gross, but it's happening to us).
  900. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  901. * ThemeWin32Classic.cs: changed drawing of selected days
  902. to make them look better.
  903. 2006-10-16 Chris Toshok <[email protected]>
  904. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  905. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  906. * XplatUIX11.cs: move away from using hwnd.client_dc and
  907. hwnd.non_client_dc and on to a stack of dc's (and in window's
  908. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  909. without puking or not disposing of Graphics objects.
  910. * XplatUIOSX.cs: same.
  911. * XplatUIWin32.cs: same.
  912. 2006-10-03 Alexander Olk <[email protected]>
  913. * FileDialog.cs: Don't call on_directory_changed inside
  914. OnSelectedIndexChanged (it changes the SelectedIndex too).
  915. Instead move it to OnSelectionChangeCommitted.
  916. 2006-10-13 Chris Toshok <[email protected]>
  917. * XplatUIX11.cs: more Destroy work. the current code does the
  918. following things, in order:
  919. 1. Enumerates all handles of all controls at or below the one
  920. being destroyed, in pre-order. As it is doing this, it marks the
  921. handles as zombie and clears all references to them.
  922. 2. calls XDestroyWindow on the window passed in.
  923. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  924. list.
  925. 2006-10-13 Chris Toshok <[email protected]>
  926. * XplatUIX11.cs: set hwnd.zombie to true before calling
  927. SendMessage (WM_DESTROY). this keeps us from marking the new
  928. window a zombie, and also keeps us from calling sendmessage at
  929. all.
  930. 2006-10-13 Jackson Harper <[email protected]>
  931. * TextControl.cs: Do not show the caret and selection at the same
  932. time. Reduces ugliness by 35%.
  933. 2006-10-13 Chris Toshok <[email protected]>
  934. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  935. zombie after we do the recursive call, so we actually do call
  936. SendMessage on the children controls.
  937. (GetMessage): if we find a pending paint event for a zombie hwnd,
  938. remove the hwnd from the paint queue, or else it will always be
  939. there (and we'll effectively loop infinitely)
  940. 2006-10-13 Mike Kestner <[email protected]>
  941. * MenuItem.cs : add Selected format under keynav too.
  942. Fixes #79528.
  943. 2006-10-13 Gert Driesen <[email protected]>
  944. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  945. implementation and that of MS.
  946. 2006-10-13 Chris Toshok <[email protected]>
  947. * Control.cs (OnInvalidated) only futz with the invalid_region if
  948. the control is double buffered. this fixes the apparent hang in
  949. the ListView unit tests. Someone needs to make the
  950. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  951. 2006-10-13 Chris Toshok <[email protected]>
  952. * PropertyGridView.cs:
  953. - do a little refactoring so that only one place calls
  954. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  955. else call that. Also make it Refresh, since there are redraw bugs
  956. otherwise (we should take a look at that...)
  957. - do a little more refactoring work to share the body of code
  958. involved with the drop down. it was duplicated in the code
  959. dealing with the listbox handling and in the code dealing with the
  960. UITypeEditors.
  961. - add a Capture to the dropdown form's control once it's
  962. displayed, and add a MouseDown handler that checks to make sure
  963. the position is inside the control. If it's not, close the
  964. dropdown. This fixes #78190.
  965. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  966. if the value is different than the initial value.
  967. 2006-10-13 Andreia Gaita <[email protected]>
  968. * Control.cs: see #78650
  969. - Fixed GetNextControl for several cases:
  970. - Changed FindFlatForward to return
  971. correct sibling control when more than one
  972. control has same TabIndex as the currently
  973. focused one.
  974. - Changed FindFlatBackward to loop children
  975. from last to first and apply same logic as in
  976. FindFlatForward
  977. - Changed FindControlForward to search for
  978. children when control is not a container
  979. but has children, or search for siblings if
  980. control is a container...
  981. - Changed FindControlBackward to continue
  982. searching for child controls when hitting
  983. Panel-like parents
  984. - Fixed Focus method to update ActiveControl
  985. (FocusTest.FocusSetsActive failure)
  986. * TabControl.cs:
  987. - Focus rectangle now refreshes when gaining
  988. or losing focus
  989. - Removed grab for Tab key on IsInputKey that
  990. was keeping tab navigation from working (#78650)
  991. 2006-10-13 Chris Toshok <[email protected]>
  992. * PropertyGridView.cs:
  993. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  994. SelectedObjects.
  995. - Deal with GridItem.Value == null a few places.
  996. * PropertyGrid.cs:
  997. - replace the PopulateGridItemCollection with a pair of methods
  998. which compute the intersection of all the properties in the
  999. SelectedObjects array. Fixes #79615.
  1000. - Throw ArgumentException from set_SelectedObjects if there's a
  1001. null in the array.
  1002. - Add GetTarget method which can be used to traverse up the
  1003. GridItem.Parent chain. It depends on the assumption that
  1004. selected_objects for different GridEntries are always in the same
  1005. order (a safe assumption). Use this method and loop over all the
  1006. selected objects in the entry when calling RemoveValueChanged and
  1007. AddValueChanged.
  1008. * GridEntry.cs: Make this handle multiple selected objects.
  1009. .Value returns null if not all the selected objects share the same
  1010. value.
  1011. 2006-10-12 Jonathan Pobst <[email protected]>
  1012. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  1013. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  1014. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  1015. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  1016. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  1017. add additional functionality.
  1018. 2006-10-12 Mike Kestner <[email protected]>
  1019. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  1020. * HelpProvider.cs : new ToolTipWindow ctor sig.
  1021. * ToolTip.cs : remove ToolTip param from Window sig since it is
  1022. not used.
  1023. * ToolBar.cs : add tooltip support. Fixes #79565.
  1024. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  1025. * ComboBox.cs: move the events in set_SelectedIndex to
  1026. after the call to HighlightIndex in order to avoid
  1027. possible recursion and subsequent problems with the call
  1028. to HighlightIndex and include a range check in
  1029. set_HighlightIndex. Fixes #79588
  1030. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  1031. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  1032. to ui thread's settings instead of sunday.
  1033. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  1034. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  1035. * DateTimePicker.cs
  1036. * MonthCalendar.cs
  1037. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  1038. and implement missing functionality (selecting different parts
  1039. of the date and edit them individually with the keyboard).
  1040. 2006-10-11 Chris Toshok <[email protected]>
  1041. * Control.cs (OnInvalidated): fix NRE relating to last change.
  1042. 2006-10-11 Chris Toshok <[email protected]>
  1043. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  1044. atoms in _NET_WM_STATE here if the window is maximized. We need
  1045. to do this because we're *replacing* the existing _NET_WM_STATE
  1046. property, so those atoms will be lost otherwise, and any further
  1047. call to GetWindowState will return Normal for a window which is
  1048. actually maximized. Fixes #79338.
  1049. 2006-10-11 Jackson Harper <[email protected]>
  1050. * TextControl.cs: Special case for setting selection end to
  1051. selection start, we basically kill the anchor.
  1052. - some todo comments.
  1053. 2006-10-11 Chris Toshok <[email protected]>
  1054. * Control.cs: switch to using an "invalid_region" to track which
  1055. parts of the image buffer need updating. This is more code than
  1056. the simple fix from r66532. That version just attempted to always
  1057. fill the entire buffer on redraw, which turns out to be
  1058. inefficient when invalidating small rectangles. This version
  1059. simply adds the invalid rectangle to the invalid region. When we
  1060. get any WM_PAINT message we see if it can be filled using the
  1061. image buffer, and if it can't (if the paint event's clip rectangle
  1062. is visible in the invalid region) we first fill the image buffer.
  1063. So, the image buffer is still a cache, we just fill it lazily.
  1064. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  1065. need it any longer.
  1066. 2006-10-11 Chris Toshok <[email protected]>
  1067. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  1068. well as size after calling XMoveResizeWindow. This keeps us from
  1069. ignoring future SetWindowPos calls. Fixes the disappearing
  1070. DateTimePicker in the ToolBarDockExample from bug #72499.
  1071. 2006-10-11 Chris Toshok <[email protected]>
  1072. * TextBoxBase.cs: reorder things a bit when it comes to
  1073. resizing-causing-recalculation. we were recalculating the
  1074. document when our position was changed, which shouldn't happen.
  1075. We only care about size changes. Clear up some more redundant
  1076. recalculation calls while I'm at it. This makes the toolbar dock
  1077. example snappy when you're just dragging toolbars around (since it
  1078. causes a relayout whenever you move one.)
  1079. 2006-10-11 Chris Toshok <[email protected]>
  1080. * ToolBarButton.cs (get_Rectangle): this only returns
  1081. Rectangle.Empty if Visible == false, or Parent == null.
  1082. Parent.Visible doesn't matter.
  1083. 2006-10-10 Chris Toshok <[email protected]>
  1084. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  1085. by .net 1.1, so switch to an internal method instead.
  1086. 2006-10-10 Chris Toshok <[email protected]>
  1087. * Control.cs (WM_PAINT): when a control is double buffered we draw
  1088. initially to the ImageBuffer and then copy from there. But when a
  1089. parent control which has child controls is double buffered, the
  1090. initial drawing doesn't encompass the entire ClientRectangle of
  1091. the parent control, so we end up with uninitialized bits (this is
  1092. easily seen by dragging the top toolbar in
  1093. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  1094. manually set the ClipRectangle of the paint_event (only the one we
  1095. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  1096. of the nastiness in bug #72499.
  1097. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  1098. which we use in Control.cs's WM_PAINT handling.
  1099. 2006-10-10 Jackson Harper <[email protected]>
  1100. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  1101. 2006-10-10 Chris Toshok <[email protected]>
  1102. * Cursor.cs: Apply a slightly different patch to the one suggested
  1103. in #79609.
  1104. 2006-10-10 Jackson Harper <[email protected]>
  1105. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  1106. not the parent form.
  1107. * TextControl.cs: use difference in old line count vs new count to
  1108. calculate how many lines were added, this takes into account soft
  1109. line breaks properly.
  1110. 2006-10-10 Chris Toshok <[email protected]>
  1111. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  1112. rectangle located at 0,0 and the size of the text. Use
  1113. ClientRectangle instead. This fixes rendering of non-left aligned
  1114. link labels.
  1115. 2006-10-10 Jackson Harper <[email protected]>
  1116. * TextBoxBase.cs: When we set the selection start position the
  1117. caret.
  1118. * TextControl.cs: Need to update the caret when we decrement it to
  1119. zero.
  1120. - Make sure that the selection_visible flag gets reset to false if
  1121. the selection isn't visible. Before this you could get it set to
  1122. visible by changing the selection start, then changing the end to
  1123. equal the start.
  1124. 2006-10-09 Jackson Harper <[email protected]>
  1125. * TreeView.cs: Don't update scrollbars when we aren't visible.
  1126. * TreeNodeCollection.cs: Only need to update scrollbars if being
  1127. added to an expanded visible node or the root node.
  1128. 2006-10-09 Chris Toshok <[email protected]>
  1129. * XplatUIX11.cs (SendMessage): fix NRE.
  1130. 2006-10-09 Jackson Harper <[email protected]>
  1131. * TextBoxBase.cs: Implement horizontal autoscrolling.
  1132. * TextControl.cs: Add a movement types that allows moving forward
  1133. and backwards without wrapping.
  1134. 2006-10-09 Mike Kestner <[email protected]>
  1135. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  1136. with focus "expansion" of labels. Fixes #79532 and then some.
  1137. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  1138. when wrapping.
  1139. 2006-10-09 Jackson Harper <[email protected]>
  1140. * TextBoxBase.cs: Set the default max values to MaxValue since
  1141. we use the scrollbar for autoscrolling and the default value is
  1142. 100. If we don't do this the caret won't keep up with typing
  1143. after about 18 characters.
  1144. * TextControl.cs: Make sure the selection is offset by the
  1145. viewport x. This fixes selection when using auto scrolling.
  1146. 2006-10-07 Andreia Gaita <[email protected]>
  1147. * Form.cs: The active control should be selected after the
  1148. OnLoad so that any child control initialization that affects
  1149. the selection is done. Fixes #79406
  1150. 2006-10-06 Chris Toshok <[email protected]>
  1151. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  1152. to have no evil effects.
  1153. - Stop selecting StructureNotifyMask on non-toplevel windows.
  1154. The only way children should be resized is by using the SWF api,
  1155. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  1156. Toplevel windows can be interacted with via the window manager,
  1157. and so we keep the input mask there.
  1158. The other event StructureNotifyMask gives us (that we care
  1159. about) is DestroyNotify. The code is already structured such
  1160. that it assumes we won't be getting a DestroyNotify event for
  1161. the window we pass to XDestroyWindow (which is what
  1162. StructureNotifyMask is supposed to guarantee.) So, that code
  1163. shouldn't be affected by this either.
  1164. - Stop selecting VisibilityChangeMask altogether.
  1165. We weren't doing anything with the resulting events anyway.
  1166. This vastly reduces the number of X requests and events we see
  1167. when resizing/laying out a large ui.
  1168. 2006-10-06 Chris Toshok <[email protected]>
  1169. * ScrollableControl.cs (DisplayRectangle): we need to take into
  1170. account the DockPadding regardless of whether or not auto_scroll
  1171. == true. rework this slightly to this effect, and fix bug #79606,
  1172. and part of #72499 (you can now see the drag handles and drag
  1173. toolbars around).
  1174. 2006-10-06 Gert Driesen <[email protected]>
  1175. * ListViewItem.cs: Collections of selected and checked items are now
  1176. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  1177. we mark the collection "dirty".
  1178. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  1179. to only clear SelectedItems when a new item is selected and MultiSelect
  1180. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  1181. event of ListViewItemCollection, and mark its list dirty whenever
  1182. that event is fire. This allows us to return selected/checked items
  1183. in the same order as they are in the Items collection. This matches
  1184. the MS behavior.
  1185. 2006-10-06 Chris Toshok <[email protected]>
  1186. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  1187. right mouse clicks. Fixes bug #79593.
  1188. 2006-10-06 Chris Toshok <[email protected]>
  1189. * Splitter.cs: doh, fix splitters that don't want to cancel the
  1190. movement when you drag them. Also, impose the limits on the
  1191. values we send to the SplitterMovingEvent. Fixes #79598.
  1192. 2006-10-06 Jackson Harper <[email protected]>
  1193. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  1194. since we use this for auto scrolling also.
  1195. 2006-10-05 Chris Toshok <[email protected]>
  1196. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  1197. beginning to think that most datagrid column types don't need this
  1198. method. Fixes bug #79392.
  1199. 2006-10-05 Chris Toshok <[email protected]>
  1200. * DataGrid.cs: move back to a more lazy scheme for creating the
  1201. CurrencyManager, so we aren't updating it every time you set
  1202. either DataSource or DataMember. Also, don't call
  1203. RecreateDataGridRows if the currency manager hasn't changed.
  1204. 2006-10-05 Chris Toshok <[email protected]>
  1205. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  1206. emitted, SelectedIndex should already be updated. Fixes bug
  1207. #78929.
  1208. 2006-10-05 Jonathan Pobst <[email protected]>
  1209. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  1210. ToolStripTextBox.cs: Initial commit.
  1211. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  1212. 2006-10-05 Jackson Harper <[email protected]>
  1213. * TabControl.cs: We need to invalidate the tab control area when
  1214. new ones are added (duh).
  1215. 2006-10-03 Chris Toshok <[email protected]>
  1216. * Form.cs (ProcessDialogKey): if the focused control is in this
  1217. form and is a button, call its PerformClick method here. Fixes
  1218. #79534.
  1219. 2006-10-04 Jackson Harper <[email protected]>
  1220. * TabPage.cs: Ignore setting of Visible, and add an internal
  1221. method for setting the controls visibility. TabPage's Visible
  1222. property is a little strange on MS, this seems to make us
  1223. compatible, and fixes cases where people set all the tab pages to
  1224. visible.
  1225. * TabControl.cs: Use the new internal setting on tab pages
  1226. visibility.
  1227. 2006-10-03 Mike Kestner <[email protected]>
  1228. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  1229. 2006-10-03 Mike Kestner <[email protected]>
  1230. * ListView.cs : use is_visible instead of Visible to check if
  1231. scrollbars should be placed/sized. Also some max_wrap_width
  1232. love for LargeIcon view. [Fixes #79533]
  1233. 2006-10-03 Atsushi Enomoto <[email protected]>
  1234. * TextControl.cs :
  1235. Make set_TextAlign() do actually update the align. Fixed #78403.
  1236. 2006-10-03 Chris Toshok <[email protected]>
  1237. * DataGrid.cs: fix a crash when switching datasources if the
  1238. vertical scrollbar is at someplace other than Value = 0. Also,
  1239. reduce the number of recalculation passes we do in SetDataSource
  1240. from 2 to 1.
  1241. 2006-10-03 Jackson Harper <[email protected]>
  1242. * TextBoxBase.cs: Move the if value the same bail check up, we
  1243. don't want to empty the document if it is already empty, this
  1244. seems to severly mess up the caret. TODO: I should probably fix
  1245. the empty statement to update teh caret somehow.
  1246. 2006-10-03 Chris Toshok <[email protected]>
  1247. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  1248. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  1249. reflection, an internal row type, properties on said type, etc.)
  1250. will work with our datagrid. Fixes #79531.
  1251. 2006-10-03 Alexander Olk <[email protected]>
  1252. * FileDialog.cs: Don't crash if a path is not accessible
  1253. (System.UnauthorizedAccessException). Fixes #79569.
  1254. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  1255. a ':' too. Return unknown icon for those paths/files.
  1256. 2006-10-03 Sebastien Pouliot <[email protected]>
  1257. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  1258. GetContainerControl returns null.
  1259. 2006-10-02 Chris Toshok <[email protected]>
  1260. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  1261. call to XGetWindowAttributes instead of "handle". fixes an X
  1262. error using notifyicon after the NotifyIconWindow to Form base
  1263. class switch.
  1264. 2006-10-02 Chris Toshok <[email protected]>
  1265. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  1266. server grab and looping we need to do to get down to the most
  1267. deeply nested child window.
  1268. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  1269. QueryPointer again after the WarpPointer so we can generate a
  1270. proper (fake) MotionNotify event to be enqueued in the destination
  1271. window's queue.
  1272. (GetCursorPos): call QueryPointer.
  1273. Fixes #79556.
  1274. 2006-10-02 Jackson Harper <[email protected]>
  1275. * NotifyIcon.cs: Derive the notify icon from a form, so things
  1276. like FindForm work on it.
  1277. - Swallow the WM_CONTEXTMENU message, since that is generated on
  1278. mouse down, and context menu is a mouse up kinda guy. I believe
  1279. the correct fix here is probably to make the notify icon entirely
  1280. NC area, but this seems to work fine for anyone not manipulating
  1281. WndProc.
  1282. 2006-10-02 Jonathan Pobst <[email protected]>
  1283. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  1284. ToolStripItemCollection.cs, ToolStripLabel.cs,
  1285. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  1286. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  1287. Initial implementation.
  1288. * TextRenderer.cs: Provide padding to MeasureText.
  1289. 2006-10-02 Sebastien Pouliot <[email protected]>
  1290. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  1291. of ButtonBaseAccessibleObject. Fix bug #79552.
  1292. 2006-10-02 Jackson Harper <[email protected]>
  1293. * MdiWindowManager.cs: When maximizing use the containers client
  1294. rect, not it's bounds, so nc area is accounted correctly.
  1295. - Use the parent form's size for the menu position, since the
  1296. client isn't always the full form size.
  1297. 2006-10-01 Chris Toshok <[email protected]>
  1298. * ScrollableControl.cs: make sure neither right_edge or
  1299. bottom_edge are < 0, since they're used as LargeChange for the
  1300. horiz/vert scrollbars respectively. Fixes #79539.
  1301. 2006-10-01 Chris Toshok <[email protected]>
  1302. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  1303. the xplatuix11 code can cause us to destroy/recreate our handle.
  1304. * XplatUIX11.cs
  1305. (SystrayAdd):
  1306. - this code can be invoked many times for the same Hwnd. Make
  1307. sure we only destroy the client window once (the first time this
  1308. method is called). This fixes bug #79544.
  1309. - Remove the call to the improperly bound XSync. why we had two
  1310. bindings to this, I will never know, but this call resulted in
  1311. events being discarded from the queue(!).
  1312. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  1313. not our current state but the state we wish to be in. So, 0 if
  1314. we don't want to be mapped. Change it to 1.
  1315. (SystrayRemove): The XEMBED spec makes mention of the fact that
  1316. gtk doesn't support the reparent of client windows away from the
  1317. embedder. Looking at gtksocket-x11.c seems to agree with this.
  1318. The only avenue we have for removing systray icons is to destroy
  1319. them. We don't want the handle to go away for good, though, so
  1320. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  1321. #79545.
  1322. 2006-10-01 Chris Toshok <[email protected]>
  1323. * Form.cs (WndProc): inline the native_enabled variable usage into
  1324. the cases in which it's used. Fixes #79536.
  1325. 2006-09-29 Mike Kestner <[email protected]>
  1326. * ListView.cs : toggle the selection state for ctrl clicks in
  1327. multiselect mode. [Fixes #79417]
  1328. 2006-09-29 Mike Kestner <[email protected]>
  1329. * ListView.cs : kill CanMultiSelect and refactor the selection
  1330. code to support multiselection in the absence of mod keys. Steal
  1331. arrow/home/end keys by overriding InternalPreProcessMessage to
  1332. restore regressed keynav behavior.
  1333. [Fixes #79416]
  1334. 2006-09-29 Jackson Harper <[email protected]>
  1335. * MdiClient.cs: Repaint the titlebars when the active window is
  1336. changed.
  1337. 2006-09-29 Chris Toshok <[email protected]>
  1338. * Application.cs: when entering a runloop with a modal, make sure
  1339. the hwnd is enabled. Fixes #79480.
  1340. 2006-09-29 Chris Toshok <[email protected]>
  1341. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  1342. when ListManager.CanAddRows == false, bump us back one.
  1343. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  1344. listmanager.CanAddRows check. This makes ArrayLists uneditable
  1345. using a datagrid, which is not right.
  1346. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  1347. is an IEditable, but call property_descriptor.SetValue regardless.
  1348. fixes #79435.
  1349. 2006-09-29 Chris Toshok <[email protected]>
  1350. * DataGridBoolColumn.cs: we need to test equality in the face of
  1351. possible null values (as is the case with the default NullValue).
  1352. This patch keeps us from crashing in that case.
  1353. 2006-09-29 Jackson Harper <[email protected]>
  1354. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  1355. here, since it will get called for every node collection in the
  1356. tree. This is now done in the treeview once the sorting is
  1357. finished.
  1358. * TreeView.cs: Recalculate the visible order, and update the
  1359. scrollbars after sorting, set the top nope to the root so that the
  1360. recalc actually works.
  1361. 2006-09-29 Chris Toshok <[email protected]>
  1362. * LinkLabel.cs: more handling of the default link collection in
  1363. the face of LinkArea manipulation. The default link collection
  1364. contains 1 element (start=0,length=-1). If the user sets LinkArea
  1365. to anything and the links collection is the default, clear it.
  1366. Then only add the link if its nonempty. Fixes #79518.
  1367. 2006-09-29 Chris Toshok <[email protected]>
  1368. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  1369. piece correctly when we hit a '\n'. Fixes #79517.
  1370. 2006-09-29 Chris Toshok <[email protected]>
  1371. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  1372. change the binding of gdk_init_check to take two IntPtr's, and
  1373. pass IntPtr.Zero for both of them. Fixes #79520.
  1374. 2006-09-29 Mike Kestner <[email protected]>
  1375. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  1376. [Fixes #78779]
  1377. 2006-09-28 Jackson Harper <[email protected]>
  1378. * XplatUIX11.cs: When translating NC messages make sure we go from
  1379. whole window to screen, not client window to screen.
  1380. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  1381. method doesn't exist
  1382. - Skip over controls that aren't forms when arranging.
  1383. 2006-09-28 Jackson Harper <[email protected]>
  1384. * XplatUIWin32.cs: Clip the rect to the parent window.
  1385. * XplatUIStructs.cs: Add clipping modes struct.
  1386. * InternalWindowManager.cs: New private method that factors title
  1387. bar heights in when calculating the pos of an NC mouse message.
  1388. - Use SendMessage to force a paint when the form's size is changed
  1389. instead of painting the decorations immediately.
  1390. - Don't let the NC button click messages get to DefWndProc,
  1391. because they will attempt to handle windowing themself, and this
  1392. messes up z-order (it will put them in front of the scrollbars).
  1393. * XplatUIX11.cs: Make sure that we don't reset window managers if
  1394. we already have one (ie the window is an MDI window).
  1395. 2006-09-28 Chris Toshok <[email protected]>
  1396. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  1397. menu code really needs going over.
  1398. 2006-09-27 Chris Toshok <[email protected]>
  1399. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  1400. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  1401. window is maximizable. So, we need to make sure that even if we
  1402. clear the border/wm frame of those functions, they're still
  1403. available (basically, we remove the decoration without removing
  1404. the function). Half the fix for #79338.
  1405. 2006-09-27 Chris Toshok <[email protected]>
  1406. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  1407. Fixes bug #79515.
  1408. 2006-09-27 Chris Toshok <[email protected]>
  1409. * Splitter.cs: reorder things a bit so that we don't actually
  1410. draw/move the splitter until after calling OnSplitterMoving. This
  1411. lets users cancel/disallow the movement by explicitly setting
  1412. event.SplitX/SplitY. Fixes #79372.
  1413. 2006-09-27 Jackson Harper <[email protected]>
  1414. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  1415. because it is most likely on a window being destroyed, and that
  1416. will give us an X11 error.
  1417. 2006-09-27 Chris Toshok <[email protected]>
  1418. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  1419. the dropdown button now toggles between showing and hiding the
  1420. dropdown. Also, get rid of dropdown_form_showing and just use
  1421. dropdown_form.Visible. We still don't do a grab, but I'll leave
  1422. that part to someone who has handled Capture-fu before.
  1423. 2006-09-27 Chris Toshok <[email protected]>
  1424. * DataGrid.cs: return false if alt isn't pressed when '0' is
  1425. pressed. this keeps the '0' key from being swallowed, and fixes
  1426. bug #79350.
  1427. 2006-09-27 Chris Toshok <[email protected]>
  1428. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  1429. Calling Refresh (in response to a scrollbar event) screws up the
  1430. scrollbar painting. Fixes bug #78923.
  1431. 2006-09-27 Chris Toshok <[email protected]>
  1432. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  1433. then insert into hashtable" blocks threadsafe.
  1434. 2006-09-27 Chris Toshok <[email protected]>
  1435. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  1436. baseclass's, since otherwise the
  1437. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  1438. effect. This gets the close button back in messageboxes.
  1439. 2006-09-27 Chris Toshok <[email protected]>
  1440. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  1441. flag, not just != 0. this makes flags that are actually multiple
  1442. bits (like WS_CAPTION) work. fixes bug #79508.
  1443. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  1444. * PageSetupDialog.cs: add support for getting and settings the
  1445. paper size, source and orientation.
  1446. 2006-09-26 Chris Toshok <[email protected]>
  1447. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  1448. and caption == "", we need to remove the resize handles as well as
  1449. the title bar.
  1450. * Control.cs (set_Text): turns out that setting Text on a form
  1451. should change the WM styles on the window, since if ControlBox ==
  1452. false, the only way to get a window border is to have a non-""
  1453. Text property. check winforms/forms/text.cs for an example. so,
  1454. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  1455. update both window styles and title. This fixes a lot of dialogs
  1456. (including the preferences dialog in MonoCalendar.)
  1457. 2006-09-26 Chris Toshok <[email protected]>
  1458. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  1459. control isn't a Form), call Win32ShowWindow to hide the window,
  1460. but don't update the control Visible property. When we reparent
  1461. back to a parent control, call SetVisible in order for the
  1462. window's visibility to be reinstated.
  1463. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  1464. the FosterParent.
  1465. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  1466. call for good, since it breaks MonoCalendar (and other things I'm
  1467. sure.) Also, set all_controls to null *after* the owner calls,
  1468. which end up regenerating it.
  1469. (ChangeParent): allow new_parent to be == null, passing
  1470. IntPtr.Zero down to XplatUI.
  1471. this fixes #79294 the right way.
  1472. 2006-09-26 Mike Kestner <[email protected]>
  1473. * GridEntry.cs : internal SetParent method.
  1474. * PropertyGrid.cs : attach to property changed on the proper
  1475. target if we have a hierarchical grid with subobjects. Setup
  1476. GridItem.Parent for hierarchical items.
  1477. * PropertyGridView.cs : Set value on the correct target for
  1478. hierarchical grids. [Fixes #78903]
  1479. 2006-09-26 Chris Toshok <[email protected]>
  1480. * Control.cs (ChildNeedsRecreating): this should return true if
  1481. either we're being recreated and the child is in our list, or our
  1482. parent is waiting for our recreation.
  1483. 2006-09-26 Chris Toshok <[email protected]>
  1484. * Control.cs (ControlCollection.Remove): reinstate the
  1485. value.Hide() call as suggested in bug #79294.
  1486. 2006-09-26 Sebastien Pouliot <[email protected]>
  1487. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  1488. coordinates (versus a relative move).
  1489. 2006-09-26 Chris Toshok <[email protected]>
  1490. * Control.cs: rework child recreation a little bit. It turns out
  1491. that we race between the DestroyNotify the WM_DESTROY message. If
  1492. the parent gets its DestroyNotify before the child gets the
  1493. WM_DESTROY message, the child ends up not recreating (since the
  1494. parent finishes its recreation on DestroyNotify, and the child
  1495. checks ParentIsRecreating.)
  1496. So, instead we store off a list of all the child controls which
  1497. need to be recreated when the parent control starts to recreate
  1498. itself. Then, when child controls get their WM_DESTROY message we
  1499. check to see if they're in the parent's pending recreation list,
  1500. and if so, we recreate. This removes all dependency on ordering
  1501. from the code and fixes the initial MonoCalendar upgrade dialog.
  1502. 2006-09-26 Jackson Harper <[email protected]>
  1503. * TextControl.cs: Use the Line to get the length of the line,
  1504. since soft line breaks can change the end line.
  1505. 2006-09-26 Chris Toshok <[email protected]>
  1506. * Control.cs (ControlCollection.AddImplicit): don't add the
  1507. control again if it's already in one of our lists. This keeps us
  1508. from adding controls over and over again for comboboxes when their
  1509. handle gets recreated (as the combobox adds implicit controls in
  1510. OnHandleCreated). Fixes the X11 errors in bug #79480.
  1511. 2006-09-26 Jackson Harper <[email protected]>
  1512. * TextControl.cs: When deleting characters make sure that any
  1513. orphaned zero lengthed tags get deleted.
  1514. - Fix ToString for zero lengthed tags.
  1515. 2006-09-25 Jackson Harper <[email protected]>
  1516. * TextControl.cs: When getting a tag at the location there can be
  1517. multiple tags at the same spot, these are 0-lengthed tags that
  1518. appear when extra formatting has been stuck in a location. We
  1519. need to pull out the last of these 0 lengthed tags.
  1520. 2006-09-25 Jackson Harper <[email protected]>
  1521. * TextControl.cs: Fix print out in debug method.
  1522. * TextBoxBase.cs: When text is set bail if we are setting to the
  1523. previous value.
  1524. 2006-09-24 Alexander Olk <[email protected]>
  1525. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  1526. It is now possible to change the selected index in a FontXXXListBox
  1527. with the up and down arrow keys from the FontXXXTextBoxes.
  1528. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  1529. FontXXXListBoxes to match ms.
  1530. 2006-09-22 Sebastien Pouliot <[email protected]>
  1531. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  1532. anyone can dispose it, anytime. All other properties returns enums,
  1533. structs or basic types so they don't need such tricks.
  1534. 2006-09-22 Jackson Harper <[email protected]>
  1535. * XplatUI.cs:
  1536. * XplatUIWin32.cs:
  1537. * Clipboard.cs:
  1538. * DataFormats.cs:
  1539. * XplatUIOSX.cs:
  1540. * XplatUIDriver.cs: Update interface to add a primary selection
  1541. flag, so the driver can use the primary selection buffer if
  1542. needed.
  1543. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  1544. * RichTextBox.cs: We need to supply the data object to paste now
  1545. (so we can choose to supply CLIPBOARD or PRIMARY).
  1546. * TextBoxBase.cs: Supply data object to paste (see above).
  1547. - Middle click uses the primary selection data object.
  1548. 2006-09-21 Chris Toshok <[email protected]>
  1549. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  1550. of SetWMStyles. It's still a rat's nest and is largely
  1551. order-dependent which I dislike immensely. This also fixes the X
  1552. button disappearing from toplevel forms.
  1553. 2006-09-21 Mike Kestner <[email protected]>
  1554. * ListBox.cs: move Jordi's click/dblclick raising code to the
  1555. mouse up handler.
  1556. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  1557. * ListBox.cs: Fixes 79450
  1558. 2006-09-21 Mike Kestner <[email protected]>
  1559. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  1560. to deal with people updating the TreeNodeCollection after the tree
  1561. is disposed. "Fixes" 79330.
  1562. 2006-09-20 Jackson Harper <[email protected]>
  1563. * TextControl.cs: Push the cursor record onto the undo stack
  1564. before the delete action. This fixes 78651.
  1565. 2006-09-20 Jonathan Chambers <[email protected]>
  1566. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  1567. CreateParams. Fixes 79329.
  1568. 2006-09-19 Chris Toshok <[email protected]>
  1569. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  1570. things up a bit. First, get rid of the NetAtoms array (and the NA
  1571. enum), and just embed the atoms as static fields. Also, add a
  1572. couple of functions (StyleSet and ExStyleSet) to clean up all the
  1573. bitmask testing of styles.
  1574. * X11Structs.cs: remove the NA enum, not needed anymore.
  1575. 2006-09-19 Chris Toshok <[email protected]>
  1576. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  1577. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  1578. added cleanup to get MessageBox titles appearing again, which were
  1579. broken by my earlier fix for caption-less/ControlBox-less windows.
  1580. 2006-09-18 Jonathan Pobst <[email protected]>
  1581. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  1582. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  1583. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  1584. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  1585. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  1586. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  1587. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  1588. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  1589. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  1590. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  1591. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  1592. Inital import.
  1593. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  1594. ToolStripButton.cs: Stubs needed for above.
  1595. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  1596. 2006-09-15 Chris Toshok <[email protected]>
  1597. * XplatUIX11.cs:
  1598. - make the MessageQueues hashtable Synchronized.
  1599. - SendMessage: if the Hwnd is owned by a different thread, use the
  1600. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  1601. thread. Fixes bug #79201.
  1602. 2006-09-15 Chris Toshok <[email protected]>
  1603. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  1604. ControlBox == false, we disallow maximize/minimize/close. If the
  1605. form Caption is "" we also disallow move (and get rid of the Title
  1606. decoration). Unfortunately, regardless of how things are set,
  1607. we're stuck with the Title and WM menu.
  1608. 2006-09-15 Chris Toshok <[email protected]>
  1609. * Application.cs: add locking around the static message_filters
  1610. ArrayList, part of #79196.
  1611. 2006-09-15 Chris Toshok <[email protected]>
  1612. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  1613. Form.ControlBox == false, the window has no titlebar nor resize
  1614. handles. fixes bug #79368.
  1615. 2006-09-15 Chris Toshok <[email protected]>
  1616. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  1617. >= 0. Fixes bug #79370.
  1618. 2006-09-15 Jonathan Pobst <[email protected]>
  1619. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  1620. * Control.cs:
  1621. Add properties: LayoutEngine, Margin, DefaultMargin.
  1622. Add method: GetPreferredSize.
  1623. Move layout logic from PerformLayout to layout engines.
  1624. 2006-09-13 Chris Toshok <[email protected]>
  1625. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  1626. fix for #79326 broke #78718, so this change addresses that.
  1627. - in SendWMDestroyMessages remove the call to
  1628. CleanupCachedWindows, since we might be recreating the control and
  1629. need to maintain the references to right Hwnd handles. Also, set
  1630. the zombie flag to true for each of the children in the hierarchy
  1631. instead of calling hwnd.Dispose. This will cause GetMessage to
  1632. ignore all events for the window except for DestroyNotify.
  1633. - In GetMessage, ignore messages except for DestroyNotify for
  1634. zombie hwnds.
  1635. * Control.cs: revert the is_recreating fix from the last
  1636. ChangeLog. It's definitely "right", but it breaks switching from
  1637. an MDI form to a non-MDI form. Will need to revisit that.
  1638. * Hwnd.cs: add a zombie flag, which means "the
  1639. client_window/whole_window handles are invalid, but we're waiting
  1640. for the DestroyNotify event to come in for them". Set the flag to
  1641. false explicitly if setting WholeWindow/ClientWindow, and also
  1642. when Disposing.
  1643. 2006-09-13 Chris Toshok <[email protected]>
  1644. * XplatUIX11.cs: rework window destruction slightly.
  1645. - when destroying the windows associated with a control, we don't
  1646. need 2 separate XDestroyWindow calls. Just the one for the
  1647. whole_window (or for client_window if whole_window is somehow
  1648. IntPtr.Zero -- can this happen?) is enough.
  1649. - reworked SendWMDestroyMessages slightly, so we always dispose
  1650. the child control hwnd's after sending the messages.
  1651. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  1652. the two places it was used (one was even using hwnd.Handle and the
  1653. other hwnd.client_window. ugh), adding another call in
  1654. SendWMDestroyMessages. We need this new call because now the
  1655. DestroyNotify events in the queue will be ignored for the child
  1656. controls (as their hwnd's were disposed, and the window id's
  1657. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  1658. - this fixes bug #79326.
  1659. 2006-09-13 Chris Toshok <[email protected]>
  1660. * Control.cs: don't always set is_recreating to false at the end
  1661. of RecreateHandle, since sometimes we're not done (and won't be
  1662. until WndProc handles the WM_DESTROY message). Also, set
  1663. is_recreating to false in the WM_DESTROY handling code. Part of
  1664. the fix for bug #79326.
  1665. 2006-09-13 Miguel de Icaza <[email protected]>
  1666. * X11DesktopColors.cs: Start the droppage of debugging messages.
  1667. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  1668. 2006-09-13 Jonathan Pobst <[email protected]>
  1669. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  1670. 2006-09-12 Chris Toshok <[email protected]>
  1671. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  1672. to create it using SetDataSource. Fixes bug #79151.
  1673. 2006-09-11 Chris Toshok <[email protected]>
  1674. * XEventQueue.cs: add a DispatchIdle property.
  1675. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  1676. either the queue is null, or the queue has DispatchIdle set to
  1677. true.
  1678. (DoEvents): set queue.DispatchIdle to false around the
  1679. peek/translate/dispatch message loop in this method. This keeps
  1680. Application.Doevents from emitting idle events. Part of the fix
  1681. for #78823.
  1682. 2006-09-11 Chris Toshok <[email protected]>
  1683. * DataGrid.cs (set_DataSource): make this work for both the
  1684. winforms/datagrid test and ReportBuilder. It seems as though when
  1685. we've created a ListManager (or maybe it's if we have a
  1686. BindingContext?), when we set the DataSource it clears the
  1687. DataMember to "". otherwise we reuse the datamember. Fixes bug
  1688. #79333.
  1689. 2006-09-11 Chris Toshok <[email protected]>
  1690. * XplatUIX11.cs: deal with queue being null, which happens in all
  1691. the Clipboard functions. Fixes one of the two problems mentioned
  1692. in #78612.
  1693. 2006-09-11 Chris Toshok <[email protected]>
  1694. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  1695. button on various spots (including outside the menu) works closer
  1696. to MS, and doesn't crash. Fixes #79343.
  1697. 2006-09-11 Gert Driesen <[email protected]>
  1698. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  1699. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  1700. and the internal comparer is set. When a new ListViewItemSorter is set,
  1701. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  1702. was specified. No further processing is necessary if SortOrder is set
  1703. to it's current value. If Sorting is modified to None, and View is
  1704. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  1705. (either custom or our internal ItemComparer) to null, on 1.0 profile
  1706. only set item_sorter to null if its our internal IComparer. If Sorting
  1707. is modified to Ascending or Descending, then use our internal IComparer
  1708. if none is set, and if the current IComparer is our internal one then:
  1709. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  1710. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  1711. Enum.IsDefined to verify whether a valid View value is specified in
  1712. its setter. Automatically sort listview items when listview is
  1713. created. In Sort, do nothing if ListView is not yet created, or if
  1714. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  1715. to None or ListViewItemSorter was set to null). Added Sort overload
  1716. taking a bool to indicate whether the ListView should be redrawn when
  1717. items are sorted (we use this in ListViewItemCollection to avoid double
  1718. redraws). Modified our internal IComparer to take the sort order into
  1719. account. In Add and AddRange methods of ListViewItemCollection, also
  1720. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  1721. view), but use overload with noredraw option to avoid double redraw.
  1722. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  1723. true when View is Tile, and do the same when attempting to set View to
  1724. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  1725. for selected/checked indices, as it involves overhead when sorting is
  1726. done while these collections are not used all that often. Instead
  1727. we'll build the indices on demand. Modified IList implementation of
  1728. CheckedIndexCollection to use public methods if object is int.
  1729. Modified CheckedListViewItemCollection to hide checked items if
  1730. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  1731. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  1732. IList implementation in SelectedIndexCollection to use public methods
  1733. if object is int. Modified SelectedListViewItemCollection to hide
  1734. selected items if listview is not yet created.
  1735. * ListViewItem.cs: CheckedIndices list no longer needs to be
  1736. maintained separately (see ListView changes). Also clone font, fixes
  1737. test failure.
  1738. 2006-09-11 Mike Kestner <[email protected]>
  1739. * ComboBox.cs: if we are updating the contents of the currently
  1740. selected index, refresh the control or the textbox selection.
  1741. [Fixes #79066]
  1742. 2006-09-11 Mike Kestner <[email protected]>
  1743. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  1744. the 'specified' logic has been moved there. This seems like a bug
  1745. in Control.cs, since our current SetBoundsCore completely ignores
  1746. the specified parameter. Peter's commit seems to indicate that is
  1747. the way the MS control implementation works. [Fixes #79325]
  1748. 2006-09-10 Jonathan Chambers <[email protected]>
  1749. * XplatUI.cs: Set default_class_name to be composed
  1750. of current domain id. This allows MWF to be loaded in multiple
  1751. domains on Win32.
  1752. 2006-09-09 Miguel de Icaza <[email protected]>
  1753. * X11Keyboard.cs: If we are unable to obtain the input method, do
  1754. not call CreateXic to create the input context. Should fix
  1755. #78944/79276.
  1756. 2006-09-08 Alexander Olk <[email protected]>
  1757. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  1758. Simplified gnome support by adding more pinvokes to get the
  1759. icon for a file or mime type.
  1760. 2006-09-08 Jackson Harper <[email protected]>
  1761. * MenuAPI.cs: Deslect popup context menu items before closing the
  1762. window, so that you don't see the previously selected item
  1763. selected when you reopen the menu.
  1764. * TextControl.cs: Update the cursor position even if we don't have
  1765. focus. This fixes typing in things like the ComboBox. I'm not
  1766. totally sure we should always set the visibility if we don't have
  1767. focus, but couldn't find any corner cases where the cursor showed
  1768. up when it shouldn't.
  1769. 2006-09-08 Chris Toshok <[email protected]>
  1770. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  1771. our arrays are length 256. & 0xff before indexing. Fixes the
  1772. crash in bug #78077.
  1773. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  1774. * ThemeWin32Classic.cs:
  1775. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  1776. is true. Handle that check box too.
  1777. 2006-09-07 Chris Toshok <[email protected]>
  1778. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  1779. 79244.
  1780. 2006-09-07 Chris Toshok <[email protected]>
  1781. * Control.cs: in set_BackColor only do the work if
  1782. background_color != value.
  1783. * XplatUIX11.cs: move the clearing of invalid areas (both client
  1784. and nc) to the same block of code where we set (nc_)expose_pending
  1785. to false. That is, move it from PaintEventEnd to PaintEventStart,
  1786. so things that cause invalidates from within OnPaint will trigger
  1787. another call to OnPaint. Fixes bug #79262.
  1788. 2006-09-07 Alexander Olk <[email protected]>
  1789. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  1790. * FileDialog.cs: Fix typo
  1791. 2006-09-07 Jackson Harper <[email protected]>
  1792. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  1793. for tab pages if they have any.
  1794. 2006-09-06 Mike Kestner <[email protected]>
  1795. * Splitter.cs: use the "current" rect when finishing drag handle
  1796. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  1797. 2006-09-06 Mike Kestner <[email protected]>
  1798. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  1799. support offset splitters. [Fixes #79298]
  1800. 2006-09-06 Alexander Olk <[email protected]>
  1801. * Mime.cs: Fixed a bug that could override the global mime type
  1802. result.
  1803. 2006-09-05 Jackson Harper <[email protected]>
  1804. * TabControl.cs: Better calculation method for setting the slider
  1805. pos. Prevents crashes on really wide tabs.
  1806. - Draw Image on tab pages if an image list is used.
  1807. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  1808. * MonthCalendar.cs: When Font changes, the Size should be
  1809. updated to fit the new font's space requirements.
  1810. 2006-09-02 Alexander Olk <[email protected]>
  1811. * ListBox.cs: If the items are cleared with Items.Clear set
  1812. top_index to 0.
  1813. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  1814. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  1815. fire DateChanged event instead of DateSelected event when
  1816. the date was changed by keyboard interaction.
  1817. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  1818. * DateTimePicker.cs: Handle DateChanged for the associated
  1819. month_calendar control, and set month_calendar.Font from
  1820. OnFontChanged method, as well as resize the height of the
  1821. control when needed. Make PreferredHeight proportional.
  1822. 2006-09-01 Chris Toshok <[email protected]>
  1823. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  1824. properties.
  1825. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  1826. 2006-09-01 Peter Dennis Bartok <[email protected]>
  1827. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  1828. for decorations (Fixes #79219)
  1829. 2006-09-01 Mike Kestner <[email protected]>
  1830. * ComboBox.cs: first stab at sorting plus some selection handling
  1831. fixes to bring us more in line with MS behavior. Also switches back
  1832. to index based selection. Alternative patches for index-based
  1833. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  1834. and [email protected] on bug 78848. I assume they were similar to this
  1835. code I've had simmering in my tree forever.
  1836. [Fixes #78848]
  1837. 2006-09-01 Chris Toshok <[email protected]>
  1838. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  1839. when setting list position guard against ending up with a -1 index
  1840. (the other part of the fix for #78812). Should probably make sure
  1841. we don't need the analogous fix in the ItemDeleted case.
  1842. * DataGrid.cs:
  1843. - in SetDataSource, work around the fact that the way
  1844. OnBindingContextChanged is invoked will cause us to re-enter this
  1845. method. I'll remove the hack once I investigate
  1846. OnBindingContextChanged.
  1847. - fix the logic in set_DataSource and set_DataMember (basically
  1848. what to do if the other of the two is null.)
  1849. - in OnListManagerItemChanged, we need to take into account the
  1850. edit row when deciding whether or not to call RecreateDataGridRows
  1851. (part of the fix for #78812).
  1852. 2006-09-01 Jackson Harper <[email protected]>
  1853. * Splitter.cs: Don't do anything if there is no control to affect
  1854. (prevents us from crashing in weird tet cases).
  1855. * TreeView.cs: Bounding box for the mouse movement reverting
  1856. focus/selection back to previously selected node. This matches
  1857. MS, and makes the tree a lot more useable.
  1858. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  1859. use clipping so they are not drawn. This fixes when the control
  1860. is set to have a transparent background, or if it was over an
  1861. image.
  1862. 2006-09-01 Alexander Olk <[email protected]>
  1863. * MimeIcon.cs: Improved handling for reading default icons when
  1864. using gnome (2.16 made it necessary). Check and read svg icons
  1865. first, then 48x48 and then 32x32 icons.
  1866. 2006-08-31 Chris Toshok <[email protected]>
  1867. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  1868. visible.
  1869. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  1870. ProcessKeyPreview. Fixes part of #77806.
  1871. * DataGrid.cs: big patch.
  1872. - revert the queueing up of DataSource/DataMember if inside
  1873. BeginInit/EndInit calls. That's not the way the datagrid achieves
  1874. its delayed databinding. Instead, call SetDataSource in
  1875. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  1876. #78811.
  1877. - Also, it wasn't mentioned in #78811, but the test case exhibits
  1878. behavior that was lacking in our datagrid implementation - Columns
  1879. that have mapping names that don't exist in the datasource's
  1880. properties aren't shown. Yuck. To fix this I added the bound
  1881. field to the column style, and basically any calculation to figure
  1882. out anything about columns uses a loop to find the bound columns.
  1883. still need to investigate if I can cache an array of the bound
  1884. columns or if the indices must be the same.
  1885. - When setting CurrentCell, we no longer abort if the cell being
  1886. edited was in the add row. This fixes the other part of #77806.
  1887. - The new code also fixes #78807.
  1888. * ThemeWin32Classic.cs: perpetrate the same disgusting
  1889. column.bound field hack, and only render bound fields.
  1890. 2006-08-31 Chris Toshok <[email protected]>
  1891. * DataGridColumnStyle.cs: add bound field. this field is true if
  1892. the datasource has a property corresponding to the mapping name.
  1893. * DataGridTableStyle.cs: set the bound field on the column styles
  1894. depending on whether or not we have a column for that property.
  1895. 2006-08-31 Peter Dennis Bartok <[email protected]>
  1896. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  1897. splitter control (fixes #79228)
  1898. 2006-08-31 Chris Toshok <[email protected]>
  1899. * DataGridColumnStyle.cs: we need to delay the assignment of
  1900. property descriptor until the last possible moment due to the lazy
  1901. databinding stuff in the datagrid. Also, fix the exceptions
  1902. thrown by CheckValidDataSource to match MS.
  1903. 2006-08-31 Jackson Harper <[email protected]>
  1904. * Form.cs: When activated select the active control, if there is
  1905. no active control, we select the first control.
  1906. * XplatUIX11.cs: If there is no focus control when we get a
  1907. FocusIn event, find the toplevel form and activate it. This
  1908. occurs when you popup a window, it becomes the focus window, then
  1909. you close that window, giving focus back to the main window.
  1910. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  1911. * MonthCalendar.cs:
  1912. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  1913. as StringFormat with Center alignments in MonthCalendar,
  1914. instead of creating new ones when drawing the control.
  1915. Also, draw the month name in bold style.
  1916. 2006-08-30 Peter Dennis Bartok <[email protected]>
  1917. * Control.cs:
  1918. - PerformLayout(): It would seem MS performs the fill even if the
  1919. control is not visible (part of #79218 fix)
  1920. - ResetBackColor(): Use the setter to reset the color, to allow
  1921. overriders to catch the change.
  1922. * Form.cs:
  1923. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  1924. - CreateHandle(): dito (part of $79218 fix)
  1925. - Don't set an icon if we have a dialog
  1926. * ScrollableControl.cs:
  1927. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  1928. - ScrollIntoView(): No need to scroll if control is already visible
  1929. (resolves fixme and fixes #79218)
  1930. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  1931. * MonthCalendar.cs: Change proportions in SingleMonthSize
  1932. to match the aspect of the original control.
  1933. 2006-08-29 Alexander Olk <[email protected]>
  1934. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  1935. get updated when they get maximized.
  1936. 2006-08-29 Peter Dennis Bartok <[email protected]>
  1937. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  1938. 2006-08-29 Chris Toshok <[email protected]>
  1939. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  1940. 2006-08-29 Jackson Harper <[email protected]>
  1941. * TreeView.cs: Need to track selected node and highlighted node,
  1942. they aren't always the same thing, when the mouse is down on a
  1943. node it is hilighted, but not selected yet.
  1944. - Do the HideSelection stuff right
  1945. - Need to focus on rbutton mouse down. And redraw selection when
  1946. right click is mouse upped.
  1947. 2006-08-29 Mike Kestner <[email protected]>
  1948. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  1949. when SubItems.Count < Columns.Count. [Fixes #79167]
  1950. 2006-08-28 Peter Dennis Bartok <[email protected]>
  1951. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  1952. 2006-08-28 Peter Dennis Bartok <[email protected]>
  1953. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  1954. from X. Only send based on ConfigureNotify if we don't have the
  1955. correct location in hwnd (if the window manager moved us)
  1956. 2006-08-28 Mike Kestner <[email protected]>
  1957. * ListView.cs: remove a TODO.
  1958. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  1959. [Fixes ListView part of #79166]
  1960. 2006-08-28 Mike Kestner <[email protected]>
  1961. * ListView.cs: move wheel handler to parent since it is focused
  1962. instead of the item_control now. [Fixes #79177]
  1963. 2006-08-28 Mike Kestner <[email protected]>
  1964. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  1965. when the control is focused. [Fixes #79171]
  1966. 2006-08-28 Mike Kestner <[email protected]>
  1967. * ListView.cs: size the item and header controls for empty and
  1968. unscrollable views.
  1969. * ThemeWin32Classic.cs: draw disabled backgrounds.
  1970. [Fixes #79187]
  1971. 2006-08-28 Chris Toshok <[email protected]>
  1972. * Form.cs: remove unused "active_form" static field.
  1973. * Hwnd.cs: lock around accesses to static windows collection.
  1974. * Application.cs: lock threads in Exit ().
  1975. 2006-08-28 Chris Toshok <[email protected]>
  1976. * NativeWindow.cs: lock around accesses to window_collection.
  1977. 2006-08-28 Chris Toshok <[email protected]>
  1978. * Control.cs: err, fix this the right way, by locking on controls
  1979. when using it. not by making it synchronized.
  1980. 2006-08-28 Chris Toshok <[email protected]>
  1981. * Control.cs: make the static "controls" field synchronized, as it
  1982. gets updated from multiple threads.
  1983. 2006-08-27 Peter Dennis Bartok <[email protected]>
  1984. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  1985. Prevent other threads from exiting when calling thread sets quit state.
  1986. * XEventQueue.cs: Added PostQuitState property
  1987. 2006-08-27 Chris Toshok <[email protected]>
  1988. * AsyncMethodData.cs: add a slot for the window handle.
  1989. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  1990. window (the destination control's window, not the foster window).
  1991. * Control.cs (BeginInvokeInternal): store the window's handle in
  1992. the AsyncMethodData.
  1993. 2006-08-27 Peter Dennis Bartok <[email protected]>
  1994. * XplatUIX11.cs:
  1995. - PostQuitMessage: Removed resetting S.D display handle, we might have
  1996. another loop started after calling PostQuitMessage (Fixes #79119)
  1997. - Created destructor to reset S.D handle
  1998. 2006-08-27 Peter Dennis Bartok <[email protected]>
  1999. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  2000. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2001. * TextControl.cs (Insert): Update the caret position even if we don't
  2002. have a handle yet, just don't call the driver in that case.
  2003. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  2004. to the end of the new selection text (Fixes #79184)
  2005. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2006. * Form.cs (Activate): Only activate if the handle is created)
  2007. * Control.c:
  2008. - Mark window as invisible when it's disposed
  2009. - Check if window handle is created when setting window visible,
  2010. instead of relying just on the is_created variable
  2011. - Check if object is disposed when creating the control (Fixes #79155)
  2012. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2013. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  2014. when allowing layout again. Otherwise we re-generate the anchoring
  2015. distance to the border again and actually alter what the user wanted
  2016. This is ugly, it'd be better if we used DisplayRectangle instead of
  2017. ClientRectangle for Control.UpdateDistances, but that causes us to
  2018. have other problems (initial anchoring positons would be wrong)
  2019. (Fixes #78835)
  2020. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2021. * Control.cs:
  2022. - The size and location setters shouldn't go directly to
  2023. SetBoundsCore, but to SetBounds, which triggers layout on the
  2024. parent, then calls SetBoundsCore. (Related to fix for #78835)
  2025. - SetBounds: Moved actual location update code into this function
  2026. from SetBoundsCore, to match MS. Added call to PerformLayout if
  2027. we have a parent (to trigger resizing of anchored parents if the
  2028. child size has changed (see testcase for #78835)
  2029. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  2030. new control code
  2031. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  2032. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2033. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  2034. System.Drawing when a toplevel window gets closed; there might
  2035. be other toplevel windows belonging to the same app (Fixes #78052)
  2036. 2006-08-26 Alexander Olk <[email protected]>
  2037. * FileDialog.cs: After reading FileDialog settings from mwf_config
  2038. use Desktop prefix only if a real folder doesn't exist anymore.
  2039. * FontDialog.cs: Added char sets.
  2040. It is now possible to select the font, size or style with the
  2041. textboxes.
  2042. 2006-08-25 Kornél Pál <[email protected]>
  2043. * PrintPreviewDialog.cs: Use assembly name constants.
  2044. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2045. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  2046. scrollbar from whacking it's buttons)
  2047. 2006-08-24 Chris Toshok <[email protected]>
  2048. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  2049. in this patch (aggregating setting Left/Top/Width/Height to
  2050. setting Bounds on the scrollbars), but the crux of the fix is in
  2051. Recalculate, where we scroll by the remaining scroll_position if
  2052. we're hiding a scrollbar. The 2*$5 reward in the comment is
  2053. serious.
  2054. 2006-08-24 Jackson Harper <[email protected]>
  2055. * MdiClient.cs:
  2056. * MdiWindowManager.cs: If the form is made a non-mdi window we
  2057. need to remove the form closed event so that closing forms works
  2058. correctly.
  2059. 2006-08-24 Jackson Harper <[email protected]>
  2060. * Control.cs: Make IsRecreating internal so that the driver can
  2061. check it
  2062. - Temporarily remove the Hide when controls are removed, its
  2063. making a whole bunch of things not work because visibility isn't
  2064. getting reset elsewhere correctly
  2065. * Form.cs: Need to do a full handle recreation when the mdi parent
  2066. is set.
  2067. * XplatUIX11.cs: If we are recreating handles don't dispose the
  2068. HWNDs. What was happening is the handles were being recreated in
  2069. SendWMDestroyMessages, but then flow continued on in that method
  2070. and destroyed the new handles.
  2071. 2006-08-23 Jackson Harper <[email protected]>
  2072. * Form.cs: MdiClient is always at the back of the bus
  2073. * Control.cs: When the order of items in the collection is changed
  2074. we need to reset the all_controls array
  2075. - do the same sorta setup thats done when adding a control when a
  2076. control is set on the collection.
  2077. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2078. * TextBoxBase.cs (get_Text): Return an empty array if our document
  2079. is empty (fixes #79052)
  2080. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2081. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  2082. on WM_SYSCHAR messages (fixes #79053)
  2083. 2006-08-23 Chris Toshok <[email protected]>
  2084. * DataGrid.cs: fix flickering when scrolling vertically.
  2085. 2006-08-23 Chris Toshok <[email protected]>
  2086. * DataGrid.cs (EndEdit): only invalidate the row header when we
  2087. need to.
  2088. 2006-08-23 Chris Toshok <[email protected]>
  2089. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  2090. methods. fixes the flicker when scrolling around.
  2091. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2092. * FileDialog.cs: Making sure the control is created before we get a
  2093. chance to use it with BeginInvoke (Fixes #79096)
  2094. 2006-08-23 Chris Toshok <[email protected]>
  2095. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  2096. width to use when painting the rows.
  2097. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2098. * TextBoxBase.cs:
  2099. - Throw ArgumentException if a negative value is passed to SelectionLength
  2100. - Update the selection end if start is moved. end needs to be always
  2101. after start. (Fixes #79095)
  2102. - Track selection length; MS keeps the selection length even if start
  2103. is changed; reset on all other operations affection selection
  2104. 2006-08-22 Jackson Harper <[email protected]>
  2105. * TreeView.cs: Make sure both scrollbars get displayed and sized
  2106. correctly when the other bar is visible.
  2107. - Use the original clip rectangle for checking if the area between
  2108. the two scrollbars is visible, not the viewport adjusted clipping
  2109. rectangle.
  2110. 2006-08-22 Jackson Harper <[email protected]>
  2111. * Binding.cs: We don't use IsBinding because it requires the
  2112. control to be created, which really shouldn't be necessary just to
  2113. set a property on the control.
  2114. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  2115. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  2116. ArgumentNullReferenceException when the argument is null.
  2117. 2006-08-21 Jackson Harper <[email protected]>
  2118. * Timer.cs: Track the thread that the timer is started in (NOT
  2119. CREATED), this way messages for it will only be triggered on its
  2120. queue.
  2121. * XEventQueue.cs: Track the timers here, this makes timers per
  2122. thread, like MS.
  2123. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  2124. 2006-08-19 Chris Toshok <[email protected]>
  2125. * XplatUIX11.cs: after further communication with pdb, we get the
  2126. best of both worlds. SetZOrder working for un-Mapped windows, and
  2127. no X errors for un-mapped windows.
  2128. 2006-08-19 Chris Toshok <[email protected]>
  2129. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  2130. as it was causing pdn toolbars to not have the correct stacking.
  2131. 2006-08-18 Mike Kestner <[email protected]>
  2132. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  2133. calculation. Not sure why control should ever be setting a negative
  2134. width though. Fixes #78931.
  2135. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  2136. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  2137. null items in ObjectCollection class.
  2138. * ListBox.cs.: Likewise.
  2139. 2006-08-18 Atsushi Enomoto <[email protected]>
  2140. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  2141. as the base method in ThemeWin32Classic should work fine.
  2142. Fixed bug #78607.
  2143. 2006-08-18 Jackson Harper <[email protected]>
  2144. * Binding.cs: When validating if the value entered doesn't convert
  2145. properly reset to the old value.
  2146. * RadioButton.cs: Don't fire click when we get focus.
  2147. 2006-08-18 Jackson Harper <[email protected]>
  2148. * FileDialog.cs: Paint the selection on the directory combobox the
  2149. same way as on MS.
  2150. 2006-08-17 Jackson Harper <[email protected]>
  2151. * ErrorProvider.cs: Don't allow the error control to be selected.
  2152. * Control.cs: Don't send the SetFocus messages, the control
  2153. activation will do this, and if we do it blindly here validation
  2154. does not work.
  2155. 2006-08-17 Jackson Harper <[email protected]>
  2156. * Control.cs:
  2157. * ContainerControl.cs: Make validation events fire in the correct
  2158. order. TODO: For some reason the first validation event is not
  2159. getting fired.
  2160. 2006-08-17 Mike Kestner <[email protected]>
  2161. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  2162. 2006-08-17 Mike Kestner <[email protected]>
  2163. * ComboBox.cs : implement scroll wheel support for popped-down
  2164. state. Fixes #78945.
  2165. 2006-08-17 Jackson Harper <[email protected]>
  2166. * TreeView.cs: Specify treeview actions (old patch that didn't get
  2167. committed for some reason).
  2168. - Don't let the mouse wheel scroll us too far. Just want to make
  2169. the bottom node visible, not scroll it all the ways to the top.
  2170. 2006-08-17 Jackson Harper <[email protected]>
  2171. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  2172. 2006-08-17 Mike Kestner <[email protected]>
  2173. * ComboBox.cs : don't do mouseover selection in simple mode.
  2174. 2006-08-16 Jackson Harper <[email protected]>
  2175. * Form.cs: Fire the closing events for all the mdi child windows
  2176. when a window is closed. If the cancel args are set to true, the
  2177. main window still gets the event fired, but it doesn't not close.
  2178. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  2179. handler, instead of when the button is clicked, so cancelling the
  2180. close works correctly.
  2181. * ComboBox.cs: Send the mouse down to the scrollbar.
  2182. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  2183. * ListBox.cs: When passing 'null' to SelectedItem,
  2184. set SelectedIndex to -1, to unselect items. This is the
  2185. observed behaviour in .Net.
  2186. 2006-08-16 Peter Dennis Bartok <[email protected]>
  2187. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  2188. MS flags saying there won't be any. (fixes #78800)
  2189. * Control.cs (HandleClick): Made virtual
  2190. 2006-08-16 Atsushi Enomoto <[email protected]>
  2191. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  2192. cultures. Fixed bug #78399.
  2193. 2006-08-16 Jackson Harper <[email protected]>
  2194. * Form.cs: Use the MdiClients MdiChildren property to access
  2195. MdiChildren instead of creating the array from the child controls.
  2196. * MdiClient.cs: Maintain a separate array of the mdi children, so
  2197. that insertion order is maintained when the Z-order is changed.
  2198. 2006-08-16 Mike Kestner <[email protected]>
  2199. * ListView.cs : add an ItemComparer and default to it for sorting.
  2200. Fixes #79076, but sorting needs a complete overhaul to be compat with
  2201. MS.
  2202. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2203. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  2204. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2205. * Hwnd.cs (Mapped): Properly traverse the tree
  2206. 2006-08-15 Chris Toshok <[email protected]>
  2207. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  2208. pass manager.Current.GetType() to ParseData. It has to be the
  2209. property type. So, hold off doing the ParseData until we're in
  2210. SetPropertyValue where we know the type. This fixes the crash in
  2211. #78821 but the textbox is still empty.
  2212. 2006-08-15 Chris Toshok <[email protected]>
  2213. * DataGrid.cs:
  2214. - when we're scrolling, only call Edit() again if the
  2215. current cell is still unobscured. Fixes bug #78927.
  2216. - when handling mousedown on a cell, ensure the cell is visible
  2217. before calling Edit.
  2218. - remove the properties from DataGridRow, and remove the
  2219. DataGridParentRow class altogether.
  2220. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2221. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  2222. fire OnTextChanged by ourselves. There's no point calling base,
  2223. we don't set the base value anywhere else. Fixes #78773.
  2224. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  2225. * ListBox.cs: Call CollectionChanged when modifying
  2226. an item from Items indexer, to update the actual items
  2227. in the list box.
  2228. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  2229. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  2230. to match .Net behaviour.
  2231. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2232. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  2233. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2234. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  2235. 2006-08-15 Peter Dennis Bartok <[email protected]>
  2236. * MessageBox.cs: Prevent potential NRE exception.
  2237. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  2238. 2006-08-14 Peter Dennis Bartok <[email protected]>
  2239. * MessageBox.cs: Calculate the owner of a messagebox, also make
  2240. it topmost. Fixes #78753
  2241. 2006-08-14 Chris Toshok <[email protected]>
  2242. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  2243. programmatically move windows. first, set the PPosition hint as
  2244. well as the USPosition hint. Second include some code from pdb
  2245. that sets the window type to NORMAL when we set the transient for
  2246. hint. This is because, in the absence of a window type, metacity
  2247. thinks any window with TransientFor set is a dialog, and refuses
  2248. to let us move it programmatically. fascists.
  2249. 2006-08-14 Peter Dennis Bartok <[email protected]>
  2250. * XplatUIX11.cs: When setting normal hints, take into consideration
  2251. an different hints previously set so we don't delete them (fixes #78866)
  2252. 2006-08-12 Chris Toshok <[email protected]>
  2253. * ToolBarButton.cs: make Layout return a boolean, if something to
  2254. do with the button's layout changed.
  2255. * ToolBar.cs:
  2256. - add another parameter to Redraw, @force, which all existing
  2257. calls set to true.
  2258. - make the Layout function return a boolean which is true if the
  2259. layout has actually changed. Redraw now uses this (and @force)
  2260. to determine when to invalidate. At present the only place
  2261. where @force can be false is the call from OnResize, when
  2262. background_image == null. So, resizing a toolbar when the
  2263. layout doesn't change results in no drawing.
  2264. 2006-08-12 Chris Toshok <[email protected]>
  2265. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  2266. the VScrollBar and HScrollbar reversed. oops.
  2267. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  2268. scrollbars. we were assigning them twice (once in
  2269. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  2270. therefore causing two scrollbar resizes (and redraws?) to happen
  2271. per grid resize.
  2272. 2006-08-12 Chris Toshok <[email protected]>
  2273. * ToolBarButton.cs: redraw the entire button if the theme tells us
  2274. to.
  2275. * Theme.cs: add ToolBarInvalidateEntireButton.
  2276. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  2277. buttons, just the border.
  2278. * ThemeNice.cs: redraw the entire toolbar button since we need to
  2279. draw the highlight image.
  2280. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  2281. we need to redraw the entire button (not just the border).
  2282. 2006-08-11 Peter Dennis Bartok <[email protected]>
  2283. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  2284. for vertical bars. Fixes the mismatches shown by #78513
  2285. 2006-08-11 Alexander Olk <[email protected]>
  2286. * FileDialog.cs: If a saved/remembered path doesn't exist
  2287. anymore, fall back to "Desktop".
  2288. 2006-08-11 Peter Dennis Bartok <[email protected]>
  2289. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  2290. parent. It's apparently legal to not have one
  2291. * XplatUIX11.cs:
  2292. - SetZOrder: Don't try to set Z-Order on an unmapped window
  2293. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  2294. it unless the coordinates are negative
  2295. 2006-08-10 Mike Kestner <[email protected]>
  2296. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  2297. when setting to null per msdn docs. Fixes #78854.
  2298. 2006-08-10 Chris Toshok <[email protected]>
  2299. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  2300. flickering by setting a clip rectangle on the Graphics when we
  2301. need to redraw just a particular menuitem. Also, rename "OnClick"
  2302. to "OnMouseDown" to reflect what it actually is.
  2303. * Form.cs: track the OnMouseDown change.
  2304. 2006-08-10 Peter Dennis Bartok <[email protected]>
  2305. * CommonDialog.cs: Properly inherit the CreateParams from the form
  2306. and only change what we need. Fixes #78865
  2307. 2006-08-10 Chris Toshok <[email protected]>
  2308. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  2309. flickering in flat mode (and most of the flickering in general) by
  2310. only invalidating the button border (and not the entire rectangle)
  2311. when the state changes. A couple of cases still flicker:
  2312. ToggleButtons, and the dropdown arrow case when the user mouse
  2313. ups.
  2314. 2006-08-10 Alexander Olk <[email protected]>
  2315. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  2316. for german keyboards. Numlock state shouldn't affect the behaviour
  2317. of the Del key. Fixes bug #78291.
  2318. 2006-08-10 Chris Toshok <[email protected]>
  2319. * ListControl.cs: remove the items.Clear line from BindDataItems,
  2320. as this is the first thing done by both subclasses in their
  2321. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  2322. passed -1, refresh the list. This gets databinding working when
  2323. the datasource is set on the list before the datasource is
  2324. populated (as in wf-apps/ReportBuilder.)
  2325. * ComboBox.cs: remove the argument to BindDataItems. This call
  2326. should really go away, and be initiated by the ListControl code.
  2327. * ListBox.cs: same.
  2328. 2006-08-09 Peter Dennis Bartok <[email protected]>
  2329. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  2330. if no data is in the document when the control is displayed
  2331. 2006-08-09 Peter Dennis Bartok <[email protected]>
  2332. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  2333. yes (fixes #78806)
  2334. * TextControl.cs:
  2335. - PositionCaret: Allow positioning of caret but don't call methods
  2336. requiring a handle if the window isn't created yet
  2337. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  2338. - owner_HandleCreated: Don't position the caret, just update it's
  2339. location. User might have already set a different position
  2340. 2006-08-09 Peter Dennis Bartok <[email protected]>
  2341. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  2342. windows. Screws up the returned coordinates for child windows.
  2343. Fixes #78825. I'm hoping this doesn't break something, since the
  2344. code was explicitly put in 8 months ago, but no bug was attached.
  2345. Menus still seem to work properly.
  2346. 2006-08-08 Chris Toshok <[email protected]>
  2347. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  2348. supposed to do - delay data binding until the EndInit call. Also,
  2349. make the table style collection's CollectionChangeAction.Refresh
  2350. work properly.
  2351. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  2352. (with action = Refresh) when a consituent table's MappingName is
  2353. changed.
  2354. 2006-08-08 Chris Toshok <[email protected]>
  2355. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  2356. Invalidate, since changing the text can change the size of the all
  2357. toolbar buttons.
  2358. 2006-08-08 Peter Dennis Bartok <[email protected]>
  2359. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  2360. we don't have it yet
  2361. 2006-08-08 Chris Toshok <[email protected]>
  2362. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  2363. dialog, as this causes X errors later on, since we actually
  2364. destroy the window. Instead, .Hide() it.
  2365. 2006-08-08 Peter Dennis Bartok <[email protected]>
  2366. * ComboBox.cs: Added focus reflection for popup window
  2367. * XplatUIX11.cs:
  2368. - Removed transient setting for non-app windows for now, not sure it
  2369. was needed
  2370. - Fixed logic checking if we have captions when deciding
  2371. override_redirect, WS_CAPTION is two bits and a 0 check was not
  2372. sufficient
  2373. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  2374. complicated
  2375. * Form.cs:
  2376. - AddOwnedForm: Don't just add the form to the list, call the property
  2377. to ensure the driver is informed about the ownership as well
  2378. - CreateHandle: Set the TopMost status in the driver if we have an owner
  2379. * XplatUI.cs: Fixed debug statement
  2380. 2006-08-08 Jonathan Pobst <[email protected]>
  2381. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  2382. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  2383. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  2384. TrackBarRenderer.cs: Make constructor private.
  2385. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  2386. * ProfessionalColorTable.cs: Make properties virtual.
  2387. 2006-08-06 Duncan Mak <[email protected]>
  2388. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  2389. is not changing.
  2390. 2006-08-04 Jonathan Pobst <[email protected]>
  2391. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  2392. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  2393. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  2394. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  2395. Initial import of new 2.0 classes.
  2396. 2006-08-04 Jonathan Pobst <[email protected]>
  2397. * Application.cs: Add 2.0 VisualStyles properties.
  2398. 2006-08-04 Jonathan Pobst <[email protected]>
  2399. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  2400. XplatUIX11.cs: Create property to allow access to existing private
  2401. variable "themes_enabled"
  2402. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  2403. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  2404. file size, as otherwise our class libraries fail using windows. Fixes
  2405. bug #78759.
  2406. 2006-08-04 Jackson Harper <[email protected]>
  2407. * Form.cs:
  2408. * XplatUIX11.cs: Move the toolwindow window manager creation into
  2409. the X11 driver, this way on win32 we can let windows create/handle
  2410. the toolwindows.
  2411. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  2412. * PrintDialog.cs: Remove some redundant checks, add some others,
  2413. clean some code, and move the focus to the text boxes when the
  2414. values are incorrect.
  2415. 2006-08-04 Alexander Olk <[email protected]>
  2416. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  2417. 2006-08-03 Alexander Olk <[email protected]>
  2418. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  2419. handled correctly. Fixes bug #79001.
  2420. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  2421. * PrintDialog.cs: The "Copies" numeric up down must have
  2422. set the Minimum property to 1; only if the value is bigger
  2423. than 1, activate "Collate" check box. This is the behaviour of .Net.
  2424. Also modify the Document elements only if it is not null.
  2425. 2006-08-03 Jackson Harper <[email protected]>
  2426. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  2427. length. (We have a larger array then actual node count).
  2428. 2006-08-03 Jackson Harper <[email protected]>
  2429. * ComboBox.cs: Don't show selection by default.
  2430. - The SelectAll isn't needed here, since the focus code should do
  2431. that
  2432. - DDL style lists to manual selection drawing, so when they
  2433. get/lose focus they have to invalidate.
  2434. 2006-08-03 Peter Dennis Bartok <[email protected]>
  2435. * TextBoxBase.cs: Don't always show all selections by default.
  2436. 2006-08-03 Jonathan Pobst <[email protected]>
  2437. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  2438. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  2439. Fixed various typos.
  2440. 2006-08-03 Alexander Olk <[email protected]>
  2441. * Control.cs: Removing the controls in a ControlCollection with
  2442. Clear now hides the controls as expected. Fixes bug #78804.
  2443. 2006-08-03 Jackson Harper <[email protected]>
  2444. * Control.cs: Revert previous focus patch, it breaks reflector.
  2445. 2006-08-03 Jackson Harper <[email protected]>
  2446. * ComboBox.cs: Cleanup selection and focus with the combobox.
  2447. This also eliminates some duplicated keyboard code, since now
  2448. everything is handled by the main class.
  2449. - Make list selection work on mouse up instead of down, to match
  2450. MS.
  2451. 2006-08-02 Jackson Harper <[email protected]>
  2452. * Control.cs: Setting focus needs to go through the whole
  2453. selection mechanism.
  2454. 2006-08-02 Chris Toshok <[email protected]>
  2455. * PrintPreviewDialog.cs: change MinimumSize to use
  2456. base.MinimumSize so it works.
  2457. 2006-08-02 Peter Dennis Bartok <[email protected]>
  2458. * TextControl.cs:
  2459. - UpdateCaret: Added sanity check in case caret isn't defined yet
  2460. - Line.Delete: Now updating selection and caret markers if we're
  2461. transfering a node (Properly fixes #78323)
  2462. - SetSelectionEnd: Added sanity check
  2463. * TextBoxBase.cs: Removed broken attempt to fix #78323
  2464. 2006-08-01 Chris Toshok <[email protected]>
  2465. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  2466. Close() call is handled in Form, not here.
  2467. 2006-08-01 Chris Toshok <[email protected]>
  2468. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  2469. layout/rendering.
  2470. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  2471. for sizes < 100% zoom. The code now aggressively attempts to keep
  2472. from calling document.Print (), and tries not to use the scaling
  2473. g.DrawImage whenever possible (it still does if you scale to >
  2474. 100%, since usually that involves huge images).
  2475. * PrintPreviewControl.cs: hook up the close button.
  2476. 2006-08-01 Jonathan Pobst <[email protected]>
  2477. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  2478. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  2479. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  2480. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  2481. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  2482. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  2483. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  2484. Removed [Serializable] for 2.0 Event Handlers.
  2485. 2006-07-31 Jackson Harper <[email protected]>
  2486. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  2487. * TextControl.cs: Uncomment out the body of this method.
  2488. 2006-07-31 Alexander Olk <[email protected]>
  2489. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  2490. standard cursors.
  2491. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2492. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  2493. that embed TextBox and need selections visible even if textbox is not
  2494. focused to enforce that behaviour.
  2495. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  2496. selection drawing
  2497. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2498. * TextControl.cs:
  2499. - Added new SetSelectionStart/SetSelectionEnd overloads
  2500. - Fixed viewport width assignment to be accurate
  2501. - Adjusted alignment line shift calculations to allow cursor on right
  2502. aligned lines to be always visible at the right border (like MS)
  2503. * TextBoxBase.cs:
  2504. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  2505. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  2506. - CalculateScrollBars: Use ViewPort size instead of window size, to
  2507. properly consider space occupied by the border and scrollbars
  2508. (Fixes #78661)
  2509. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  2510. calculations; no longer leaves artifacts
  2511. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  2512. calculation bugs (Still missing right/center align calculations)
  2513. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2514. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  2515. use of both scroll rect and clip rect, as they do the same.
  2516. 2006-07-31 Peter Dennis Bartok <[email protected]>
  2517. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  2518. in the event handler (fixes #78912)
  2519. 2006-07-31 Chris Toshok <[email protected]>
  2520. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  2521. grid.ListManager.Count, since grid.ListManager might be null.
  2522. This of course begs the question "why are we drawing rows for a
  2523. grid with no list manager (and therefor no rows)?" Fixes the
  2524. crash in bug #78929.
  2525. 2006-07-31 Chris Toshok <[email protected]>
  2526. * RelatedPropertyManager.cs: Don't always chain up to the parent
  2527. ctor. instead, call SetDataSource if the parent's position is !=
  2528. -1. Fixes the crash in #78822.
  2529. 2006-07-31 Chris Toshok <[email protected]>
  2530. * DataGrid.cs (get_ListManager): use field instead of property
  2531. accessors for datasource and datamember.
  2532. (RowsCount): make internal again.
  2533. (OnMouseDown): end edits before resizing columns/rows.
  2534. (OnMouseUp): restart edits after resizing columns/rows.
  2535. 2006-07-30 Peter Dennis Bartok <[email protected]>
  2536. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  2537. This fixes the situation where the last set cursor is displayed
  2538. whenever the mouse is over scrollbars.
  2539. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  2540. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  2541. Document properties, as well as initial values.
  2542. 2006-07-29 Peter Dennis Bartok <[email protected]>
  2543. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  2544. and ClientEdge results in a 3-pixel border, which is
  2545. wrong.
  2546. 2006-07-28 Jackson Harper <[email protected]>
  2547. * TreeNodeCollection.cs: Fix the clear method.
  2548. - Fix the Shrink also
  2549. 2006-07-27 Jackson Harper <[email protected]>
  2550. * TreeView.cs: Make sure the visible order is computed when we
  2551. attempt to size the scrollbars (for trees that mess with the
  2552. scrolling when they shouldn't.
  2553. - Make sure to give the scrollbars valid values.
  2554. 2006-07-26 Peter Dennis Bartok <[email protected]>
  2555. * XplatUIX11.cs: Move motion compression code to where it
  2556. has less performance impact
  2557. 2006-07-26 Jackson Harper <[email protected]>
  2558. * UpDownBase.cs: When the control is selected make the child
  2559. controls non selectable, so that a click on them won't do a
  2560. focus/unfocus cycle.
  2561. - Don't give focus to the text box when the spinner is selected.
  2562. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  2563. 2006-07-26 Chris Toshok <[email protected]>
  2564. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  2565. satisfied with this solution. If the bitmaps are small, we should
  2566. just cache them in the PrintPreviewDialog and draw them here.
  2567. Also, the layout is broken for the 2-up and 3-up cases.
  2568. * Theme.cs: add PrintPReviewControlPaint.
  2569. * PrintPreviewDialog.cs: first pass implementation.
  2570. * PrintPreviewControl.cs: first pass implementation. No
  2571. scrollbars yet.
  2572. * PrintDialog.cs: only validate fields if that particular portion
  2573. of the UI is enabled. Also, set the document's controller to a
  2574. PrintControllerWithStatusDialog wrapping the document's print
  2575. controller.
  2576. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  2577. bring up a SaveFileDialog (i hope we don't want to match the
  2578. behavior of the crappy windows file entry) and set the
  2579. PrinterSettings.PrintFileName accordingly.
  2580. 2006-07-26 Jackson Harper <[email protected]>
  2581. * ContainerControl.cs: Add a field that disables auto selecting
  2582. the next control in a container when the container is activated.
  2583. * UpDownBase.cs: Don't select the text box when the up down is
  2584. selected.
  2585. 2006-07-26 Peter Dennis Bartok <[email protected]>
  2586. * XEventQueue.cs: Added methods for peeking (used for compression
  2587. of successive events)
  2588. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  2589. mouse move events (fixes #78732)
  2590. 2006-07-25 Jackson Harper <[email protected]>
  2591. * UpDownBase.cs: Use an internal class for the textbox so that we
  2592. can control focus. the updown control should always have focus,
  2593. if either the text area or the buttons are clicked.
  2594. - Send the key messages to the textbox, since it never actually
  2595. has focus
  2596. - Activate and decativate the textbox caret.
  2597. 2006-07-24 Jackson Harper <[email protected]>
  2598. * Control.cs: Use the directed select when selecting a control,
  2599. this way the container controls override will get called and the
  2600. whole ActiveControl chain will get triggered. TODO: probably need
  2601. to make sure this gets done everywhere instead of the old
  2602. Select(Control).
  2603. * ContainerControl.cs: Implement the directed Select method to
  2604. find and activate the correct child control.
  2605. 2006-07-22 Mike Kestner <[email protected]>
  2606. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  2607. menu handling code so that clicks without a grab work too.
  2608. [Fixes #78914]
  2609. 2006-07-22 Alexander Olk <[email protected]>
  2610. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  2611. Added some small optimizations.
  2612. 2006-07-21 Matt Hargett <[email protected]>
  2613. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  2614. 2006-07-21 Peter Dennis Bartok <[email protected]>
  2615. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  2616. tests pass and match MS in some strange border cases.
  2617. 2006-07-21 Chris Toshok <[email protected]>
  2618. * ThemeWin32Classic.cs: handle drawing of the relation links and
  2619. parent row buttons.
  2620. * Theme.cs: change args to DataGridPaintParentRow.
  2621. * DataGrid.cs: Don't use controls for the relation links and
  2622. parent buttons, so we have to handle all their interactions in
  2623. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  2624. when we're navigating through child tables, so we can reinstate
  2625. selection, expanded state, current cell, etc.
  2626. 2006-07-20 Chris Toshok <[email protected]>
  2627. * ToolBar.cs: When we redraw a button, for whatever reason,
  2628. there's no reason to redraw the entire toolbar. Also, don't call
  2629. Control.Refresh from within Redraw, as it's much heavier than
  2630. Invalidate (which is really what we want).
  2631. 2006-07-20 Chris Toshok <[email protected]>
  2632. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  2633. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  2634. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  2635. traces from within a debug IBindingList datasource
  2636. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  2637. to work in a similar fashion.
  2638. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  2639. * ListBox.cs: Don't call Sort () when setting
  2640. the Sorted property to false (avoid an unnecessary sort).
  2641. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  2642. * ListControl.cs: DataSource should throw an ArgumentException
  2643. instead of a normal exception when the argument is not of the
  2644. correct type.
  2645. 2006-07-20 Mike Kestner <[email protected]>
  2646. * Control.cs: add InternalPreProcessMessage to allow us to steal
  2647. key events before MWF gets its paws on them. Adapted from a
  2648. suggestion by eno.
  2649. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  2650. up/down/left/right navigation. Override the new internal control
  2651. method to steal the events since they never make it to WndProc.
  2652. * ToolBarButton.cs: don't worry about pushed when setting hilight
  2653. since the drawing code prefers pushed to hilight. Invalidate on
  2654. Hilight changes. Fixes #78547 and #78525.
  2655. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2656. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  2657. the canvas size. Fixes #78868
  2658. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2659. * Splitter.cs: Track requested split position until first layout
  2660. is performed. Fixes #78871
  2661. 2006-07-20 Peter Dennis Bartok <[email protected]>
  2662. * Application.cs: Removed code that forces 1.x for the version
  2663. number if the version started with 0. Not sure why that code was
  2664. there and I couldn't find any bugs that indicated we needed it.
  2665. Fixes #78869
  2666. 2006-07-20 Alexander Olk <[email protected]>
  2667. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  2668. ResetDefaults(), just write some output to the console until it's
  2669. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  2670. 2006-07-19 Jonathan Chambers <[email protected]>
  2671. * PropertyGridView.cs: set StartPosition of drop down forms
  2672. so they appear in correct initial spot. Fixes #78190.
  2673. 2006-07-19 Mike Kestner <[email protected]>
  2674. * ThemeWin32Classic.cs: use parent background color when drawing
  2675. flat toolbars. Restructure the conditionals to make sure non-flat
  2676. non-Divider toolbars are filled too. Fixes #78837.
  2677. 2006-07-19 Mike Kestner <[email protected]>
  2678. * ListBox.cs: Sort on collection changes even if the handle
  2679. isn't created yet. Fixes #78813.
  2680. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  2681. * ListControl.cs: DisplayMember should never be null,
  2682. and now we assign String.Empty when null is passed to it (this
  2683. is the .Net way).
  2684. 2006-07-17 Mike Kestner <[email protected]>
  2685. * ListViewItem.cs: restructure Font and subitem Font handling
  2686. to hold a specific font and refer back to owner on null.
  2687. Fixes #78761.
  2688. 2006-07-17 Mike Kestner <[email protected]>
  2689. * ToolBar.cs: bandaid for side-effect of previous patch which was
  2690. discarding explicit heights for non-AutoSize toolbars. Need to
  2691. extend my format tester to deal with AutoSize=false. Fixes #78864.
  2692. 2006-07-15 Jackson Harper <[email protected]>
  2693. * LabelEditTextBox.cs:
  2694. * TreeView.cs: Use a new LabelEdit class for node editing, this
  2695. class automatically 'closes' itself when it gets the enter key or
  2696. loses focus.
  2697. - Use the client rectangle when setting the trees scrollbars, so
  2698. border style is taken into account.
  2699. 2006-07-14 Jackson Harper <[email protected]>
  2700. * TreeNode.cs:
  2701. * TreeView.cs: Make the editing work similar to MSs, firing the
  2702. events correctly and ending edits correctly.
  2703. 2006-07-14 Mike Kestner <[email protected]>
  2704. * ToolBarButton.cs:
  2705. * ToolBar.cs: layout restructuring and redraw enhancements to support
  2706. formatting changes gracefully, like setting TextAlign, ImageList,
  2707. ButtonSize, and Appearance. Handles explicit button sizing quirks
  2708. of the MS controls. Things like flat toolbars ignoring button size
  2709. but becoming constant sized at the largest button's size. Normal
  2710. toolbars with an image set cannot be shrunk smaller than the image,
  2711. but text can be clipped/ignored.
  2712. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  2713. is zero. Seems like DrawString should be smart enough to not put
  2714. anything on screen though. Also trim labels and ellipsize at the char
  2715. boundary, not word.
  2716. Fixes #78711 and #78483.
  2717. 2006-07-14 Alexander Olk <[email protected]>
  2718. * FolderBrowserDialog.cs: Disable "New Folder" button and
  2719. "New Folder" contextmenu menuitem if a folder like "My Computer"
  2720. is selected.
  2721. 2006-07-14 Alexander Olk <[email protected]>
  2722. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  2723. * FolderBrowserDialog.cs:
  2724. - Use MWFConfig to store and read size and position settings
  2725. - Added code to create a new folder (button or context menu).
  2726. Use TreeView labeledit to change the name of the new folder.
  2727. 2006-07-14 Jackson Harper <[email protected]>
  2728. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  2729. when the tree is scrolled we end editing.
  2730. 2006-07-14 Alexander Olk <[email protected]>
  2731. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  2732. Down arrows
  2733. 2006-07-14 Jonathan Pobst <[email protected]>
  2734. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  2735. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  2736. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  2737. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  2738. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  2739. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  2740. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  2741. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  2742. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  2743. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  2744. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  2745. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  2746. ListViewItemSelectionChangedEventHandler.cs,
  2747. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  2748. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  2749. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  2750. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  2751. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  2752. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  2753. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  2754. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  2755. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  2756. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  2757. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  2758. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  2759. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  2760. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  2761. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  2762. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  2763. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  2764. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  2765. WebBrowserNavigatingEventHandler.cs,
  2766. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  2767. 2006-07-14 Jonathan Pobst <[email protected]>
  2768. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  2769. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  2770. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  2771. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  2772. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  2773. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  2774. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  2775. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  2776. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  2777. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  2778. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  2779. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  2780. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  2781. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  2782. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  2783. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  2784. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  2785. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  2786. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  2787. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  2788. ListViewItemStates.cs, MaskFormat.cs: Added
  2789. 2006-07-13 Jonathan Chambers <[email protected]>
  2790. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  2791. Patch from eno for bug 78558.
  2792. 2006-07-13 Jackson Harper <[email protected]>
  2793. * TreeView.cs: When an edit is finished make sure that the
  2794. selected node is visible.
  2795. - When setting the top/bottom use the scrollbars is_visible, so
  2796. everything will be set correctly even if the tree isn't visible
  2797. yet.
  2798. 2006-07-13 Jackson Harper <[email protected]>
  2799. * ComboBox.cs: Revert the item->index part of my previous patch.
  2800. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  2801. the edit box has lost focus (duh).
  2802. - Just make the edit box not visible when we get return, that will
  2803. take the focus, which will call EndEdit
  2804. * TreeNode.cs When we start editing, notify the treeview.
  2805. 2006-07-12 Jackson Harper <[email protected]>
  2806. * ComboBox.cs: Clear out old items before setting the item list.
  2807. This prevents databound controls from having their items added
  2808. twice.
  2809. - Switch the combobox to use indices whereever possible instead of
  2810. using Item's. This allows usto navigate through lists that have
  2811. more then one item with the same string value (ie a, b, b, a).
  2812. - Scroll the listboxes scrollbar when a non visible item is
  2813. highlighted
  2814. - Allow keypress to cycle through all the possible values. For
  2815. example if you have b1, b2, b3 and hold down the B key all the
  2816. values will be cycled through.
  2817. 2006-07-12 Jackson Harper <[email protected]>
  2818. * TextBoxBase.cs:
  2819. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  2820. this using the internal methods.
  2821. * Control.cs: Add OnGotFocusInternal. A new method that allows
  2822. controls to "override" OnGotFocus and change focus behavior if
  2823. needed.
  2824. - Same thing for LostFocus
  2825. * ComboBox.cs: Pass off focus to the text control properly.
  2826. 2006-07-12 Alexander Olk <[email protected]>
  2827. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  2828. * FolderBrowserDialog.cs: Almost a complete rewrite.
  2829. - Better support for Environment.Specialfolders
  2830. - Added support for MWFVFS
  2831. - Made setting SelectedPath work
  2832. 2006-07-12 Jackson Harper <[email protected]>
  2833. * Control.cs: Optimze getting all the controls.
  2834. 2006-07-11 Jackson Harper <[email protected]>
  2835. * ContainerControl.cs: Override SETFOCUS in the container control,
  2836. so that it is not selected on mouse click.
  2837. 2006-07-11 Peter Dennis Bartok <[email protected]>
  2838. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  2839. Hopefully we will have a better way once all of focus is complete.
  2840. 2006-07-11 Peter Dennis Bartok <[email protected]>
  2841. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  2842. a compile error with csc.
  2843. 2006-07-11 Jackson Harper <[email protected]>
  2844. * Control.cs: When hiding a control only select the next control
  2845. if the current control was focused.
  2846. - Don't handle enter/leave when setting/killing focus, this is
  2847. done by the container control.
  2848. - Remove is_selected, it's not needed anymore.
  2849. - Add utility methods for selecting a child control, and for
  2850. firing the Enter/Leave events.
  2851. * ContainerControl.cs: When a control is activated fire the
  2852. enter/leave events.
  2853. - Don't wrap when processing the tab key, so that focus can be
  2854. moved outside of the container.
  2855. - Use the correct active control
  2856. 2006-07-11 Jackson Harper <[email protected]>
  2857. * ComboBox.cs: Remove some debug code that was blinding me.
  2858. * UpDownBase.cs: These controls actually aren't implicit, they are
  2859. visible to the user.
  2860. 2006-07-10 Chris Toshok <[email protected]>
  2861. * DataGrid.cs: move back to the is_adding boolean field. god i
  2862. hate this is_editing/is_adding/is_changing stuff.
  2863. 2006-07-10 Chris Toshok <[email protected]>
  2864. * DataGridTableStyle.cs: just check if the property type is bool.
  2865. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  2866. Don't use CanRenderType.
  2867. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  2868. if our text == NullText. Remove CanRenderType.
  2869. * DataGridBoolColumn.cs: nuke CanRenderType.
  2870. * DataGrid.cs: reenable some code to end the current edit inside
  2871. of set_CurrentCell. This fixes the other 1.1.16 regression.
  2872. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  2873. Also, remove the visible_row_count arg from CalcRowHeaders, since
  2874. we don't need to worry about the actual height of the area.
  2875. 2006-07-10 Chris Toshok <[email protected]>
  2876. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  2877. mode, just return.
  2878. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  2879. the real sense of the IsInEditOrNavigateMode property (true =
  2880. navigate, false = edit). Also, update OnKeyPress to reflect this.
  2881. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  2882. column style exists, we still need to set its property descriptor
  2883. to match up with our list manager.
  2884. 2006-07-10 Chris Toshok <[email protected]>
  2885. * ThemeWin32Classic.cs: implement the new row/header painting
  2886. approach. The parent row painting will likely go away and
  2887. replaced with label controls, but the rest seems to work ok (and
  2888. efficiently).
  2889. * Theme.cs: change the way we draw datagrid rows. we don't draw
  2890. the row headers as a block now. Instead we draw them in the
  2891. normal draw-row loop. Add some calls for drawing parent rows and
  2892. relation rows.
  2893. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  2894. a default table style. Set the defaults from ThemeEngine.Current,
  2895. not SystemColors. Fix lots of misc issues with property setters.
  2896. * DataGrid.cs: move loads of style information out of this class
  2897. as it's being duplicated with DataGridTableStyle. keep track of a
  2898. special DataGridTableStyle for the properties we used to mirror
  2899. here. Switch all the style properties to access this table style
  2900. instead of instance fields of this class. Also add a internal
  2901. class to represent parent rows (more needs to be stored here, like
  2902. the selection state from the parent table, as well as the
  2903. expansion state.) Also, for datasources with relations, do the
  2904. right thing for collapse/expand, and add support for the
  2905. navigation/parent row buttons.
  2906. Lastly, fix the crash in the 1.1.16 build.
  2907. * GridTableStylesCollection.cs: make the explicit interface
  2908. implementations call the class's methods as opposed to duplicating
  2909. them.
  2910. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  2911. 0 so the text doesn't jump around when we move the cursor.
  2912. 2006-07-10 Jackson Harper <[email protected]>
  2913. * TextBoxBase.cs:
  2914. * ListBox.cs: Match MS's ToString (this makes debugging focus
  2915. stuff infinitely easier).
  2916. 2006-07-10 Jackson Harper <[email protected]>
  2917. * Control.cs (SelectNextControl): When checking the control's
  2918. parent use this instead of ctrl.parent so that null can be passed
  2919. to SelectNextControl. (I have unit tests for this).
  2920. - Remove unused var.
  2921. 2006-07-10 Chris Toshok <[email protected]>
  2922. * CurrencyManager.cs: correct one regression, the removal of the
  2923. finalType field. Also, add a MonoTODO on CanAddRows, implement
  2924. Refresh() correctly, and fix some event emission in
  2925. ListChangedHandler.
  2926. 2006-07-07 Alexander Olk <[email protected]>
  2927. * FileDialog.cs: Don't use brackets for new folders if they exist
  2928. under *nix. Instead use -(number of existing folders +1).
  2929. 2006-07-07 Alexander Olk <[email protected]>
  2930. * FileDialog.cs:
  2931. - Fixed really nasty bug #78771
  2932. - Don't block the whole GUI when reading directories with a lot of
  2933. entries. Use an other thread instead and call BeginInvoke to
  2934. update the ListView in MWFFileView
  2935. 2006-07-07 Chris Toshok <[email protected]>
  2936. * Control.cs (Dispose): release any Capture when disposing.
  2937. 2006-07-07 Chris Toshok <[email protected]>
  2938. * LinkLabel.cs (Select): if we chain up to the parent, set
  2939. focused_index to -1 so we'll search for the first available link
  2940. the next time the user tabs into us. Also, if the direction is
  2941. backward and focused_index == -1, start the search from the last
  2942. element.
  2943. 2006-07-07 Chris Toshok <[email protected]>
  2944. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  2945. is beyond the end of the text, don't do anything.
  2946. (CreateLinkPieces): set our ControlStyles.Selectable based on
  2947. whether or not we have any links.
  2948. (Link.Invalidate): use a loop instead of foreach.
  2949. (Link.set_Start): null out owner.sorted_links so it'll be
  2950. recreated by CreateLinkPieces.
  2951. 2006-07-06 Chris Toshok <[email protected]>
  2952. * LinkLabel.cs: revert the SetStyle change.
  2953. 2006-07-06 Chris Toshok <[email protected]>
  2954. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  2955. (OnEnableChanged): s/Refresh/Invalidate
  2956. (OnGotFocus): if we have a focused index already, refocus it (so
  2957. if we mouse out/in to the window it'll focus the right link).
  2958. (OnKeyDown): move the tab handling out of here.
  2959. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  2960. when we lose focus.
  2961. (OnMouseDown): don't Capture here - Control handles it. Also,
  2962. focus the active link.
  2963. (OnMouseUp): don't deal with Capture.
  2964. (OnPaintBackgroundInternal): remove.
  2965. (OnTextAlignChanged): CreateLinkPieces before calling the
  2966. superclass's method.
  2967. (OnTextChanged): call CreateLinkPieces before calling superclass's
  2968. method.
  2969. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  2970. move around.
  2971. (Select): implement this, moving the selection between different
  2972. links, and call parent.SelectNextControl if we don't have another
  2973. link to focus in the given direction.
  2974. (CreateLinkPieces): call Invalidate instead of Refresh.
  2975. 2006-07-06 Chris Toshok <[email protected]>
  2976. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  2977. new LinkLabel internals.
  2978. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  2979. over pieces looking for active/focused/etc links. also, deal with
  2980. runs of text (and links) with embedded \n's in them, and use
  2981. MeasureCharacterRanges instead of MeasureString to figure out the
  2982. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  2983. two-step.
  2984. 2006-07-04 Jackson Harper <[email protected]>
  2985. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  2986. XKB or key auto repeat, do it manually. Without key auto repeat,
  2987. when a key is held down we get key press, key release, key press,
  2988. key release, ... with auto repeat we get key press, key press, key
  2989. press ..., and then a release when the key is actually released.
  2990. 2006-07-03 Jackson Harper <[email protected]>
  2991. * TabControl.cs:
  2992. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  2993. rules, they are always control color regardless of the background
  2994. color.
  2995. 2006-07-02 Alexander Olk <[email protected]>
  2996. * FileDialog.cs: Added internal class MWFConfig.
  2997. Removed Registry support and replaced it with support for the new
  2998. MWFConfig class. See MWFConfig comments for more information.
  2999. 2006-06-30 Alexander Olk <[email protected]>
  3000. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  3001. rectangle. Added some patches from eno from bug #78490 and fixed
  3002. the arrow position for small up and down CPDrawScrollButtons.
  3003. 2006-06-30 Jackson Harper <[email protected]>
  3004. * InternalWindowManager.cs: Remove some debug code.
  3005. * Form.cs: When an MdiParent is set to null, the window is
  3006. "detatched" and becomes a normal window.
  3007. * MdiClient.cs: Don't bring the new child form to the front until
  3008. it is activated (setting it as active does this), this makes the
  3009. previously active forms titlebar get redrawn as inactive.
  3010. 2006-06-29 Peter Dennis Bartok <[email protected]>
  3011. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  3012. with later controls
  3013. 2006-06-29 Mike Kestner <[email protected]>
  3014. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  3015. arrow in keynav state. Fixes #78682.
  3016. 2006-06-28 Atsushi Enomoto <[email protected]>
  3017. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  3018. order (fixes #78393)
  3019. 2006-06-28 Jonathan Pobst <[email protected]>
  3020. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  3021. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  3022. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  3023. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  3024. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  3025. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  3026. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  3027. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  3028. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  3029. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  3030. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  3031. values)
  3032. 2006-06-28 Mike Kestner <[email protected]>
  3033. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  3034. 2006-06-28 Atsushi Enomoto <[email protected]>
  3035. * PropertyGrid.cs,
  3036. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  3037. item lines from other area (It also makes BackColor consistent and
  3038. compatible with .NET). Fixed bug #78564.
  3039. 2006-06-28 Jonathan Chambers <[email protected]>
  3040. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  3041. Patch from Eno for #78555.
  3042. 2006-06-27 Chris Toshok <[email protected]>
  3043. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  3044. * DataGridColumnStyle.cs: same.
  3045. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  3046. * DataGridDrawingLogic.cs: nuke.
  3047. 2006-06-27 Chris Toshok <[email protected]>
  3048. * DataGridTableStyle.cs: clean up the constructors, and build the
  3049. list of child relations for this table. I have no idea if this is
  3050. where we should be doing it (it probably isn't), but since we're
  3051. already iterating over the properties..
  3052. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  3053. struct and array for keeping track of row information, similar to
  3054. what's shown in a hack on
  3055. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  3056. * Theme.cs: be consistent about the naming of DataGrid methods,
  3057. prefering ColumnWidths and RowHeights over columnsWidths and
  3058. RowsHeights.
  3059. * ThemeWin32Classic.cs: same, and also add support for variable
  3060. sized rows (and the +/- expansion icons for related rows).
  3061. 2006-06-27 Peter Dennis Bartok <[email protected]>
  3062. * TextBoxBase.cs: Applied Eno's patch from #78660
  3063. 2006-06-27 Peter Dennis Bartok <[email protected]>
  3064. * Form.cs (ScaleCore): We don't want to scale our form if it's
  3065. state is minimized or maximized, but we still need to scale our
  3066. child windows. Also, added try/finally block to ensure layout
  3067. gets reset (Fixes #78697)
  3068. 2006-06-27 Peter Dennis Bartok <[email protected]>
  3069. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  3070. 2006-06-27 Peter Dennis Bartok <[email protected]>
  3071. * Form.cs: Fixed c+p error and added check to resize form if minimum
  3072. size is bigger than current size (Fixes #78709)
  3073. 2006-06-26 Peter Dennis Bartok <[email protected]>
  3074. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  3075. 2006-06-26 Mike Kestner <[email protected]>
  3076. * ComboBox.cs: only do Keypress handling in the combo when there
  3077. are items in the collection. Fixes #78710.
  3078. 2006-06-26 Chris Toshok <[email protected]>
  3079. * Binding.cs: make this work bi-directionally. also, clear up
  3080. other mixups between Push/Pull Data (e.g. we're supposed to pull
  3081. data when validating).
  3082. * BindingManagerBase.cs: trim some fully qualified collection
  3083. types.
  3084. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  3085. 2006-06-23 Chris Toshok <[email protected]>
  3086. * PropertyManager.cs: It appears (according to the unit tests)
  3087. that PropertyManager doesn't use
  3088. PropertyDescriptor.AddValueChanged to track propery value changes
  3089. in its datasource, but uses the same scheme as Binding, where it
  3090. looks for a <Property>Changed event and binds to it.
  3091. Also, according to the docs, IsSuspended always returns false for
  3092. a property manager with a non-null datasource.
  3093. 2006-06-22 Peter Dennis Bartok <[email protected]>
  3094. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  3095. need to update the actual DialogResult. (Fixes #78613)
  3096. 2006-06-22 Peter Dennis Bartok <[email protected]>
  3097. * Form.cs (ShowDialog): Release any captures before running the
  3098. new message pump (fixes #78680)
  3099. 2006-06-22 Mike Kestner <[email protected]>
  3100. * ListView.cs: Layout column widths properly in details mode even
  3101. if HeaderStyle.None is set. Fixes #78691.
  3102. 2006-06-21 Peter Dennis Bartok <[email protected]>
  3103. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  3104. 2006-06-21 Peter Dennis Bartok <[email protected]>
  3105. * Control.cs (ContainsFocus): Using new driver method to get focused
  3106. window, instead of trying to use internal tracking var, which can
  3107. recursion issues (Fixes #78685)
  3108. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  3109. XplatUIWin32.cs: Added GetFocus method to return focused window
  3110. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  3111. * ColorDialog.cs: when the mouse button is pressed inside the color
  3112. matrix, don't let the cursor move out of it until the button is
  3113. released, which is the behavior on windows. Changed 'colours' by
  3114. 'colors' to use the same word consistently.
  3115. 2006-06-21 Chris Toshok <[email protected]>
  3116. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  3117. child relation and back, using a stack). Also, remove
  3118. GetDataSource and the code that calls it - it's not needed. Also,
  3119. track CurrencyManager.ListName's removal.
  3120. 2006-06-21 Chris Toshok <[email protected]>
  3121. * CurrencyManager.cs: push some of the original type checking from
  3122. BindingContext.CreateBindingManager to here, and remove some of
  3123. the finalType stuff. Need more tests to make sure I've got the
  3124. ListName part right, and we might need more in SetDataSource.
  3125. * PropertyManager.cs: add a ctor that takes just the datasource,
  3126. and no property name. Make SetDataSource work with a null
  3127. property_name, and make Current return the data_source if the
  3128. property descriptor is null. this makes 'string foo = "hi";
  3129. BindingContext[foo].Current' return "hi" as it should.
  3130. * RelatedCurrencyManager.cs: make this code more generic - there's
  3131. no reason the parent manager has to be CurrencyManager, and
  3132. there's no reason to pass the DataRelation. It suffices to use a
  3133. BindingManagerBase and PropetyDescriptor.
  3134. * RelatedPropertyManager.cs: make a similar change here.
  3135. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  3136. flower I knew it could be.
  3137. 2006-06-20 Chris Toshok <[email protected]>
  3138. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  3139. data in the source has changed and we need to update the control,
  3140. so s/PullData/PushData.
  3141. * CurrencyManager.cs: Refresh is meant to update the control from
  3142. data in the datasource. So, s/PullData/PushData.
  3143. * BindingContext.cs: add more ugliness (we weren't handling the
  3144. case where data_source = DataTable and data_member = column_name).
  3145. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  3146. from the perspective of the datasource. PullData pulls from the
  3147. control, PushData pushes to the control.
  3148. 2006-06-20 Chris Toshok <[email protected]>
  3149. * BindingContext.cs: rewrite the CreateBindingManager code to
  3150. handle navigation paths more or less properly. This could
  3151. definitely stand some more work, in particular to push the
  3152. recursion up to the toplevel. But that relies on fixes in other
  3153. places (System.Data comes to mind).
  3154. Also, move to a flat hashtable (and encode the twolevel nature of
  3155. the dictionary into the hash key). This lets us implement the
  3156. IEnumerable.GetEnumerator method.
  3157. * RelatedCurrencyManager.cs: new class. Update our view based on
  3158. our relation and our parent CurrencyManager's position.
  3159. * CurrencyManager.cs: split out some logic from the ctor into
  3160. SetView, so it can be called from the new RelatedCurrencyManager
  3161. subclass.
  3162. * RelatedPropertyManager.cs: new class. Update our datasource
  3163. based on the position of our parent CurrencyManager.
  3164. * PropertyManager.cs: split out some logic from the ctor into
  3165. SetDataSource, so it can be called from the new RelatedDataSource
  3166. subclass. Also, make the Current getter return the value
  3167. of the PropertyDescriptor, not the data_source.
  3168. * Binding.cs: no need to duplicate the string splitting code here.
  3169. 2006-06-19 Peter Dennis Bartok <[email protected]>
  3170. * Control.cs:
  3171. - set_Enabled: OnEnabledChanged is not called if the inherited state
  3172. of the control is not altered, even though we might be changing the
  3173. internal state of the control (#78458)
  3174. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  3175. OnEnabledChanged, to allow easy altering of any child window state
  3176. - OnEnabledChanged: Added code to enable/disable driver window state
  3177. - OnParentEnabledChanged: Instead of firing the event, call
  3178. OnEnabledChanged, which will fire the event and also a) set driver
  3179. window state and pass the enabled state to any grandchildren (#78458)
  3180. 2006-06-19 Jackson Harper <[email protected]>
  3181. * InternalWindowManager.cs: We don't set the cursor explicitly
  3182. thats done via the response to NCHITTESTs.
  3183. - Don't need to adjust for titlebar heights anymore, the
  3184. coordinates are coming in the correct coordinates now (see peters
  3185. last patch).
  3186. 2006-06-19 Peter Dennis Bartok <[email protected]>
  3187. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  3188. being translated relative to whole window, instead of client window.
  3189. That caused broken offsets on mouseclick (and caused gas for our
  3190. InternalWindowManager)
  3191. 2006-06-15 Peter Dennis Bartok <[email protected]>
  3192. * TextControl.cs:
  3193. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  3194. - Undo(): Added replay of cursor move on DeleteChars action; added
  3195. calling Undo() again if a recorded cursor move is invalid (to
  3196. ensure that some action is performed on Undo)
  3197. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  3198. 2006-06-16 Jackson Harper <[email protected]>
  3199. * MdiClient.cs: Instead of just sizing maximized windows when
  3200. there is a resize we also have to adjust the Y of minimized
  3201. windows, so they stay pinned to the bottom of the mdi container.
  3202. - Eliminate separate tracking of the active control, we can just
  3203. get this from the controls collection.
  3204. - Paint the decorations for the newly activated titlebar so we get
  3205. a pretty blue bar.
  3206. * InternalWindowManager.cs:
  3207. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  3208. even if they are a tool window.
  3209. 2006-06-15 Peter Dennis Bartok <[email protected]>
  3210. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  3211. undo buffer, these can happen when text was deleted and the cursor
  3212. was recorded first. Since we will also have a recorded cursor
  3213. after the delete this is not an issue. (Fixes #78651)
  3214. 2006-06-14 Peter Dennis Bartok <[email protected]>
  3215. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  3216. instead properly track control states internally (allows us to
  3217. remove is_selected from Control)
  3218. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  3219. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  3220. whose width is not a multiple of 8.
  3221. 2006-06-13 Jackson Harper <[email protected]>
  3222. * MdiClient.cs: Only maximize the next child if the current one
  3223. is maximized.
  3224. 2006-06-13 Chris Toshok <[email protected]>
  3225. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  3226. modified. Also, guard against grid or grid_drawing being null in
  3227. Invalidate.
  3228. * DataGrid.cs: Reformat tons of getters/setters. In the
  3229. DataMember setter, just call SetNewDataSource instead of
  3230. duplicating some of its functionality. In SetNewDataSource, don't
  3231. check ListManager for null, since the property getter creates the
  3232. object if needed.
  3233. * DataGridTableStyle.cs: don't set TableStyle or call
  3234. SetDataGridInternal on the column here, it's done in
  3235. GridColumnStylesCollection.Add.
  3236. * GridColumnStylesCollection.cs: fix all the explicit interface
  3237. implementations to just call our methods. Nuke AddInternal() and
  3238. move the body of it to Add(). Also, add a call to
  3239. column.SetDataGridInternal to Add().
  3240. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  3241. base()+duplicate code. Also, use the Format property instead of
  3242. format to generate an Invalidate ala MS. Lastly, create the
  3243. textbox here, unconditionally.
  3244. (set_Format): call Invalidate.
  3245. (get_TextBox): no need to call EnsureTextBox.
  3246. (Commit): remove the message box.
  3247. (Edit) remove the call to EnsureTextBox.
  3248. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  3249. (EnterNullValue): no need to check textbox for null.
  3250. (HideEditBox): no need to check textbox for null.
  3251. (SetDataGridInColumn): add the textbox to the grid's controls.
  3252. (EnsureTextBox): nuke.
  3253. 2006-06-13 Jackson Harper <[email protected]>
  3254. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  3255. and redraw the buttons when needed. Unhook when the window is
  3256. unmaximized.
  3257. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  3258. needs this so that it can redraw its buttons when the menu is
  3259. repainted.
  3260. * InternalWindowManager.cs:
  3261. * Form.cs: The method order has changed for DrawMaximizedButtons,
  3262. so that it can be a PaintEventHandler.
  3263. 2006-06-13 Jackson Harper <[email protected]>
  3264. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  3265. window is activated and maximized, even if it wasn't before.
  3266. - When a new window is activated repaint the decorations of the
  3267. old one, so that it no longer has the Active "look" (the blue
  3268. titlebar).
  3269. * InternalWindowManager.cs: Open up CreateButtons to base classes
  3270. so they can recreate the buttons on state changes.
  3271. - If a window is maximized give it all three buttons
  3272. * MdiWindowManager.cs: Create the titlebar buttons when the state
  3273. is changed, this is needed because a toolwindow will not have all
  3274. three buttons until it is maximized.
  3275. 2006-06-13 Atsushi Enomoto <[email protected]>
  3276. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  3277. Fixed bug #78609.
  3278. 2006-06-12 Jackson Harper <[email protected]>
  3279. * KeysConverter.cs: Make sure we handle the Ctrl special case
  3280. if its the only key.
  3281. 2006-06-12 Jackson Harper <[email protected]>
  3282. * Theme.cs: Add a method to get the size of a managed window
  3283. toolbar button.
  3284. * InternalWindowManager.cs: Remove the ButtonSize property, this
  3285. should be retrieved from the theme.
  3286. * MdiWindowManager.cs: Get the button size from the theme
  3287. * ThemeWin32Classic.cs: Make the method to get the managed window
  3288. titlebar button size public.
  3289. - Handle the different button sizes of maximized toolwindows
  3290. (should match any maximized window).
  3291. - Get the titlebar height from the theme, not the WM (which gets
  3292. it from the theme).
  3293. 2006-06-12 Jackson Harper <[email protected]>
  3294. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  3295. event down to the mdi window manager.
  3296. - Expose some extra stuff to base classes
  3297. - Make sure to end the Capture on an NC Mouse up, so that we can
  3298. get double clicks properly, and the sizing doens't stick.
  3299. - When doing PointToClient contain it in the workable desktop
  3300. area, this prevents windows from changing size when the cursor is
  3301. pulled outside of the working area while sizing.
  3302. * MdiWindowManager.cs: When we get a double click maximize the
  3303. window.
  3304. - Reset the cursor after handling mode changes.
  3305. 2006-06-12 Peter Dennis Bartok <[email protected]>
  3306. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  3307. current desktop, instead of just assuming a 0, 0 origin. This
  3308. is needed for our internal window manager, to know the top
  3309. margin of the desktop
  3310. 2006-06-12 Chris Toshok <[email protected]>
  3311. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  3312. we need this to get rid of the selected background in the bool
  3313. column.
  3314. (CancelEditing): move the ConcedeFocus call to above the Abort
  3315. call. Also, set is_changing to false and invalidate the row
  3316. header if we were changing before.
  3317. (ProcessKeyPreviewInternal): remove, since noone outside this
  3318. class calls it anymore. Roll the code into ProcessKeyPreview.
  3319. (EndEdit): remove the internal version.
  3320. (InvalidateCurrentRowHeader): make private.
  3321. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  3322. Keys.Escape handling (and with it the last call to
  3323. DataGrid.EndEdit from outside the class.)
  3324. 2006-06-12 Chris Toshok <[email protected]>
  3325. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  3326. (OnKeyPress): set isedit to true.
  3327. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  3328. already handled by the grid.
  3329. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  3330. right. ugh.
  3331. (set_DataSource): SetDataSource always returns true, so stop
  3332. putting it in an if statement.
  3333. (EndEdit): get rid of some {}'s
  3334. (ProcessGridKey): return true in case Keys.Escape.
  3335. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  3336. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  3337. PositionChanged, stopped connecting to CurrentChanged.
  3338. (GetDataSource): simplify this a bunch.
  3339. (SetDataSource): change return type from bool to void.
  3340. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  3341. to this, and make sure we don't set ListManager.Position inside
  3342. set_CurrentCell.
  3343. (OnListManagerItemChanged): if we're passed an actual index,
  3344. redraw that row.
  3345. * CurrencyManager.cs (set_Position): don't call PullData here.
  3346. 2006-06-09 Jackson Harper <[email protected]>
  3347. * TreeNode.cs: Recalculate the visible order before doing the
  3348. Expand/Collapse Below calls, because those calls generate an
  3349. expose.
  3350. - Reduce calls to the TreeView property, which is mildly expensive
  3351. by using a local var.
  3352. * Form.cs: Layout the MDI child windows when creating the parent
  3353. form.
  3354. - Don't use the internal constructor anymore
  3355. * MdiClient.cs: use the parent form width/height (if available)
  3356. when laying out the child windows, we do this because the
  3357. mdiclient isn't docked yet when the initial layout is done.
  3358. - Don't need an internal constructor anymore.
  3359. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  3360. * FileDialog.cs: handle access errors when trying to create a folder
  3361. or changing to a directory. No need to initialize out parameters.
  3362. 2006-06-08 Alexander Olk <[email protected]>
  3363. * FileDialog.cs: Append a number when creating a new folder if the
  3364. folder already exists (use parenthesis instead of square brackets)
  3365. 2006-06-08 Alexander Olk <[email protected]>
  3366. * FileDialog.cs:
  3367. - Disabled registry support for windows and added better registry
  3368. error checking for other systems (need to investigate why it
  3369. works perfectly on my system)
  3370. - If a folder already exist show an error MessageBox instead of
  3371. trying to create an indexed name.
  3372. - Fixed a non intentional typo.
  3373. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  3374. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  3375. 2006-06-08 Alexander Olk <[email protected]>
  3376. * FileDialog.cs: When creating a new folder don't crash if the
  3377. folder already exists.
  3378. 2006-06-08 Alexander Olk <[email protected]>
  3379. * FileDialog.cs: Allmost a complete rewrite.
  3380. - added a "virtual" file system that handles the differences
  3381. between unix and windows file systems (especially the directory
  3382. structure). Moved most of the directory and file handling code
  3383. into the vfs.
  3384. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  3385. UnixFileSystem and FSEntry.
  3386. - Recently used folder/directory, size, location and used file names
  3387. (file name ComboBox) are now stored in the registry and get read
  3388. before the dialog shows up (fixes part 6 of bug #78446).
  3389. - Creation of new folders/directories is now possible (context menu
  3390. or ToolBar). Added TextEntryDialog for this that fills in the gap
  3391. until ListView.LabelEdit works.
  3392. - Fixed cursor handling (bug #78527) and focus handling for
  3393. PopupButtonPanel
  3394. - Various "Search in" ComboBox enhancements. The content of the
  3395. dropdown listbox now almost matches ms.
  3396. - Changed the behaviour when the user switches to SpecialFolder
  3397. Recent to show the ListView in View.Details.
  3398. - Beside using the ToolBar to change the View property of the
  3399. file ListView it is now possible to use the context menu too.
  3400. 2006-06-08 Alexander Olk <[email protected]>
  3401. * ComboBox.cs: Don't create a new ObjectCollection when an item
  3402. gets inserted. Just insert the item in the existing object_items
  3403. ArrayList.
  3404. 2006-06-08 Jackson Harper <[email protected]>
  3405. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  3406. that the treeview and root node checks are done also, this fixes a
  3407. regression i caused in the unit tests.
  3408. 2006-06-07 Wade Berrier <[email protected]>
  3409. * RichTextBox.cs: More ISO8859-1 -> unicode
  3410. 2006-06-07 Mike Kestner <[email protected]>
  3411. * ComboBox.cs : use items to hold highlight/selection so that
  3412. collection insertions don't require synchronization.
  3413. 2006-06-07 Jackson Harper <[email protected]>
  3414. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  3415. routine. We now always keep the sized edge at the cursor instead
  3416. of computing movement and adjusting rects. There is one buglet
  3417. with this method though when the cursor is moved over area that
  3418. the window can not expand too (such as the toolbars on the desktop).
  3419. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  3420. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  3421. here. Fixes crash on startup in AlbumSurfer.
  3422. 2006-06-07 Peter Dennis Bartok <[email protected]>
  3423. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  3424. values
  3425. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  3426. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  3427. statement to avoid calling XNextEvent which will block if another thread
  3428. took the event that we were expecting. Fixes bug #78605.
  3429. 2006-06-07 Mike Kestner <[email protected]>
  3430. * ListView.cs : isolated checkbox clicking from the selection logic.
  3431. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  3432. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  3433. * Form.cs: Check that the value passed to Form.DialogResult
  3434. is a valid enum value.
  3435. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  3436. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  3437. Computer'. Clicking it in the network view goes to 'My Computer'.
  3438. Added CIFS filesystem type. Display the mount point of filesystems.
  3439. Avoid duplicate mount points (happens for me with CIFS);
  3440. 2006-06-06 Jackson Harper <[email protected]>
  3441. * InternalWindowManager.cs: Draw the maximized windows buttons
  3442. when resizing.
  3443. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  3444. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  3445. all other dialogs. Fixes bug #78585.
  3446. 2006-06-06 Mike Kestner <[email protected]>
  3447. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  3448. Only invalidate checkbox on checkstate changes to avoid flicker.
  3449. * ListBox.cs : avoid unselect/select when clicking selected item.
  3450. avoid reselection flicker for already multiselected items.
  3451. Fixes #78382.
  3452. 2006-06-06 Jackson Harper <[email protected]>
  3453. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  3454. the parent form so that the menu is removed if needed.
  3455. 2006-06-06 Mike Kestner <[email protected]>
  3456. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  3457. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  3458. 2006-06-06 Mike Kestner <[email protected]>
  3459. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  3460. 2006-06-06 Jackson Harper <[email protected]>
  3461. * Control.cs: Use the property (instead of the field) to get the
  3462. default cursor so it is instantiated correctly.
  3463. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  3464. resizes so we need to manually repaint the window decorations here.
  3465. - Set the titlebar button locations as soon as they are created,
  3466. otherwise they are not set correctly on win32.
  3467. 2006-06-06 Chris Toshok <[email protected]>
  3468. * CurrencyManager.cs (set_Position): call PullData before
  3469. OnCurrentChanged.
  3470. (AddNew): after calling IBindingList.AddNew, update our
  3471. listposition, and call OnCurrentChanged/OnPositionChanged (without
  3472. calling PullData).
  3473. (OnCurrentChanged): remove the call to PullData from here.
  3474. (OnItemChanged): remove the call to PushData from here.
  3475. (OnPositionChanged): change the test from == null to != null to
  3476. match the other methods.
  3477. (ListChangedHandler): the grossest part of the patch. Implement
  3478. this such that it passes the unit tests in CurrencyManagerTest and
  3479. the output more or less matches that of MS's implementation.
  3480. 2006-06-06 Mike Kestner <[email protected]>
  3481. * ListView.cs : only update check state on single click.
  3482. * ThemeWin32Classic.cs : fix focus drawing for details view without
  3483. fullrowselect. Fixes #78454.
  3484. * XplatUIX11.cs : fix for double click emission.
  3485. 2006-06-05 Jonathan Chambers <[email protected]>
  3486. * PropertyGridView.cs : Applied Atsushi's patch to fix
  3487. font dialog bug (#78197).
  3488. 2006-06-05 Jackson Harper <[email protected]>
  3489. * TreeNode.cs: Compute the next node for expanding/collapsing
  3490. correctly. We now factor in nodes without a NextNode
  3491. correctly. (Fixes somes cases in nunit-gui).
  3492. * InternalWindowManager.cs: Set the bounds when updating the
  3493. virtual position of a tool window.
  3494. 2006-06-05 Chris Toshok <[email protected]>
  3495. * DataGrid.cs: rename cached_currencymgr to list_manager.
  3496. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  3497. some.
  3498. (CurrentRow, CurrentColumn): single accessors so we can make the
  3499. cursor movement code a lot easier to understand.
  3500. (CurrentRowIndex): implement this in terms of CurrentRow.
  3501. (BeginEdit): clean this up a bit.
  3502. (CancelEditing): sort out the is_editing/is_changing/is_adding
  3503. stuff a little.
  3504. (EndEdit): minor changes.
  3505. (OnKeyDown): add a comment about a (most likely) unnecessary
  3506. check.
  3507. (OnMouseDown): cancel editing when we click on a row header. And
  3508. use the CurrentRow setter, not CurrentCell.
  3509. (ProcessDialogKey): directly call ProcessGridKey.
  3510. (UpdateSelectionAfterCursorMove): factor out this common block of
  3511. code (it's used everywhere that we move the cursor by updating row
  3512. or column).
  3513. (ProcessGridKey): pretty substantial overhaul. Use the
  3514. CurrentRow/CurrentColumn properties to make the code a lot more
  3515. readable. Only use the CurrentCell property when we have to
  3516. modify both row and column at once. Tab behavior is still broken,
  3517. and Delete is untested.
  3518. (Select): if we have no selected rows, set selection_start to
  3519. @row.
  3520. (EditCurrentCell): rename EditCell this. It was only ever invoked
  3521. with CurrentCell as the arg, so drop the arg and rename it.
  3522. * DataGridColumnStyle.cs: clean up the constructors a little, and
  3523. drop CommonConstructor().
  3524. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  3525. actually get notified when the user hits it.
  3526. (ProcessKeyMessage): *substantially* simplify this method.
  3527. There's no reason (that I can see) for the textbox to be making
  3528. calls into the datagrid at all. Remove all of them but the ones
  3529. for Enter handling. those will take some more work.
  3530. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  3531. calling HideEditBox.
  3532. (HideEditBox): if we have an active textbox, render it invisible
  3533. without causing a re-layout of the datagrid.
  3534. 2006-06-05 Mike Kestner <[email protected]>
  3535. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  3536. collection changes by resetting it to Items[0]. Fixes #78587.
  3537. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  3538. * MessageBox.cs: if the height of the text is larger than the icon_size,
  3539. use that. Fixes bug #78575.
  3540. 2006-06-05 Jackson Harper <[email protected]>
  3541. * TreeView.cs: Fix line drawing when scrolling. To do this each
  3542. node is basically responsible for drawing its entire horizontal
  3543. area. When drawing a node it draws its parent node lines if
  3544. needed.
  3545. - Adjust the clip area to the viewport rectangle
  3546. - Fix Left/Right key handling to match MS. (It expand/collapses
  3547. and moves to parents/first child but does not move selection to
  3548. sibling nodes).
  3549. - Fix SetTop to work with new bound calculation code
  3550. - When scrollbars are no longer needed we need to reset scrolling
  3551. vars and recalculate the visible order so the redraw is correct
  3552. * TreeNode.cs: We can't expand/collapse nodes with no children.
  3553. 2006-06-03 John Luke <[email protected]>
  3554. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  3555. so the colors work without dev packages
  3556. 2006-06-02 Peter Dennis Bartok <[email protected]>
  3557. * Control.cs
  3558. - Select: Implemented to just use activate. Seems to match MS
  3559. behaviour closest. Documented to only do actual control walking
  3560. based on it's parameters if in a container control so I moved
  3561. the code there.
  3562. - Removed selection check logic from our internal Select() method
  3563. * ContainerControl.cs:
  3564. - Select: Moved selection logic from Control here, since MS documents
  3565. that containers obey the bool arguments. No longer calling base
  3566. 2006-06-02 Jackson Harper <[email protected]>
  3567. * TreeView.cs: If the selected node isn't changed when we get
  3568. focus update the previously selected node so that we see the
  3569. selection box.
  3570. 2006-06-02 Mike Kestner <[email protected]>
  3571. * ComboBox.cs: restructure grab and general mouse event handling.
  3572. Make the composite control raise mouse events like it was a single
  3573. control for leaves/enters/motion/up/down events. fix dropdown list
  3574. coordinate mangling and refactor it into the scrollbar subclass to
  3575. reduce code duplication. Fixes #78282 #78361 and #78457.
  3576. 2006-06-02 Mike Kestner <[email protected]>
  3577. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  3578. automatically in the Control.WndProc.
  3579. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  3580. * FileDialog.cs: fix crash when running SharpChess, which sets the
  3581. FilterIndex to 2 with only one Filter.
  3582. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  3583. * ToolBar.cs: add SizeSpecified property.
  3584. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  3585. try to figure out our real size, otherwise fallback to what the
  3586. container says.
  3587. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3588. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  3589. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  3590. up the event
  3591. 2006-06-01 Mike Kestner <[email protected]>
  3592. * ListView.cs: revamp the focus management in ListView. It still
  3593. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  3594. better than not handling focus at all. Will revisit when pdb feels
  3595. the general focus handling is solid. Fixes #78526.
  3596. 2006-06-01 Jackson Harper <[email protected]>
  3597. * TreeView.cs: Set the default border style in the constructor.
  3598. - Move painting to use OnPaintInternal instead of capturing
  3599. WM_PAINT, this is the correct way of doing things
  3600. - UpdateBelow shouldn't invalidate the scrollbar area
  3601. - Cap the top on update below in case the node was above the top
  3602. of the viewport rectangle.
  3603. - ExpandBelow and Collapse below need to obey Begin/End Update.
  3604. * TreeNode.cs: Make is_expanded internal so the treenode
  3605. collection can change it without firing the whole event chain.
  3606. * TreeNodeCollection.cs: When clearing all the child nodes make
  3607. sure to recalc the visible order.
  3608. - Improve algo for remove the top node
  3609. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3610. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  3611. SendMessage directly calling window procedures, which in turn might
  3612. call SetFocus()
  3613. 2006-06-01 Peter Dennis Bartok <[email protected]>
  3614. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  3615. has focus (works around X11 sending a FocusIn after our SetFocus)
  3616. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  3617. 2006-06-01 Alexander Olk <[email protected]>
  3618. * Mime.cs: Fix for the NET_2_0 build.
  3619. NameValueCollection needs StringComparer now.
  3620. 2006-05-31 Chris Toshok <[email protected]>
  3621. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  3622. return (via an out parameter) the starting X of the column.
  3623. (UpdateVisibleColumn): track change to FromPixelToColumn.
  3624. (HitTest): add a ColumnResize case here.
  3625. (DrawResizeLine): new function, probably poorly named.
  3626. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  3627. only need to keep one reference.
  3628. (set_ListManager): same.
  3629. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  3630. Also, add support for HitTestType.ColumnResize.
  3631. (OnMouseMove): add column resize behavior here, and change the
  3632. cursor to the correct one as we move around the datagrid.
  3633. (OnMouseUp): terminate the column resize if we're resizing.
  3634. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  3635. for the current cell.
  3636. (ConnectListManagerEvents): use cached_currencymgr.
  3637. (DisconnectListManagerEvents): fill this in, using
  3638. cached_currencymgr.
  3639. (SetCurrentCell): remove cached_currencymgr_events handling.
  3640. (SetDataMember): only call DisconnectListManagerEvents if
  3641. cached_currencymgr is != null.
  3642. (SetDataSource): same.
  3643. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  3644. cached_currencymgr.
  3645. 2006-05-31 Jackson Harper <[email protected]>
  3646. * BindingManagerBase.cs: Remove somedebug code that creeped into
  3647. SVN.
  3648. * TreeNode.cs: We get the indent level dynamically right now, so
  3649. don't track it as a member.
  3650. * TreeNodeCollection.cs: Make sure all nodes added to the list
  3651. have parents, treeviews/topnodes setup properly.
  3652. - Don't attempt to track indent level.
  3653. 2006-05-30 Jackson Harper <[email protected]>
  3654. * BindingContext.cs: Create the currency manager tables here.
  3655. This allows us to more easily create null tables (when bad data
  3656. members are used), and more easily create related currency
  3657. managers.
  3658. * CurrencyManager.cs: All the table creation stuff is done by the
  3659. binding context now.
  3660. - Current should throw an exception if listposition is -1.
  3661. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  3662. been bound yet.
  3663. 2006-05-30 Mike Kestner <[email protected]>
  3664. * ListView.cs: allow reexpansion of zero-width column headers.
  3665. Fixes #78528.
  3666. 2006-05-28 Chris Toshok <[email protected]>
  3667. * CurrencyManager.cs (get_Current): after the late binding
  3668. listposition = -1 fix, we need to guard against it here and return
  3669. null, otherwise we raise an exception (which is swallowed
  3670. elsewhere, and breaks datagrid databinding.)
  3671. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3672. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  3673. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  3674. 2006-05-26 Jackson Harper <[email protected]>
  3675. * ControlPaint.cs:
  3676. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  3677. values, it's faster and it's all we care about (we don't care if
  3678. the names aren't equal).
  3679. * KeyboardLayouts.cs: Eliminate some dead code.
  3680. - Lazy init things
  3681. * X11Keyboard.cs: Lazy init keyboard detection.
  3682. - Cleanup access modifiers a little.
  3683. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3684. * XplatUIX11.cs: Once again, attempting to get layout just right.
  3685. 2006-05-26 Peter Dennis Bartok <[email protected]>
  3686. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  3687. the sizes of each link section, that will result in sizes that
  3688. match DrawString's layout (Fixes #78391)
  3689. 2006-05-27 Alexander Olk <[email protected]>
  3690. * FileDialog.cs: If AddExtension property is true autocomplete the
  3691. extensions in SaveFileDialog correctly. Fixes bug #78453.
  3692. Set MyNetwork and MyComputer to "C:\" for windows. This should
  3693. fix part 8 of bug #78446 for now.
  3694. 2006-05-26 Chris Toshok <[email protected]>
  3695. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  3696. invalidate the current row header if we need to, but presumably
  3697. we'll invalidate the row corrsponding to the bounds or
  3698. editingControl.
  3699. (GridHScrolled): switch back to this method, as it's part of the
  3700. public api. *sigh*.
  3701. (GridVScrolled): same.
  3702. (OnMouseWheel): hack up something that more or less works. Call
  3703. GridHScrolled/GridVScrolled directly, instead of duplicating much
  3704. of their code here.
  3705. (EnsureCellVisibility): reinstate a bunch of this code, since we
  3706. can't just set the scrollbar Value and expect to do all the work
  3707. in the ValueChanged handler. Also, Call Update() after scrolling
  3708. in one direction so the other XplatX11.ScrollWindow call has the
  3709. proper stuff in the proper places.
  3710. (EditCell): set is_editing to true before calling .Edit.
  3711. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  3712. don't bother comparing first.
  3713. (OnKeyPress): call grid.ColumnStartedEditing before calling
  3714. base.OnKeyPress. this will set is_changing and invalidate the row
  3715. header if necessary.
  3716. (ProcessKeyMessage): for WM_CHAR messages, call
  3717. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  3718. and WM_KEYDOWN.
  3719. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  3720. it's done in the DataGrid.
  3721. (NextState): call grid.ColumnStartedEditing, which takes care of
  3722. invalidating the row header (and setting is_changing).
  3723. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  3724. here. it's done in the DataGrid.
  3725. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3726. * Control.cs: allow changing the cursor when the mouse position is
  3727. out of bounds but Capture is set.
  3728. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  3729. linklabel but released somewhere else.
  3730. 2006-05-25 Jackson Harper <[email protected]>
  3731. * TreeView.cs: When we get focus if there is no selected node make
  3732. it the top node
  3733. - Remove some uneeded setup code from Draw.
  3734. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  3735. a new node is inserted make the new node the top.
  3736. * XplatUIX11.cs:
  3737. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  3738. be used (should be faster).
  3739. 2006-05-25 Chris Toshok <[email protected]>
  3740. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  3741. problem with the last commit.
  3742. 2006-05-25 Chris Toshok <[email protected]>
  3743. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  3744. need the invalidate call here, while scrolling right-to-left via
  3745. the left arrow key (i.e. moving the editing cell while scrolling).
  3746. * DataGrid.cs (.ctor): remove the initialization of
  3747. ctrl_pressed/shift_pressed. We no longer track them using key
  3748. up/down handlers, but by using Control.ModifierKeys. Also, switch
  3749. to using ValueChanged handlers on the scrollbars instead of
  3750. Scrolled event handlers. This simplifies a bunch of the scrolling
  3751. code.
  3752. (GridHValueChanged): rename from GridHScrolled, and change it to
  3753. work with the new event args.
  3754. (GridVValueChanged): same.
  3755. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  3756. (OnMouseWheel): actually scroll the datagrid. Don't change the
  3757. selected cell.
  3758. (ProcessGridKey): correct all the keyboard navigation stuff I
  3759. could find. Ctrl up/down/left/right/home/end work now.
  3760. (EnsureCellVisibility): correct method name spelling. Also,
  3761. simplify this a touch by not explicitly calling the
  3762. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  3763. scrollbar value.
  3764. (OnKeyUpDG): no need for this method now.
  3765. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3766. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  3767. Fixes bug #78392.
  3768. 2006-05-25 Chris Toshok <[email protected]>
  3769. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  3770. r61019.
  3771. 2006-05-25 Peter Dennis Bartok <[email protected]>
  3772. * Application.cs: Moved setting of is_modal and closing to before
  3773. we create the control, to allow the event handlers called as a
  3774. result of creation affect closing. Also removed Gonzalo's previous
  3775. change to setting DialogResult, the behaviour has been moved to
  3776. Form.ShowDialog()
  3777. * Form.cs:
  3778. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  3779. handle it instead
  3780. - ShowDialog(): If no dialog result is set, we need to return Cancel
  3781. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  3782. the close is cancelled
  3783. 2006-05-25 Jackson Harper <[email protected]>
  3784. * StatusBar.cs: We only need to update the sizes of the other
  3785. panels when we have auto size contents. Also we are only updating
  3786. the contents of the panel, not the borders, so compensate for the
  3787. border width (TODO: get this width from the theme somehow).
  3788. * TreeView.cs: Scrollable is true by default
  3789. - Use invalidate instead of refresh where needed
  3790. - Factor the scrollable value into scrollbar updating
  3791. - Update the scrollbars if the Scrollable property is altered
  3792. - Update the selected node if its ImageIndex is changed
  3793. - Handle null nodes in UpdateNode (mainly so we don't have to
  3794. check if selected is null when updating it
  3795. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  3796. are factored into the visible count
  3797. - Use VisibleCount for clarity in the code
  3798. - When the font is changed we need to recurse through all the
  3799. nodes and invalidate their sizes
  3800. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  3801. * Application.cs: set the DialogResult to fixed when the main form is
  3802. hidden or destroyed while being modal.
  3803. 2006-05-25 Miguel de Icaza <[email protected]>
  3804. * Theme.cs: Use Tangoified messagebox icons.
  3805. (GetSizedResourceImage): Also cope with width = 0 and do not
  3806. trigger a warning in that case (0 means "give me your icon from
  3807. the resouce, no special size needed).
  3808. 2006-05-25 Peter Dennis Bartok <[email protected]>
  3809. * Application.cs: Leave runloop if the the main modal form is
  3810. hidden (fixes #78484)
  3811. 2006-05-25 Atsushi Enomoto <[email protected]>
  3812. * BindingContext.cs : reject null datasource in Contains() and
  3813. Item[].
  3814. * CurrencyManager.cs : check data_member validity when data_source
  3815. is dataset. When it is late binding, the initial position is -1.
  3816. 2006-05-24 Jackson Harper <[email protected]>
  3817. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  3818. inserted nodes that aren't visible. This changes the
  3819. max_visible_order which confuses scrollbar settings.
  3820. - Use the enumerator to get the prev node instead of duplicating
  3821. code.
  3822. * TreeView.cs: Use new method for setting scrollbar values
  3823. - Don't set the bounds every time the scrollbar is updated
  3824. - When updating below the root node use an invalidate instead of a
  3825. refresh to prevent the child controls (scrollbars) from being
  3826. refreshed. (UpdateBelow still needs to be reworked anyways).
  3827. - Reenable SetBottom now that visible orders are set correctly,
  3828. added some debug code incase we ever get bad values there again.
  3829. - Set the scrollbar max to 2 less then the max value, this
  3830. compensates for the max value being one above the node count, and
  3831. for scrollbars adding one extra "notch".
  3832. - When drawing image nodes if there is an imagelist we draw the
  3833. first image in the list if the supplied image index is out of the
  3834. image list's bounds.
  3835. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3836. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  3837. we receive a size change from the WM (Fixes #78503)
  3838. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3839. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  3840. rectangle (Fixes #78501)
  3841. 2006-05-24 Peter Dennis Bartok <[email protected]>
  3842. * ButtonBase.cs:
  3843. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  3844. as a bitfield.
  3845. - Fixed MouseMove to no longer switch pressed state unless the left
  3846. mouse button is pressed. Atsushi provided the original patch (#78485)
  3847. 2006-05-24 Jackson Harper <[email protected]>
  3848. * ScrollBar.cs: New internal methods that allow us to change a
  3849. couple values on the scrollbar (the most common case is maximum
  3850. and large change) without getting multiple invalidates.
  3851. 2006-05-24 Chris Toshok <[email protected]>
  3852. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  3853. (Edit): save off the original state in oldState, and set
  3854. grid.is_editing to true.
  3855. (OnKeyDown): abort editing if escape is pressed. also, call
  3856. NextState if space is pressed.
  3857. (OnMouseDown): call NextState.
  3858. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  3859. here. Also, only invalidate the row header once (on the initial
  3860. is_changing switch) to save on redraws.
  3861. 2006-05-24 Chris Toshok <[email protected]>
  3862. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  3863. if the value in the cell is different than it was before. This
  3864. keeps us from triggering a layout when we move around a datarid
  3865. with a highlighted cell.
  3866. (Edit): suspend layout when creating/positining the text box, and
  3867. resume passing false so we don't ever actually re-layout.
  3868. (ReleaseHostedControl): same.
  3869. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  3870. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  3871. control-key sequences should go to the datagrid - remove that
  3872. lock. Also, modify the conditions under which we move between
  3873. cells when moving the cursor within a cell, and remove the "this"
  3874. and "base" from field accesses. We weren't even consistent, given
  3875. they all were in the base class.
  3876. 2006-05-24 Atsushi Enomoto <[email protected]>
  3877. * Binding.cs : (.ctor)
  3878. An obvious NRE fix for BindingTest.CtorNullTest().
  3879. 2006-05-23 Chris Toshok <[email protected]>
  3880. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  3881. them between lines. This fixes some quirks editing cells in the
  3882. datagrid.
  3883. 2006-05-23 Jackson Harper <[email protected]>
  3884. * TreeView.cs: Use begin/end update when doing expand/collapse all
  3885. so that we don't get flicker on the scrollbar.
  3886. 2006-05-23 Jackson Harper <[email protected]>
  3887. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  3888. treenode calculations to be independant of the painting code. To
  3889. do this nodes track a visible order which is calculated by the
  3890. treeview.
  3891. - Call new methods for expanding/collapsing nodes. These methods
  3892. use scrollwindow so we don't have to update everything below the
  3893. node.
  3894. * TreeView.cs: Refactored drawing and scrolling code. We don't
  3895. need to update nodes when drawing anymore or calculate scrollbar
  3896. stuff.
  3897. - Added new methods for expanding/collapsing nodes. These methods
  3898. use ScrollWindow so as to not have to redraw all the nodes below.
  3899. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  3900. we add/remove nodes or sort.
  3901. - Handle removing the selected and the top node properly.
  3902. 2006-05-23 Chris Toshok <[email protected]>
  3903. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  3904. maybe this should actually happen in the datagrid code?
  3905. (EndEdit): no need to invalidate anything, given that
  3906. ReleaseHostedControl causes the datagrid to relayout, which
  3907. invalidates everything anyway.
  3908. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  3909. in SetCurrentCell).
  3910. (set_SelectionBackColor): call InvalidateSelection instead of
  3911. Refresh.
  3912. (set_SelectionForeColor): same.
  3913. (BeginEdit): Flesh this out a bit.
  3914. (CancelEditing): only do any of this if we're editing/adding.
  3915. (EndEdit): same.
  3916. (OnMouseDown): there's no need to cancel editing here, it's done
  3917. in SetCurrentCell.
  3918. (SetCurrentCell): only invalidate the current row header if it's a
  3919. different row than the new one.
  3920. (ShiftSelection): fix this to work like MS does.
  3921. (ResetSelection): factor out the invalidation of selected_rows to
  3922. InvalidateSelection.
  3923. (SetDataSource): cancel any editing that's going on.
  3924. * DataGridColumnStyle.cs
  3925. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  3926. call the non-interface version.
  3927. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  3928. header rectangle with the clip rectangle so we don't redraw the
  3929. entire header for just a small area. Gets rid of the last flicker
  3930. when horizontally scrolling.
  3931. (DataGridPaintRow): same.
  3932. 2006-05-23 Mike Kestner <[email protected]>
  3933. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  3934. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  3935. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  3936. Critical bug report.
  3937. 2006-05-23 Peter Dennis Bartok <[email protected]>
  3938. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  3939. and this fixes #78493
  3940. 2006-05-23 Miguel de Icaza <[email protected]>
  3941. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  3942. size is not found.
  3943. * FileDialog.cs: Do not change the background for the side bar as
  3944. it wont work nicely with the theme, and also reduces the artifacts
  3945. in rendering the icons (which I want to fix too).
  3946. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  3947. resources, not resgen resources.
  3948. (PlatformDefaultHandler): Pull images using the new API.
  3949. 2006-05-23 Peter Dennis Bartok <[email protected]>
  3950. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  3951. a reference to the hwnd and will not remove it unless there are
  3952. no pending exposures (fixes #78341)
  3953. * XplatUI.cs: Improved debug
  3954. 2006-05-23 Atsushi Enomoto <[email protected]>
  3955. * MenuAPI.cs : don't handle OnClick event when it was not the left
  3956. button. Fixed bug #78487.
  3957. 2006-05-23 Mike Kestner <[email protected]>
  3958. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  3959. prefer submenus to the top menu for item lookup, to avoid popping down
  3960. top-row items.
  3961. 2006-05-23 Alexander Olk <[email protected]>
  3962. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  3963. Graphics.FillRectangle as the visual results are really bad (even
  3964. on win). We now draw perfect arrows (and perfect shadows when the
  3965. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  3966. Pen.DashPattern to draw the dots of each line.
  3967. 2006-05-22 Alexander Olk <[email protected]>
  3968. * FileDialog.cs: Update the filename combobox when navigating through
  3969. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  3970. 2006-05-22 Mike Kestner <[email protected]>
  3971. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  3972. Fixes #78463.
  3973. 2006-05-22 Mike Kestner <[email protected]>
  3974. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  3975. requests. Fix a misspelled parameter and a copy paste exception error
  3976. in Select.
  3977. 2006-05-22 Peter Dennis Bartok <[email protected]>
  3978. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  3979. to get the same width/height (5/13) on X11 as the default font has on
  3980. win32. This means that our DefaultFont emSize is smaller than the
  3981. the MS SWF equivalent (even thought the width/height stays the same)
  3982. 2006-05-20 Jackson Harper <[email protected]>
  3983. * MdiClient.cs:
  3984. * MdiWindowManager.cs:
  3985. * InternalWindowManager.cs: Make sure to use the border width from
  3986. the theme.
  3987. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  3988. * PrintDialog.cs: Implements printer details
  3989. 2006-05-19 Alexander Olk <[email protected]>
  3990. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  3991. Fixes part 1 and 2 of bug #78446
  3992. 2006-05-19 Peter Dennis Bartok <[email protected]>
  3993. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  3994. instead of sticking to the first ever calculated value
  3995. 2006-05-19 Mike Kestner <[email protected]>
  3996. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  3997. PointToClient, since Capture is set. Fixes #78344.
  3998. 2006-05-19 Mike Kestner <[email protected]>
  3999. * ListView.cs: match MS behavior in Details view where items are not
  4000. drawn if Columns.Count == 0.
  4001. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  4002. Use a separate pen to draw the check, since changing the width affects
  4003. the box as well. Fixes #78454.
  4004. 2006-05-18 Miguel de Icaza <[email protected]>
  4005. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  4006. exception should throw the name of the invalid argument.
  4007. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  4008. there are no files listed.
  4009. 2006-05-18 Jackson Harper <[email protected]>
  4010. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  4011. up.
  4012. 2006-05-18 Peter Dennis Bartok <[email protected]>
  4013. * Control.cs: Brought back our old UpdateZOrder method as a private
  4014. function and switched our calls from UpdateZOrder to the new one.
  4015. This fixes the Paint.Net canvas disappearing bug.
  4016. 2006-05-18 Jackson Harper <[email protected]>
  4017. * Theme.cs:
  4018. * ThemeWin32Classic.cs:
  4019. * InternalWindowManager.cs: Move the drawing into the theme,
  4020. expose everything the theme should need from the window manager.
  4021. 2006-05-18 Peter Dennis Bartok <[email protected]>
  4022. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  4023. from the call to NativeWindow to avoid walking up the parent chain
  4024. further than needed (speeds up setting cursors and avoids setting
  4025. the wrong cursor if a parent has another cursor defined)
  4026. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  4027. the icon as hotspot, not what's contained as hotspot in the icon
  4028. file. This fixes the perceived drawing offset seen with Paint.Net
  4029. 2006-05-18 Peter Dennis Bartok <[email protected]>
  4030. * XplatUIX11.cs:
  4031. - Store the calculated rectangle in Hwnd object and use it when
  4032. setting the client size
  4033. - Force Toolwindows to always be type Dock, to ensure they're on top
  4034. 2006-05-18 Mike Kestner <[email protected]>
  4035. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  4036. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  4037. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  4038. Substantial refactoring to remove confusing nested classes. Coding
  4039. standard and Get+Set->property refactorings. Shift to index based
  4040. highlighting in ComboListBox instead of constantly using IndexOf and
  4041. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  4042. in FileDialog growth. Draw borders manually since Simple mode needs
  4043. to look like two independent controls. Make listbox border
  4044. conditional to DropDownStyle. Improved OwnerDraw support.
  4045. 2006-05-18 Sebastien Pouliot <[email protected]>
  4046. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  4047. Don't set the disposed graphics to null, so we can throw the "right"
  4048. exception if the graphics is reused later (added a flag to avoid
  4049. double disposing). Some behaviours are different under 2.0 and are
  4050. filled under bug #78448.
  4051. 2006-05-18 Peter Dennis Bartok <[email protected]>
  4052. * Control.cs: When double-buffering is enabled, we need to reset
  4053. our graphics context between paint calls. Otherwise, any
  4054. transformations and other alterations on the context will
  4055. become cumulative (#77734)
  4056. 2006-05-18 Mike Kestner <[email protected]>
  4057. * ListView.cs: do focused item selection like MS on clicks.
  4058. Rework focus handling for ItemControl so LostFocus invalidates as
  4059. well.
  4060. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  4061. the ListView ItemControl has focus.
  4062. 2006-05-17 Peter Dennis Bartok <[email protected]>
  4063. * XplatUIX11.cs: If client_window ends up being width or height zero
  4064. due to border settings, move it off window inside whole_window (#78433)
  4065. 2006-05-17 Alexander Olk <[email protected]>
  4066. * Mime.cs: Shrink the mime file cache correctly.
  4067. 2006-05-17 Alexander Olk <[email protected]>
  4068. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  4069. 2006-05-16 Peter Dennis Bartok <[email protected]>
  4070. * XplatUIX11.cs (AddExpose): More sanity checks
  4071. 2006-05-16 Peter Dennis Bartok <[email protected]>
  4072. * XplatUIX11.cs:
  4073. - AddExpose: Don't add expose ranges outside the size of our
  4074. window
  4075. - Cast opacity values to Int32 to avoid crashes with certain
  4076. values
  4077. - Added disabled code paths that protect against illegal cross-
  4078. thread painting (Developers.exe)
  4079. 2006-05-16 Peter Dennis Bartok <[email protected]>
  4080. * ProgressBar.cs: Invalidate the control when it's resized
  4081. since block size is based on control size. (#78388)
  4082. 2006-05-16 Miguel de Icaza <[email protected]>
  4083. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  4084. of setting the incoming argument to the "reset" value, we set the
  4085. this.datamember to string.empty (before we were invalidating the
  4086. incoming data).
  4087. Fixes 78420
  4088. 2006-05-16 Peter Dennis Bartok <[email protected]>
  4089. * Form.cs: Only apply transparency settings after the form
  4090. is created. (Fixes #77800)
  4091. 2006-05-16 Peter Dennis Bartok <[email protected]>
  4092. * ApplicationContext.cs: Grab the HandleDestroyed event so
  4093. we know when to fire OnMainFormClosed
  4094. 2006-05-16 Peter Dennis Bartok <[email protected]>
  4095. * Application.cs: Introduced sub-class to allow tracking of
  4096. threads and centralized triggering of the event mess for
  4097. ThreadExit, AppExit, etc.. (#76156)
  4098. 2006-05-16 Alexander Olk <[email protected]>
  4099. * MimeIcon.cs:
  4100. - Do not return a null icon index value for a mime subclass.
  4101. Instead try the main mime type class too.
  4102. - Seems that some newer distributions don't have a link to some
  4103. gnome default icons anymore. So check the default gnome dir too.
  4104. 2006-05-16 Jackson Harper <[email protected]>
  4105. * MdiClient.cs: Don't paint the parent background image if we have
  4106. our own background image.
  4107. 2006-05-16 Peter Dennis Bartok <[email protected]>
  4108. * Control.cs:
  4109. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  4110. controls, all filled controls are supposed to overlap (#78080)
  4111. - UpdateZOrder is supposed to update the control's z-order in the
  4112. parent's z-order chain. Fixed to behave like that
  4113. - BringToFront: Removed obsolete code
  4114. - SendToBack: Simplyfied
  4115. - SetChildIndex: Trigger layout calculations when Z-order changes
  4116. since layout is done by z-order
  4117. 2006-05-16 Chris Toshok <[email protected]>
  4118. [ fixes bug #78410 ]
  4119. * DataGrid.cs (set_AlternatingBackColor): use
  4120. grid_drawing.InvalidateCells instead of Refresh().
  4121. (set_BackColor): call grid_drawing.InvalidateCells.
  4122. (set_BackgroundColor): use Invalidate instead of Refresh.
  4123. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  4124. invalidate the cell area.
  4125. 2006-05-15 Chris Toshok <[email protected]>
  4126. [ fixes bug #78011 ]
  4127. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  4128. on to DataGridPaintRow.
  4129. (DataGridPaintRow): take a clip argument, and only draw the cells
  4130. which intersect it. same with the not_usedarea.
  4131. * Theme.cs (DataGridPaintRow) add @clip parameter.
  4132. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  4133. XplatUI.ScrollWindow.
  4134. (ScrollToRow): same.
  4135. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  4136. with last column which was causing a gray swath to appear with the
  4137. XplatUI.ScrollWindow code.
  4138. 2006-05-15 Chris Toshok <[email protected]>
  4139. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  4140. use XplatUI.ScrollWindow.
  4141. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  4142. 2006-05-15 Peter Dennis Bartok <[email protected]>
  4143. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  4144. 2006-05-15 Peter Dennis Bartok <[email protected]>
  4145. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  4146. file since there are no equivalent X11 cursors
  4147. 2006-05-15 Atsushi Enomoto <[email protected]>
  4148. * MonthCalendar.cs : DateTimePicker should reflect selected date
  4149. on mouse*up*, not mouse*down*. Fixed originally reported part of
  4150. bug #76474.
  4151. 2006-05-15 Atsushi Enomoto <[email protected]>
  4152. * TabControl.cs : When argument index is equal or more than tab
  4153. count, just ignore. Fixed bug #78395.
  4154. 2006-05-15 Peter Dennis Bartok <[email protected]>
  4155. * Control.cs: Dispose all child controls when control is diposed (#78394)
  4156. 2006-05-14 Alexander Olk <[email protected]>
  4157. * ColorDialog.cs: Finally it is possible to select the color with
  4158. the text boxes
  4159. 2006-05-14 Alexander Olk <[email protected]>
  4160. * PrintDialog.cs: Fix typo
  4161. 2006-05-14 Alexander Olk <[email protected]>
  4162. * PrintDialog.cs: PrintDialog is not resizable
  4163. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  4164. color. Made some ToolBar drawing methods protected virtual.
  4165. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  4166. * PrintDialog.cs: Implementation of the PrintDialog
  4167. 2006-05-12 Chris Toshok <[email protected]>
  4168. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  4169. thumb, instead use MoveThumb. This has the side effect of making
  4170. most of the other thumb moving machinery use MoveThumb as well.
  4171. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  4172. need to actually invalidate the rectangle where the new thumb will
  4173. go.
  4174. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  4175. We force an Update() after, so it's not as fast as it could be,
  4176. but at least there's zero flicker and no droppings.
  4177. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  4178. (UpdateThumbPos): add another argument (dirty), which says whether
  4179. or not to calculate/add dirty regions which we later invalidate.
  4180. For cases where we know we're going to use MoveThumb, we pass
  4181. false for this. Otherwise, pass true.
  4182. 2006-05-12 Jackson Harper <[email protected]>
  4183. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  4184. the status bar.
  4185. 2006-05-12 Peter Dennis Bartok <[email protected]>
  4186. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  4187. and GetClipRegion methods and UserClipWontExposeParent property.
  4188. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  4189. overriding UserClipWontExposeParent property, setting to false, since
  4190. Win32 handles the required expose messages to draw our clipped parent
  4191. areas internally
  4192. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  4193. PaintEventStart to set the user clip region if set.
  4194. * Control.cs:
  4195. - Now internally tracking the Region for the control since we need to
  4196. store it if the handle is not yet created and only set it when it
  4197. becomes created. Before setting the region forced handle creation
  4198. - Added code to draw the parents underneath a user-clipped region
  4199. * Hwnd.cs: Added UserClip property
  4200. 2006-05-12 Chris Toshok <[email protected]>
  4201. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  4202. (set_Maximum): same.
  4203. (set_Minimum): same.
  4204. (set_SmallChange): same.
  4205. (OnMouseUpSB): remove the call to refresh when releasing the
  4206. thumb. We shouldn't need it.
  4207. 2006-05-12 Miguel de Icaza <[email protected]>
  4208. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  4209. AutoSize set to None, we do not need to relayout everything, we
  4210. just need to invalidate the current region.
  4211. (Draw): Do not draw the entire ClientArea, just redraw the
  4212. clip area being passed.
  4213. * MdiClient.cs: Make MdiClient constructor with the Form argument
  4214. internal.
  4215. 2006-05-12 Jackson Harper <[email protected]>
  4216. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  4217. parents background image, but strangely not their own.
  4218. - (DrawStatusBarPanel): Take into account horizontal alignment
  4219. when drawing the strings and icons.
  4220. 2006-05-12 Mike Kestner <[email protected]>
  4221. * ListBox.cs: avoid invalidations for focus when the collection is
  4222. empty.
  4223. 2006-05-12 Chris Toshok <[email protected]>
  4224. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  4225. invalidate the entire thumb area. Call InvalidateDirty which
  4226. limits the redraw to the thumb itself and surrounding pixels.
  4227. * XplatUIX11.cs (ScrollWindow): optimize copying.
  4228. 2006-05-12 Chris Toshok <[email protected]>
  4229. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  4230. Figure out the positioning/layout in a single pass instead of
  4231. multiple recursive invocations. Speeds up the initial display of
  4232. the data grid. Also, make many things private that were
  4233. originally public but unused outside this class.
  4234. 2006-05-11 Jackson Harper <[email protected]>
  4235. * MdiClient.cs: Improved layout code.
  4236. 2006-05-11 Jonathan Chambers <[email protected]>
  4237. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  4238. not SelectedObject.
  4239. 2006-05-11 Chris Toshok <[email protected]>
  4240. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  4241. union of that will always be {0,0,width,height}.
  4242. 2006-05-11 Jackson Harper <[email protected]>
  4243. * Form.cs: Match MS's DefaultSize for forms (they must have
  4244. changed the size in sp2).
  4245. 2006-05-11 Atsushi Enomoto <[email protected]>
  4246. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  4247. 2006-05-11 Atsushi Enomoto <[email protected]>
  4248. * TextControl.cs : Fixed bug #78109. This incorrect position
  4249. comparison caused crash on automatic line split.
  4250. * TextBoxBase.cs : reduce duplicate code.
  4251. 2006-05-10 Jackson Harper <[email protected]>
  4252. * MdiClient.cs: Active form is only sent to the back when using
  4253. the Next form functionality, when a form is clicked the current
  4254. active shouldn't be sent to the back.
  4255. - Layout the mdi windows when the container is first made visible.
  4256. * Form.cs: Give the MdiClient a ref to the containing form when we
  4257. create it.
  4258. 2006-05-10 Atsushi Enomoto <[email protected]>
  4259. * LinkLabel.cs : link_font could be uninitialized, so populate one
  4260. before actual use. Fixed bug #78340.
  4261. 2006-05-10 Atsushi Enomoto <[email protected]>
  4262. * XplatUIX11.cs : clipboard format native value is IntPtr.
  4263. Fixed bug #78283.
  4264. 2006-05-10 Peter Dennis Bartok <[email protected]>
  4265. * Control.cs:
  4266. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  4267. which is passed up the parent chain by DefWndProc
  4268. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  4269. to DefWndProc (#77956)
  4270. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  4271. 2006-05-10 Jackson Harper <[email protected]>
  4272. * MdiClient.cs: We need to remove the controls from the mdi
  4273. collection, when we close the window.
  4274. * MdiWindowManager.cs: Special handling of closing mdi windows.
  4275. * InternalWindowManager.cs: Make the close method virtual so the
  4276. mdi window manager can handle it specially.
  4277. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  4278. * DataGrid.cs:
  4279. - Recalculate grid when the data source has changed
  4280. - Matches styles provided by user from all data sources types
  4281. * DataGridTableStyle.cs: For columns that provided by the user set the
  4282. with the preferred value is there was unassigned.
  4283. * CurrencyManager.cs: throw OnItemChanged event
  4284. 2006-05-10 Peter Dennis Bartok <[email protected]>
  4285. * PictureBox.cs: Don't animate until handle is created. Start animation
  4286. when handle is created.
  4287. 2006-05-10 Peter Dennis Bartok <[email protected]>
  4288. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  4289. current codebase.
  4290. * XEventQueue.cs: We don't need to provide the extra info
  4291. 2006-05-10 Jackson Harper <[email protected]>
  4292. * MdiClient.cs: If the mdi clients parent form has a background
  4293. image set, we draw that background image for the mdi area's
  4294. background.
  4295. 2006-05-10 Peter Dennis Bartok <[email protected]>
  4296. * TextBoxBase.cs: Set IBeam cursor (#78347)
  4297. 2006-05-10 Mike Kestner <[email protected]>
  4298. * ToolBar.cs: fix some text padding issues with ButtonSize
  4299. calculation. Update the default size to match MS documentation.
  4300. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  4301. button size. Fixes #78296.
  4302. 2006-05-10 Mike Kestner <[email protected]>
  4303. * ListBox.cs: use is_visible for scrollbar positioning in case the
  4304. control isn't on screen yet. Fix off by one with Right vs Width
  4305. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  4306. 2006-05-10 Jackson Harper <[email protected]>
  4307. * X11Dnd.cs: Drop to a control with another control on top of it.
  4308. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  4309. be modified in click handlers. TODO: Look for similar problems in
  4310. other controls.
  4311. 2006-05-09 Jackson Harper <[email protected]>
  4312. * Form.cs: Window managers need the old window state when setting
  4313. window state now.
  4314. * InternalWindowManager.cs: Allow the base mdi window manager to
  4315. handle more of the MDI only stuff (like maximize buttons).
  4316. * MdiWindowManager.cs: Fix some snafus in changing the window
  4317. state. Add all the menu functionality, for both popup and
  4318. maximized menus.
  4319. * MdiClient.cs: When a new form is selected the currently
  4320. activated form is sent to the back, this matches MS.
  4321. - Implement a new method to activate the next mdi child window.
  4322. 2006-05-08 Peter Dennis Bartok <[email protected]>
  4323. * Control.cs:
  4324. - Added new InternalCapture method to allow controls to prevent
  4325. the capture behaviour on the click handlers
  4326. - Switched to use InternalCapture
  4327. * ComboBox.cs:
  4328. - Using InternalCapture to prevent mouse captures from being released
  4329. on mouse button release (Fixes #78100)
  4330. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  4331. returns Form borders if a caption is present. (Fixes #78310)
  4332. 2006-05-08 Peter Dennis Bartok <[email protected]>
  4333. * TreeNode.cs: Changed serialization .ctor to not require every field
  4334. to be present. (#78265)
  4335. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  4336. 2006-05-05 Alexander Olk <[email protected]>
  4337. * MimeIcon.cs: for is faster than foreach for strings.
  4338. 2006-05-05 Mike Kestner <[email protected]>
  4339. * CheckedListBox.cs: update check handling code to not use selected.
  4340. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  4341. behavior for visual feedback, motion response, shift/ctrl handling,
  4342. and properly deal with all 4 selection modes. Updates to bounds
  4343. handling logic. Add scroll wheel support. [Fixes #77842]
  4344. 2006-05-05 Peter Dennis Bartok <[email protected]>
  4345. * ListView.cs:
  4346. - Moved adding of Implicit controls into .ctor. That way, subsequent
  4347. creation of the controls will not cause them to think they are
  4348. toplevel windows (fixes #78200 header problem)
  4349. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  4350. - Switched visibility setting of header control to use internal field
  4351. to avoid triggering handle creation
  4352. - Now checking if handle is created before causing a refresh when items
  4353. are added (This makes us now match handle creation time with MS)
  4354. * Splitter.cs: Removed loading of private splitter cursor, switched to
  4355. Cursors version now that that is loading the right ones
  4356. * Cursors.cs: Load proper splitter cursors from resources
  4357. * Cursor.cs: Added second method of loading resource cursors for the
  4358. VS.Net users amongst us
  4359. 2006-05-05 Mike Kestner <[email protected]>
  4360. * ListView.cs: give header_control a minimum size based on the
  4361. ListView size.
  4362. 2006-05-05 Peter Dennis Bartok <[email protected]>
  4363. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  4364. window seems to do that with metacity, so set that type. (#78120)
  4365. 2006-05-05 Mike Kestner <[email protected]>
  4366. * ListViewItem.cs: fix Details mode checkbox layout bug.
  4367. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  4368. at the end of the header, if it exists. [Fixes for #78200]
  4369. 2006-05-04 Jackson Harper <[email protected]>
  4370. * MdiClient.cs: Add a helper property to get the container form.
  4371. * MdiWindowManager.cs: We have to make sure to use the menu origin
  4372. when drawing the icons and buttons, this fixes maximized window
  4373. icons/buttons on win32.
  4374. * InternalWindowManager.cs: Reset the restore captions when a
  4375. window goes from Maximized to Minimized and vice versa. Move the
  4376. DrawMaximizedButtons into the MdiWindowManager source, tool
  4377. windows can't be maximized. NOTE: This could use a little
  4378. refactoring if time ever permits.
  4379. 2006-05-03 Jonathan Chambers <[email protected]>
  4380. * TextBox.cs: Add MWFCategoryAttributes
  4381. * TextBoxBase.cs: Add MWFCategoryAttributes
  4382. * Form.cs: Add MWFCategoryAttributes
  4383. 2006-05-03 Jonathan Chambers <[email protected]>
  4384. * Control.cs: Add MWFCategoryAttributes
  4385. * ScrollableControl.cs: Add MWFCategoryAttributes
  4386. 2006-05-03 Alexander Olk <[email protected]>
  4387. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  4388. Divider is true. Fix a little glitch in PropertyToolBar
  4389. drawing code
  4390. 2006-05-02 Peter Dennis Bartok <[email protected]>
  4391. * Control.cs:
  4392. - Dispose: Call base.Dispose, this causes the disposed event
  4393. to be fired (and probably other, more important stuff)
  4394. - SetVisibleCore: Set is_visible to true after creating the
  4395. window so that the window still gets created invisible (if
  4396. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  4397. to generate a WM_ACTIVE message
  4398. * Form.cs: Call Dispose when we want to destroy the window, instead of
  4399. just destroying the handle (Dispose will do that for us)
  4400. * XplatUIX11.cs:
  4401. - RootWindow also needs a queue, so we can properly process the
  4402. property change events from RootWindow (like Activate)
  4403. - Generatic synthetic WM_ACTIVE message when the active window is
  4404. being destroyed
  4405. 2006-05-01 Peter Dennis Bartok <[email protected]>
  4406. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  4407. bounds are changed
  4408. 2006-05-01 Peter Dennis Bartok <[email protected]>
  4409. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  4410. for determining width and height (image might not be assigned if
  4411. we're drawing an imagelist)
  4412. 2006-05-01 Peter Dennis Bartok <[email protected]>
  4413. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  4414. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  4415. height from system
  4416. * Theme.cs: No longer returns hardcoded menu height, instead calls
  4417. new driver method
  4418. * Form.cs (OnLoad): Scaling happens before triggering Load events
  4419. on MS (# 78257)
  4420. 2006-05-01 Mike Kestner <[email protected]>
  4421. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  4422. 2006-04-30 Peter Dennis Bartok <[email protected]>
  4423. * TextBoxBase.cs: Removed Fixme
  4424. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  4425. 2006-04-30 Peter Dennis Bartok <[email protected]>
  4426. * XplatUIX11.cs:
  4427. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  4428. the rectangle relative to the parent, considering borders. We
  4429. don't really want that.
  4430. - ScrollWindow: Fixed warning to be more understandable
  4431. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  4432. scrollbars and scroll only the visible area
  4433. * RichTextBox.cs: Removed debug output
  4434. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4435. * NumericUpDown.cs (Text): Just use base
  4436. * UpDownBase.cs: Ensure txtView is created before using it
  4437. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4438. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  4439. casting to IntPtr to avoid 64bit overflow errors
  4440. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4441. * Control.cs:
  4442. - AllowDrop: Don't force handle creation.
  4443. - CreateHandle: Added call to tell driver if we're allowed to drop
  4444. 2006-04-27 Alexander Olk <[email protected]>
  4445. * FileDialog.cs: Remember the last directory not only for the
  4446. current instance but also for new FileDialog instances.
  4447. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4448. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  4449. broke sending async messages
  4450. 2006-04-29 Peter Dennis Bartok <[email protected]>
  4451. * XplatUIX11.cs:
  4452. - ScrollWindow: Fixed method. We finally generate expose events again
  4453. for scrolled areas. This was causing 'garbage' when scrolling
  4454. textbox and other controls that used ScrollWindow
  4455. - Switched from using the regular queue for paint events to the MS
  4456. model of 'generating' paint events when the queue is empty.
  4457. We use the new XQueueEvent.Paint subclass to store which windows
  4458. need painting.
  4459. - AddExpose now takes the x/y/width/height of the exposed area
  4460. and inserts the window into the paint queue if not already there
  4461. - InvalidateWholeWindow: Switched to use new AddExpose method
  4462. - UpdateMessageQueue: Added which queue to monitor for paint events
  4463. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  4464. the unlikely case nothing above handles it. We reset the expose
  4465. pending states to get them off the queue.
  4466. - GetMessage: Now pulls a paint event if no other events are in the
  4467. queue
  4468. - Invalidate: Switched to new AddExpose method
  4469. - PeekMessage: Updated to understand pending paint events
  4470. - UpdateWindow: Fixed logic bug. We were only updating if the window
  4471. didn't need updating. Also switched to sending WM_PAINT directly,
  4472. like MS does.
  4473. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  4474. and random access Remove(). The random access is needed to handle
  4475. UpdateWindow() where a WM_PAINT is sent directly without accessing
  4476. the queue.
  4477. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  4478. allow for better feedback when scrolling. Scrollbars are small and
  4479. the immediate update should make it 'feel' more responsive without
  4480. slowing things down. ScrollBar still needs it's invaliate logic
  4481. updated to not always invalidate the whole bar on certain changes.
  4482. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  4483. * Control.cs:
  4484. (BackColor): if the control does not support a transparent background,
  4485. return the default backcolor when the parent backcolor is transparent.
  4486. 2006-04-28 Peter Dennis Bartok <[email protected]>
  4487. * Application.cs: Updated to new StartLoop/GetMessage API
  4488. * RichTextBox.cs: Provide some output on RTF parsing errors
  4489. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  4490. new queue_id argument to GetMessage and PeekMessage to allow faster
  4491. handling of per-thread queues in drivers.
  4492. * Hwnd.cs: Added Queue tracking and property
  4493. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  4494. * XEventQueue.cs: Added thread trackingA
  4495. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  4496. * XplatUIX11.cs:
  4497. - Implemented new per-thread queue
  4498. - GetMessage: Fixed return/break behaviour on several cases. We were
  4499. returning stale messages in some cases, instead of just processing
  4500. the next message
  4501. 2006-04-27 Jonathan Chambers <[email protected]>
  4502. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  4503. 2006-04-27 Peter Dennis Bartok <[email protected]>
  4504. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  4505. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  4506. 2006-04-27 Jonathan Chambers <[email protected]>
  4507. * PropertyGridView.cs: Fix drop down width.
  4508. 2006-04-27 Alexander Olk <[email protected]>
  4509. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  4510. a mess in DrawToolBar, so I removed one of them.
  4511. 2006-04-27 Alexander Olk <[email protected]>
  4512. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  4513. needed (clip). Otherwise we get artifacts.
  4514. 2006-04-26 Peter Dennis Bartok <[email protected]>
  4515. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  4516. dimension is fixed
  4517. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  4518. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  4519. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  4520. if it matches the scale base font (avoids unneeded scaling)
  4521. 2006-04-26 Alexander Olk <[email protected]>
  4522. * X11DesktopColors.cs: One gtk_init_check should be enough
  4523. 2006-04-26 Peter Dennis Bartok <[email protected]>
  4524. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  4525. match MS behaviour
  4526. 2006-04-26 Peter Dennis Bartok <[email protected]>
  4527. * TextBoxBase.cs:
  4528. - Generate OnTextChanged for Backspace even if we're only deleting
  4529. the current selection
  4530. - When setting the Text property, only select all text if the
  4531. control does not have focus when it is being set. Otherwise
  4532. just place the cursor at the beginning of the control
  4533. 2006-04-26 Alexander Olk <[email protected]>
  4534. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  4535. Added a little helper to draw PropertyGrid ToolBar with a different
  4536. border and a different BackColor.
  4537. * PropertyGrid.cs: Some background parts didn't get painted with the
  4538. correct background color. Added a class that helps us to draw the
  4539. correct border for PropertyGridView and a class that helps us to
  4540. draw ToolBars with a different backcolor
  4541. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  4542. 2006-04-25 Jonathan Chambers <[email protected]>
  4543. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  4544. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  4545. 2006-04-25 Peter Dennis Bartok <[email protected]>
  4546. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  4547. into the palette entries. Also, since we're working on a copy
  4548. we needed to copy the palette back onto the bitmap.
  4549. * Cursor.cs: Same fix as XplatUIWin32.cs.
  4550. 2006-04-25 Peter Dennis Bartok <[email protected]>
  4551. * ImageListStreamer.cs: Need to read the var (or we're off)
  4552. 2006-04-25 Peter Dennis Bartok <[email protected]>
  4553. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  4554. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  4555. TextBoxBase.cs: Unused var fixes
  4556. * AxHost.cs: Small 2.0 fix
  4557. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  4558. as it seems that is what at least Metacity expects. This will make
  4559. icons show up on 64bit platforms. We still have some 64bit size
  4560. issues, though, since the startup app window size still won't match.
  4561. 2006-04-25 Mike Kestner <[email protected]>
  4562. * *.cs: cleanup newly reported exception var unused warnings.
  4563. 2006-04-25 Alexander Olk <[email protected]>
  4564. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  4565. ms
  4566. 2006-04-25 Alexander Olk <[email protected]>
  4567. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  4568. image. The image position is always the same, no matter if the
  4569. button is pressed or not.
  4570. 2006-04-25 Alexander Olk <[email protected]>
  4571. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  4572. selection and set the correct filename for SaveFileDialog.
  4573. Patch by Emery Conrad.
  4574. 2006-04-24 Mike Kestner <[email protected]>
  4575. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  4576. check for item.X outside the ClientRect instead of item.Y. Fixes
  4577. #78151.
  4578. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  4579. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  4580. trust that value blindly and do some sanity check. Fixes bug #77814.
  4581. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  4582. * ImageListStreamer.cs: save the mask as a 1bpp image.
  4583. 2006-04-21 Mike Kestner <[email protected]>
  4584. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  4585. pass Checked and Indeterminate to the Theme Engine. Improve
  4586. encapsulation with ListBox.
  4587. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  4588. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  4589. nested types. Move all CheckState functionality to CheckedListBox.
  4590. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  4591. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  4592. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  4593. single base list. Fix scrollbar sizing and placement to mirror MS.
  4594. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  4595. used.
  4596. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  4597. for CheckedListBox by using new DrawItemState info. Center the
  4598. checkboxes on the items. Use new StringFormat property.
  4599. 2006-04-18 Jackson Harper <[email protected]>
  4600. * Form.cs: MdiChildren don't do default locations the same way as
  4601. regular forms. This prevents a crash when trying to position the
  4602. mdi windows.
  4603. 2006-04-17 Jonathan Chambers <[email protected]>
  4604. * PropertyGridTextBox.cs: Formatting, copyright
  4605. * PropertiesTab.cs: Formatting
  4606. * PropertyGrid.cs: Formatting
  4607. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  4608. click toggling of values
  4609. 2006-04-17 Peter Dennis Bartok <[email protected]>
  4610. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  4611. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  4612. every time a control is created
  4613. * Application.cs: Removed obsolete EnableRTLMirroring method
  4614. 2006-04-18 Gert Driesen <[email protected]>
  4615. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  4616. SelectedIndex to -1. Fixes bug #78121.
  4617. 2006-04-17 Jackson Harper <[email protected]>
  4618. * Binding.cs: Handle null values for Current and BindingContext.
  4619. This occurs when binding is a little delayed.
  4620. * CurrencyManager.cs: return null for Current when there are no
  4621. items in the list.
  4622. - Hookup to the listchanged event on the DataView and update
  4623. bindings when the list is changed. This fixes late binding of
  4624. controls.
  4625. 2006-04-17 Jackson Harper <[email protected]>
  4626. * X11Dnd.cs:
  4627. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  4628. Ringenbach.
  4629. 2006-04-15 Alexander Olk <[email protected]>
  4630. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  4631. place
  4632. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  4633. with the correct ButtonState
  4634. 2006-04-14 Peter Dennis Bartok <[email protected]>
  4635. * XplatUIX11.cs: Improved distinguishing between window types to
  4636. tell the WM a type closer to what the app wants (Fixes #78107)
  4637. 2006-04-14 Alexander Olk <[email protected]>
  4638. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  4639. GrabHandle
  4640. 2006-04-14 Alexander Olk <[email protected]>
  4641. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  4642. drawing code to reflect the size grip changes
  4643. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  4644. * ImageListStreamer.cs: fix handling of the mask that follows the main
  4645. bitmap when deserializing and serialize it properly. The generated mask
  4646. should better be a 1bpp image, but I'll do that later.
  4647. 2006-04-13 Alexander Olk <[email protected]>
  4648. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  4649. path doesn't fit into some of our Current.Places
  4650. 2006-04-13 Jackson Harper <[email protected]>
  4651. * ComboBox.cs: Use borders instead of drawing our own decorations,
  4652. try to obey correct rules for heights.
  4653. * Theme.cs:
  4654. * ThemeNice.cs:
  4655. * ThemeClearLooks.cs:
  4656. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  4657. this is now handled by borders.
  4658. - Remove unused DrawListBoxDecorationSize method.
  4659. 2006-04-13 Mike Kestner <[email protected]>
  4660. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  4661. reported by Alex.
  4662. 2006-04-13 Alexander Olk <[email protected]>
  4663. * ThemeWin32Classic.cs:
  4664. - Fixed CPDrawStringDisabled
  4665. - Corrected drawing of disabled menu items
  4666. - Fixed drawing of disabled radio buttons (bug #78095)
  4667. - Draw check in a disabled CheckBox with color ControlDark
  4668. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4669. * Form.cs: Use the provided width when calculating the menu size;
  4670. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  4671. and ClientSize.Width won't be updated yet
  4672. * Application.cs: Use Visible instead of Show() to make form visible,
  4673. this way we create the handle later and menusize is considered
  4674. 2006-04-12 Mike Kestner <[email protected]>
  4675. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  4676. reporting.
  4677. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4678. * TextBox.cs: Implemented context menu
  4679. 2006-04-12 Mike Kestner <[email protected]>
  4680. * ListView.cs: implement box selection. fixes #77838.
  4681. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  4682. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4683. * XplatUIX11.cs: Added setting of window type when transient window
  4684. is created (metacity would move it otherwise)
  4685. * X11Structs.cs: Added WINDOW_TYPE atoms
  4686. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  4687. background (the control is Opaque but still wants transparent
  4688. backgrounds)
  4689. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4690. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  4691. that set Opaque but don't mean it (like all ButtonBase-derived
  4692. controls) to still draw their background
  4693. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  4694. the background
  4695. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4696. * Control.cs (PaintControlBackground): Set the graphics object
  4697. on our PaintEvent to null to prevent it from being disposed
  4698. when the PaintEvent gets disposed
  4699. 2006-04-12 Alexander Olk <[email protected]>
  4700. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  4701. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  4702. 2006-04-12 Peter Dennis Bartok <[email protected]>
  4703. * Control.cs:
  4704. - Added transparency check to BackColor property. Transparent
  4705. backgrounds are only allowed if the control styles permit it
  4706. - Added recursive painting of parent control background and
  4707. foreground if a control with a transparent backcolor is drawn
  4708. (Thanks to Tim Ringenback for providing his 'hack' as a base
  4709. for this patch) Fixes #77985 and #78026.
  4710. - Added Opaque style check before calling OnPaintBackground, no
  4711. need to draw the background if the control is opaque
  4712. - Removed ControlAccessibleObject owner variable (inherited from
  4713. base, no need to define again)
  4714. - Added some documentation links explaining the drawing events
  4715. and styles
  4716. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4717. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  4718. that the affected control is the located at the left border of our
  4719. parent (Fixes #77936)
  4720. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4721. * TextBoxBase.cs: When rendering disabled or readonly controls,
  4722. draw the background with 'Control' instead of 'Window' color as
  4723. long as the user hasn't specifically set a color
  4724. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4725. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  4726. since that won't be updated if the user types text (only if it's
  4727. programatically set)
  4728. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4729. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  4730. layout changes do to app-triggered resizes will have the proper
  4731. display rectangle for layout
  4732. 2006-04-11 Alexander Olk <[email protected]>
  4733. * ThemeWin32Classic.cs:
  4734. - Make use of the SystemBrushes and SystemPens wherever possible
  4735. - Corrected some highlight colors
  4736. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  4737. drawing
  4738. * Theme.cs: Added Empty field to CPColor struct
  4739. 2006-04-11 Peter Dennis Bartok <[email protected]>
  4740. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  4741. is displayed when calculating the display rectangle. Thanks to Mike
  4742. for teaching me the err of my ways.
  4743. 2006-04-10 Peter Dennis Bartok <[email protected]>
  4744. * ScrollableControl.cs:
  4745. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  4746. (instead of 0,0) and we now return the real width/height instead of
  4747. just the clientrectangle, adjusted for padding. The rectangle is
  4748. now cached and created by the new CalculateDisplayRectangle method.
  4749. - Created new CalculateDisplayRectange method, which basically does
  4750. what get_DisplayRectangle() did originally, but now using the
  4751. right edge instead of DisplayRectangle to determine the size of
  4752. our scrollbars
  4753. - get_Canvas(): Fixed it to properly calculate canvas for
  4754. right/bottom controls which seem to be placed to the right/bottom
  4755. of any controls that have a fixed location
  4756. - Removed TODO that's taken care of
  4757. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  4758. and SetDisplayRectLocation according to new MSDN2 docs
  4759. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  4760. event when that is called, this is added for compatibility
  4761. - ScrollControlIntoView(): Implemented.
  4762. - Switched scrollbars to be implicit, they shouldn't be selectable
  4763. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  4764. call it when the active control is set/changed
  4765. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  4766. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  4767. implicit_control variable (used for native Win32 message generation)
  4768. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  4769. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  4770. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  4771. * XplatUIStructs.cs: Added ScrollBarCommands enum
  4772. 2006-04-10 Jackson Harper <[email protected]>
  4773. * ButtonBase.cs:
  4774. * CheckedListBox.cs:
  4775. * ComboBox.cs:
  4776. * DataGrid.cs:
  4777. * DataGridView.cs:
  4778. * Form.cs:
  4779. * GroupBox.cs:
  4780. * ListBox.cs:
  4781. * PrintPreviewControl.cs:
  4782. * ProgressBar.cs:
  4783. * PropertyGrid.cs:
  4784. * Splitter.cs:
  4785. * StatusBar.cs:
  4786. * TrackBar.cs:
  4787. * UpDownBase.cs: Fixup base event overrides.
  4788. 2006-04-06 Mike Kestner <[email protected]>
  4789. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  4790. all user-initiated value changes to min <= value <= max-thumbsz+1.
  4791. (set_Value): check for vert/horiz when calculating new thumb position.
  4792. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  4793. like MS does.
  4794. (OnMouseMoveSB): refactor the thumb dragging code and refine
  4795. invalidation logic to reduce flicker.
  4796. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  4797. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  4798. (UpdateThumbPosition): small code readability cleanup
  4799. 2006-04-10 Alexander Olk <[email protected]>
  4800. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  4801. different
  4802. 2006-04-08 Alexander Olk <[email protected]>
  4803. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  4804. 2006-04-08 Alexander Olk <[email protected]>
  4805. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  4806. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  4807. This dramatically reduces the number of Pen.Dispose calls.
  4808. Where possible call ResPool methods only once instead of calling it
  4809. over and over again (for example for the same color).
  4810. 2006-04-06 Mike Kestner <[email protected]>
  4811. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  4812. Also remove an unused private field on the collection. Fixes #77972.
  4813. 2006-04-06 Alexander Olk <[email protected]>
  4814. * ThemeNice.cs: Added ToolBar drawing code
  4815. 2006-04-06 Mike Kestner <[email protected]>
  4816. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  4817. I'm assuming that means we need to look up the toplevel for the
  4818. provided control. Fixes the crash trace in #77911 but exposes another
  4819. crash in some strange reflection usage in NDocGui.
  4820. 2006-04-06 Alexander Olk <[email protected]>
  4821. * ThemeNice.cs: Gave it a little silver touch and added Images
  4822. method
  4823. * FontDialog.cs: FontDialog is not resizable
  4824. * FileDialg.cs: Added SizeGripStyle.Show
  4825. 2006-04-05 Jackson Harper <[email protected]>
  4826. * KeyboardLayouts.cs: Remove warning.
  4827. 2006-04-05 Jackson Harper <[email protected]>
  4828. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  4829. all of our controls instead of Paint +=.
  4830. * ListBox.cs:
  4831. * ListView.cs:
  4832. * MenuAPI.cs:
  4833. * MessageBox.cs:
  4834. * NotifyIcon.cs:
  4835. * ProgressBar.cs:
  4836. * ScrollBar.cs:
  4837. * Splitter.cs:
  4838. * StatusBar.cs:
  4839. * TabControl.cs:
  4840. * TextBoxBase.cs:
  4841. * ToolBar.cs:
  4842. * TrackBar.cs:
  4843. * UpDownBase.cs:
  4844. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  4845. use OnPaintInternal. Remove Width/Height and Visible checks in
  4846. paint handler, this is done at a higher level now.
  4847. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  4848. * PaintEventArgs.cs: Add a handled flag so controls that don't
  4849. want anymore painting after OnPaintInternal can make sure OnPaint
  4850. isn't called.
  4851. 2006-04-05 Mike Kestner <[email protected]>
  4852. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  4853. state of the form, so that we don't process events when Modal dialogs
  4854. are up. Fixes #77922.
  4855. 2006-04-05 Alexander Olk <[email protected]>
  4856. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  4857. checking is done.
  4858. 2006-04-05 Mike Kestner <[email protected]>
  4859. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  4860. 2006-04-05 Mike Kestner <[email protected]>
  4861. * ListView.cs (HeaderMouseMove): null guarding for the over column
  4862. when setting up the drag_to_index. Fixes #78015.
  4863. 2006-04-04 Peter Dennis Bartok <[email protected]>
  4864. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  4865. in the taskbar. Transient windows seem to accomplish that.
  4866. 2006-04-04 Peter Dennis Bartok <[email protected]>
  4867. * Form.cs:
  4868. - Re-enabled CreateParams.X/Y code for FormStartPosition
  4869. - Added code for manual placement when creating the Control
  4870. - Incomplete patch to treat MDI forms differently when
  4871. setting the ClientSizeCore. (Still need to figure out handling
  4872. x/y coords there)
  4873. * XplatUIX11.cs:
  4874. - When we're explicitly setting the X/Y position of a non-Child
  4875. window, let the WM know. Metacity really wants this.
  4876. 2006-04-04 Alexander Olk <[email protected]>
  4877. * ThemeNice.cs: Added CPDrawButton
  4878. 2006-04-04 Alexander Olk <[email protected]>
  4879. * ThemeNice.cs: Changed the color for focused buttons and activated
  4880. the arrows for small scroll buttons.
  4881. 2006-04-04 Alexander Olk <[email protected]>
  4882. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  4883. anymore. Changed some method modifiers to protected (virtual)
  4884. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  4885. changes
  4886. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  4887. Updated drawing of menus, buttons and progressbars; added
  4888. CPDrawBorder3D
  4889. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  4890. * ImageListStreamer.cs: implemented serialization/deserialization
  4891. of the images.
  4892. 2006-04-03 Alexander Olk <[email protected]>
  4893. * ThemeWin32Classic.cs:
  4894. - Removed all the DrawFrameControl stuff; CPDrawButton,
  4895. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  4896. inside the methods
  4897. - Updated and corrected the drawing code of CPDrawButton,
  4898. CPDrawCheckBox and CPDrawRadioButton to better match ms
  4899. - Updated theme checkbox and radiobutton code to use the CP*
  4900. methods
  4901. 2006-03-31 Peter Dennis Bartok <[email protected]>
  4902. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  4903. bug is fixed
  4904. 2006-03-31 Jackson Harper <[email protected]>
  4905. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  4906. sometimes.
  4907. * UpDownBase.cs: Don't CreateGraphics manually, use a
  4908. Refresh. Ideally we would invalidate the correct areas here.
  4909. 2006-03-31 Peter Dennis Bartok <[email protected]>
  4910. * XplatUIX11.cs:
  4911. - We now track the mapping state of windows. If a window (or
  4912. one of it's parents) is not mapped we no longer permit
  4913. WM_PAINT messages to be generated since we'd otherwise get
  4914. lots of BadMatch X errors. Jackson did all the work figuring
  4915. out the problem.
  4916. - Destroying the caret if the window it's contained in is
  4917. destroyed. Can't use regular DestroyCaret method since it
  4918. might fall into a drawing function (trying to remove the
  4919. caret) and with that generate new BadMatch errors. Again,
  4920. Jackson tracked this down.
  4921. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  4922. make sure we send the messages to all windows. (The old code
  4923. would send the WM_DESTROY to the window, and then all child
  4924. windows would be 'gone' because the WM_DESTROY handle lookup
  4925. would no longer find the destroyed window)
  4926. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  4927. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  4928. 2006-03-31 Jackson Harper <[email protected]>
  4929. * ScrollableControl.cs: Dont recalc if we are not visible.
  4930. 2006-03-31 Mike Kestner <[email protected]>
  4931. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  4932. the visibility branch.
  4933. 2006-03-31 Jackson Harper <[email protected]>
  4934. * ScrollBar.cs: Cap values when incrementing/decrementing.
  4935. 2006-03-31 Mike Kestner <[email protected]>
  4936. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  4937. * ToolTip.cs: guard against timer expirations with no active control.
  4938. Not sure why it happened.
  4939. 2006-03-31 Mike Kestner <[email protected]>
  4940. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  4941. text.
  4942. * ToolTip.cs: Position the tooltip based on where the cursor is at
  4943. popup time, not at MouseEnter time. Add a Down state so that we don't
  4944. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  4945. positioning offset. Lookup DisplaySize at positioning time, since it
  4946. can theoretically change during invocation.
  4947. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  4948. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  4949. 2006-03-31 Alexander Olk <[email protected]>
  4950. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  4951. Fixes behaviour when the Text property of the box is String.Empty
  4952. 2006-03-31 Peter Dennis Bartok <[email protected]>
  4953. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  4954. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  4955. a window)
  4956. 2006-03-31 Alexander Olk <[email protected]>
  4957. * FileDialog.cs: Visual enhancement for the popup buttons in
  4958. PopupButtonPanel
  4959. 2006-03-31 Alexander Olk <[email protected]>
  4960. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  4961. code
  4962. 2006-03-30 Alexander Olk <[email protected]>
  4963. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  4964. highlighted menu items to match ms
  4965. 2006-03-30 Peter Dennis Bartok <[email protected]>
  4966. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  4967. 2006-03-30 Mike Kestner <[email protected]>
  4968. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  4969. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  4970. go active to account for HotLight to Selected transition.
  4971. * MenuItem.cs: add internal Selected prop. Fill out the Status
  4972. property by calculating it from item info. Add HotLight,
  4973. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  4974. 2006-03-30 Mike Kestner <[email protected]>
  4975. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  4976. 2006-03-29 Jackson Harper <[email protected]>
  4977. * Form.cs: Implement TODO.
  4978. 2006-03-29 Peter Dennis Bartok <[email protected]>
  4979. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  4980. missing proper dialog setup in the constructor
  4981. 2006-03-29 Peter Dennis Bartok <[email protected]>
  4982. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  4983. * Control.cs:
  4984. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  4985. - Fixed ResetBindings and removed TODO
  4986. - Added check for cross-thread calls to get_Handle()
  4987. - Added Marshaller attribute for set_Font to satisfy class status
  4988. * FontDialog.cs: Removed TODOs that seemed implemented
  4989. * UpDownBase.cs: Removed unneeded TODO and Fixme
  4990. * MessageBox.cs: Implemented support for Default button and removed TODO
  4991. * FileDialog.cs: Removed obsolete TODO
  4992. * DomainUpDown.cs: Removed obsolete TODO
  4993. * ButtonBase.cs: Removed obsolete TODO
  4994. * XplatUIWin32.cs: Removed obsolete TODO
  4995. * Form.cs:
  4996. - Removed obsolete TODO
  4997. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  4998. internal status updates
  4999. - Making sure the active control is selected when the control is created
  5000. * CurrencyManager.cs: Removed obsolete TODO
  5001. 2006-03-29 Mike Kestner <[email protected]>
  5002. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  5003. of PrintPreviewDialog and RichTextBox.
  5004. 2006-03-29 Alexander Olk <[email protected]>
  5005. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  5006. DarkDark, Light and LightLight colors for a specific color
  5007. * ThemeWin32Classic.cs:
  5008. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  5009. Appearance = Button
  5010. - Make use of the new ResPool helper CPColor
  5011. - Draw ProgressBar and StatusBar with correct 3D borders
  5012. 2006-03-29 Alexander Olk <[email protected]>
  5013. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  5014. 2006-03-28 Mike Kestner <[email protected]>
  5015. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  5016. calculating col/row counts.
  5017. 2006-03-28 Mike Kestner <[email protected]>
  5018. * ColumnHeader.cs:
  5019. * ListView.cs:
  5020. * ListViewItem.cs:
  5021. * Menu.cs:
  5022. switch to explicit interface method implementation for some methods
  5023. corcompare identifies as inconsistent with MS.
  5024. 2006-03-28 Mike Kestner <[email protected]>
  5025. * MainMenu.cs:
  5026. * Menu.cs:
  5027. add a few missing methods from the class status output.
  5028. 2006-03-28 Alexander Olk <[email protected]>
  5029. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  5030. correct.
  5031. 2006-03-28 Mike Kestner <[email protected]>
  5032. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  5033. 2006-03-27 Mike Kestner <[email protected]>
  5034. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  5035. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  5036. 2006-03-27 Alexander Olk <[email protected]>
  5037. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  5038. 2006-03-25 Alexander Olk <[email protected]>
  5039. * ThemeWin32Classic.cs:
  5040. - GroupBox: Inserted a little gap between the text and the lines
  5041. on the right side
  5042. - Made the code in CPDrawBorder3D more readable
  5043. - Corrected the drawing location of the up and down arrows in
  5044. CPDrawScrollButton
  5045. 2006-03-25 Alexander Olk <[email protected]>
  5046. * ControlPaint.cs: Corrected line widths in DrawBorder for
  5047. ButtonBorderStyle Inset and Outset
  5048. 2006-03-25 Alexander Olk <[email protected]>
  5049. * ThemeWin32Classic.cs:
  5050. - Rewrote the totally broken CPDrawBorder3D method. That was
  5051. one of the main problems for the terrific ThemeWin32Classic
  5052. look
  5053. - Updated and corrected Button drawing
  5054. - Correct the dimensions of the SizeGrip to match ms ones
  5055. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  5056. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  5057. Border3DStyle.Sunken to match ms.
  5058. 2006-03-25 Alexander Olk <[email protected]>
  5059. * ThemeWin32Classic.cs: First small part of the "de-uglify
  5060. ThemeWin32Classic" effort, SizeGrip
  5061. 2006-03-24 Jackson Harper <[email protected]>
  5062. * XplatUIX11.cs: Give a max idle time of one second, this matches
  5063. MS and forces an Idle event every second when there are no other
  5064. events in the queue.
  5065. 2006-03-24 Mike Kestner <[email protected]>
  5066. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  5067. * ListView.Item.cs: fix layout issues with null image lists and images
  5068. smaller than checkbox size.
  5069. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  5070. mode like MS does. It's weird, but consistent. ;-)
  5071. Fixes #77890.
  5072. 2006-03-24 Mike Kestner <[email protected]>
  5073. * ListView.cs: Scroll wheel support for the item control. Fixes
  5074. #77839.
  5075. 2006-03-23 Jackson Harper <[email protected]>
  5076. * ScrollableControl.cs: Special case negative sized areas, not
  5077. zero.
  5078. * MonthCalendar.cs: Save the rect of the clicked date so we can
  5079. use it for invalidation.
  5080. - Try to cut down on the number of invalidates
  5081. - Invalidate the rect the mouse is over and was over when moving
  5082. the mouse, so we get the focus box following the cursor.
  5083. 2006-03-23 Mike Kestner <[email protected]>
  5084. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  5085. focus rectangle drawing. Fixes #77835.
  5086. 2006-03-23 Mike Kestner <[email protected]>
  5087. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  5088. the if and else if and reverting back to the original == check on the
  5089. None conditional.
  5090. 2006-03-23 Alexander Olk <[email protected]>
  5091. * FontDialog.cs: Update the example panel if the selected index of
  5092. the fontListBox changes.
  5093. 2006-03-23 Alexander Olk <[email protected]>
  5094. * FileDialog.cs: Make FileDialog remember which directory it was in
  5095. last in the same execution.
  5096. 2006-03-22 Mike Kestner <[email protected]>
  5097. * FileDialog.cs: make the DropDownMenu on the toolbar display
  5098. RadioChecks since they are mutually exclusive and that's what MS does.
  5099. 2006-03-22 Mike Kestner <[email protected]>
  5100. * Theme.cs: add Color param to CPDrawMenuGlyph.
  5101. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  5102. checks and radio marks and arrows are visible on highlighted items.
  5103. * ControlPaint.cs: update to use new Theme signature.
  5104. 2006-03-22 Mike Kestner <[email protected]>
  5105. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  5106. is active. Fixes #77870.
  5107. 2006-03-22 Alexander Olk <[email protected]>
  5108. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  5109. to be focused/selected after startup
  5110. 2006-03-22 Alexander Olk <[email protected]>
  5111. * ColorDialog.cs:
  5112. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  5113. CustomColors and ShowHelp properties
  5114. - Some internal rewrites to get better results when using the
  5115. ColorMatrix
  5116. 2006-03-22 Mike Kestner <[email protected]>
  5117. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  5118. HoverSelection. Fixes #77836.
  5119. 2006-03-22 Mike Kestner <[email protected]>
  5120. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  5121. ToggleButtons. (De)Sensitize the Back button around a stack count of
  5122. 1, not 0. Update ButtonSize based on a pixel count of the win32
  5123. control. Adjust the toolbar size/location for new button size.
  5124. 2006-03-22 Jackson Harper <[email protected]>
  5125. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  5126. true.
  5127. * ScrollBar.cs: When doing increments and decrements we need to
  5128. set the Value property so that ValueChanged gets raised. A
  5129. possible optimization here would be to make an internal SetValue
  5130. that doesn't invalidate immediately.
  5131. * ToolTip.cs: Tooltips get added to their container (when
  5132. supplied) so they get disposed when the container is disposed.
  5133. - Don't create tooltips for String.Empty. This prevents all these
  5134. little 2-3 pixel windows from showing up when running nunit-gui
  5135. and driving me mad.
  5136. * Form.cs: Don't set topmost when setting the owner if the handles
  5137. haven't been created yet. The topmost set will happen when the
  5138. handles are created.
  5139. 2006-03-22 Peter Dennis Bartok <[email protected]>
  5140. * XplatUIX11.cs:
  5141. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  5142. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  5143. visible (to allow them to recalculate their sizes)
  5144. 2006-03-21 Mike Kestner <[email protected]>
  5145. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  5146. methods. Removed a ton of redundant code. Still not really happy with
  5147. the border rendering, but I think that's mainly because of the
  5148. ControlDarkDark being black instead of a dark grey. Depending on how
  5149. close we want to be, we might want to revisit those color choices.
  5150. Among the new features added during the refactor were DropDownArrow
  5151. pressed rendering, Disabled image rendering. Proper flat appearance
  5152. boundary rendering. Removed the Divider and Wrapping dividers since I
  5153. can't figure out any combination of themes and conditions to make the
  5154. MS control draw a horizontal line on a toolbar despite what the
  5155. Divider property docs indicate.
  5156. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  5157. conditions and incorrect layout. Updated to coding standard.
  5158. * ToolBarButton.cs: refactored layout and positioning code from
  5159. ToolBar to here. Invalidate wherever possible instead of forcing
  5160. redraws of the whole toolbar.
  5161. (Known remaining issues: explicit ButtonSize smaller than provided
  5162. images.)
  5163. 2006-03-21 Mike Kestner <[email protected]>
  5164. * ContextMenu.cs (Show): use the position parameter instead of just
  5165. showing at the MousePosition.
  5166. 2006-03-21 Jackson Harper <[email protected]>
  5167. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  5168. control handle this.
  5169. * TreeNodeCollection.cs: If we are clearing the root node we need
  5170. to reset top_node so calcs can still happen.
  5171. * ThemeWin32Classic.cs: This is a Flags so we need to check
  5172. properly.
  5173. 2006-03-21 Jackson Harper <[email protected]>
  5174. * DataGrid.cs: Create columns when the binding context has been
  5175. changed.
  5176. * X11Structs.cs: Keysyms are uints.
  5177. - Add size to fix build.
  5178. 2006-03-21 Peter Dennis Bartok <[email protected]>
  5179. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  5180. XplatUIOSX.cs:
  5181. - Added ResetMouseHover method to allow controls to retrigger
  5182. hovering if they need it more than once
  5183. - Implemented MouseHoverTime and MouseHoverSize properties
  5184. * Timer.cs: Start() must reset the interval
  5185. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  5186. properties
  5187. 2006-03-21 Jackson Harper <[email protected]>
  5188. * X11Keyboard.cs: improved layout detection. Move the nonchar
  5189. tables into this file.
  5190. * KeyboardLayouts.cs: Move the tables into resource files.
  5191. 2006-03-21 Mike Kestner <[email protected]>
  5192. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  5193. 2006-03-21 Alexander Olk <[email protected]>
  5194. * Mime.cs: Various speed optimizations. Looking up mime types
  5195. is now 2 times faster than before
  5196. 2006-03-17 Peter Dennis Bartok <[email protected]>
  5197. * CreateParams.cs: Added internal menu field
  5198. * Control.cs:
  5199. - Switched call order for UpdateBounds; now we always call
  5200. the one that also takes ClientSize, and we're calculating the
  5201. client size via driver method in the others. The previous
  5202. method of tracking client size by difference wasn't working
  5203. for forms where even the starting client size wouldn't match
  5204. the overall form size (due to borders) (Part of fix for #77729)
  5205. - CreateParams(): Do not use parent.Handle unless the handle is
  5206. already created. Causes havoc with Nexxia and throws off our
  5207. creation of controls
  5208. * XplatUIX11.cs:
  5209. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  5210. - Switched handling of ConfigureNotify over to new PerformNCCalc
  5211. method (consolidates code)
  5212. - Changed RequestNCRecalc to use new PerformNCCalc method
  5213. - Added calls to RequestNCRecalc when menus and borders are changed
  5214. to allow app to set NC size. (Part of fix for #77729) This matches
  5215. when MS send a WM_NCRECALC on Win32 windows.
  5216. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  5217. (Part of fix for #77729). This matches what MS does, they also
  5218. send that message when the form is made visible.
  5219. - XException.GetMessage: Improved usability of X errors by including
  5220. a translation of the window into Hwnd and Control class
  5221. - Improved debug info for window creation, reparenting and destruction
  5222. - Created helper method WindowIsMapped() [Currently not used]
  5223. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  5224. * Form.cs:
  5225. - CreateParams: Now setting our menu on the new internal menu field
  5226. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  5227. avoid calculating the same property twice
  5228. * Hwnd.cs:
  5229. - Improved usability of ToString() for debugging purposes
  5230. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  5231. determine the height of the menu, instead of just the font. This
  5232. required to also create a graphics context and to keep a bmp
  5233. around (for performance reasons)
  5234. 2006-03-17 Peter Dennis Bartok <[email protected]>
  5235. * MenuAPI.cs: Added OnMouseUp method
  5236. * Form.cs:
  5237. - Now remembering the requested client size, avoids size errors
  5238. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  5239. instead of base if the menu is active. This is required due to
  5240. control now capturing and releasing on down/up and it would
  5241. prematurely release our menu capture
  5242. 2006-03-17 Jackson Harper <[email protected]>
  5243. * KeyboardLayouts.cs: Add the czech layouts.
  5244. 2006-03-16 Jackson Harper <[email protected]>
  5245. * Control.cs: Use the viewport space when sizing not the controls
  5246. client size, so things like ScrollableControl that effect the
  5247. viewport size (when scrollbars are added) are computed correctly.
  5248. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  5249. of ManagerEntrys.
  5250. - Handle creating BindingManagers for null data sources.
  5251. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  5252. source, otherwise when rows are added they are added to the 'fake'
  5253. datasource and we will crash when trying to set the position in
  5254. those rows.
  5255. - Use Implicit scrollbars on the datagrid so they arent
  5256. selectable.
  5257. 2006-03-16 Jackson Harper <[email protected]>
  5258. * Binding.cs:
  5259. * InternalWindowManager.cs:
  5260. * MdiWindowManager.cs:
  5261. * X11Keyboard.cs: I really want Mike to love me again (fix
  5262. compiler warnings).
  5263. 2006-03-16 Peter Dennis Bartok <[email protected]>
  5264. * DataGrid.cs:
  5265. - OnMouseDown: Switch to editing mode when clicking on the cell
  5266. even if we're clicking on the cell that's currently
  5267. selected
  5268. - ProcessGridKey: Left/Right now wrap like MS.Net does
  5269. - ProcessGridKey: Tab now knows to add a new row when tab is
  5270. pressed in the cell of the last column of the
  5271. last row
  5272. - ProcessGridKey: Enter now adds another row if pressed in the last
  5273. row and selectes the new row, same column cell
  5274. - ProcessGridKey: Home/End navigate columns, not rows, like
  5275. originally implemented
  5276. - Broke ProcessKeyPreview code out into an extra Internal method
  5277. so it can be called from the edit code
  5278. * DataGridTextBox.cs (ProcessKeyMessage):
  5279. - Switched to accept Tab keypresses
  5280. - Added F2 handling to allow jumping to the end of the edited cell
  5281. - Added logic to allow moving caret left/right inside edited cell
  5282. and making the edited cell jump when the caret hits cell borders
  5283. - Tab and Enter are now passed to the datagrid after being handled
  5284. * TextBoxBase.cs:
  5285. - Removed capture code now that Control handles it
  5286. - set_SelectionStart now ensures caret is visible
  5287. 2006-03-16 Jackson Harper <[email protected]>
  5288. * TrackBar.cs: Debackwards the increment/decrement for handling
  5289. mouse clicks on the bar with vertical trackbars.
  5290. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  5291. bottom to match MS.
  5292. 2006-03-16 Mike Kestner <[email protected]>
  5293. * ListView.cs: make shift/ctrl keyboard and mouse selection
  5294. consistent with the MS control. Fix a bug in
  5295. SelectedListViewItemCollection.Clear that was pissing me off for the
  5296. better part of a day because the collection was being altered
  5297. underneath us as we walked the list.
  5298. 2006-03-16 Peter Dennis Bartok <[email protected]>
  5299. * Control.cs: Not sure how we could miss this so long, but it seems
  5300. that MS.Net has Capture set all the way from before calling
  5301. OnMouseDown through sending the mouse events until after
  5302. OnMouseUp. This will fix DataGrid's selection being set to end
  5303. at the location of the MouseUp.
  5304. 2006-03-15 Jackson Harper <[email protected]>
  5305. * BindingContext.cs: Check the binding after its added so that it
  5306. can initialize the binding managers and hookup to events.
  5307. * Binding.cs: Data members seem to sometimes include rows/cols in
  5308. the format Row.Column we now take this into account.
  5309. - Hookup to the position changed event so we can update the
  5310. control when the position has changed in the data set.
  5311. * CurrencyManager.cs: Take into account the row/col naming
  5312. convention when creating dataset tables.
  5313. * BindingContext.cs: Using a newer better way of storing
  5314. datasource/datamember pairs. Hopefully this better matches MS for
  5315. looking up binding managers.
  5316. 2006-03-15 Jackson Harper <[email protected]>
  5317. * BindingContext.cs: The currency manager needs the data member
  5318. name, if the member is a data set we use the name to find the
  5319. correct table.
  5320. * CurrencyManager.cs: When creating the list prefer an IList over
  5321. an IListSource.
  5322. - Attempt to create a DataTable from a DataSet (TODO: might need
  5323. some better error checking here, although MS doesn't seem to have much)
  5324. - If we have a DataTable create a view and use it as our list.
  5325. 2006-03-15 Mike Kestner <[email protected]>
  5326. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  5327. keyboard navigation. Support Up/Down/Left/Right selection correctly
  5328. for all 4 View modes.
  5329. * ListViewItem.cs: add internal row/col fields for icon layouts.
  5330. 2006-03-15 Jackson Harper <[email protected]>
  5331. * TabControl.cs: Redraw the tabs when we resize so their newly
  5332. calculated sizes are drawn on screen.
  5333. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  5334. composite characters.
  5335. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  5336. - filter events so that composite characters can be created
  5337. patches by peter
  5338. * X11Structs.cs: Add XIMProperties enum.
  5339. 2006-03-14 Peter Dennis Bartok <[email protected]>
  5340. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  5341. unless it's created
  5342. 2006-03-14 Peter Dennis Bartok <[email protected]>
  5343. * Control.cs (PerformLayout): We don't need to consider visiblity
  5344. for anchoring, only for docking. This fixes 'whacky' alignment
  5345. in listbox and other controls that use implicit scrollbars after
  5346. the previous PerformLayout patch
  5347. * ListBox.cs: Switched to use implicit scrollbars
  5348. 2006-03-14 Mike Kestner <[email protected]>
  5349. * ToolBar.cs:
  5350. * VScrollBar.cs:
  5351. - chain up the "new event" overrides to base and use
  5352. OnEvent to raise them. Part of fix for bug #76509.
  5353. 2006-03-14 Alexander Olk <[email protected]>
  5354. * FileDialog.cs: Do not select an item in the parent directory
  5355. on backspace
  5356. 2006-03-14 Peter Dennis Bartok <[email protected]>
  5357. * Control.cs (PerformLayout): It would seem that we considered
  5358. invisible windows for our layout. Not quite the right thing
  5359. to do. Now we don't any longer, thereby fixing bug #76889.
  5360. 2006-03-14 Peter Dennis Bartok <[email protected]>
  5361. * Control.cs (CanFocus): I goofed. A control can have focus
  5362. even though it's not selectable. Made it match MS docs.
  5363. 2006-03-13 Peter Dennis Bartok <[email protected]>
  5364. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  5365. center by default (fixes #76895)
  5366. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  5367. all uses of Border3DSides.All with the explicit ORd together
  5368. Left|Right|Top|Bottom because I assume that nobody was aware
  5369. that All also implies a center fill. Most places I checked had
  5370. a fill right above.
  5371. * ProgressBarStyle.cs: Added
  5372. 2006-03-13 Mike Kestner <[email protected]>
  5373. * ListView.cs: fix breakage in drag shadow header positioning
  5374. from Peter's csc compilation fix.
  5375. 2006-03-13 Mike Kestner <[email protected]>
  5376. * ListView.cs: fix NRE produced by backspacing twice in a focused
  5377. FileDialog.
  5378. 2006-03-13 Mike Kestner <[email protected]>
  5379. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  5380. 2006-03-13 Peter Dennis Bartok <[email protected]>
  5381. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  5382. be changed
  5383. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  5384. the allowed size before making programmatic size changes
  5385. 2006-03-13 Peter Dennis Bartok <[email protected]>
  5386. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  5387. set, metacity is broken and will still use the emty sizes in
  5388. the struct. (Fix for #77089)
  5389. 2006-03-13 Peter Dennis Bartok <[email protected]>
  5390. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  5391. WindowExStyles and marked both enums as Flags
  5392. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  5393. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  5394. to match WindowStyles split
  5395. * XplatUIX11.cs:
  5396. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  5397. - Updated to match WindowStyles split
  5398. * XplatUIWin32.cs:
  5399. - Fixed FosterParent creation, was using ExStyle on the Style field
  5400. (This should help with Popup focus issues)
  5401. - Updated to match WindowStyles split
  5402. 2006-03-13 Jackson Harper <[email protected]>
  5403. * MdiWindowManager.cs: Use the system menu height. Fixes some
  5404. strange sizing issues.
  5405. 2006-03-12 Peter Dennis Bartok <[email protected]>
  5406. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  5407. * TextBoxBase.cs:
  5408. - Scroll to caret after inserting text (#77672)
  5409. - Make scroll range one pixel higher, fixes off-by-one error (and
  5410. makes underlines visible on the last line)
  5411. 2006-03-12 Peter Dennis Bartok <[email protected]>
  5412. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  5413. the keyboard state from being stuck with keys in 'pressed' state when
  5414. focus is switched away via keyboard
  5415. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  5416. reset the keyboard if no X11 KeyUp events are expected to come
  5417. * X11Structs.cs: Switched type of Visible to bool to match driver
  5418. 2006-03-12 Peter Dennis Bartok <[email protected]>
  5419. * TextControl.cs:
  5420. - Switched caret to be just 1 pixel wide, matches MS and looks less
  5421. clunky
  5422. - Moved caret display 1 pixel down from the top of the control
  5423. to improve view
  5424. - InsertCharAtCharet: Update the selection start if moving the caret
  5425. (fixes bug #77696; based on patch suggested by [email protected])
  5426. - No longer always creating the caret when the caret methods are
  5427. called. Only the actual ShowCaret/HideCaret will do that now
  5428. - Only setting caret visible if the owner control has focus
  5429. - UpdateView: Added invalidation-shortcut logic for center and right
  5430. aligned text. Previously we'd update all according to the left
  5431. logic which caused drawing errors. Also fixed height of invalidated
  5432. areas, now properly invalidating the whole area (was off-by-one)
  5433. - owner_HandleCreated: Always generate the document when the
  5434. handle is created; this ensures that
  5435. * TextBoxBase.cs:
  5436. - Fixed situation where caret would disappear under the right
  5437. window border, also improved scrolling behaviour on left-
  5438. aligned textboxes
  5439. - Fixed right-aligned textboxes to have a border to the
  5440. right instead of the caret being under the right border
  5441. * XplatUIX11.cs:
  5442. - Switched from 'nested' to simple visible/not visible tracking
  5443. for caret (part of fix for #77671)
  5444. - No longer passing through translated FocusIn/FocusOut messages
  5445. since we were notifying too often and the wrong windows. Instead
  5446. we just notify our focussed window of receiving or loosing focus
  5447. * XplatUIWin32.cs: Switched from 'nested' show/hide
  5448. counting for caret to simple visible yes/no behaviour (part of
  5449. fix for #77671)
  5450. 2006-03-11 Alexander Olk <[email protected]>
  5451. * Mime.cs: Remove debug code...
  5452. 2006-03-11 Alexander Olk <[email protected]>
  5453. * MimeGenerated.cs: Removed
  5454. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  5455. and subclasses) from /usr/(local/)share/mime and
  5456. $HOME/.local/share/mime.
  5457. 2006-03-10 Jackson Harper <[email protected]>
  5458. * MdiWindowManager.cs: Recalc the NC area when a window is
  5459. maximized/restored so that the menu area is drawn on forms that
  5460. don't have a menu.
  5461. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5462. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  5463. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  5464. us to force a WM_NCCALCRESIZE message being sent. This is needed
  5465. for MDI maximizing.
  5466. 2006-03-10 Jackson Harper <[email protected]>
  5467. * Form.cs: We need to use the ActiveMenu when calculating menu
  5468. height.
  5469. - Fix nullref when the window manager hasn't been created yet.
  5470. * Control.cs: Fix nullref when we try to bring a control to the
  5471. front that has no parent.
  5472. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  5473. height.
  5474. - Add a dummy item to the maximized menu so it always has the
  5475. correct height. Otherwise when there are no menus we don't get our
  5476. icon and buttons.
  5477. 2006-03-10 Jackson Harper <[email protected]>
  5478. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  5479. stuff.
  5480. * Form.cs: Make the window_state internal so the window managers
  5481. can track it.
  5482. - When an MDI child is maximized let its window manager create the
  5483. main menu (so it can add its icon).
  5484. - Notify the window managers of state changes
  5485. - Let the window manager paint its buttons and handle button
  5486. clicks on the menu when it is maximized.
  5487. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  5488. window manager, since tool windows don't use it, only mdi windows.
  5489. - Tell the main form that we don't want it to handle NCPAINT
  5490. itself to avoid extra painting.
  5491. - Handle clicks on a maximized windows menu.
  5492. - Handle window state changes
  5493. - Handle minimize/maximize clicks correctly by setting the window state.
  5494. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  5495. when clicking on the forms icon).
  5496. - New method to create a forms maximized menu. This is its normal
  5497. menu + an icon.
  5498. - Handle window state changes.
  5499. - Handle sizing of maximized windows. Maximized windows are just
  5500. drawn bigger then the parent visible area. All controls are still
  5501. there, they are just outside the visible area (this matches windows).
  5502. * MdiClient.cs: No scrollbars when a child window is maximized.
  5503. - Let the children windows figure out how big they should be when
  5504. sizing maximized windows.
  5505. - Implement a version of ArrangeIconicWindows somewhat similar to
  5506. Windows version. There are some little differences, but I don't
  5507. think any app will rely on the layout of minimized mdi windows.
  5508. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5509. * Padding.cs: Several fixes to allow compiling with csc 2.0
  5510. 2006-03-09 Jackson Harper <[email protected]>
  5511. * Menu.cs:
  5512. * MenuItem.cs: Cheap hack so we can add items to the list without
  5513. the events being raised. This allows adding mdi items during
  5514. drawing. TODO: Should probably find a better time to add the items.
  5515. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5516. * ThemeWin32Classic.cs:
  5517. - CheckBox_DrawText: Added logic to not wrap if not enough space
  5518. is available (Fix for bug #77727)
  5519. - RadioButton_DrawText: Added logic not to wrap if not enough
  5520. space is available (Fix for bug #77727). Also removed some
  5521. duplicate code, DrawString always drawing the regular text
  5522. before hitting the if statement.
  5523. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5524. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  5525. 2006-03-10 Peter Dennis Bartok <[email protected]>
  5526. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  5527. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  5528. methods. Moved the new 2.0 properties into alphabetical order with
  5529. other properties and added MonoTODO tags
  5530. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5531. * AutoScaleMode.cs: Added. Fix build.
  5532. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5533. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  5534. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  5535. and was requiring premature handle creation for calls from above
  5536. * Form.cs, Control.cs: Removed handle arguments from calls to
  5537. CalculateClientRect()
  5538. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5539. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  5540. drag_column.column_rect is MarshalByRef and can't be used that way
  5541. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5542. * AxHost.cs: Added deserialization constructor for
  5543. AxHost+State (fixes 77743)
  5544. 2006-03-09 Mike Kestner <[email protected]>
  5545. * ListView.cs:
  5546. - Added column drag reordering for details view.
  5547. - fixed behavior when mouse is dragged off column and
  5548. AllowColumnReorder is false.
  5549. * ColumnHeader.cs: clone the format too in Clone.
  5550. * Theme.cs: add DrawListViewHeaderDragDetails method.
  5551. * ThemeWin32Classic.cs:
  5552. - impl new method for drawing drag column shadows and targets.
  5553. - support column offset for details mode in DrawListViewItem.
  5554. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5555. * TextControl.cs: Reset the char_count when the document is cleared
  5556. (Fixes bug reported on mono-winforms mailing list)
  5557. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5558. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  5559. of calling base we simply process the key ourselves, since both
  5560. DefWindowProc and the handled method would set m.Result.
  5561. (Fixes #77732)
  5562. 2006-03-09 Peter Dennis Bartok <[email protected]>
  5563. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  5564. method also moves the window; instead implemented a copy of
  5565. Control.ScaleCore (Part of fix for #77456)
  5566. * TextBoxBase.cs:
  5567. - Created new CreateGraphicsInternal method to allow providing
  5568. a graphics context when no handle is created without triggering
  5569. handle creation. (Part of fix for #77456)
  5570. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  5571. * TextControl.cs:
  5572. - Switched Constructor to require TextBoxBase instead of Control (to
  5573. allow uncast access to CreateGraphicsInternal)
  5574. - Safeguarded use of owner.Handle property. No longer accessing it
  5575. unless the handle is already created.
  5576. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  5577. - Now triggering a recalc when owning control becomes visible
  5578. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  5579. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  5580. premature handle creation (Part of fix for #77456)
  5581. * Control.cs:
  5582. - We now only destroy our double-buffering buffers when the
  5583. control is resized or disposed, but not when visibility
  5584. changes. (The code even re-created them twice every time)
  5585. - Now requiring a redraw of the buffer on visibility changes
  5586. (fixes bug 77654 part 2)
  5587. - Not passing OnParentVisibleChanged up unless the control
  5588. is visible
  5589. - CanFocus: Fixed to match MS documentation
  5590. - Focus: Fixed to return actual focus state and to check if
  5591. setting focus is legal before setting it
  5592. 2006-03-08 Peter Dennis Bartok <[email protected]>
  5593. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  5594. when to draw focus rectangle by looking at parent focus and
  5595. selected state instead. This fixes TabPages on Linux sometimes
  5596. having none or multiple focus rectangles.
  5597. * XplatUIX11.cs (SetFocus):
  5598. - Don't set the focus if the same window already has focus
  5599. - Use SendMessage instead of PostMessage (like it's Win32
  5600. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  5601. to match MS behaviour
  5602. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  5603. are not selectable.
  5604. 2006-03-07 Jackson Harper <[email protected]>
  5605. * PictureBox.cs: Revert line I accidently committed last week.
  5606. 2006-03-07 Peter Dennis Bartok <[email protected]>
  5607. * Control.cs:
  5608. - Added new IsRecreating and ParentIsRecreating properties to
  5609. allow testing if RecreateHandle has been called on ourselves
  5610. or one of our parents
  5611. - WndProc(WM_DESTROY): If our control handle is being recreated
  5612. we immediately need to create the handle when receiving the
  5613. destroy, that way our child windows find a valid parent handle
  5614. when they themselves are being recreated upon WM_DESTROY receipt
  5615. (fix for bug #77654 part 1)
  5616. * XplatUIX11.cs:
  5617. - DestroyWindow: WM_DESTROY must be sent to our own window before
  5618. notifying any child windows. MS documents that child windows
  5619. are still valid when WM_DESTROY is received. (Control now relies on
  5620. this behaviour)
  5621. - Added some fine-grain debug options
  5622. 2006-03-06 Jackson Harper <[email protected]>
  5623. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  5624. box and base calculations off this.
  5625. * MdiChildContext.cs:
  5626. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  5627. anymore.
  5628. 2006-03-06 Peter Dennis Bartok <[email protected]>
  5629. * Splitter.cs: In situations where the affected control is added
  5630. to the parent's control list after the splitter, we would not
  5631. populate affected. Now we try populating it on mousedown, if
  5632. it's not already set, and force it to be re-set whenever our
  5633. parent changes.
  5634. 2006-03-03 Matt Hargett <[email protected]>
  5635. * Control.cs: implement Control.Padding
  5636. * Padding.cs: -Padding.All returns -1 when constructing with the
  5637. implicit default ctor
  5638. -Padding.ToString() matches MS.NET
  5639. * ContainerControl.cs: implement
  5640. ContainerControl.AutoScaleDimensions
  5641. * ListControl.cs: implement ListControl.FormattingEnabled
  5642. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  5643. * ButtonBase.cs:
  5644. * TabPage.cs: Implement UseVisualStyleBackColor.
  5645. * PictureBox.cs: Implement PictureBox.InitialImage.
  5646. 2006-03-03 Mike Kestner <[email protected]>
  5647. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  5648. event declarations to proxy to base event.
  5649. * ListViewItem.cs: update to use ItemControl.
  5650. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  5651. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  5652. column header label rendering for 0 width columns.
  5653. 2006-03-03 Peter Dennis Bartok <[email protected]>
  5654. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  5655. that causes the control to be created. Fixes #77476.
  5656. 2006-03-02 Jackson Harper <[email protected]>
  5657. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  5658. expose_pending.
  5659. 2006-03-02 Peter Dennis Bartok <[email protected]>
  5660. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  5661. passed in for the EventArgs (fixes #77690)
  5662. 2006-03-01 Jackson Harper <[email protected]>
  5663. * ScrollBar.cs: Refresh afterbeing resized.
  5664. 2006-02-28 Mike Kestner <[email protected]>
  5665. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  5666. Clean up a tracker compile warning.
  5667. * MenuItem.cs: add internal PerformPopup method.
  5668. [Fixes #77457]
  5669. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5670. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  5671. implicit expose) when the text is set to null
  5672. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5673. * RichTextBox.cs (FlushText): When newline is true, we always
  5674. need to split the line, even if no text is on it and we may
  5675. never eat newlines. (Fixes #77669)
  5676. 2006-02-28 Mike Kestner <[email protected]>
  5677. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  5678. and set Selected instead.
  5679. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  5680. collections.
  5681. 2006-02-28 Peter Dennis Bartok <[email protected]>
  5682. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  5683. 2006-02-28 Alexander Olk <[email protected]>
  5684. * FontDialog.cs:
  5685. - Got rid of the panel. All controls are now directly added to
  5686. the dialog form
  5687. - It is now possible to set a font with the Font property
  5688. - MinSize and MaxSize property do now what they should
  5689. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  5690. - Searching and selecting a font with the font textbox works now,
  5691. the same applies to the style and size textbox
  5692. - Draw the correct 3D border in the example panel
  5693. - Fixed a little mem leak (unused fonts didn't get disposed)
  5694. - Many other internal updates/rewrites...
  5695. - Fix typo
  5696. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5697. * TextControl.cs:
  5698. - InsertRTFFromStream: Added 'number of characters inserted' argument
  5699. - set_SelectedRTF: Now using the number of characters to calculate
  5700. the new location for the selection and cursor (x/y cannot be used
  5701. due to potentially already wrapped text)
  5702. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5703. * TextControl.cs: Added property and implemented means to allow
  5704. disabling recalculation of a document (can be used to speed up
  5705. multiple inserts and is needed to make RTF inserts predictable, see
  5706. bug #77659)
  5707. * RichTextBox.cs: Using the new NoRecalc property of Document to
  5708. keep x/y insert locations predictable. Also makes it faster inserting
  5709. large chunks of RTF
  5710. 2006-02-27 Peter Dennis Bartok <[email protected]>
  5711. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  5712. it's easier for a child control to handle the other messages without
  5713. having to duplicate the special functionality
  5714. * TextBoxBase.cs
  5715. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  5716. code to handle processing the key ourselves, in order to get
  5717. access to the result of KeyEventArgs.Handled. We now only call
  5718. ProcessKey if they key hasn't been handled already. Fixes #77526.
  5719. - set_Text: If null or empty string is given, just clear the
  5720. document. Fixes part of #77526
  5721. 2006-02-27 Jackson Harper <[email protected]>
  5722. * SizeGrip.cs: Paint the background color before painting the grip
  5723. so things look right.
  5724. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  5725. 2006-02-27 Mike Kestner <[email protected]>
  5726. * ListView.cs:
  5727. - Restructure layout and invalidation model to remove a ton of
  5728. flicker from the control and speed up performance in general.
  5729. - Add manual column resize, flickers like crazy, but I already have
  5730. some ideas on how I'll fix that. (#76822)
  5731. - Merge the three Icon-based views into a single layout method.
  5732. - Move item selection interaction logic from the item since
  5733. interaction with the collections is more appropriate to the view.
  5734. - Deselection on non-item clicks.
  5735. * ListViewItem.cs:
  5736. - Encapsulate most of the layout. Add some internal props to trigger
  5737. layout. Move to a model where Items invalidate themselves instead
  5738. of just invalidating the whole control every time something changes.
  5739. - Invalidate on Text/Caption changes.
  5740. - switch to an offset based layout model to avoid having to absolute
  5741. position every element on item moves.
  5742. - correct checkbox layout to conform to MS layout.
  5743. * ThemeWin32Classic.cs:
  5744. - refactor some column header drawing code.
  5745. - fix string justification for column headers (#76821)
  5746. - make SmallIcon labels top justified for compat with MS impl.
  5747. * ThemeClearlooks.cs:
  5748. - adjust to new ListViewItem internal checkbox bounds api.
  5749. 2006-02-27 Jackson Harper <[email protected]>
  5750. * Control.cs: Change where implicit controls fall in the zorder.
  5751. They are now on top of all children.
  5752. - Synced AddImplicit code with Add
  5753. - Removed unused enumerator.
  5754. * SizeGrip.cs: Remove the TODO as its been TODONE.
  5755. 2006-02-26 Peter Dennis Bartok <[email protected]>
  5756. * TextControl.cs(Insert): Combine the last lines unless the insertion
  5757. string ends with \n\n, otherwise we leave one line too many (Fixes
  5758. something I noticed with the testapp for #77526; the bug itself was
  5759. already fixed in the previous checkin)
  5760. 2006-02-26 Peter Dennis Bartok <[email protected]>
  5761. * RichTextBox.cs:
  5762. - SelectionColor and SelectionFont methods no longer set absolute
  5763. styles. Instead, the keep font or color respectively (This
  5764. resolves a long-standing FIXME in the code)
  5765. - When flushing RTF text, the insert code now considers text trailing
  5766. behind the insertion point (Fixes the bug where when replacing
  5767. the selected text via SelectedRTF the remainder of the line behind
  5768. the selection would stay on the first insertion line)
  5769. * TextBoxBase.cs:
  5770. - AppendText now updates the selection points after inserting text
  5771. - AppendText now ensures that the last tag (sometimes 0-length) of
  5772. the document is used for the style information (Fixes part of
  5773. bug #77220)
  5774. * TextControl.cs:
  5775. - Created new FontDefiniton class to allow describing partial style
  5776. changes
  5777. - StreamLine() now takes a lines argument, to allow it to decide
  5778. whether an encountered zero-length tag is the last in the document
  5779. (which must be kept to not loose the font/color contained in it,
  5780. for later appends)
  5781. - Created Combine() and Split() methods for Marker structs, to
  5782. support marker updates due to reformatted documents (soft line
  5783. wraps)
  5784. - Implemented Document.CaretTag setter
  5785. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  5786. of the last line (Not the cause, but also exposed by bug #77220)
  5787. - Added LineTag argument to InsertString method, to allow callers
  5788. to force a certain tag to be used (required to force use of the
  5789. trailing zero-length tag of a document)
  5790. - Now updating markers in Combine(), to avoid stale tag markers
  5791. - Added some method descriptions to aid maintenance
  5792. - Implemented new FormatText concept, allowing additive/subtractive
  5793. formatting by only specifying the components that are to be
  5794. changed. This was needed for resolving the RTB.SelectedColor/
  5795. RTB.SelectedFont fixmes
  5796. - Added Break() support method to allow breaking up linetags (used
  5797. for partial formatting)
  5798. - Added GenerateTextFormat() method. It is used for partial
  5799. formatting and allows to generate a full font/color from given
  5800. attributes and an existing tag.
  5801. 2006-02-26 Jackson Harper <[email protected]>
  5802. * XplatUIX11.cs: Use the correct caption height.
  5803. - Translate hittest coordinates to screen coords to match MS.
  5804. * XplatUIWin32.cs: When we create MDI windows we need to reset
  5805. some of the style flags, so we get a nice blank window, and can
  5806. draw all the decorations ourselves.
  5807. - Set a clipping rectangle on the non client paint event, the
  5808. window manager drawing code needs one.
  5809. * Form.cs: The window manager needs to know when the window state
  5810. has been updated.
  5811. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  5812. don't need to factor in border and title sizes in these
  5813. methods. TODO: Remove the args and fix the call points.
  5814. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  5815. properly.
  5816. - Let the driver set the cursors.
  5817. - Improve active window handling
  5818. - Correct sizes for title bars and buttons.
  5819. - Match MS drawing better
  5820. * MdiWindowManager.cs: We don't need to handle border style
  5821. updates specially anymore.
  5822. - Check for scrollbars when windows are done moving
  5823. - Handle Active properly.
  5824. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  5825. correctly. I am spewing the exception though, so we don't hide the
  5826. bugs.
  5827. 2006-02-26 Pedro Martinez Julia <[email protected]>
  5828. * DataGridViewRowPostPaintEventArgs.cs,
  5829. DataGridViewCellPaintingEventArgs.cs,
  5830. DataGridViewRowCollection.cs,
  5831. DataGridViewRowPrePaintEventArgs.cs,
  5832. DataGridViewCell.cs: Clear a few warnings and implement a few
  5833. exceptions that should be thrown.
  5834. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5835. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  5836. 'inheriting' our parent's (non-default) cursor. (Part of
  5837. the fix for #77479)
  5838. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5839. * XplatUIX11.cs: Fixed cast to make csc happy
  5840. 2006-02-22 Peter Dennis Bartok <[email protected]>
  5841. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  5842. it's for the client area (part of fix for #77479 and needed
  5843. for MDI window cursor handling)
  5844. * XplatUIX11.cs
  5845. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  5846. the appropriate default cursors and also passing the message
  5847. up the parent chain
  5848. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  5849. for non-client areas
  5850. 2006-02-15 Jackson Harper <[email protected]>
  5851. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  5852. is a real MDI window
  5853. 2006-02-14 Alexander Olk <[email protected]>
  5854. * X11DesktopColors.cs: Instead of checking the desktop session
  5855. string for "KDE" check if it starts with "KDE"
  5856. 2006-02-10 Jackson Harper <[email protected]>
  5857. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  5858. systems).
  5859. 2006-02-10 Alexander Olk <[email protected]>
  5860. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  5861. errors
  5862. * ColorDialog.cs:
  5863. - Got rid of the panel. All controls are now directly added to
  5864. the dialog form
  5865. - Changed to mono coding style
  5866. 2006-02-10 Jackson Harper <[email protected]>
  5867. * InternalWindowManager.cs: We don't need the set visibility to
  5868. false hack anymore now that peter has written beautiful shutdown
  5869. code.
  5870. 2006-02-10 Peter Dennis Bartok <[email protected]>
  5871. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  5872. where already explicitly destroyed
  5873. 2006-02-10 Jackson Harper <[email protected]>
  5874. * MdiClient.cs: Handle the case where windows are too high or to
  5875. the left and we need scrollbars.
  5876. 2006-02-10 Alexander Olk <[email protected]>
  5877. * MimeIcon.cs: Added some icons
  5878. * FileDialog.cs:
  5879. - Fixed bug #77477
  5880. - Got rid of the panel. All controls are now directly added to
  5881. the dialog form
  5882. - Changed to mono coding style
  5883. - On Linux "My Computer" and "My Network" will now show some
  5884. more usefull information. A new class, MasterMount, gathers
  5885. this information from /proc/mount. Updated MWFFileView to make
  5886. use of this information
  5887. - Fixed a bug that caused FileDialog to crash when
  5888. ".recently_used" file had a zero size
  5889. - FilterIndex does now what it should
  5890. - Some Refactoring
  5891. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  5892. FileDialog changes
  5893. 2006-02-09 Jackson Harper <[email protected]>
  5894. * ComboBox.cs: Don't touch if null.
  5895. 2006-02-09 Peter Dennis Bartok <[email protected]>
  5896. * Cursor.cs: 64bit safeness fix
  5897. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  5898. 2006-02-09 Jackson Harper <[email protected]>
  5899. * Form.cs: If a form is made into an MDI form update the styles so
  5900. all the props can get set correctly.
  5901. - Kill the mdi_container when we dont need it anymore.
  5902. * InternalWindowManager.cs: Add missing NOT
  5903. 2006-02-08 Jackson Harper <[email protected]>
  5904. * InternalWindowManager.cs: Respek clipping when drawing MDi
  5905. decorations.
  5906. 2006-02-08 Jackson Harper <[email protected]>
  5907. * Hwnd.cs: Add bits to track non client expose events.
  5908. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  5909. gives us a proper invalid rect and will allow for some nice
  5910. optimizations with NC client drawing
  5911. - MDI windows are children windows, so move their style handling
  5912. into the child window block.
  5913. * InternalWindowManager.cs: Remove a state reset that was
  5914. getting invoked at the wrong time. Fixes managed windows getting
  5915. into a 'stuck' captured state.
  5916. 2006-02-07 Peter Dennis Bartok <[email protected]>
  5917. * TextControl.cs (Document.ctor): Now initializing
  5918. selection_anchor. Fixes #77493
  5919. 2006-02-07 Jackson Harper <[email protected]>
  5920. * TrackBar.cs: The increment/decrements were backwards.
  5921. 2006-02-07 Mike Kestner <[email protected]>
  5922. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  5923. to the instance itself.
  5924. 2006-02-07 Peter Dennis Bartok <[email protected]>
  5925. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  5926. on ulongs and pointers, the size differs between 32bit and 64bit
  5927. systems.
  5928. 2006-02-07 Mike Kestner <[email protected]>
  5929. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  5930. for 64 bit platforms to work around a metacity bug.
  5931. 2006-02-07 Jackson Harper <[email protected]>
  5932. * TrackBar.cs: Process the input keys we need, and hookup to
  5933. KeyDown instead of using WndProc, so we get key messages.
  5934. 2006-02-06 Peter Dennis Bartok <[email protected]>
  5935. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  5936. machine we're on.
  5937. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  5938. we need to translate the XdndVersion atoms array before sending it
  5939. 2006-02-06 Peter Dennis Bartok <[email protected]>
  5940. * XplatUIX11.cs:
  5941. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  5942. number of bits for the property, not the number of bytes. The
  5943. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  5944. but would not crash since it specified 8 bits instead of 4 bits)
  5945. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  5946. defined as XID -> long in the C headers)
  5947. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  5948. references since those are now IntPtr to begin with
  5949. - Switched all Atom.XXX 'int' casts to IntPtr casts
  5950. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  5951. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  5952. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  5953. * X11Structs.cs:
  5954. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  5955. - Changed atom in HoverStruct to be IntPtr
  5956. * X11DnD.cs:
  5957. - Removed local DllImports, switched code to use those from XplatUIX11
  5958. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  5959. 2006-02-06 Mike Kestner <[email protected]>
  5960. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  5961. method signatures in the import region. There may still be some
  5962. lingering struct marshaling issues, as I didn't drill down into those.
  5963. Yet.
  5964. 2006-02-06 Jackson Harper <[email protected]>
  5965. * ComboBox.cs: Dont manually set the top_item, this is computed
  5966. when the scrollbar position is set.
  5967. 2006-02-06 Mike Kestner <[email protected]>
  5968. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  5969. startup crashes on amd64. There's other fixes needed. All pinvoke
  5970. usage of Atom needs to be mapped to IntPtr for example. And there are
  5971. likely other int/long issues to be addressed.
  5972. 2006-02-04 Alexander Olk <[email protected]>
  5973. * FileDialog.cs: One more...
  5974. 2006-02-03 Alexander Olk <[email protected]>
  5975. * FileDialog.cs: Next try
  5976. 2006-02-03 Alexander Olk <[email protected]>
  5977. * FileDialog.cs: First part of fix for #77464
  5978. 2006-02-03 Alexander Olk <[email protected]>
  5979. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  5980. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  5981. AcceptButton border drawing.
  5982. 2006-02-03 Peter Dennis Bartok <[email protected]>
  5983. * Form.cs: Moved positioning of form after auto scaling is applied,
  5984. otherwise it would possibly use wrong form size.
  5985. 2006-02-03 Peter Dennis Bartok <[email protected]>
  5986. * Control.cs (RecreateHandle): No need to re-create any child
  5987. controls, the child windows will get destroyed automatically by
  5988. the windowing system or driver, and re-created when the handle
  5989. is being accessed the first time. Fixes #77456
  5990. * Form.cs: No longer setting the form to closing if the handle is
  5991. being recreated. This seems like the right thing to do, don't
  5992. have a bug or testcase for this, though.
  5993. 2006-02-02 Peter Dennis Bartok <[email protected]>
  5994. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  5995. controls to avoid unwanted side effects
  5996. 2006-02-02 Peter Dennis Bartok <[email protected]>
  5997. * Control.cs:
  5998. - ScaleCore needs to scale the bounds, not the ClientSize of the
  5999. control. Fixes #77416.
  6000. - DefaultSize is 0,0 for control
  6001. * TextBoxBase.cs:
  6002. - DefaultSize is 100, 20
  6003. - SetBoundsCore: Now enforcing the height, no matter if the provided
  6004. height is more or less than the preferred one, as long as AutoSize
  6005. is on
  6006. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  6007. 2006-02-02 Peter Dennis Bartok <[email protected]>
  6008. * Control.cs:
  6009. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  6010. call unless both performLayout is true *and* we have a pending
  6011. layout change
  6012. - ResumeLayout: MS does not completely nest Suspend and Resume,
  6013. they bottom out at 0, fixed our code to match that.
  6014. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  6015. SetBoundsCore, we were updating even when we shouldn't. This fixes
  6016. swf-anchors mis-anchoring when resizing the app fast and lots.
  6017. - UpdateDistances: Now only setting the left and top distance if
  6018. we have a parent and are not suspended, this is based on
  6019. a suggestion by Don Edvaldson in bug #77355.
  6020. - OnVisibleChanged: Fixed logic when to create the control. We may
  6021. not create the control if we have no parent or if it's not visible;
  6022. switched to using Visible property instead of is_visible field
  6023. since the property also considers parent states. This fixes a bug
  6024. when starting Paint.Net
  6025. 2006-02-02 Jackson Harper <[email protected]>
  6026. * Form.cs: If the forms handle hasn't been created yet don't call
  6027. into xplatui to make it top most, just set the topmost flag on the
  6028. form in CreateParams
  6029. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  6030. 2006-02-01 Jackson Harper <[email protected]>
  6031. * ScrollableControl.cs: Refactored the Recalculate method a
  6032. little, this wasn't handling all the variants of bottom and right
  6033. bars needed to be added and added/removed based on their
  6034. counterparts being added/removed (which changes the drawable
  6035. size). Also we special case client widths and heights of 0 and
  6036. don't add the scrollbar for those.
  6037. 2006-02-01 Peter Dennis Bartok <[email protected]>
  6038. * XplatUIX11.cs:
  6039. - Added method to get AbsoluteGeometry(); currently unused, but might
  6040. be used in the future, if we try again to figure out toplevel
  6041. coordinates with some more crappy window managers
  6042. - Added FrameExtents() method to retrieve the WM set decoration size
  6043. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  6044. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  6045. * Hwnd.cs:
  6046. - Added whacky_wm tracking var for metacity
  6047. - Added logic to have default menu height if the actual menu height
  6048. has not yet been calculated (part of fix for #77426)
  6049. * Form.cs: Keep track whether client size has been set and re-set
  6050. it if a menu is added/removed afterwards (Fixes #77426)
  6051. 2006-01-31 Jackson Harper <[email protected]>
  6052. * Control.cs: When a new Site is set on the component attempt to
  6053. pull the AmbientProperties from it.
  6054. 2006-01-31 Peter Dennis Bartok <[email protected]>
  6055. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  6056. in the background of the owning form. Fixes #77332
  6057. 2006-01-31 Alexander Olk <[email protected]>
  6058. * MimeIcon.cs: Fix for #77409
  6059. 2006-01-31 Alexander Olk <[email protected]>
  6060. * XplatUIX11GTK.cs: Initial import
  6061. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  6062. * FixedSizeTextBox: fixes class signature
  6063. 2006-01-30 Jackson Harper <[email protected]>
  6064. * FixedSizeTextBox.cs: New internal class that represents a
  6065. textBox that will not be scaled.
  6066. * TreeView.cs:
  6067. * ComboBox.cs:
  6068. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  6069. standard TextBox.
  6070. 2006-01-30 Peter Dennis Bartok <[email protected]>
  6071. * XplatUIX11.cs: Retrieve default screen number instead of
  6072. assuming 0. Attempted fix for #77318
  6073. 2006-01-30 Peter Dennis Bartok <[email protected]>
  6074. * XplatUIWin32.cs:
  6075. - GetWindowPos: When a window is parented by FosterParent, use
  6076. the desktop instead of FosterParent as the base to get coordinates
  6077. - CreateWindow: Don't make FosterParent the parent window for Popups
  6078. if we don't want a taskbar entry, Popups automatically don't get one
  6079. * Hwnd.cs: Need to call remove to actually remove the key from the
  6080. hash table
  6081. 2006-01-30 Mike Kestner <[email protected]>
  6082. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  6083. 2006-01-30 Jackson Harper <[email protected]>
  6084. * TreeView.cs:
  6085. * TreeNode.cs: Raise events no matter how the treenode is
  6086. checked. Patch by Don Edvalson.
  6087. 2006-01-30 Jackson Harper <[email protected]>
  6088. * TreeNode.cs: Signature fix.
  6089. 2006-01-29 Alexander Olk <[email protected]>
  6090. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  6091. 2006-01-20 Mike Kestner <[email protected]>
  6092. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  6093. event forwarding when menus are active.
  6094. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  6095. Most of the patch is pdb's with a little rework.
  6096. 2006-01-26 Peter Dennis Bartok <[email protected]>
  6097. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  6098. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  6099. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  6100. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  6101. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  6102. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  6103. the PaintWindowDecorations method
  6104. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  6105. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  6106. * MenuAPI.cs: Made tracker window invisible
  6107. * XplatUIWin32.cs:
  6108. - Removed GetMenuDC and ReleaseMenuDC methods
  6109. - Implemented the client=false path for PaintEventStart and
  6110. PaintEventEnd
  6111. 2006-01-26 Peter Dennis Bartok <[email protected]>
  6112. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  6113. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  6114. styles
  6115. * Form.cs:
  6116. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  6117. the style
  6118. - CreateParams: Reworked the styles to match MS look'n'feel,
  6119. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  6120. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  6121. 2006-01-26 Peter Dennis Bartok <[email protected]>
  6122. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  6123. window is not mapped, since otherwise every form that's being
  6124. created is considered minimized, which is wrong.
  6125. * Form.cs: Catching the exception and returning our internal value
  6126. instead
  6127. 2006-01-26 Peter Dennis Bartok <[email protected]>
  6128. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  6129. SetWindowMinMax() to have means to tell the driver about the minimum,
  6130. maximum and maximized state window sizes. (Part of the fix for #76485)
  6131. * Form.cs:
  6132. - Implemented tracking of minimum and maximum window size, now calling
  6133. new SetWindowMinMax() driver method to tell the driver (Part of the
  6134. fix for #76485)
  6135. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  6136. (Completes fix for #76485)
  6137. - Calling new SetWindowMinMax driver method when the handle for a
  6138. form is created, to make sure the driver knows about it even if
  6139. the values have been set before the window was created
  6140. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  6141. to avoid messing up our anchoring calculations (partial fix
  6142. for #77355)
  6143. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  6144. * XplatUIX11.cs:
  6145. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  6146. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  6147. (and presumably other freedesktop.org compliant WMs). Left the
  6148. assumption unmapped=minimized, needed for SetVisible to work.
  6149. - Now setting the window state when creating windows
  6150. - Fixed SetVisible to consider/set the window state when mapping
  6151. a Form. We cannot set the state before it's mapped, and we cannot
  6152. use Form.WindowState once it's mapped (since it would ask the
  6153. driver and get 'normal'. Therefore, we grab the state before
  6154. mapping, map, and then set state.
  6155. - Implmemented SetWindowMinMax method; Metacity does not seem to
  6156. honor the ZoomHints, though.
  6157. * XplatUIWin32.cs:
  6158. - Removed MINMAXINFO (moved to XplatUIStructs)
  6159. - Added SetWindowMinMax stub (on Win32 the only way to set that
  6160. information is in response to the WM_GETMINMAXINFO message, which
  6161. is handled in Form.cs)
  6162. - Added logic to SetVisible to set the proper window state when a
  6163. form is made visible (fixes #75720)
  6164. 2006-01-26 Jackson Harper <[email protected]>
  6165. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  6166. same way we handle them with Invoke.
  6167. 2006-01-25 Peter Dennis Bartok <[email protected]>
  6168. * Form.cs:
  6169. - Added tracking of window state so CreateParams can return
  6170. the appropriate style
  6171. - Moved setting of WS_CAPTION style in CreateParams to allow
  6172. styles without caption
  6173. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  6174. control if the TextBox property is accessed. Fixes #77345
  6175. * Control.cs:
  6176. - get_Created: now uses is_disposed and is_created to determine
  6177. return value (suggested by Jackson)
  6178. - CreateHandle: No longer exits if the handle is being recreated
  6179. - RecreateHandle: If the handle is not yet created call the
  6180. appropriate method to create either control or handle. If the
  6181. control is already created CreateHandle will simply exit instead
  6182. of just creating the handle
  6183. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  6184. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  6185. is called.
  6186. * XplatUIX11.cs:
  6187. - When DestroyWindow is called, instead of waiting for the
  6188. DestroyNotification from X11, we directly post it to the WndProc
  6189. and immediately dispose the hwnd object.
  6190. Same applies to DestroyChildWindows, and this obsoletes the
  6191. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  6192. child windows before our own, to avoid X11 errors.
  6193. - Removed the direct sending of WM_PAINT on UpdateWindow
  6194. * XplatUIWin32.cs:
  6195. - Reworked DoEvents and GetMessage to allow access to internal queue
  6196. even when trying non-blocking access to the queue. Fixes #77335.
  6197. Based on a patch suggestion by Don Edvalson. The new private
  6198. GetMessage can now also be used as a backend for a PeekMessage
  6199. frontend version.
  6200. * XplatUI.cs: Improved debug output for CreateWindow
  6201. 2006-01-25 Jackson Harper <[email protected]>
  6202. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  6203. 2006-01-24 Jackson Harper <[email protected]>
  6204. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  6205. when we have a MaxDropItems lower then the selected index.
  6206. 2006-01-24 Jackson Harper <[email protected]>
  6207. * Control.cs: Don't allow selection of non visible controls, allow
  6208. selection of controls without parents.
  6209. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  6210. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  6211. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  6212. 2006-01-23 Jackson Harper <[email protected]>
  6213. * UpDownBase.cs: Make the textbox handle all the selection and
  6214. tabbing. This fixes tabing to updown controls.
  6215. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  6216. * TextBoxBase.cs: fixes exception thown the object was null
  6217. 2006-01-23 Jackson Harper <[email protected]>
  6218. * ButtonBase.cs: Just use the base CreateParams. They set
  6219. visibility and enabled correctly.
  6220. * ComboBox.cs:
  6221. * TrackBar.cs:
  6222. * MonthCalendar.cs: Lets let the base set as much of the
  6223. createparams as possible so we don't have duplicate code all over
  6224. the place.
  6225. 2006-01-22 Alexander Olk <[email protected]>
  6226. * ThemeGtk.cs: Added TrackBar and some experimental code to
  6227. get double buffering back
  6228. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  6229. * DataGrid.cs: Allows row number set internally higher than the last
  6230. when creating a new row. Restores the editing functionality.
  6231. 2006-01-20 Mike Kestner <[email protected]>
  6232. * MimeIcon.cs: delay Image creation until the icons are accessed
  6233. instead of creating 190 scaled images on GnomeHandler startup.
  6234. 2006-01-19 Peter Dennis Bartok <[email protected]>
  6235. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  6236. first call base before processing the event. Fixes #77279
  6237. 2006-01-19 Peter Dennis Bartok <[email protected]>
  6238. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  6239. that the stride for the GDI bitmap would match the stride of
  6240. a DIB or a Cursor.
  6241. 2006-01-19 Alexander Olk <[email protected]>
  6242. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  6243. 2006-01-19 Jackson Harper <[email protected]>
  6244. * ComboBox.cs: Hookup the text controls keydown event so we get
  6245. those when the text control has the focus.
  6246. 2006-01-18 Peter Dennis Bartok <[email protected]>
  6247. * Label.cs: Now using the base events instead of defining new ones;
  6248. this allows us to just call the base properties without having to
  6249. duplicate all base property logic
  6250. 2006-01-18 Peter Dennis Bartok <[email protected]>
  6251. * Label.cs: A label by default is not a tabstop (Fixes one of our
  6252. failing nunit tests)
  6253. 2006-01-18 Peter Dennis Bartok <[email protected]>
  6254. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  6255. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  6256. 2006-01-18 Peter Dennis Bartok <[email protected]>
  6257. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  6258. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  6259. This fixes #77218
  6260. * XplatUIWin32.cs:
  6261. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  6262. constructor creates images that can't be saved. Part of the fix
  6263. for #76103
  6264. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  6265. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  6266. bug fix for handling window state in forms properly)
  6267. 2006-01-18 Alexander Olk <[email protected]>
  6268. * ThemeGtk.cs: Simplify ScrollBar drawing
  6269. 2006-01-18 Jackson Harper <[email protected]>
  6270. * Splitter.cs: Set the default dock style for the splitter control
  6271. in the constructor.
  6272. 2006-01-18 Alexander Olk <[email protected]>
  6273. * ThemeGtk.cs: Corrected StateType and ShadowType for
  6274. gtk_paint_box
  6275. 2006-01-18 Alexander Olk <[email protected]>
  6276. * Control.cs: Make use of Theme.DoubleBufferingSupported
  6277. * ThemeGtk.cs:
  6278. - Added drawing for flat style buttons
  6279. - Added ScrollBar drawing
  6280. 2006-01-18 Alexander Olk <[email protected]>
  6281. * ThemeClearlooks.cs: Removed some unneeded code.
  6282. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  6283. 2006-01-17 Peter Dennis Bartok <[email protected]>
  6284. * LinkLabel.cs: We need to update the hover drawing when
  6285. leaving the control as well.
  6286. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  6287. * DataGrid.cs: Clicking on non empty areas in the columns
  6288. area was giving an exception
  6289. 2006-01-17 Jackson Harper <[email protected]>
  6290. * ThemeWin32Classic.cs:
  6291. * ListView.cs: Do not draw/clip the headers when the header style
  6292. is None.
  6293. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  6294. * DataGrid.cs: Fixes 77260
  6295. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  6296. * DataGrid.cs: Clicking on a column on a empty grid was giving
  6297. an exception
  6298. 2006-01-17 Peter Dennis Bartok <[email protected]>
  6299. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  6300. or any keypress will crash the grid.
  6301. 2006-01-17 Mike Kestner <[email protected]>
  6302. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  6303. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  6304. invisible/previously-visible items.
  6305. [Fixes #76909]
  6306. 2006-01-17 Alexander Olk <[email protected]>
  6307. * ThemeClearlooks.cs:
  6308. - Added CL_Draw_Button method; now other theme controls that are
  6309. not derived from button or do not have a button can draw buttons
  6310. too
  6311. - Updated ComboBox drawing
  6312. - Beautified RadioButton drawing
  6313. - Corrected drawing of bottom and left tabs
  6314. - Beautified DateTimePicker and MonthCalendar
  6315. - Added CPDrawButton and CPDrawRadioButton
  6316. 2006-01-16 Jackson Harper <[email protected]>
  6317. * ComboBox.cs: Set the initial value of the scrollbar to the
  6318. current index. Reduce the numbers of refreshs and IndexOfs called.
  6319. 2006-01-14 Alexander Olk <[email protected]>
  6320. * FileDialog.cs: When the file listview is focused hitting the
  6321. backspace key moves the fileview to the parent directory
  6322. 2006-01-13 Peter Dennis Bartok <[email protected]>
  6323. * Form.cs:
  6324. - Added RecreateHandle call when changing taskbar visibility to
  6325. trigger reparenting in Win32 driver (Fixes #75719)
  6326. - If a window has minimize or maximize buttons, it cannot have
  6327. a help button
  6328. * XplatUIWin32.cs:
  6329. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  6330. the toplevel form with FosterParent (A toolwindow not on the
  6331. taskbar) (Fixes #75719)
  6332. - Made FosterParent a toolwindow
  6333. 2006-01-13 Alexander Olk <[email protected]>
  6334. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  6335. 2006-01-13 Alexander Olk <[email protected]>
  6336. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  6337. is currently over that control, make sure that tooltip_window.Text
  6338. gets updated
  6339. 2006-01-13 Mike Kestner <[email protected]>
  6340. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  6341. 2006-01-13 Jackson Harper <[email protected]>
  6342. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  6343. value passed. Also redraw the selected node when we recieve
  6344. focus, so tabbing between trees works correctly.
  6345. 2006-01-13 Alexander Olk <[email protected]>
  6346. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  6347. ~/.gconf/%gconf-tree.xml, so use
  6348. .gconf/desktop/gnome/interface/%gconf.xml
  6349. 2006-01-13 Peter Dennis Bartok <[email protected]>
  6350. * TextControl.cs: Draw text in gray if control is disabled
  6351. 2006-01-13 Peter Dennis Bartok <[email protected]>
  6352. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  6353. make sure it's always visible. Fixes #76680.
  6354. 2006-01-13 Peter Dennis Bartok <[email protected]>
  6355. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  6356. 2006-01-13 Jonathan Chambers <[email protected]>
  6357. * PageSetupDialog.cs: Added.
  6358. * PrintDialog.cs: Attributes.
  6359. * PrintPreviewControl.cs: Updates.
  6360. * PrintPreviewDialog.cs: Updates.
  6361. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6362. * Control.cs: Undid my selection check fix, since it's not needed
  6363. * TextBoxBase.cs:
  6364. - Now considering the presence of hscroll/vscroll when sizing
  6365. vscroll/hscroll respectively. Fixed bug #77077
  6366. - Added Left/Up/Down/Right to IsInputKey list to prevent
  6367. ContainerControl from stealing them. This fixes what I broke
  6368. with my last checkin.
  6369. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6370. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  6371. I finally understand how the property can be set without a setter :-)
  6372. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6373. * Application.cs:
  6374. - Switched RunLoop to use static Message.Create to create a
  6375. Message object
  6376. - Added PreProcessMessage call in runloop for keyboard events; this
  6377. is part of the fix for #77219, I overlooked this originally in the
  6378. MSDN doc for PreProcessMessage
  6379. * Control.cs:
  6380. - Removed call to PreProcessMessage from handling of keyboard
  6381. messages; it's supposed to be done in the message pump
  6382. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  6383. per MSDN documentation.
  6384. - IsInputChar: All chars are input chars by default; removed the
  6385. parent calling chain, MS does not document that
  6386. - PreProcessMessage: If IsInputChar is true, we want to return false
  6387. to allow dispatching of the message
  6388. - When selecting the next control, now also check that we're not
  6389. selecting ourselves again and therefore return a false positive.
  6390. * TextBoxBase.cs:
  6391. - Tried to match return values for IsInputKey and ProcessDialogKey
  6392. to what MS returns; moved processing of our special keys outside
  6393. ProcessDialogKey since MS does not seem to return true on those.
  6394. - Moved code that previously was in ProcessDialogKey into new private
  6395. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  6396. - Reworked handling of WM_CHAR to not have to duplicate code from
  6397. Control.cs anymore, instead we simply call down to base.
  6398. 2006-01-12 Jackson Harper <[email protected]>
  6399. * ComboBox.cs: We always need to refresh the text area when
  6400. EndUpdate is called. Fixes the combobox in the file dialog.
  6401. * Control.cs: Don't create the creator_thread until the controls
  6402. handle is created. Also in InvokeRequired we check if the
  6403. creator_thread is null. This gives the effect of InvokeRequired
  6404. returning true if the controls handle is not created yet, and
  6405. matches MS.
  6406. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6407. * XplatUI.cs:
  6408. - Added StartLoop() driver method. This is used to allow drivers to
  6409. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  6410. loop for a particular thread
  6411. - Added EndLoop() driver method. This is called once the message
  6412. pump for the thread is shut down
  6413. - Added SupportsTransparency method to allow the driver to indicate
  6414. opacity support for windows
  6415. * Form.cs:
  6416. - Removed TODO attribute, completed AllowTransparency property
  6417. - Added documented logic to Opacity
  6418. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  6419. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  6420. versions of CompatibleTextRendering
  6421. * X11Structs.cs: Added opacity atom to our atom enumeration
  6422. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  6423. of a form might be set before it's reparented by the WM, and we need
  6424. the opacity value without calling up to Form)
  6425. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  6426. SupportsTransparency() driver methods
  6427. * Application.cs: Now calling StartLoop and EndLoop driver methods
  6428. * XplatUIX11.cs:
  6429. - Added opacity atom registration
  6430. - Added StartLoop()/EndLoop() methods. They're empty right now but
  6431. will need to get implemented when we switch to a per-thread queue
  6432. - Implemented SupportsTransparency() method
  6433. - Implemented SetWindowTransparency() method
  6434. - Added support for setting the opacity value when a window is
  6435. reparented (since the opacity needs to be set on the WM frame)
  6436. * XplatUIOSX.cs, XplatUIWin32.cs:
  6437. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  6438. 2006-01-12 Alexander Olk <[email protected]>
  6439. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  6440. 2006-01-12 Alexander Olk <[email protected]>
  6441. * FileDialog.cs: Added ToolTip for MWFFileView
  6442. * MimeIcon.cs: Rewrote GnomeHandler.
  6443. - Get currently used gnome icon theme from
  6444. ($HOME)/.gconf/%gconf-tree.xml
  6445. - Make use of inherited icon themes
  6446. - Support SVG icon themes like Tango via librsvg
  6447. 2006-01-12 Miguel de Icaza <[email protected]>
  6448. Revert's Jackson's revert which broke 2.0 builds. Fix both
  6449. builds.
  6450. * Application.cs: Move the use_compatible_text_rendering outside
  6451. the NET_2_0 define. If we ever need to use the
  6452. use_compatible_text_rendering on the individual controls they will
  6453. access the variable from the common shared code paths.
  6454. 2006-01-12 Peter Dennis Bartok <[email protected]>
  6455. * XplatUI.cs:
  6456. - Added more granular debug options
  6457. - Added method to print both window text and id
  6458. - Switched debug output to use new Window() debug method
  6459. - Added IsEnabled() driver method
  6460. - Added EnableWindow() driver method
  6461. * Form.cs:
  6462. - Removed end_modal; no longer needed, new loop handles termination
  6463. via 'closing' variable
  6464. - If form is modal, setting DialogResult will now initiate loop
  6465. termination via 'closing' variable
  6466. - Added support for is_enabled/WS_DISABLED to CreateParams
  6467. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  6468. does all the work
  6469. - Removed code that's now in RunLoop from ShowDialog()
  6470. - Added various documented sanity checks to ShowDialog()
  6471. - Added handling of WM_DESTROY message; we set 'closing' on getting
  6472. the message to indicate the message pump to terminate
  6473. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  6474. send by the Application.ExitThread method. (We send the message
  6475. to destroy the window after all other events have been
  6476. processed through the queue, instead of destroying the handle
  6477. directly)
  6478. - Moved code from Close() method to WM_CLOSE handler; added logic
  6479. to only send close-related events if the form is not displayed
  6480. modal
  6481. * Splitter.cs (..ctor): Fixed typo in resource name
  6482. * Control.cs:
  6483. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  6484. brush now
  6485. - set_Cursor: Now only setting calling into XplatUI if the handle for
  6486. the control is already created; this avoids implict handle creation
  6487. or crashes if it's not created
  6488. - set_Enabled: Now setting the enabled state via the new driver method
  6489. instead of just tracking it
  6490. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  6491. - CreateControl: Reordered event firing and method calls to more
  6492. closely fire events in the order MS does. Now setting the
  6493. enabled state in the driver when creating the control.
  6494. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  6495. match MS order
  6496. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  6497. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  6498. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  6499. * Hwnd.cs:
  6500. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  6501. - Added EnabledHwnd property to easily allow a driver to find the
  6502. handle of the first enabled window in the parent chain (this is
  6503. used by drivers to pass up input events of disabled windows)
  6504. * XplatUIDriver.cs: Added IsEnabled() method
  6505. * Application.cs:
  6506. - Removed crude and obsolete exiting tracking variable
  6507. - Removed internal ModalRun(); replaced by RunLoop()
  6508. - Implemented private CloseForms() method to allow closing all
  6509. windows owned by a particular (or all) threads
  6510. - Exit() now properly closes all windows without forcing the message
  6511. pump to quit
  6512. - Removed obsolete InternalExit() method
  6513. - Changed Run() methods to use new RunLoop() message pump
  6514. - Implemented new RunLoop() method for both modal and non-modal forms
  6515. * CommonDialog.cs:
  6516. - get_CreateParams: Added setting of WS_DISABLED
  6517. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  6518. invoked via Form.ShowDialog()
  6519. * NativeWindow.cs: We don't remove the window from the collection when
  6520. the handle is destroyed; there might still be messages for it in the
  6521. queue (mainly the resulting WM_DESTROY); instead it will be removed
  6522. when Control calls InvalidateHandle in the WM_DESTROY handler
  6523. * XplatUIX11.cs:
  6524. - CreateWindow: Added logic to handle the WS_DISABLED window style
  6525. - EnableWindow: Implemented based on Hwnd.Enabled
  6526. - GetMessage: Reset PostQuitState so the method can be called again
  6527. - Implemented support for disabled windows (passing messages to the
  6528. first enabled parent) in handling all input messages
  6529. - Added optimizations for handling Expose events
  6530. - Implemeted new driver method IsEnabled()
  6531. - Now always resetting paint pending tracking vars when we start paint
  6532. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  6533. * XplatUIOSX.cs: Added IsEnabled method stub
  6534. * XplatUIWin32.cs: Implemented new IsEnabled() method
  6535. 2006-01-11 Jackson Harper <[email protected]>
  6536. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  6537. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  6538. variables a little.
  6539. * ColorDialog.cs: Clear out the old form before adding the new
  6540. panel.
  6541. 2006-01-11 Jackson Harper <[email protected]>
  6542. * X11Dnd.cs: Make sure to add all the text formats when adding
  6543. strings to the data object.
  6544. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  6545. do some redrawing too. Also change the UpdateNode to an
  6546. UpdateBelow so the newly added node gets painted.
  6547. 2006-01-11 Miguel de Icaza <[email protected]>
  6548. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  6549. LinkLabel.cs, PropertyGrid.cs: Implement the
  6550. UseCompatibleTextRendering property for 2.x
  6551. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  6552. 2006-01-11 Jackson Harper <[email protected]>
  6553. * TreeView.cs: Use the property for setting the selected node so
  6554. the correct events get raised.
  6555. * TreeNode.cs: Update the tree when the fore/back colours of a
  6556. node are set.
  6557. 2006-01-10 Jackson Harper <[email protected]>
  6558. * TreeView.cs: Allow setting SelectedNode to null.
  6559. 2006-01-9 Jonathan Chambers <[email protected]>
  6560. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  6561. 2006-01-9 Jonathan Chambers <[email protected]>
  6562. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  6563. 2006-01-9 Jonathan Chambers <[email protected]>
  6564. * PrintDialog.cs: Added attributes and set default property values.
  6565. 2006-01-9 Jonathan Chambers <[email protected]>
  6566. * PrintControllerWithStatusDialog.cs:
  6567. Added PrintControllerWithStatusDialog.
  6568. 2006-01-9 Jonathan Chambers <[email protected]>
  6569. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  6570. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  6571. 2006-01-9 Jonathan Chambers <[email protected]>
  6572. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  6573. 2006-01-09 Jonathan Chambers <[email protected]>
  6574. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  6575. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  6576. 2006-01-08 Alexander Olk <[email protected]>
  6577. * MimeIcon.cs: Added internal class SVGUtil.
  6578. 2006-01-08 Alexander Olk <[email protected]>
  6579. * FileDialog.cs: Don't crash if there are two files with the
  6580. same name but different locations.
  6581. 2006-01-08 John BouAntoun <[email protected]>
  6582. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  6583. dates across multiple month grids. Used to not highlight entire
  6584. month, but does now.
  6585. 2006-01-06 Jackson Harper <[email protected]>
  6586. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  6587. message loop. Change timer intervals to numbers that seem more
  6588. natural.
  6589. 2006-01-06 John BouAntoun <[email protected]>
  6590. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  6591. object for location info since screen object is now implemented.
  6592. 2006-01-05 Jackson Harper <[email protected]>
  6593. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  6594. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  6595. AsyncMethodResult, this is because we ALWAYS want the
  6596. ManualResetEvent to get set.
  6597. * Control.cs: When disposing use an async invoke to call shutdown
  6598. code, so that thigns don't block on the finalizer thread. Also
  6599. check if we even have a message loop before trying to send
  6600. messages, if we don't then don't bother sending messages.
  6601. - No more weak references for async methods
  6602. * XplatUIDriver.cs: No more weak references for async methods.
  6603. 2006-01-04 Alexander Olk <[email protected]>
  6604. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  6605. returns two FontFamily with the same name
  6606. 2006-01-04 Peter Dennis Bartok <[email protected]>
  6607. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  6608. drawing disabled text. Instead using the ColorGrayText color
  6609. 2006-01-04 Jackson Harper <[email protected]>
  6610. * TreeNode.cs: redraw the node when its image index is changed.
  6611. 2006-01-04 Peter Dennis Bartok <[email protected]>
  6612. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  6613. time I checked there are no others like it.
  6614. 2006-01-04 Jackson Harper <[email protected]>
  6615. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  6616. this gives the behavoir I was looking for.
  6617. * Control.cs: Special case Invoking EventHandlers, this matches MS
  6618. and fixes part of bug #76326.
  6619. 2006-01-04 Alexander Olk <[email protected]>
  6620. * ThemeClearlooks.cs, FileDialog.cs:
  6621. - Reflect the latest Theme class changes
  6622. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  6623. with DateTime
  6624. 2006-01-04 Alexander Olk <[email protected]>
  6625. * Theme.cs: Cache UI resource images and resize them if needed
  6626. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6627. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  6628. is called. This fixes the crash in Nexxia when setting the font
  6629. attributes in the chat. [However, RTF needs a look-over to make sure
  6630. that all SelectionXXX methods handle the special case that selection
  6631. is empty and therefore the change must be applied to all text starting
  6632. at the cursor/selection start]
  6633. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6634. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6635. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  6636. * X11Keyboard.cs: Switched to new way of calling PostMessage
  6637. 2006-01-03 Peter Dennis Bartok <[email protected]>
  6638. * Theme.cs: Added theme interface for images to allow the theme to
  6639. control what images are used for things like FileDialog, MessageBox
  6640. icons, etc.
  6641. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  6642. 2006-01-03 Alexander Olk <[email protected]>
  6643. * FileDialog.cs:
  6644. - Removed some dead code
  6645. - Opening a recently used file does work now
  6646. - Small UI enhancements
  6647. - Refactoring
  6648. 2006-01-02 Alexander Olk <[email protected]>
  6649. * FileDialog.cs: Forgot too add __MonoCS__
  6650. 2006-01-02 Alexander Olk <[email protected]>
  6651. * FileDialog.cs: We are able to read recently used files now let's
  6652. go on and write them.
  6653. 2006-01-01 Alexander Olk <[email protected]>
  6654. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  6655. button
  6656. * MimeIcon.cs: Do a check for the top level media type also
  6657. 2005-12-31 Alexander Olk <[email protected]>
  6658. * ThemeClearlooks.cs:
  6659. - Added CPDrawStringDisabled
  6660. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  6661. some chars if the text doesn't fit into text_rect
  6662. - DrawListViewItem: If View = View.LargeIcon center the image;
  6663. rewrote the drawing of ListViewItem.Text if View =
  6664. View.LargeIcon
  6665. 2005-12-31 Alexander Olk <[email protected]>
  6666. * MimeIcon.cs: Use default KDE icon theme if there is no
  6667. "48x48" directory for the current icon theme, fixes #77114
  6668. * Mime.cs: Disable not working and actually not used code.
  6669. * ThemeWin32Classic.cs:
  6670. - Replace "new SolidBrush" in GetControlBackBrush and
  6671. GetControlForeBrush with ResPool.GetSolidBrush
  6672. - Changed DrawListViewItem from private to protected virtual
  6673. * FileDialog.cs:
  6674. - Added form.MaximizeBox = true
  6675. - Don't throw an exception if there is a broken symbolic link
  6676. 2005-12-23 Jackson Harper <[email protected]>
  6677. * TabControl.cs: Give the panels focus, keyboard navigation is
  6678. fixed so this works correctly now.
  6679. - We need these key events also.
  6680. * ToolBar.cs: Remove some of the poor mans double buffering.
  6681. 2005-12-24 Alexander Olk <[email protected]>
  6682. * ComboBox.cs: The internal TextBox now returns the focus.
  6683. 2005-12-23 Jackson Harper <[email protected]>
  6684. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  6685. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6686. * Control.cs: Removed debug code
  6687. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  6688. implicit children
  6689. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6690. * Control.cs: When creating the control, update the Z-order after
  6691. all it's children are created, too. (Fixes nexxia not showing
  6692. picturebox bug)
  6693. 2005-12-23 Peter Dennis Bartok <[email protected]>
  6694. * Control.cs: Do not update the anchoring distances if layout is
  6695. suspended, instead do it once layout is resumed
  6696. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6697. * Control.cs:
  6698. - After many hours of debugging, for both Jackson and
  6699. myself, it turns out that it helps to set the parent of a control
  6700. if you want to actually see it onscreen. In the spirit of that
  6701. discovery, we're now setting the parent of the control and
  6702. it's children when the control's handle is created. This fix
  6703. will make Lutz Roeder's Reflector run happily.
  6704. - now just creating the handle instead of the whole control when
  6705. getting a graphics context for the control.
  6706. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6707. * ScrollableControl.cs: When calculating the canvas, don't consider
  6708. the scrollbar widths. Instead, predict if horizontal scrollbar
  6709. will affect canvas when deciding on vertical display and vice versa.
  6710. 2005-12-22 Peter Dennis Bartok <[email protected]>
  6711. * RichTextBox.cs: Set default RTF font for documents that don't
  6712. have a font table (Fixes #77076)
  6713. 2005-12-22 Jackson Harper <[email protected]>
  6714. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  6715. clipboard. This prevents a NullRef in that case.
  6716. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  6717. clipboard. PRIMARY is for the currently selected text only. (We
  6718. should implement PRIMARY at some point.
  6719. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6720. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  6721. a Unicode function with a structure that was defined in Ansi way.
  6722. This fixes #76942.
  6723. 2005-12-21 Jackson Harper <[email protected]>
  6724. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  6725. on. Because thats how it rolls. (and this avoids it using ambient
  6726. colours).
  6727. * ThemeWin32Classic.cs: Use the proper back color for filling.
  6728. * Menu.cs: Use the system menu bar color for drawing menu
  6729. bars. Using the window back color will bring ambient colours into
  6730. the picture.
  6731. 2005-12-21 Alexander Olk <[email protected]>
  6732. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  6733. Bitmaps were created and not disposed.
  6734. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6735. * Control.cs (CreateControl): Don't do anything if the control is
  6736. already created, otherwise we'd fire the OnCreated event more than
  6737. once
  6738. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6739. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  6740. will always match. Instead return -1. Fixes #76464.
  6741. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6742. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  6743. neither the beginning nor the end of the line (Fixes bug #76479)
  6744. 2005-12-21 Peter Dennis Bartok <[email protected]>
  6745. * Control.cs:
  6746. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  6747. where handle is invalid
  6748. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  6749. instead of slower linear search
  6750. * NativeWindow.cs: Don't remove the window from the hashtable until
  6751. after the driver has destroyed it (since the driver might use
  6752. Control.FromHandle to lookup the control object
  6753. * Hwnd.cs: Added DestroyPending property to track if a window is
  6754. already destroyed as far as the driver is concerned and only hasn't
  6755. yet notified the control
  6756. * XplatUIX11.cs:
  6757. - Activate(): Check if the window is still valid before using the
  6758. handle
  6759. - Implemented DestroyChildWindow() method to mark child windows as
  6760. destroyed when a window is destroyed. This prevents situations
  6761. where we might call an X method based on queued events for a
  6762. window that already has been destroyed but we haven't yet pulled
  6763. the destroy method from the queue.
  6764. - Added a call to the new DestroyChildWindow() method to the drivers
  6765. DestroyWindow code. Also now marking the destroyed window itself
  6766. as pending
  6767. 2005-12-20 Jackson Harper <[email protected]>
  6768. * StatusBar.cs:
  6769. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  6770. anymore. Just do them when needed, also track the rects of panels
  6771. so that we can optimize refreshing more in the future.
  6772. 2005-12-20 Alexander Olk <[email protected]>
  6773. * ColorDialog.cs: Fixed focus drawing in small color controls
  6774. 2005-12-19 Jackson Harper <[email protected]>
  6775. * InternalWindowManager.cs:
  6776. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  6777. moving windows works properly.
  6778. 2005-12-19 Peter Dennis Bartok <[email protected]>
  6779. * Control.cs:
  6780. - Removed call to InitLayout() from SetBoundsCore(); doc says
  6781. it's only called when a control is added to a container
  6782. - Split InitLayout logic, moved to separate UpdateDistances() method
  6783. since we need to perform those calculations more often than just
  6784. when adding the control to a container. (Needed to fix #77022)
  6785. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  6786. - Reduced the OnBindingContextChanged events count, don't send them
  6787. unless the control is created, we still aren't totally matching
  6788. MS, but I can't quite figure out some of their rules
  6789. 2005-12-18 Alexander Olk <[email protected]>
  6790. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  6791. stripes
  6792. 2005-12-18 Alexander Olk <[email protected]>
  6793. * ThemeClearlooks.cs:
  6794. - Updated ProgressBar drawing
  6795. - Corrected drawing of ScrollBars and scroll buttons
  6796. - Some temporary fixes for minor pixel artefacts
  6797. 2005-12-18 Peter Dennis Bartok <[email protected]>
  6798. * Control.cs:
  6799. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  6800. cause events to be sent in the same order as MS does.
  6801. - Added ChangeParent() method to trigger various OnXXXChanged events
  6802. that need to be fired when a parent changes (This is a reworking
  6803. of the patch from r54254, with the X11 errors fixed)
  6804. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  6805. since on MS we get OnLayoutChanged events when calling Clear()
  6806. - Changed Enabled property to consider parent state as well, if a
  6807. parent is not enabled, the control will not be either
  6808. - Changed Parent property to simply call Controls.Add() since that
  6809. now does all the work required, this way we avoid code duplication
  6810. - Threw in a few OnBindingsContextChanged calls to try and match
  6811. when MS sends them. We seem to send a few too many, though.
  6812. - Added call to CreateControl when adding the control to a parent.
  6813. We were never calling CreateControl. Still needs some work, in
  6814. some places we treat HandleCreated and ControlCreated as equal,
  6815. which is wrong
  6816. - Removed obsolete commented out code from UpdateZOrder()
  6817. 2005-12-18 Alexander Olk <[email protected]>
  6818. * ThemeClearlooks.cs: Updated TrackBar drawing.
  6819. 2005-12-17 Alexander Olk <[email protected]>
  6820. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  6821. 2005-12-17 Alexander Olk <[email protected]>
  6822. * FileDialog.cs: Add the Help button and the open readonly
  6823. checkbox only if needed
  6824. 2005-12-16 Jackson Harper <[email protected]>
  6825. * Control.cs: Make sure we have an active menu before trying to
  6826. process commands on it. Prevents menu-less forms from crashing
  6827. when Alt is pressed.
  6828. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  6829. Dieter Bremes.
  6830. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  6831. 2.0 build.
  6832. 2005-12-16 Jackson Harper <[email protected]>
  6833. * InternalWindowManager.cs: Don't translate tool windows screen
  6834. coordinates. This fixes windows 'bouncing' around when being moved.
  6835. 2005-12-15 Peter Dennis Bartok <[email protected]>
  6836. * TextBoxBase.cs:
  6837. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  6838. not quite MS compatible, MS uses that number only for single line
  6839. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  6840. the limit at 2GB)
  6841. - Now enforcing the MaxLength limit when entering characters
  6842. - Added argument to internal Paste() method to track if it's called
  6843. from programatically or via keyboard, since keyboard driven pastes
  6844. need to enforce max-length
  6845. - Added logic to Paste to only paste as many chars as MaxLength
  6846. allows
  6847. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  6848. * TextControl.cs:
  6849. - Added Length property to return number of characters in document
  6850. - Added private CharCount property which only tracks actual chars
  6851. in the document (no linefeeds) and fires event when CharCount
  6852. changes
  6853. - Added tracking of character count to all methods that alter it
  6854. - Added LengthChanged event to allow applications to subscribe
  6855. to any changes to the document
  6856. 2005-12-15 Peter Dennis Bartok <[email protected]>
  6857. * TextBox.cs:
  6858. - Removed local password_char field (moved to TextBoxBase)
  6859. - Now setting the document's password var when password is
  6860. set
  6861. * TextBoxBase.cs:
  6862. - Added password_char field (needed here so MultiLine can
  6863. access it)
  6864. - Added logic to MultiLine property setter to set the document's
  6865. variable when password display is allowed
  6866. - Removed debug code and made some debug code conditional
  6867. * TextControl.cs:
  6868. - Added RecalculatePasswordLine() method to handle special password
  6869. char only lines
  6870. - Added PasswordChar property, also added related tracking vars
  6871. - Draw() method now uses local text var for grabbing text to draw,
  6872. this var is set to line.text unless we're doing password display,
  6873. then it is set to the pre-generated all-password-chars line
  6874. - Added calling RecalculatePasswordLine() method for password lines
  6875. 2005-12-14 Peter Dennis Bartok <[email protected]>
  6876. * Hwnd.cs:
  6877. - Added Reparented property to allow tracking of Window Manager
  6878. reparenting actions (which affect X/Y calculations of toplevel
  6879. windows)
  6880. - Made ToString() print window handles in hex
  6881. * XplatUIX11.cs:
  6882. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  6883. determine if X/Y needs offsetting
  6884. - AddConfigureNotify(): Fixed offset calculations
  6885. - Now adds ReparentNotify messages into the queue
  6886. - Now processes ReparentNotify messages and causes a
  6887. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  6888. is reparented (as most likely it's X/Y coordinates are changed
  6889. due to that)
  6890. 2005-12-14 Jackson Harper <[email protected]>
  6891. * XplatUIX11.cs: Tool windows still need to respek focus.
  6892. 2005-12-14 Peter Dennis Bartok <[email protected]>
  6893. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  6894. have a working release
  6895. 2005-12-13 Jackson Harper <[email protected]>
  6896. * Form.cs: Update styles after setting the border style regardless
  6897. of whether or not the window is using a window manager.
  6898. 2005-12-13 Jackson Harper <[email protected]>
  6899. * Form.cs: We now hook into an internal window manager instead of just an
  6900. MDI subsystem, this is so we can have properly behaving tool windows.
  6901. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  6902. * InternalWindowManager.cs: New internal class that acts as a
  6903. window manager for tool windows and as a base for mdi windows.
  6904. * MdiWindowManager.cs: New class that acts as a window manager for
  6905. mdi windows.
  6906. 2005-12-12 Jackson Harper <[email protected]>
  6907. * Control.cs: Updates so we match behavoir for for implicit
  6908. controls. Fixes explosions in MDI.
  6909. 2005-12-12 Jackson Harper <[email protected]>
  6910. * Control.cs: Implement Invalidate (Region).
  6911. 2005-12-12 Peter Dennis Bartok <[email protected]>
  6912. * Control.cs:
  6913. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  6914. the same events as MS does. MS fires events for each property
  6915. except, for unknown reasons, Cursor, when the control is reparented.
  6916. I can't seem to totally match add/remove since MS also fires some
  6917. VisibleChanged events, which makes no sense. Consolidated the
  6918. parenting code into a separate method so it can be called from
  6919. both Add and Remove. set_Parent no longer needs any special logic
  6920. as it calls the parent's add method which implicitly fires
  6921. all events
  6922. - Removed some obsolete code and debug output
  6923. - Enabled state is inherited from parents, if this is enabled
  6924. 2005-12-08 Peter Dennis Bartok <[email protected]>
  6925. * Form.cs: Removed commented out code
  6926. 2005-12-08 Peter Dennis Bartok <[email protected]>
  6927. * Control.cs:
  6928. - Added internal version of Invoke, with additional argument
  6929. indicating if we're calling it from a Dispose() handler. That
  6930. way we can avoid BeginInvoke throwing an exception if we're
  6931. calling for an already destroyed window.
  6932. - Added a dispose argument to BeginInvokeInternal, and made the
  6933. check if a valid window handle chain exists conditional on
  6934. it not being a dispose call
  6935. - Removed code in DestroyHandle to destroy our children. Since we
  6936. now handle the WM_DESTROY message we will catch all our children
  6937. being destroyed.
  6938. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  6939. * Form.cs:
  6940. - Added a field to track the application context of the form.
  6941. - No need to set closing variable as response to WM_CLOSE, instead
  6942. we destroy the window. We also call PostQuitMessage if the form
  6943. has an application context (which makes it the main app form,
  6944. which, when closed terminates the app)
  6945. * XplatUI.cs:
  6946. - Dropped Exit() method, it's naming was confusing
  6947. - Added PostQuitMessage() which causes GetMessage to return false
  6948. once the message queue is empty
  6949. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  6950. PostQuitMessage()
  6951. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  6952. no longer a valid XplatUI method, but left it in since it's used
  6953. internally. Added empty PostQuitMessage() method.
  6954. * MenuAPI.cs: Replaced call to Exit() with call to
  6955. PostQuitMessage, even though this is probably no longer needed.
  6956. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  6957. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  6958. * Application.cs:
  6959. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  6960. - Removed old debug code that would call XplatUI for exception
  6961. display, enabled standard exception handling (Still not enabled
  6962. though, until NativeWindow's ExternalExceptionHandler define
  6963. is removed
  6964. * NativeWindow.cs:
  6965. - Added internal method to allow control to update NativeWindow
  6966. after a window has been destroyed
  6967. - Added handling of already destroyed windows when calling i
  6968. DestroyWindow
  6969. - Added removal of handle from list on ReleaseHandle
  6970. * XplatUIX11.cs:
  6971. - Dropped GetMessageResult var and related code
  6972. - Added PostQuitState to field to track if PostQuitMessage has been
  6973. called
  6974. - Dropped Exit() method
  6975. - Added PostQuitMessage() method
  6976. - GetMessage now will return false if PostQuitState is set and no
  6977. more messages are in the queue.
  6978. - Expose handler will no longer generate WM_PAINT messages if we are
  6979. in PostQuitState since it's very likely any windows have already
  6980. been destroyed, and since Hwnd won't get updated until we have
  6981. processed the DestroyNotify we'd be causing X errors.
  6982. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6983. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  6984. Thanks to Mike for pointing out the err of my ways.
  6985. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6986. * Control.cs(PreProcessMessage): Moved menu handling back, but
  6987. after all other key handling, to match MS (who handles Menu in
  6988. DefWndProc)
  6989. * Menu.cs (WndProc): Removed my brainfart
  6990. 2005-12-07 Peter Dennis Bartok <[email protected]>
  6991. * Control.cs(PreProcessMessage): Removed special menu handling
  6992. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  6993. 2005-12-07 Mike Kestner <[email protected]>
  6994. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  6995. state according in tracker.
  6996. * Menu.cs : promote tracker field to base class and provide a tracker
  6997. lookup capability. Add/Remove shortcuts dynamically if the top menu
  6998. has a tracker. Unparent items that are removed from the collection.
  6999. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  7000. * Theme*.cs: add always_show_hotkeys field to support configurability
  7001. of mnemonic display. win32 doesn't show mnemonics until Alt is
  7002. pressed.
  7003. 2005-12-07 Jackson Harper <[email protected]>
  7004. * MdiChildContext.cs: Use Control.ResetCursor.
  7005. * Control.cs: ResetCursor needs to set the property so that the
  7006. correct XplatUI call gets made.
  7007. 2005-12-07 Peter Dennis Bartok <[email protected]>
  7008. * Control.cs: More fixes to make our key events match MS. We
  7009. were not setting the modifier state on KeyData, and we were
  7010. not generating any events when Alt was pressed with a key
  7011. since handling of WM_SYSxxx was missing for the OnKey methods.
  7012. 2005-12-07 Jackson Harper <[email protected]>
  7013. * MdiChildContext.cs: reenable the sizing code.
  7014. - When the mouse leaves a window reset its cursor.
  7015. 2005-12-07 Alexander Olk <[email protected]>
  7016. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  7017. 2005-12-07 Peter Dennis Bartok <[email protected]>
  7018. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  7019. widths of Fixed3D borders
  7020. 2005-12-07 Jackson Harper <[email protected]>
  7021. * MdiClient.cs: Fix warnings. Earn Mike's love.
  7022. 2005-12-07 Alexander Olk <[email protected]>
  7023. * ThemeClearlooks.cs:
  7024. - Adjusted mouse over button color
  7025. - Added first parts of CheckBox drawing
  7026. - Added correct color for selected text background
  7027. - Fixed ComboBox drawing
  7028. - Added CPDrawBorder3D and CPDrawBorder
  7029. 2005-12-06 Peter Dennis Bartok <[email protected]>
  7030. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  7031. 2005-12-06 Peter Dennis Bartok <[email protected]>
  7032. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  7033. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  7034. alert users via sound. We could add an enum arg with different
  7035. types of alerts in the future
  7036. 2005-12-06 Peter Dennis Bartok <[email protected]>
  7037. * Control.cs: Fix behaviour problems pointed out by Mike
  7038. 2005-12-05 Mike Kestner <[email protected]>
  7039. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  7040. prop setters. Calls parent.Refresh for now, but could be maybe be
  7041. optimized with an internal method on StatusBar at some point.
  7042. [Fixes #76513]
  7043. 2005-12-05 Peter Dennis Bartok <[email protected]>
  7044. * RichTextBox.cs: Implemented get_SelectionColor
  7045. 2005-12-05 Alexander Olk <[email protected]>
  7046. * ThemeClearlooks.cs:
  7047. - Removed dead code
  7048. - Draw black button border only if button is Form.AcceptButton
  7049. - Draw correct button color for pressed RadioButton if the mouse
  7050. has entered the button
  7051. - Updated ProgressBar drawing!
  7052. - Updated CPDrawSizeGrip drawing
  7053. - Updated StatusBarPanel drawing
  7054. 2005-12-05 Mike Kestner <[email protected]>
  7055. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  7056. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  7057. 2005-12-04 Alexander Olk <[email protected]>
  7058. * ThemeClearlooks.cs: Initial check-in, activate with
  7059. export MONO_THEME=clearlooks
  7060. * ThemeEngine.cs: Added ThemeClearlooks
  7061. 2005-12-03 Mike Kestner <[email protected]>
  7062. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  7063. [Fixes #76897]
  7064. 2005-12-02 Jackson Harper <[email protected]>
  7065. * Form.cs: If the child form has no menu the default main menu is
  7066. used as the active menu.
  7067. 2005-12-02 Peter Dennis Bartok <[email protected]>
  7068. * ListBox.cs: Check if any items exist before trying to resolve
  7069. coordinates into items
  7070. 2005-12-02 Peter Dennis Bartok <[email protected]>
  7071. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  7072. as the second color for the background hatch
  7073. 2005-12-02 Peter Dennis Bartok <[email protected]>
  7074. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  7075. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  7076. sure that what we pass to FormatText is always 1-based. Fixes #76885
  7077. 2005-11-29 Miguel de Icaza <[email protected]>
  7078. * NumericUpDown.cs (EndInit): When we are done initializing,
  7079. reflect any updates on the UI.
  7080. 2005-12-02 Jackson Harper <[email protected]>
  7081. * ImplicitHScrollBar.cs:
  7082. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  7083. their container controls.
  7084. * TreeView.cs: Use the new implicit scrollbars.
  7085. 2005-12-02 Jackson Harper <[email protected]>
  7086. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  7087. can play with it.
  7088. * TreeNodeCollection.cs: If we remove the topnode we need to
  7089. update topnode to the next node in line.
  7090. - When clearing nodes go through the same process as removing
  7091. them, so they get depareneted and checked if they are top node.
  7092. 2005-12-01 Jackson Harper <[email protected]>
  7093. * TreeView.cs: When imagelists are used the image area is
  7094. selectable as well as the text.
  7095. - If there are no selected nodes select the first one.
  7096. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  7097. so don't do it more then we need to.
  7098. 2005-12-01 Jackson Harper <[email protected]>
  7099. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  7100. that arrows can be scaled.
  7101. 2005-12-01 Jackson Harper <[email protected]>
  7102. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  7103. fail. Patch by Dieter Bremes
  7104. 2005-11-30 Jackson Harper <[email protected]>
  7105. * Form.cs: Property is 2.0 only
  7106. * PrintDialog.cs: Signature fix.
  7107. 2005-11-30 Peter Dennis Bartok <[email protected]>
  7108. * TextControl.cs:
  7109. - No longer artificially moves text 2 pixels down (now that we have
  7110. borders this is no longer needed)
  7111. - Added calcs for left, hanging and right indent
  7112. 2005-11-23 Mike Kestner <[email protected]>
  7113. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  7114. 2005-11-30 Jackson Harper <[email protected]>
  7115. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  7116. get cloned as part of CloneMenu ().
  7117. * Menu.cs: Make sure the parent of the items get set correctly
  7118. when they are added. And the owners are notified of the changes.
  7119. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  7120. we can change the menu being displayed/handled by the form without
  7121. changing the menu assosciated with the form.
  7122. - Don't let Mdi children draw/handle menus.
  7123. 2005-11-30 Jackson Harper <[email protected]>
  7124. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  7125. a MenuChanged event. Just to make the API a little more
  7126. consistent.
  7127. * MainMenu.cs:
  7128. * MenuItem.cs: Use the new OnMenuChanged
  7129. * MdiChildContext.cs: Handle menu merging.
  7130. * Form.cs: Implement MergedMenu.
  7131. 2005-11-30 Jackson Harper <[email protected]>
  7132. * Menu.cs: We were misusing Add. Add goes behind the specified
  7133. index according to the docs, and does not replace the specified
  7134. index. So I added an Insert method.
  7135. 2005-11-30 Peter Dennis Bartok <[email protected]>
  7136. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  7137. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  7138. is for Jackson
  7139. * RichTextBox.cs: Added calls to base for DnD events
  7140. 2005-11-28 Peter Dennis Bartok <[email protected]>
  7141. * TextControl.cs:
  7142. - Fixed drag-selection related crash; style fixes
  7143. - Implemented undo class
  7144. o Implemented method to capture document state for specified
  7145. range in document tree
  7146. o Implemented method to restore captured document state
  7147. o Implemented cursor tracking
  7148. o Implemented basic undo stack
  7149. - Added undo cursor tracking to methods altering cursor location
  7150. - Added undo tracking to selection deletion (still missing
  7151. other text-altering hookups)
  7152. * RichTextBox.cs:
  7153. - Added SelectionLength property
  7154. - Implemented CanPaste()
  7155. - Implemented Paste()
  7156. - Added missing protected methods
  7157. - Fixed RTF->Document conversion; now uses font index 0 and color
  7158. index 0 as the default font for the parsed text
  7159. - Fixed RTF<->Document font size translation
  7160. - Fixed RTF generation, now properly handles cross-tag boundaries
  7161. for single line selection
  7162. - No longer always appends blank line to generated RTF
  7163. - Removed TODOs
  7164. - Added missing attributes
  7165. - Hooked up undo-related methods
  7166. * TextBoxBase.cs:
  7167. - Implemented Copy()
  7168. - Implemented Paste()
  7169. - Implemented Cut()
  7170. - Fixed caret mis-behaviour on backspace across line-boundaries
  7171. 2005-11-29 Jackson Harper <[email protected]>
  7172. * MdiClient.cs: Add a method for activating mdi children. Very
  7173. basic right now. I imagine someday it might need more girth.
  7174. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  7175. children windows names are added to the menu item.
  7176. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  7177. mdilist. This happens regardless of whether or not there are any
  7178. mdi windows to see in the list, and according to my tests happens
  7179. before the items are even added. Also happens if there isn't even
  7180. an mdi client to get windows from.
  7181. 2005-11-29 Alexander Olk <[email protected]>
  7182. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  7183. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  7184. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  7185. * DataGridTableStyle.cs:
  7186. - Create always the styles for the missing columns even if they are
  7187. provided by the user (not default table style)
  7188. * DataGrid.cs:
  7189. - Fixes bug 76770
  7190. - Fixes SetDataBinding (always re-attach source)
  7191. - Fixes SetNewDataSource (only clear styles if they are not for
  7192. this source)
  7193. - Expands OnTableStylesCollectionChanged to handle style refresh
  7194. and remove properly
  7195. 2005-11-29 Jackson Harper <[email protected]>
  7196. * FileDialog.cs: Implement missing bits, remove some dead
  7197. code.
  7198. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  7199. creation of the panel so that the options set on the dialog are
  7200. seen when the panel is created.
  7201. * TreeView.cs: raise a click when items are clicked.
  7202. 2005-11-29 Jackson Harper <[email protected]>
  7203. * MdiClient.cs: Pass some signature methods through to base.
  7204. 2005-11-28 Jackson Harper <[email protected]>
  7205. * ListView.cs: Raise the click event when items are clicked.
  7206. 2005-11-28 Jackson Harper <[email protected]>
  7207. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  7208. a nullref.
  7209. 2005-11-27 Alexander Olk <[email protected]>
  7210. * ThemeNice.cs: - Removed 1 pixel bitmaps
  7211. - Use SmoothingMode.AntiAlias where it makes sense
  7212. (ScrollButton arrow for example)
  7213. - Enhanced Button focus drawing
  7214. - Fixed ComboBox drawing (no artefacts anymore, focus
  7215. rectangle is back again, reduced size of ComboButton, etc.)
  7216. - Fixed RadioButton focus drawing for Appearence.Button
  7217. - Slight ScrollButton redesign
  7218. - Some LinearGradientBrush size fixes
  7219. - GroupBoxes have now rounded edges
  7220. - Fixed StatusBar drawing
  7221. 2005-11-25 Alexander Olk <[email protected]>
  7222. * ThemeNice.cs: - Remove dead code
  7223. - use correct background colors for menus, etc.
  7224. - Fake pixel drawing with 1 pixel bitmaps
  7225. 2005-11-24 Jackson Harper <[email protected]>
  7226. * MdiClient.cs: Size the scrollbars when resizing the window.
  7227. - Resize the maximized windows when the client is resized
  7228. * Form.cs: Make the child context available
  7229. 2005-11-23 Jackson Harper <[email protected]>
  7230. * MdiChildContext.cs: Don't size windows if they are maximized.
  7231. 2005-11-23 Mike Kestner <[email protected]>
  7232. * ContextMenu.cs: use MenuTracker.
  7233. * Control.cs: remove menu handle usage.
  7234. * Form.cs: remove menu handle usage.
  7235. * Hwnd.cs: remove menu handle usage.
  7236. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  7237. motion and clicks to the new Tracker handlers.
  7238. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  7239. and handle usage.
  7240. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  7241. Killed the MENU and MENUITEM data types and associated collections
  7242. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  7243. MenuTracker class that exposes the leftovers from the old MenuAPI
  7244. static methods. Restructured Capture handling so that only one grab is
  7245. done for the entire menu hierarchy instead of handing off grabs to
  7246. submenus. Tracker now has an invisible control to Capture when active.
  7247. * MenuItem.cs: add sizing accessors, kill Create
  7248. and handle usage.
  7249. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  7250. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  7251. MENU(ITEM). remove menu handle usage, use Menu directly.
  7252. * XplatUIDriver.cs: remove menu handle usage.
  7253. * XplatUIOSX.cs: remove menu handle usage.
  7254. * XplatUIWin32.cs: remove menu handle usage.
  7255. * XplatUIX11.cs: remove menu handle usage.
  7256. 2005-11-22 Jackson Harper <[email protected]>
  7257. * Hwnd.cs: Don't compute the menu size for
  7258. DefaultClientRectangle.
  7259. - Reenable menu sizes being computed for GetClienRectangle.
  7260. * Form.cs: Remove comment of trechery
  7261. 2005-11-22 Jackson Harper <[email protected]>
  7262. * Hwnd.cs: The adjustments for the menu bar are made when it is
  7263. attached to the form.
  7264. 2005-11-19 Jackson Harper <[email protected]>
  7265. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  7266. (just like on windows).
  7267. 2005-11-19 Jackson Harper <[email protected]>
  7268. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  7269. use real buttons anymore because they are in non client area. The
  7270. one TODO here is that I need to somehow invalidate a section of
  7271. the non client area.
  7272. 2005-11-18 Jackson Harper <[email protected]>
  7273. * Control.cs: Put the enum check back in now that MDI doesnt have
  7274. to use this to set border styles.
  7275. * Form.cs: Only set mdi child windows borders if the handle has
  7276. been created.
  7277. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  7278. this directly on to the driver.
  7279. - Get the move start position before adjusting for the titlebar
  7280. height, this fixes the windows "skipping" when they are first
  7281. moved.
  7282. 2005-11-18 Jackson Harper <[email protected]>
  7283. * XplatUIX11.cs: Just compute the mdi borders separately as they
  7284. don't totally match up with normal form borders.
  7285. 2005-11-18 Jackson Harper <[email protected]>
  7286. * Control.cs: Set WS_ styles for borders, so that the driver does
  7287. not have to retrieve the control instance to figure out what kind
  7288. of borders it should have.
  7289. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  7290. driver can know its an mdi child easily.
  7291. * XplatUIX11.cs: Get the border styles and whether the window is
  7292. MDI from the Styles and ExStyles params instead of having to get a
  7293. control. This prevents a chicken and egg problem.
  7294. 2005-11-18 Jackson Harper <[email protected]>
  7295. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  7296. 2005-11-18 Jackson Harper <[email protected]>
  7297. * MdiClient.cs: Calculate when to add and remove scrollbars
  7298. correctly.
  7299. * MdiChildContext.cs: Adjust the y position to take the titlebar
  7300. into account.
  7301. - No height for FormBorderStyle.None
  7302. 2005-11-18 Jackson Harper <[email protected]>
  7303. * Control.cs: Allow non enum values to be used for
  7304. InternalBorderStyle. MDI does this to set a special border style.
  7305. - New utility methods for converting points to/from client coords
  7306. - Add the newly created control to the Controls collection before
  7307. updating its style. This way UpdateStyle can walk the control
  7308. heirarchy to find the control if needed.
  7309. so I don't need to create a new Point object all the time.
  7310. * Form.cs: Let MDI windows handle their border styles.
  7311. - Set styles on MDI windows so the correct title style is derived.
  7312. * MdiChildContext.cs: Move all the painting and window handling
  7313. into the non client area.
  7314. - Use correct sizing and put correct buttons on frames based on
  7315. the FormBorderStyle.
  7316. - Notify the mdi client about scrolling
  7317. - Need to handle the buttons ourselves now, because they are all
  7318. in non client areas and we can't add controls there.
  7319. * MdiClient.cs: Halfway to scrolling, this implementation is
  7320. somewhat broken though, we need to check to make sure other
  7321. windows aren't causing scrolling before removing the bars. Also
  7322. the bars need to be drawn on top, maybe I can switch implicit
  7323. controls to be on top.
  7324. * Hwnd.cs: caption_height and tool_caption_height are now
  7325. properties of an hwnd, this way they can be set by the driver
  7326. based on the type of window they are. In X11 the window manager
  7327. handles the decorations so caption_height is zero unless its an
  7328. MDI window.
  7329. - Add 3 pixel borders for MDI windows (0xFFFF).
  7330. - Get rid of some code duplication, have DefaultClientRectanle
  7331. just call GetClientRectangle.
  7332. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  7333. Hwnd now.
  7334. - Set border styles differently for mdi windows.
  7335. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  7336. Hwnd now.
  7337. 2005-11-15 Mike Kestner <[email protected]>
  7338. * Menu.cs: when adding an item to the collection, if item is already
  7339. parented, remove it from the parent.
  7340. 2005-11-13 Alexander Olk <[email protected]>
  7341. * X11DesktopColors.cs: Added KDE support
  7342. 2005-11-11 Peter Dennis Bartok <[email protected]>
  7343. * XplatUIWin32.cs:
  7344. - Clipboard methods now can translate Rtf format
  7345. - No longer removes clipboard contents whenever a new format is added
  7346. to allow placing multiple formats on the clipboard
  7347. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  7348. will place all formats contained in it onto the clipboard. Also
  7349. now cleans the clipboard before placing a new object onto it
  7350. * RichTextBox.cs:
  7351. - Implemented set_Rtf
  7352. - Implemented set_SelectedRtf
  7353. - Created InsertRTFFromStream() method to allow single code base
  7354. for all properties and methods that insert RTF into document
  7355. - Removed debug output
  7356. * TextControl.cs:
  7357. - Fixed Delete(int) to fix up line numbers
  7358. - Fixed ReplaceSelection to combine start and end line
  7359. - Fixed serious DeleteChars bug that would leave the document tree
  7360. broken
  7361. - Improved DumpTree with several logic checks to detect broken
  7362. document trees
  7363. - Removed debug lines
  7364. - Fixed Caret.WordForward/WordBack moving code, now always also
  7365. updates caret.tag (fixes crash when word-selecting across tag
  7366. boundaries via keyboard)
  7367. - Added Insert() method for inserting multiline text into documents
  7368. - Fixed DeleteChars() calculation errors that would cause a broken
  7369. tag chain with multiple tag lines
  7370. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  7371. - Split() no longer moves caret if split is at caret location
  7372. - ReplaceSelection() now updates the cursor and re-displays it
  7373. - ReplaceSelection() now uses new Insert() method to avoid code
  7374. duplication
  7375. - FormatText() can now handle formatting partial lines
  7376. * TextBoxBase.cs:
  7377. - Append now uses new TextControl.Insert() method (this avoids
  7378. duplicate code)
  7379. - Implemented Ctrl-X (Cut) (
  7380. - Implemented Ctrl-C (Copy)
  7381. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  7382. regeneration when pasting text; roundtripping Copy&Paste within
  7383. edit control still fails due to some calculation bugs in GenerateRTF)
  7384. - The Delete key will now remove the current selection if it is visible
  7385. * TextBox.cs: Removed debug lines
  7386. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  7387. driver to be initialized and can't therefore be done via a static ctor)
  7388. 2005-11-10 Peter Dennis Bartok <[email protected]>
  7389. * TextControl.cs: Added backend code for finding char arrays and strings
  7390. * TextBoxBase.cs:
  7391. - Added mouse wheel scroll support
  7392. - Added support for VScroll and HScroll events
  7393. * RichTextBox.cs:
  7394. - Implemented all seven Find() variants
  7395. - Implemented GetCharFromPosition()
  7396. - Implemented GetCharIndexFromPosition()
  7397. - Implemented GetLineFromIndex()
  7398. - Implemented GetPositionFromCharIndex();
  7399. - Implemented SaveFile for PlainText and UnicodeText
  7400. - Fixed set_Font, now setting a new font applies that font to
  7401. the whole document
  7402. - Implemented generic Document to RTF converter
  7403. - Implemented SaveFile for RichText format (still missing unicode
  7404. conversion for non-ansi chars)
  7405. - Implemented get_Rtf
  7406. - Implemented get_SelectedRtf
  7407. 2005-11-09 Peter Dennis Bartok <[email protected]>
  7408. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  7409. to allow any captures to be released before triggering OnClick. This
  7410. way a click handler may capture the mouse without interference.
  7411. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  7412. This way we send them even though X may not allow a grab (if the window
  7413. isn't visible, for example)
  7414. 2005-11-08 Pedro Martinez Julia <[email protected]>
  7415. * DataGridViewRowEventArgs.cs: DataGridView implementation
  7416. * DataGridViewElement.cs: DataGridView implementation
  7417. * DataGridViewComboBoxCell.cs: DataGridView implementation
  7418. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  7419. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  7420. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  7421. * ImageLayout.cs: DataGridView implementation
  7422. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  7423. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  7424. * DataGridViewSelectionMode.cs: DataGridView implementation
  7425. * IDataGridViewEditingControl.cs: DataGridView implementation
  7426. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  7427. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  7428. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  7429. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  7430. * DataGridViewColumnSortMode.cs: DataGridView implementation
  7431. * DataGridView.cs: DataGridView implementation
  7432. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  7433. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  7434. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  7435. * Padding.cs: DataGridView implementation
  7436. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  7437. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  7438. * DataGridViewRowEventHandler.cs: DataGridView implementation
  7439. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  7440. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  7441. * DataGridViewButtonCell.cs: DataGridView implementation
  7442. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  7443. * DataGridViewEditMode.cs: DataGridView implementation
  7444. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  7445. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  7446. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  7447. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  7448. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  7449. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  7450. * DataGridViewCellEventHandler.cs: DataGridView implementation
  7451. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  7452. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  7453. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  7454. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  7455. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  7456. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  7457. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  7458. * QuestionEventArgs.cs: DataGridView implementation
  7459. * IDataGridViewEditingCell.cs: DataGridView implementation
  7460. * DataGridViewTriState.cs: DataGridView implementation
  7461. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  7462. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  7463. * DataGridViewColumnCollection.cs: DataGridView implementation
  7464. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  7465. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  7466. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  7467. * DataGridViewColumn.cs: DataGridView implementation
  7468. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  7469. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  7470. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  7471. * DataGridViewRow.cs: DataGridView implementation
  7472. * DataGridViewImageCellLayout.cs: DataGridView implementation
  7473. * DataGridViewImageCell.cs: DataGridView implementation
  7474. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  7475. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  7476. * DataGridViewHeaderCell.cs: DataGridView implementation
  7477. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  7478. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  7479. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  7480. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  7481. * QuestionEventHandler.cs: DataGridView implementation
  7482. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  7483. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  7484. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  7485. * DataGridViewCell.cs: DataGridView implementation
  7486. * DataGridViewCellEventArgs.cs: DataGridView implementation
  7487. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  7488. * DataGridViewCellStyle.cs: DataGridView implementation
  7489. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  7490. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  7491. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  7492. * TextFormatFlags.cs: DataGridView implementation
  7493. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  7494. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  7495. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  7496. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  7497. * DataGridViewButtonColumn.cs: DataGridView implementation
  7498. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  7499. * HandledMouseEventArgs.cs: DataGridView implementation
  7500. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  7501. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  7502. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  7503. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  7504. * DataGridViewRowCollection.cs: DataGridView implementation
  7505. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  7506. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  7507. * DataGridViewHitTestType.cs: DataGridView implementation
  7508. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  7509. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  7510. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  7511. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  7512. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  7513. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  7514. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  7515. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  7516. * DataGridViewContentAlignment.cs: DataGridView implementation
  7517. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  7518. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  7519. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  7520. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  7521. * DataGridViewPaintParts.cs: DataGridView implementation
  7522. * DataGridViewCellCollection.cs: DataGridView implementation
  7523. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  7524. * DataGridViewImageColumn.cs: DataGridView implementation
  7525. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  7526. * DataGridViewElementStates.cs: DataGridView implementation
  7527. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  7528. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  7529. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  7530. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  7531. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  7532. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  7533. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  7534. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  7535. * DataGridViewTextBoxCell.cs: DataGridView implementation
  7536. * DataGridViewBand.cs: DataGridView implementation
  7537. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  7538. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  7539. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  7540. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  7541. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  7542. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  7543. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  7544. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  7545. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  7546. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  7547. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  7548. 2005-11-08 Peter Dennis Bartok <[email protected]>
  7549. * ThemeWin32Classic.cs:
  7550. - Draw the outside focus rectangle around buttons
  7551. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  7552. doesn't use end caps for every dash of a line anymore. This
  7553. workaround ignores the forecolor.
  7554. 2005-11-08 Kornél Pál <[email protected]>
  7555. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  7556. endian safe.
  7557. 2005-11-07 Jackson Harper <[email protected]>
  7558. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  7559. 2005-11-07 Jackson Harper <[email protected]>
  7560. * ScrollableControl.cs: Calculate the maximum and change vars
  7561. (more) correctly so that scrollbars appear as a sensible size.
  7562. 2005-11-04 Jackson Harper <[email protected]>
  7563. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  7564. collection.
  7565. * TreeView.cs: When the tree is sorted null out the top_node so
  7566. that it is recalculated.
  7567. - Use dotted lines instead of dashed lines to match MS better.
  7568. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  7569. * ListView.cs:
  7570. - Implements key search for items. Useful when browsing files with FileDialog
  7571. - When changing view mode or when clear the items reset scrollbar positions
  7572. 2005-11-04 Jackson Harper <[email protected]>
  7573. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  7574. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  7575. as to what the method may do as there is no real way of creating a
  7576. derived CurrencyManager and calling the method.
  7577. 2005-11-03 Jackson Harper <[email protected]>
  7578. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  7579. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  7580. method which seems to just be used internally to refresh the tabs.
  7581. 2005-11-03 Jackson Harper <[email protected]>
  7582. * TabControl.cs: Implement the remove method. Fix some broken
  7583. comments.
  7584. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7585. * DateTimePicker.cs:
  7586. - Added missing DateTimePickerAccessibleObject class
  7587. - Added missing events
  7588. - Added OnFontChanged method
  7589. * Form.cs: Added missing attributes
  7590. * TreeView.cs: Added missing attributes
  7591. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7592. * GridItemCollection.cs: Fix signatures
  7593. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7594. * XplatUI.cs: Updated build rev/date
  7595. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  7596. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  7597. * Application.cs: Trigger context-specific ExitThread events
  7598. 2005-11-03 Jackson Harper <[email protected]>
  7599. * Menu.cs:
  7600. * MainMenu.cs:
  7601. * GridTableStylesCollection.cs:
  7602. * Timer.cs:
  7603. * TabPage.cs:
  7604. * HelpProvider.cs:
  7605. * StatusBar.cs:
  7606. * MonthCalendar.cs: Signature fixes
  7607. 2005-11-03 Jackson Harper <[email protected]>
  7608. * TreeNodeCollection.cs: Remove should not be virtual.
  7609. * TreeView.cs: Implement the last of the missing methods.
  7610. 2005-11-03 Jackson Harper <[email protected]>
  7611. * TreeNodeConverter.cs: Implement to get off my class-status back.
  7612. 2005-11-03 Jackson Harper <[email protected]>
  7613. * TreeView.cs: Hookup the bits for drag and drop.
  7614. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  7615. that nodes can be moved from tree to tree easily this just causes
  7616. all sorts of problems.
  7617. * TreeNodeCollection: Don't need to give treenodes an index and
  7618. treeview anymore when they are added, these are computed on the
  7619. fly. Also make sure to remove a node before its added.
  7620. 2005-11-03 Peter Dennis Bartok <[email protected]>
  7621. * TextControl.cs:
  7622. - Added CaretSelection enum
  7623. - Added comparison methods to Marker struct, makes selection code
  7624. more readable
  7625. - Added SelectionStart and SelectionEnd as 'moveable' location for
  7626. the CaretDirection enum and handler
  7627. - Added selection_prev variable to track optimized invalidation for
  7628. word and line selection
  7629. - Added SelectionVisible property (returns true if there is a valid
  7630. selection)
  7631. - Switched CaretHasFocus to only display the caret if there is no
  7632. visible selection
  7633. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  7634. using the direct character index; should be much faster
  7635. - Added various conditional debug statements
  7636. - Fixed invalidation calculation for selection ranges
  7637. - Added ExpandSelection() method to support word and line selection
  7638. - Switched SetSelectionToCaret to use new Marker compare overloads
  7639. - Added central IsWordSeparator() method to determine word
  7640. separators/whitespace and FindWordSeparator() to streamline common
  7641. usage of IsWordSeparator()
  7642. * TextBoxBase.cs:
  7643. - Removed unneeded grabbed variable, it was just mirroring
  7644. Control.Capture
  7645. - No longer firing OnTextChanged event when Text setter is called,
  7646. since the base will fire the event for us
  7647. - Added handling of Ctrl-Up/Down selection
  7648. - Added handling of Shift-Cursorkey selection
  7649. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  7650. words
  7651. - Added handling of Shift and Ctrl-Shift-Home/End selection
  7652. - Removed some debug output
  7653. - Added handling for single/double/tripple-click to place caret/
  7654. select word/select line respectively (Fixes bug #76031)
  7655. - Added support for drag expansion of word/line selection
  7656. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  7657. current selection
  7658. 2005-11-02 Jackson Harper <[email protected]>
  7659. * X11Dnd.cs: If the drag is going to and from a MWF window just
  7660. copy the data instead of sending it out through the X Selection
  7661. mechanism.
  7662. 2005-11-02 Jackson Harper <[email protected]>
  7663. * X11Dnd.cs:
  7664. * XplatUIX11.cs: When in a drag we don't want motion notify
  7665. messages to get passed on to the other controls. This prevents
  7666. mouse move messages from showing up in the drag source.
  7667. 2005-11-02 Jackson Harper <[email protected]>
  7668. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  7669. the correct button is release to end a drag.
  7670. * XplatUIX11.cs: Make the button state internal so the drag system
  7671. can access it. Dragging needs to know about all button releases,
  7672. not just left button.
  7673. 2005-11-02 Miguel de Icaza <[email protected]>
  7674. * Form.cs (Icon): If the icon is null, reset the icon to the
  7675. default value.
  7676. * Cursor.cs: When writing the AND-mask bitmap do not include the
  7677. number of colors, but hardcode those to two (black and white),
  7678. fixes the loading of color cursors (Paint Dot Net).
  7679. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  7680. turn off autoscaling.
  7681. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  7682. 2005-11-02 Jackson Harper <[email protected]>
  7683. * X11Dnd.cs: Make sure to send a status message if the pointer
  7684. enters a control that can not accept a drop, otherwise the cursor
  7685. isn't updated correctly. Also tried to compress the lines of code
  7686. a bit.
  7687. 2005-11-02 Jackson Harper <[email protected]>
  7688. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  7689. set actions correctly. This isn't perfect as XDND and win32 have
  7690. some differences on how you allow actions. I'll clear this up by
  7691. adding a path for drag from MWF to MWF windows.
  7692. * XplatUIX11.cs: Hook into the dnd system.
  7693. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  7694. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  7695. previously shown but they are no longer need it. Very obvious when
  7696. browsing files with FileDialog.
  7697. 2005-11-01 Peter Dennis Bartok <[email protected]>
  7698. * Control.cs: We always need to call OnPaintBackground. We pretty much
  7699. ignore AllPaintingInWmPaint and always do the painting there, whether
  7700. it's set or not, since we always ignore the WM_ERASEBKGND message
  7701. (which we don't generate on X11). This fixes #76616.
  7702. * Panel.cs: Removed unneeded background painting. This happens properly
  7703. in Control.cs already
  7704. 2005-10-31 Mike Kestner <[email protected]>
  7705. * Menu.cs: Add items to collection before setting their index.
  7706. * MenuItem.cs : add range checking with ArgumentException like MS.
  7707. [Fixes #76510]
  7708. 2005-10-31 Jackson Harper <[email protected]>
  7709. * ListBox.cs: Invalidate if the area is visible at all not just
  7710. contained in the visible rect. Fixes unselection of semi visible
  7711. items.
  7712. 2005-10-31 Jackson Harper <[email protected]>
  7713. * Control.cs: Consistently name the dnd methods. Make them
  7714. internal so we can override them to match some MS behavoir
  7715. internally.
  7716. * Win32DnD.cs: Use the new consistent names.
  7717. 2005-10-31 Jackson Harper <[email protected]>
  7718. * TreeView.cs: Don't draw the selected node when we lose focus.
  7719. 2005-10-31 Jackson Harper <[email protected]>
  7720. * X11Dnd.cs: We still need to reset the state even though a full
  7721. reset isn't being done, otherwise status's still get sent all over
  7722. the place.
  7723. 2005-10-31 Jackson Harper <[email protected]>
  7724. * Control.cs: Make the dnd_aware flag internal so the dnd
  7725. subsystem can check it. Catch exceptions thrown in dnd handlers to
  7726. match MS behavoir.
  7727. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  7728. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  7729. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  7730. flags to reduce the number of dnd enters/status's sent.
  7731. 2005-10-31 Jackson Harper <[email protected]>
  7732. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  7733. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  7734. * PictureBox.cs: Fixes 76512
  7735. 2005-10-28 Jackson Harper <[email protected]>
  7736. * X11Dnd.cs: Early implementation to support winforms being a drag
  7737. source for data on X11. Also restructured the converters so they
  7738. can go both ways now.
  7739. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  7740. 2005-10-27 Peter Dennis Bartok <[email protected]>
  7741. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  7742. clipboard requests
  7743. 2005-10-27 Jackson Harper <[email protected]>
  7744. * TreeNode.cs: Implement serialization so my DnD examples will work.
  7745. 2005-10-24 Kornél Pál <[email protected]>
  7746. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  7747. TreeView.cs: Don't dispose objects that are not owned.
  7748. 2005-10-24 Peter Dennis Bartok <[email protected]>
  7749. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  7750. should retrieve the current cursor and report that, but XplatUI
  7751. doesn't (yet) have an interface for that (and I'm not sure I even
  7752. can, on X11)
  7753. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  7754. until any message loop processing is done (and the WM_SETCURSOR
  7755. replaces the cursor to the proper one)
  7756. * XplatUIX11.cs:
  7757. - Fixed override behaviour, we can't set the cursor globally on X11,
  7758. just for our windows.
  7759. - Invalidating the System.Drawing X11 display handle when we are
  7760. shutting down
  7761. * Control.cs: Fix to make csc happy
  7762. 2005-10-23 Peter Dennis Bartok <[email protected]>
  7763. * TextBoxBase.cs:
  7764. - get_Text: Add last line (without trailing newline) to returned
  7765. value (Fixes 76212)
  7766. - get_TextLength: Count last line in returned length
  7767. - ToString: Call Text property instead of duplicating code
  7768. 2005-10-23 Kornél Pál <[email protected]>
  7769. * ImageList.cs: Dispose ImageAttributes objects.
  7770. 2005-10-22 Kornél Pál <[email protected]>
  7771. * ImageList.cs: Use attribute constructors with less arguments where
  7772. possible.
  7773. 2005-10-22 Kornél Pál <[email protected]>
  7774. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  7775. Use typeof instead of strings when assembly is referenced. Added
  7776. some more comments.
  7777. 2005-10-21 Jackson Harper <[email protected]>
  7778. * ListView.cs: Raise a double click event. Also tried to somewhat
  7779. fix when the selectedindexchanged event is raised. Its still
  7780. broken though.
  7781. 2005-10-21 Jackson Harper <[email protected]>
  7782. * TreeView.cs: New method to invalidate the plus minus area of a
  7783. node without invalidating the whole node (maybe this can be used
  7784. in some more places).
  7785. * TreeNodeCollection.cs: When adding to an empty node we need to
  7786. invalidate its plus minus area so the little block shows up.
  7787. 2005-10-21 Jackson Harper <[email protected]>
  7788. * TreeView.cs: Make sure that when we invalidate a node the bounds
  7789. are big enough to cover the selected box and the focus
  7790. rectangle. Use a different colour for the lines connecting nodes
  7791. so they show up with all themes.
  7792. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7793. * NativeWindow.cs: Don't call anything that could call into the driver,
  7794. we might be on a different thread.
  7795. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7796. * Control.cs(Dispose): Since Dispose might run on a different thread,
  7797. make sure that we call methods that could call into the driver via
  7798. invoke, to avoid thread issues
  7799. 2005-10-21 Peter Dennis Bartok <[email protected]>
  7800. * XplatUI.cs: Removed finalizer
  7801. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  7802. not allowing to be called on the finalizer thread.
  7803. 2005-10-21 Kornél Pál <[email protected]>
  7804. * ImageList.cs:
  7805. - Reverted r51889 and r51891.
  7806. - Added ImageListItem class that stores unmodified image items and image
  7807. properties required to create list images until handle is created.
  7808. - Added AddItem and moved image creation logic to AddItemInternal.
  7809. - Added CreateHandle method that creates images based on unmodified items.
  7810. - Added DestroyHandle that changes state to store unmodified items.
  7811. - Add and AddStrip methods no more create handle.
  7812. - ReduceColorDepth has no return value.
  7813. - Dispose destroys handle.
  7814. - Modified other methods to reflect the above changes.
  7815. - Implemented key support.
  7816. - Added profile 2.0 members and attributes.
  7817. - Added private Reset and ShouldSerialize methods that provide the same
  7818. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  7819. them as they are private.
  7820. - Added some more comments about implementation details.
  7821. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7822. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  7823. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7824. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  7825. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  7826. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  7827. * DataGridColumnStyle.cs: Remove debug message
  7828. 2005-10-20 Jackson Harper <[email protected]>
  7829. * TreeView.cs: We can always get input keys regardless of whether
  7830. or not editing is enabled. They are used for navigation.
  7831. 2005-10-20 Jackson Harper <[email protected]>
  7832. * TreeNode.cs: Use the viewport rect for determining if a node
  7833. needs to be moved for visibility. Don't use Begin/End edit. This
  7834. calls a full refresh when its done.
  7835. * TreeView.cs: New SetBottom works correctly. Make the viewport
  7836. rect property internal so the treenodes can see it. When clicking
  7837. on a node we need to ensure that its visible because it might just
  7838. be partly visible when clicked.
  7839. 2005-10-20 Jackson Harper <[email protected]>
  7840. * TreeNodeCollection.cs: Remove debug code.
  7841. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  7842. * Datagrid.cs: Implements column sorting in Datagrid
  7843. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  7844. 2005-10-20 Jackson Harper <[email protected]>
  7845. * TreeNodeCollection.cs: Remove items properly. Update the correct
  7846. area after removing them.
  7847. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  7848. * Datagrid.cs: Should not call base.OnPaintBackground
  7849. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7850. * XplatUIX11.cs (GetMessage):
  7851. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  7852. window instead of client window
  7853. - Now properly calculates NC_xBUTTONUP message coordinates
  7854. - ScreenToMenu now properly calculates it's coordinates of whole
  7855. window, since menus are in the whole window, not in the client
  7856. window
  7857. - Added WholeToScreen coordinate translation method
  7858. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7859. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  7860. want to return a message, loop back to the beginning of the function
  7861. and grab the next real message to process instead.
  7862. 2005-10-20 Peter Dennis Bartok <[email protected]>
  7863. * Splitter.cs: Properly set limits if no filler control is used
  7864. 2005-10-19 Jackson Harper <[email protected]>
  7865. * ColorDialog.cs: Don't show the help button if it is not enabled
  7866. instead of disabling it (this is what MS does). Don't create the
  7867. panel until the dialog is run, otherwise the vars (such as
  7868. ShowHelp) are not set yet.
  7869. 2005-10-19 Jackson Harper <[email protected]>
  7870. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  7871. are reduced when adding nodes.
  7872. * TreeNode.cs:
  7873. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  7874. tree.
  7875. 2005-10-19 Jackson Harper <[email protected]>
  7876. * FolderBrowserDialog.cs: End editing our treeview so the window
  7877. actually gets refreshed.
  7878. 2005-10-18 Peter Dennis Bartok <[email protected]>
  7879. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  7880. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  7881. inside of WM_PAINT
  7882. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  7883. * MenuAPI.cs: Returns after Hidding window
  7884. * XplatUIX11.cs: Added TODO found while debugging menu issues
  7885. 2005-10-18 Peter Dennis Bartok <[email protected]>
  7886. * XplatUIX11.cs: Do not re-map the whole window when it's size
  7887. becomes non-zero unless it's supposed to be actually visible
  7888. 2005-10-18 Jackson Harper <[email protected]>
  7889. * TreeView.cs: We don't need to keep a count anymore.
  7890. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  7891. use the Grow method.
  7892. 2005-10-18 Jackson Harper <[email protected]>
  7893. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  7894. implement it manually here.
  7895. 2005-10-18 Jackson Harper <[email protected]>
  7896. * ImageList.cs: Dont kill the list when the colour depth is
  7897. changed, just change the colour depth of all the images.
  7898. - Same goes for setting the image size. Just resize them all
  7899. instead of killing the list softly.
  7900. 2005-10-18 Jackson Harper <[email protected]>
  7901. * Control.cs: Don't invalidate empty rectangles.
  7902. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  7903. * ListViewItem.cs:
  7904. - Adds checked item to the Checked/Item lists (where empty before)
  7905. - Do not add items to the Selected lists if they are already present
  7906. * ListView.cs:
  7907. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  7908. - When deleting items make sure that we delete them for the Selected
  7909. and Checked list also.
  7910. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  7911. * Label.cs: Dispose objects no longer used
  7912. * ThemeWin32Classic.cs: Dispose objects no longer used
  7913. 2005-10-18 Jackson Harper <[email protected]>
  7914. * TabControl.cs: Don't refresh the whole control when the tabs are
  7915. scrolled, we just need to refresh the tab area.
  7916. 2005-10-17 Jackson Harper <[email protected]>
  7917. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  7918. after handle when we need it.
  7919. 2005-10-17 Peter Dennis Bartok <[email protected]>
  7920. * Control.cs: When the parent size changes, recalculate anchor
  7921. positions. Partial fix for #76462
  7922. 2005-10-17 Peter Dennis Bartok <[email protected]>
  7923. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  7924. drawn. Fixes #76462
  7925. 2005-10-17 Jackson Harper <[email protected]>
  7926. * MonthCalendar.cs: Don't create the numeric up down until our
  7927. handle is created. Otherwise our handle is created in the
  7928. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  7929. yet.
  7930. 2005-10-17 Jackson Harper <[email protected]>
  7931. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  7932. correctly.
  7933. 2005-10-17 Rafael Teixeira <[email protected]>
  7934. * TreeNode.cs : small logical fix (was using local var instead of field)
  7935. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  7936. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  7937. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  7938. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  7939. 2005-10-16 Peter Dennis Bartok <[email protected]>
  7940. * Control.cs:
  7941. - Re-implemented anchoring code. My first version was really broken.
  7942. This fixes bug #76033. Unlike the previous implementation we will
  7943. no longer have round errors since all numbers are calculated from
  7944. scratch every time. Removed various anchor-related obsolete vars.
  7945. - InitLayout no longer causes layout event firing and layout to be
  7946. performed
  7947. 2005-10-16 Jackson Harper <[email protected]>
  7948. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  7949. which was broken).
  7950. 2005-10-16 Jackson Harper <[email protected]>
  7951. * TabControl.cs: Remove debug code.
  7952. 2005-10-16 Jackson Harper <[email protected]>
  7953. * XEventQueue.cs: Increase the default queue size (very simple
  7954. apps needed to grow the queue).
  7955. * Hwnd.cs: No finalizer so we don't need to suppress
  7956. finalization. Compute the invalid area manually so a new rectangle
  7957. does not newto be created.
  7958. * ScrollableControl.cs: Don't set any params (otherwise visibility
  7959. isn't set correctly).
  7960. * MdiChildContext.cs: New constructor takes the mdi parent so it
  7961. doesn't have to be computed and avoids a crash on windows. Draw
  7962. the window icon properly, and allow the text to be seen.
  7963. * Form.cs: Use new MdiChildContext constructor. Make sure the
  7964. child context isn't null in wndproc.
  7965. * TabControl.cs: Don't set focus, this is muddling keyboard
  7966. behavoir. Expand the tab rows when a window size increase will
  7967. allow extra tabs to be seen. Don't allow tabs smaller than the
  7968. width of a window to be scrolled out of view.
  7969. * TreeNode.cs:
  7970. * TreeView.cs: Use measure string to calculate a nodes width, the
  7971. width is cached and only updated when the text or the font is
  7972. changed. Don't check for expand/collapse clicks on the first level
  7973. nodes if root lines are disabled.
  7974. 2005-10-16 Ritvik Mayank <[email protected]>
  7975. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  7976. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  7977. * DataGridBoolColumn.cs: fixes warning
  7978. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  7979. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  7980. to match more to match more precisely the MS Net behavior
  7981. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7982. * Hwnd.cs: Added field to track if window is mapped
  7983. * XplatUIX11.cs:
  7984. - Unmap windows if they become 0-size, re-map when
  7985. they are >0 again; fixes #76035
  7986. - Re-set our error handler after initializing X11Desktop
  7987. to override any error handlers Gtk or whatever was called
  7988. may have set.
  7989. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7990. * CheckedListBox.cs: Removed unused vars
  7991. * ListView.cs: Fixed signatures
  7992. * RichTextBox.cs: Removed unused vars
  7993. * TextBoxBase.cs: Removed unused vars
  7994. * XplatUIWin32.cs: Removed unused vars
  7995. * XplatUIX11.cs: Removed unused vars
  7996. * XplatUI.cs: Updated version and date to latest published
  7997. 2005-10-13 Peter Dennis Bartok <[email protected]>
  7998. * Cursor.cs: Added private .ctor to work around a bug in
  7999. resourceset (Thanks to Geoff Norton for the help on this)
  8000. * SplitterEventArgs.cs: Made fields accessible so we don't
  8001. waste boatloads of objects and can reuse the same one
  8002. in Splitter
  8003. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  8004. any captions and borders when generating screen coordinates
  8005. * Splitter.cs: Reimplemented control, now fully complete, uses
  8006. rubberband drawing, supports and obeys all properties, has
  8007. proper cursors
  8008. 2005-10-13 Miguel de Icaza <[email protected]>
  8009. * Form.cs (Form): Setup default values for autoscale and
  8010. autoscale_base_size; Make these instance variables, not static
  8011. variables.
  8012. (OnLoad): on the first load, adjust the size of the form.
  8013. 2005-10-13 Peter Dennis Bartok <[email protected]>
  8014. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  8015. width argument to DrawReversibleRectangle()
  8016. * XplatUIWin32.cs, XplatUIX11.cs:
  8017. - Implemented width for DrawReversibleRectangle()
  8018. - Added logic to DrawReversibleRectangle that recognizes a zero
  8019. width or height and only draws a line in that situation
  8020. 2005-10-12 Peter Dennis Bartok <[email protected]>
  8021. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  8022. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  8023. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  8024. method (it uses our FosterParent window to get a graphics context)
  8025. 2005-10-12 Peter Dennis Bartok <[email protected]>
  8026. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  8027. and SetWindowBackground methods
  8028. * Control.cs:
  8029. - Setting proper ControlStyles
  8030. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  8031. EraseWindowBackground, instead we draw the window background
  8032. ourselves in PaintControlBackground. This behaviour is
  8033. required to match MS, where, when OnPaintBackground is not
  8034. called, the background is not drawn.
  8035. - Removed unneeded Refresh() in set_Text
  8036. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  8037. * XplatUIX11.cs:
  8038. - Created DeriveStyles method to translate from CreateParams to
  8039. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  8040. matches FormBorderStyle enum values)
  8041. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  8042. style calculations into single DeriveStyles method
  8043. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  8044. from redrawing the whole window on any resize or expose.
  8045. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  8046. all styles were applied to our whole/client window appropriately
  8047. - Removed EraseWindowBackground() and SetWindowBackground() methods
  8048. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  8049. no longer clear/redraw the background through X
  8050. - Removed handling of erase_pending bit, we have no use for it (or
  8051. so it seems)
  8052. * XplatUIOSX.cs:
  8053. - Removed generation and handling of WM_ERASEBKGND message
  8054. - Removed EraseWindowBackground() and SetWindowBackground() methods
  8055. - Removed handling of hwnd.ErasePending flag
  8056. * XplatUIWin32.cs:
  8057. - Removed EraseWindowBackground() and SetWindowBackground() methods
  8058. - We no longer call EraseWindowBackground on PaintEventStart, we
  8059. ignore the fErase flag, erasing is handled in Control in the
  8060. background handler
  8061. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  8062. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  8063. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  8064. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  8065. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  8066. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  8067. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  8068. 2005-10-12 Jonathan Chambers <[email protected]>
  8069. * PropertyGrids.cs: Get sub properties
  8070. * PropertyGridView.cs: Fix drawing code
  8071. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  8072. * ListBox.cs: Fixes 76383
  8073. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  8074. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  8075. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  8076. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  8077. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  8078. * ComboBox.cs: Fixes border drawing
  8079. 2005-10-10 Miguel de Icaza <[email protected]>
  8080. * MimeIcon.cs: Ignore errors if the file can not be read.
  8081. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  8082. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  8083. - Fixed border calculations
  8084. - Fixed horizontal scrolling in single column listboxes
  8085. - Fixed drawing issues
  8086. 2005-10-10 Peter Dennis Bartok <[email protected]>
  8087. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  8088. FormBorderStyle enum
  8089. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  8090. code to determine FormBorderStyles from CreateParams
  8091. * Form.cs:
  8092. - Fixed bug where we'd set the wrong window styles if we were
  8093. not creating an MDI window
  8094. - Added call to XplatUI.SetBorderStyle when form borders are set
  8095. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  8096. * Hwnd.cs:
  8097. - Removed obsolete edge style
  8098. - Switched from BorderStyle to FormBorderStyle
  8099. 2005-10-10 Jackson Harper <[email protected]>
  8100. * Form.cs: Use the property to get the window handle instead of
  8101. accessing it directly. Prevents a null reference exception.
  8102. 2005-10-10 Jackson Harper <[email protected]>
  8103. * TreeView.cs: Don't adjust the rect given to DrawString now that
  8104. our libgdiplus draws correctly.
  8105. 2005-10-08 Jackson Harper <[email protected]>
  8106. * TreeView.cs: Don't try to find the clicked on node if there are
  8107. no nodes in the tree.
  8108. 2005-10-08 Alexander Olk <[email protected]>
  8109. * RichTextBox.cs:
  8110. restore
  8111. 2005-10-08 Alexander Olk <[email protected]>
  8112. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  8113. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  8114. ErrorProvider.cs:
  8115. Use ResPool for brushes and dispose System.Drawing objects that
  8116. are not used anymore.
  8117. 2005-10-07 Jackson Harper <[email protected]>
  8118. * MdiChildContext.cs: Use the new borders instead of drawing them
  8119. ourselves.
  8120. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  8121. * Calling UpdateBounds after changing the window's BorderStyle
  8122. since the style can change the ClientSize
  8123. 2005-10-06 Peter Dennis Bartok <[email protected]>
  8124. * Control.cs: Made PaintControlBackground virtual
  8125. * Panel.cs: Overriding PaintControlBackground instead of using paint
  8126. event; paint event method was interfering with 'real' users of the
  8127. event.
  8128. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  8129. * ThemeWin32Classic.cs: remove border drawing since it is handled
  8130. by the base control class now and was causing double border drawing.
  8131. 2005-10-06 Peter Dennis Bartok <[email protected]>
  8132. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  8133. but it does seem to match MS behaviour. This fixes bug #75324
  8134. 2005-10-06 Peter Dennis Bartok <[email protected]>
  8135. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  8136. somewhat hackish looking
  8137. 2005-10-06 Peter Dennis Bartok <[email protected]>
  8138. * TextBoxBase.cs:
  8139. - We now accept Enter even if AcceptEnter is false, if the containing
  8140. form does not have an AcceptButton configured (fixes bug #76355)
  8141. - Calculations are now fixed to no longer use Width/Height, but
  8142. ClientSize.Width/Height, since we now support borders (this was
  8143. a result of fixing borders and therefore bug #76166)
  8144. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  8145. true (fixes bug #76354)
  8146. 2005-10-06 Peter Dennis Bartok <[email protected]>
  8147. * Control.cs:
  8148. - Defaulting BorderStyle and setting it in XplatUI when our window
  8149. is created
  8150. - Added enum check to InternalBorderStyle setter
  8151. * XplatUIX11.cs:
  8152. - Added drawing of window borders
  8153. - Now properly calculates WM decorations offset for toplevel
  8154. windows (fixes bug #74763)
  8155. * XplatUIWin32.cs:
  8156. - Implemented BorderStyles for windows (we're letting win32 draw
  8157. the border for us)
  8158. - Fixed the signature for SetWindowLong
  8159. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  8160. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  8161. setting borders
  8162. * UpDownBase.cs: Remove drawing of borders, this is handled by
  8163. the driver, outside the client area
  8164. * ListView.cs: Removed bogus border calculations. The control should
  8165. be oblivious to borders, since those are not part of the client
  8166. area.
  8167. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  8168. * ThemeWin32Classic.cs: Removed border calculations from ListView
  8169. drawing code
  8170. 2005-10-06 Jackson Harper <[email protected]>
  8171. * MdiChildContext.cs: Clear out the old virtual position remove
  8172. all the unneeded calls to CreateGraphics.
  8173. 2005-10-06 Peter Dennis Bartok <[email protected]>
  8174. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  8175. 2005-10-06 Peter Dennis Bartok <[email protected]>
  8176. * Form.cs:
  8177. - Added loading and setting of our new default icon
  8178. - Only set icon if window is already created
  8179. 2005-10-06 Peter Dennis Bartok <[email protected]>
  8180. * Label.cs:
  8181. - Do not explicitly set the foreground and background colors, to
  8182. allow inheriting from parents (fixes #76302)
  8183. - Use Control's InternalBorderStyle property to deal with borders
  8184. 2005-10-06 Jackson Harper <[email protected]>
  8185. * MdiChildContext.cs: Use the new xplatui function to draw a
  8186. reversible rect.
  8187. 2005-10-06 Jackson Harper <[email protected]>
  8188. * Form.cs: Add the parent before creating the child context cause
  8189. we need the parent when setting up the child.
  8190. 2005-10-06 Jackson Harper <[email protected]>
  8191. * FolderBrowserDialog.cs: redo the tree population code so a
  8192. second thread isn't used. Should be a lot faster and more stable
  8193. now.
  8194. 2005-10-05 Jackson Harper <[email protected]>
  8195. * TreeView.cs: There are no expand/collapse boxes if the node has
  8196. no children.
  8197. 2005-10-05 Jackson Harper <[email protected]>
  8198. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  8199. 2005-10-05 Alexander Olk <[email protected]>
  8200. * FileDialog.cs: Fix InitialDirectory
  8201. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  8202. * ComboBox.cs:
  8203. - Fixes changing between styles
  8204. - Fixes simple mode
  8205. - Fixes last item crashing when navigating with keyboard
  8206. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  8207. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  8208. 2005-10-05 Jackson Harper <[email protected]>
  8209. * TreeView.cs: If updating the root node do a full refresh.
  8210. * TreeNode.cs: The root node should be expanded by default. Also
  8211. added a utility prop to tell if we are the root node.
  8212. * TreeNodeCollection.cs: Only refresh if the node we are being
  8213. added to is expanded. Also added a comment on a potential
  8214. optimization.
  8215. 2005-10-04 Peter Dennis Bartok <[email protected]>
  8216. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  8217. in dispose method. Fixes #76330
  8218. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  8219. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  8220. - Implements vertical and horizontal scrolling using XplatUI
  8221. - Fixes keyboard navagation
  8222. - Fixes EnsureVisible
  8223. - Drawing fixes
  8224. - Handles and draws focus properly
  8225. 2005-10-04 Kornél Pál <[email protected]>
  8226. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  8227. Create handle. NET_2_0: Destroy handle when value is null.
  8228. 2005-10-03 Jackson Harper <[email protected]>
  8229. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  8230. revert and a new patch to prevent the thumb from refreshing so
  8231. much.
  8232. 2005-10-02 Jackson Harper <[email protected]>
  8233. * ScrollBar.cs: Don't update position if it hasn't actually
  8234. changed. This occurs when you hold down the increment/decrement
  8235. buttons and the thumb gets to the max/min.
  8236. 2005-10-01 Jackson Harper <[email protected]>
  8237. * Form.cs:
  8238. * MdiChildContext.cs:
  8239. * MdiClient.cs: Implement ActiveMdiChild in Form.
  8240. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  8241. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  8242. 2005-10-01 Peter Dennis Bartok <[email protected]>
  8243. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  8244. be found
  8245. 2005-09-30 Jackson Harper <[email protected]>
  8246. * ListBox.cs: Don't do a full refresh unless some data has
  8247. actually changed.
  8248. 2005-09-30 Jackson Harper <[email protected]>
  8249. * TreeView.cs: Make sure that the checkboxes size is factored in
  8250. even when not visible.
  8251. 2005-09-30 Peter Dennis Bartok <[email protected]>
  8252. * FileDialog.cs: Fix Jordi's build break
  8253. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  8254. * FileDialog.cs:
  8255. - Use standard the Windows colours for the combobox as espected
  8256. - Dispose objects that use resouces when no longer need them
  8257. 2005-09-30 Peter Dennis Bartok <[email protected]>
  8258. * X11DesktopColors.cs: Initial incomplete implementation
  8259. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  8260. 2005-09-30 Peter Dennis Bartok <[email protected]>
  8261. * Theme.cs:
  8262. - Switched Theme color names to match the names defined in
  8263. System.Drawing.KnownColors. Life's hard enough, no need to make
  8264. it harder.
  8265. - Added setters to all theme color properties so themes can set
  8266. their color schemes. The setters also propagate the color changes
  8267. to System.Drawing.KnownColors via reflection
  8268. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  8269. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  8270. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  8271. use the new, more logical theme color names
  8272. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  8273. post-NT colors
  8274. * ThemeWin32Classic.cs:
  8275. - Removed code to set the old classic Windows colors. Instead it
  8276. now relies on the colors returned by System.Drawing.KnownColors
  8277. which will be either modern static colors (Unix) or colors
  8278. read from the user's configuration (Win32)
  8279. - Updated to use the new, more logical theme color names
  8280. - Switched DataGrid drawing code to use only Theme colors instead of
  8281. a mix of System.Drawing.KnownColors and Theme colors
  8282. - DrawFrameControl(): Removed code that fills the button area, the
  8283. fill would overwrite any previous fill done by a control. This
  8284. fixes bug #75338
  8285. - Added DrawReversibleRectangle() stub
  8286. * ScrollableControl.cs: Set visible state to false when scrollbars
  8287. are removed (pdn fix)
  8288. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  8289. DrawReversibleRectangle() method to allow drawing primitive
  8290. 'rubber bands'
  8291. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  8292. 2005-09-30 Kornél Pál <[email protected]>
  8293. * ImageList.cs: Add(Icon): Create handle.
  8294. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  8295. * ListView.cs:
  8296. * ThemeWin32Classic.cs:
  8297. - Fixes detail mode
  8298. - Sets clippings
  8299. - Issues with drawing
  8300. 2005-09-30 Kornél Pál <[email protected]>
  8301. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  8302. source has to be the ImageList.
  8303. 2005-09-30 Kornél Pál <[email protected]>
  8304. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  8305. 2005-09-30 Kornél Pál <[email protected]>
  8306. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  8307. 2005-09-30 Kornél Pál <[email protected]>
  8308. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  8309. 2005-09-29 Jonathan Chambers <[email protected]>
  8310. * GridItem.cs: Fixed TODOs
  8311. * GridItemCollection.cs: Added ICollection interface
  8312. 2005-09-30 Kornél Pál <[email protected]>
  8313. * ImageList.cs: Resize icons when needed.
  8314. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  8315. * ListViewItem.cs
  8316. - Fixes GetBounds and returns on screen rects
  8317. * ListView.cs:
  8318. - Fixes vertical and horzintal scrolling of items
  8319. * ThemeWin32Classic.cs:
  8320. - Fixes drawing
  8321. 2005-09-29 Raja R Harinath <[email protected]>
  8322. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  8323. 2005-09-29 Kornél Pál <[email protected]>
  8324. * ImageList.cs: Added comments about handle creation. Moved Handle,
  8325. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  8326. Handle is created in Add methods.
  8327. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  8328. * DataGridDrawingLogic.cs:
  8329. - Takes rows into account on Colum calculations
  8330. - Returns the column when clickig
  8331. * DataGrid.cs:
  8332. - Fixes default HitTestInfo values
  8333. - Fixes HitTestInfo.ToString
  8334. - Fixes ResetBackColor
  8335. 2005-09-28 Jackson Harper <[email protected]>
  8336. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  8337. sizing or cursor changes). Also added some temp code to draw the
  8338. titlebars text (Makes dev a little easier).
  8339. 2005-09-28 Kornél Pál <[email protected]>
  8340. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  8341. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  8342. * ListBox.cs: Fixes bug 76253
  8343. 2005-09-28 Kornél Pál <[email protected]>
  8344. * ImageList.cs: Added comments about the current implementation. Added
  8345. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  8346. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  8347. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  8348. with Bitmap.LockBits for better performance. Revised the whole file to
  8349. match MS.NET behaviour and provide better performance. Non-public
  8350. interface members are calling public members even when they throw
  8351. NotSupportedException for better maintainability. Moved ColorDepth,
  8352. ImageSize, ImageStream and TransparentColor implementations to
  8353. ImageCollection for better performance as these properties are not used
  8354. by ImageList.
  8355. * ImageListStreamer.cs: Added a new internal constructor that takes an
  8356. ImageList.ImageCollection and serializes Images based on
  8357. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  8358. match ImageList property name.
  8359. 2005-09-28 Kazuki Oikawa <[email protected]>
  8360. * ListBox.cs: Fixes IndexFromPoint for last item
  8361. 2005-09-27 Jackson Harper <[email protected]>
  8362. * Form.cs: Set the position of new mdi children correctly.
  8363. 2005-09-27 Jackson Harper <[email protected]>
  8364. * MdiClient.cs: New mdi children need to be added to the back of
  8365. the controls collection so the zorder is set correctly. Also add a
  8366. count of all the child windows that have been created.
  8367. 2005-09-27 Jackson Harper <[email protected]>
  8368. * Form.cs (CreateParams): Setup MDI forms correctly.
  8369. 2005-09-27 Jackson Harper <[email protected]>
  8370. * MdiChildContext.cs:
  8371. * MonthCalendar.cs:
  8372. * UpDownBase.cs:
  8373. * ListBox.cs:
  8374. * ListView.cs:
  8375. * TextBoxBase.cs:
  8376. * TreeView.cs:
  8377. * ScrollableControl.cs:
  8378. * ComboBox.cs: Add implicit controls using the new implict control
  8379. functionality in ControlCollection. Also try to block multiple
  8380. control add in a suspend/resume layout to save some cycles.
  8381. 2005-09-27 Jackson Harper <[email protected]>
  8382. * Control.cs: Add functionality to the controls collection to add
  8383. 'implicit controls' these are controls that are created by the
  8384. containing control but should not be exposed to the user. Such as
  8385. scrollbars in the treeview.
  8386. * Form.cs: The list var of the ControlsCollection is no longer
  8387. available because of the potential of implicit controls getting
  8388. ignored by someone accessing the list directly.
  8389. 2005-09-26 Peter Dennis Bartok <[email protected]>
  8390. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  8391. loose it's parent. (Fixed bug introduced in r49103 when we added
  8392. setting the child parent to null on Remove)
  8393. 2005-09-26 Gert Driesen <[email protected]>
  8394. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  8395. * Splitter.cs: Added missing attributes for BorderStyle property.
  8396. * TextBoxBase.cs: Marked Calculate* methods internal.
  8397. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  8398. MS.NET.
  8399. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  8400. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  8401. 2005-09-25 Jackson Harper <[email protected]>
  8402. * TreeView.cs: Update the node bounds correctly regardless of
  8403. whether the node is visible.
  8404. 2005-09-25 Jackson Harper <[email protected]>
  8405. * ImageList.cs: Don't dispose the image after it is added to the
  8406. image list. Only reformat images that need to be resized.
  8407. 2005-09-25 Jackson Harper <[email protected]>
  8408. * ImageList.cs: Don't set the format when changing the image.
  8409. 2005-09-25 Jackson Harper <[email protected]>
  8410. * TreeView.cs: We can't just assume the node has a font. Use the
  8411. treeviews font if no node font is available.
  8412. 2005-09-25 Jackson Harper <[email protected]>
  8413. * TreeView.cs: Allow the scrollbars to be reset with negative
  8414. values.
  8415. - Don't add scrollbars to negative sized windows.
  8416. 2005-09-23 Jackson Harper <[email protected]>
  8417. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  8418. old Mono.Posix. Also remove some stray code that shouldn't have
  8419. been committed.
  8420. 2005-09-23 Jackson Harper <[email protected]>
  8421. * TreeView.cs: Attempt at proper sizing of the horizontal
  8422. scrollbar. Also don't resize the scrollbars unless they are
  8423. visible.
  8424. 2005-09-23 Jackson Harper <[email protected]>
  8425. * TreeView.cs: We don't need to expand the invalid area when the
  8426. selection changes, as this is all drawn in the node's bounding
  8427. box. The area needs to be expanded (previous typo was contracting
  8428. it) when the focus rect moves.
  8429. 2005-09-23 Jackson Harper <[email protected]>
  8430. * TreeView.cs: Display the selection box under the correct
  8431. circumstances. We were rendering white text with no selection box
  8432. before.
  8433. 2005-09-23 Peter Dennis Bartok <[email protected]>
  8434. * TextControl.cs(Split): Now updates selection start/end if it points
  8435. into a line that's being split. Fixes a FIXME and bug #75258
  8436. 2005-09-23 Jackson Harper <[email protected]>
  8437. * Binding.cs:
  8438. * ListControl.cs: Don't use the path when retrieving binding
  8439. managers from the binding context. My bat sense tells me that the
  8440. path is only used on insertion.
  8441. 2005-09-22 Jackson Harper <[email protected]>
  8442. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  8443. 2005-09-22 Jackson Harper <[email protected]>
  8444. * Splitter.cs: There are special cursors used for splitting.
  8445. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  8446. 2005-09-22 Jackson Harper <[email protected]>
  8447. * Splitter.cs: Change the cursor appropriately when the splitter
  8448. is moused over, so the user actually knows there is a splitter
  8449. there.
  8450. 2005-09-22 Hisham Mardam Bey <[email protected]>
  8451. * Label.cs : Fix ToString method to give same output as MS.NET
  8452. 2005-09-22 Jackson Harper <[email protected]>
  8453. * TreeView.cs: Create the scrollbars when the handle is created
  8454. and add them right away, just make them invisble. Also account for
  8455. the window being shrunk vertically to the point that the vert
  8456. scrollbar needs to be added.
  8457. - Remove some 0.5 adjustments to get around anti aliasing issues.
  8458. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  8459. * MainMenu.cs: Fixes default value
  8460. * MenuItem.cs: Fixes default value
  8461. 2005-09-22 Kazuki Oikawa <[email protected]>
  8462. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  8463. 2005-09-21 Jackson Harper <[email protected]>
  8464. * Control.cs: Don't try to set the border style on the window if
  8465. it hasn't been created. When the window is created the border
  8466. style will be used.
  8467. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8468. * Control.cs (Update): Don't call XplatUI if we don't have a
  8469. window handle yet
  8470. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8471. * ContainerControl.cs: Instead of throwing an exception, print
  8472. a one-time warning about Validate not being implemented
  8473. * XplatUIWin32.cs: Removed debug output
  8474. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8475. * Control.cs: Only set XplatUI background if we expect the windowing
  8476. system to handle the background. This stops controls that draw their
  8477. own background from flickering
  8478. * XplatUIX11.cs: Support custom visuals and colormaps for window
  8479. creation. This allows, amongst other things, using MWF X11 windows
  8480. with OpenGL.
  8481. 2005-09-21 Peter Dennis Bartok <[email protected]>
  8482. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  8483. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  8484. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  8485. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  8486. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  8487. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  8488. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  8489. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  8490. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  8491. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  8492. GridColumnStylesCollection.cs,
  8493. IDataGridColumnStyleEditingNotificationService.cs,
  8494. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  8495. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  8496. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  8497. TreeNodeCollection.cs, AmbientProperties.cs,
  8498. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  8499. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  8500. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  8501. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  8502. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  8503. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  8504. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  8505. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  8506. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  8507. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  8508. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  8509. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  8510. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  8511. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  8512. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  8513. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  8514. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  8515. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  8516. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  8517. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  8518. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  8519. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  8520. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  8521. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  8522. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  8523. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  8524. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  8525. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  8526. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  8527. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  8528. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  8529. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  8530. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  8531. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  8532. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  8533. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  8534. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  8535. 2005-09-21 Jackson Harper <[email protected]>
  8536. * TreeNode.cs: Call Before/After Expand not Collapse when
  8537. expanding.
  8538. 2005-09-20 Jackson Harper <[email protected]>
  8539. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  8540. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  8541. * ListViewItem.cs:
  8542. - Fixes bug 76120
  8543. - Fixes proper storing of subitems
  8544. - Fixes not updated items
  8545. 2005-09-20 Peter Dennis Bartok <[email protected]>
  8546. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  8547. things if our window handle isn't created yet. Also disabled
  8548. debug for TextBoxBase
  8549. 2005-09-20 Peter Dennis Bartok <[email protected]>
  8550. * MenuAPI.cs: Remove filtering of events to allow menu usage
  8551. 2005-09-20 Miguel de Icaza <[email protected]>
  8552. * Cursor.cs: Allow null to be passed to Cursor.Current.
  8553. 2005-09-20 Alexander Olk <[email protected]>
  8554. * ThemeWin32Classic.cs:
  8555. - Change some private methods/fields to protected virtual so that
  8556. they can be accessed and overriden in derived classes
  8557. - First refactoring of some methods. Derived themes now don't
  8558. need to duplicate the complete code from ThemeWin32Classic
  8559. * ThemeNice.cs:
  8560. - Added nice StatusBar
  8561. - Derive from ThemeWin32Classic and not Theme
  8562. - Removed duplicate ThemeWin32Classic code
  8563. 2005-09-20 Miguel de Icaza <[email protected]>
  8564. * Control.cs (ControlCollection.Add): If the value null is passed
  8565. the control is ignored.
  8566. Optimize this loop.
  8567. 2005-09-19 Peter Dennis Bartok <[email protected]>
  8568. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  8569. PostQuitMessage state.
  8570. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  8571. 2005-09-19 Peter Dennis Bartok <[email protected]>
  8572. * Application.cs: Our constructor will never get called, move
  8573. initialization to fields; fixes bug #75933
  8574. 2005-09-19 Hisham Mardam Bey <[email protected]>
  8575. * FileDialog.cs :
  8576. - Allow files to be selected properly using file name
  8577. combo box.
  8578. - Add ability to change diretory (absolute / relative)
  8579. using file name combo box.
  8580. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  8581. * ListBox.cs:
  8582. - Fixes Multicolumn listboxes item wrong calculations
  8583. - Allows to click when only one item is in the listbox
  8584. - Fixes crash when no items using keyboard navigation
  8585. 2005-09-16 Alexander Olk <[email protected]>
  8586. * ComboBox.cs: Reverted almost everything from the latest patch which
  8587. broke ComboBox
  8588. 2005-09-16 Kazuki Oikawa <[email protected]>
  8589. * ToolTip.cs:
  8590. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  8591. * ComboBox.cs:
  8592. - When DropDownStyle is Simple, it does not show scrollbar
  8593. to the last item of the list.
  8594. - When DropDownStyle is Simple, it crashed when the list was
  8595. scrolled down with the down cursor key.
  8596. - Fixed a bug that when DropDownStyle is DropDownList, the
  8597. selected item was not shown.
  8598. - The position of the selected item was not preserved when
  8599. the next dropdown happened.
  8600. * ThemeWin32Classic.cs:
  8601. - Items were wrapped at the right end.
  8602. * CheckedListBox.cs:
  8603. - Fixed Add method
  8604. * ListBox.cs:
  8605. - Items should be fully shown.
  8606. - When resizing and vertical scrollbar disappeared, the item
  8607. of index 0 should be on the top of the list.
  8608. - GetItemRectangle should consider the size of ver. scrollbar
  8609. * StatusBar.cs:
  8610. - SizingGrip area should not be allocated when it is not
  8611. displayed.
  8612. - Now it reflects MinWidth of the containing panel and
  8613. fixed a crash that happens when its width becomes so small.
  8614. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  8615. * CheckedListBox.cs: Fixes bug 76028
  8616. * ListBox.cs: Fixes bug 76028
  8617. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  8618. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  8619. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  8620. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  8621. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  8622. 2005-09-09 Jonathan Chambers <[email protected]>
  8623. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  8624. 2005-09-09 Jonathan Chambers <[email protected]>
  8625. * IRootGridEntry.cs: Added
  8626. * PropertyGridCommands.cs: Added
  8627. * PropertiesTab.cs: Added missing methods and property
  8628. * PropertyGridView.cs: Made class internal
  8629. * PropertyGridTextBox.cs: Made class internal
  8630. 2005-09-09 Alexander Olk <[email protected]>
  8631. * MimeIcon.cs: Try to check some other environment variables
  8632. if "DESKTOP_SESSION" returns "default"
  8633. 2005-09-09 Alexander Olk <[email protected]>
  8634. * ThemeNice.cs: Corrected background colors (e.g. menus)
  8635. * ColorDialog.cs: Use correct background colors for controls
  8636. 2005-09-09 Alexander Olk <[email protected]>
  8637. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  8638. 2005-09-08 Peter Dennis Bartok <[email protected]>
  8639. * RichTextBox.cs: Added initial implementation
  8640. * lang.cs: Removed. Was accidentally checked in long time ago
  8641. * TODO: Removed. Contents were obsolete
  8642. 2005-09-06 Jonathan Chambers <[email protected]>
  8643. * PropertiesTab.cs : Added
  8644. 2005-09-06 Jonathan Chambers <[email protected]>
  8645. * PropertyGrid.cs : Update
  8646. * PropertyGridView.cs : Update
  8647. * System.Windows.Forms.resx : Added images and strings
  8648. 2005-09-06 Peter Dennis Bartok <[email protected]>
  8649. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  8650. 2005-09-06 Peter Dennis Bartok <[email protected]>
  8651. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  8652. a busy loop right after the Ungrab the X11 display is otherwise
  8653. blocked
  8654. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  8655. * ThemeWin32Classic.cs: Optimise the use of clipping
  8656. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  8657. * DataGrid.cs: fixes recursion bug
  8658. 2005-09-03 Alexander Olk <[email protected]>
  8659. * ThemeNice.cs:
  8660. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  8661. - Cleanup
  8662. 2005-09-02 Alexander Olk <[email protected]>
  8663. * ThemeNice.cs: Draw nice ProgressBars
  8664. 2005-09-01 Miguel de Icaza <[email protected]>
  8665. * VScrollBar.cs: Another buglet found by Aaron's tool.
  8666. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  8667. bug finder.
  8668. 2005-08-30 Alexander Olk <[email protected]>
  8669. * ThemeNice.cs:
  8670. - Added nicer menu drawing
  8671. - Updated DrawTab
  8672. - some refactoring
  8673. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8674. * CreateParams.cs (ToString): Made output match MS
  8675. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  8676. handle is already created (to avoid forcing window creation)
  8677. * XplatUIX11.cs: Set window text to caption after creating window,
  8678. in case Text was set before window was created
  8679. * Form.cs: Use this.Text instead of a static string as caption
  8680. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8681. * NotifyIcon.cs: Don't set the window to visible; this screws
  8682. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  8683. OnPaint without a bitmap)
  8684. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  8685. happen very often anyway; we could add the check to the WM_PAINT
  8686. event generation code
  8687. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8688. * NotifyIcon.cs: Fill the icon area with a background color, to
  8689. avoid 'residue' when transparent icons are drawn
  8690. * XplatUIX11.cs:
  8691. - Handle whole_window == client_window when destroying windows
  8692. - SystrayAdd(): Set client_window to whole_window value to
  8693. get mouse and other events passed to NotifyIcon
  8694. 2005-08-30 Peter Dennis Bartok <[email protected]>
  8695. * Form.cs: Set proper default for Opacity property
  8696. * NotifyIcon.cs:
  8697. - ShowSystray(): Don't bother creating telling the OS
  8698. about the systray item if no icon is provided
  8699. - Now handles WM_NCPAINT message to deal with whole/client window
  8700. split
  8701. - Create window as visible to not get caught by Expose optimization
  8702. * Hwnd.cs: Removed debug message
  8703. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  8704. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  8705. PaintEventStart/End to use new client argument
  8706. * TextBoxBase.cs:
  8707. - Commented out debug messages
  8708. - Switched PaintEventStart/End to use new client argument
  8709. * XplatUI.cs: Added client window bool to PaintEventStart()/
  8710. PaintEventEnd() calls, to support drawing in non-client areas
  8711. * XplatUIDriver.cs:
  8712. - Added client window bool to PaintEventStart()/PaintEventEnd()
  8713. calls, to support drawing in non-client areas
  8714. - Added conditional compile to allow using MWF BeginInvoke
  8715. on MS runtime
  8716. * XplatUIX11.cs:
  8717. - Added some conditional debug output
  8718. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  8719. whole/client window split
  8720. - Implemented handling of client argument to PaintEventStart()/End()
  8721. * Control.cs:
  8722. - Throw exception if BeginInvoke() is called and the window handle
  8723. or one of the window's parent handles is not created
  8724. - Added conditional compile to allow using MWF BeginInvoke on
  8725. MS runtime
  8726. - get_Parent(): Only sets parent if handle is created. This avoids
  8727. forcing window handle creation when parent is set.
  8728. - Now fires Layout and Parent changed events in proper order
  8729. - Switched to use Handle instead of window.Handle for Z-Order setting,
  8730. the get_Parent() patch above causes us to possibly get null for 'window'
  8731. - Implemented handling of client argument to PaintEventStart()/End()
  8732. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  8733. default handling)
  8734. - Now sends a Refresh() to all child windows when Refresh() is called
  8735. 2005-08-29 Peter Dennis Bartok <[email protected]>
  8736. * Form.cs: Added (non-functional) Opacity property
  8737. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  8738. 2005-08-29 Alexander Olk <[email protected]>
  8739. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  8740. use export MONO_THEME=nice to activate it.
  8741. Currently supported controls:
  8742. - Button
  8743. - ComboBox
  8744. - ScrollBar
  8745. - TabControl (TabAlignment.Top only, other will follow)
  8746. * ThemeEngine.cs: Add theme nice
  8747. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  8748. if enabled
  8749. 2005-08-25 Jonathan Chambers <[email protected]>
  8750. * Splitter.cs: Resize docked control and its neighbor.
  8751. 2005-08-24 Rafael Teixeira <[email protected]>
  8752. -- Making Windows with Menus layout correctly --
  8753. * Form.cs : The first leg of the fix
  8754. Menu setter - adjust Client Size as needed to make space for the menu
  8755. SetClientSizeCore - doesn't call base version to be able to pass the
  8756. menu handle to XplatUI.CalculateWindowRect
  8757. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  8758. * XplatUIX11.cs: The critical second leg of the fix
  8759. GetWindowPos needs to use a recalculated client_rect
  8760. so that resizing the window doesn't break layout of child controls.
  8761. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  8762. Lots of \t\n killed
  8763. 2005-08-23 Peter Dennis Bartok <[email protected]>
  8764. * Label.cs: Now properly recalculates width and height on Font and Text
  8765. changes if AutoSize is set
  8766. 2005-08-19 Rafael Teixeira <[email protected]>
  8767. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  8768. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  8769. * ImageList.cs: Makes ToString method compatible with MS
  8770. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  8771. * MenuAPI.cs: fixes bug 75716
  8772. 2005-08-11 Umadevi S <[email protected]>
  8773. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  8774. 2005-08-11 Umadevi S <[email protected]>
  8775. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  8776. 2005-08-10 Umadevi S <[email protected]>
  8777. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  8778. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  8779. * Menu.cs: fixes bug 75700
  8780. * MenuAPI.cs: fixes navigation issues
  8781. 2005-08-09 Umadevi S <[email protected]>
  8782. * CheckedListBox.cs - simple fix for GetItemChecked.
  8783. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  8784. * ComboBox.cs: Serveral fixes
  8785. * ListBox.cs: Serveral fixes
  8786. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  8787. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  8788. * ListBox.cs: Fixes FindString methods
  8789. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  8790. * DataGrid.cs: fixes bugs exposed by new tests
  8791. 2005-08-04 Peter Dennis Bartok <[email protected]>
  8792. * Mime.cs: Compile Mono assembly references only if compiling
  8793. with Mono (Allows to build with VS.Net again)
  8794. 2005-07-28 Marek Safar <[email protected]>
  8795. * Control.cs (PaintControlBackground): Draw background image
  8796. corrrectly.
  8797. (CheckForIllegalCrossThreadCalls): Stubbed.
  8798. * Form.cs (OnCreateControl): Center when should be centered.
  8799. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  8800. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  8801. * Binding.cs: Binding to properties should be case unsensitive
  8802. 2005-07-18 [email protected]
  8803. * DataGrid.cs: fixes setmember order
  8804. 2005-07-07 Alexander Olk <[email protected]>
  8805. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  8806. * FileDialog.cs: FileDialog is now resizable and uses the new
  8807. MimeIconEngine
  8808. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  8809. * DataGridTextBoxColumn.cs: default value
  8810. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  8811. * GridTableStylesCollection.cs: fixes checking MappingName
  8812. * DataGridDrawingLogic.cs: fixes drawing logic issues
  8813. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  8814. * DataGrid.cs: fixes
  8815. 2005-07-06 Alexander Olk <[email protected]>
  8816. * MimeGenerated.cs: Use case sensitive comparer for
  8817. NameValueCollections
  8818. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  8819. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  8820. * ThemeWin32Classic.cs: bug fixes, code refactoring
  8821. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  8822. * DataGrid.cs: bug fixes, code refactoring
  8823. * DataGridTextBox.cs: bug fixes, code refactoring
  8824. * DataGridColumnStyle.cs: bug fixes, code refactoring
  8825. * Theme.cs: bug fixes, code refactoring
  8826. 2005-07-01 Peter Bartok <[email protected]>
  8827. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  8828. and other text box usage
  8829. 2005-07-01 Jackson Harper <[email protected]>
  8830. * TabControl.cs: Make sure the bottom of the tab covers the pages
  8831. border.
  8832. 2005-06-30 Peter Bartok <[email protected]>
  8833. * Form.cs (ShowDialog): Assign owner of the dialog
  8834. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  8835. might have been moved to a tag with different height
  8836. 2005-06-30 Jackson Harper <[email protected]>
  8837. * Form.cs: Don't create an infinite loop when setting focus
  8838. * MenuItem.cs: Don't dirty the parents if we don't have any
  8839. 2005-06-29 Ben Maurer <[email protected]>
  8840. * LibSupport.cs: Rename
  8841. 2005-06-29 Peter Bartok <[email protected]>
  8842. * TextBoxBase.cs: Re-align caret after deleting a character
  8843. * TextControl.cs:
  8844. - DeleteChars(): Ensure that tag covers the provided position
  8845. - StreamLine(): Drop reference for dropped tag
  8846. 2005-06-29 Peter Bartok <[email protected]>
  8847. * TextControl.cs:
  8848. - Selections now work properly, anchoring at the initial location
  8849. and properly extending in either direction (SetSelectionToCaret(),
  8850. SetSelectionStart() and SetSelectionEnd())
  8851. - No longer redraws the whole control on selection change, now
  8852. calculates delta between previous and new selection and only
  8853. invalidates/redraws that area
  8854. - Fixed FindPos() math off-by-one errors
  8855. - Changed DeleteChars() to verify the provided tag covers the
  8856. provided position, selections may have a tag that doesn't cover
  8857. the position if the selection is at a tag border
  8858. - Fixed off-by-one errors in DeleteChars()
  8859. - Added missing streamlining check in DeleteChars() to remove
  8860. zero-length tags
  8861. - Implemented Invalidate() method, now properly calculates exposures
  8862. between two given lines/positions
  8863. - Implemented SetSelection()
  8864. - Obsoleted and removed FixupSelection()
  8865. - Improved RecalculateDocument() logic, removing code duplication
  8866. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  8867. * LibSupport.cs: changes to match different input/output arguments.
  8868. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  8869. * LibSupport.cs: added libsupport.so init routine.
  8870. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  8871. * ControlBindingsCollection.cs
  8872. - Throws an exception on null datasource when adding
  8873. - Checks for duplicated bindings when adding
  8874. 2005-06-28 Jackson Harper <[email protected]>
  8875. * TreeView.cs (OnKeyDown): Support left and right properly
  8876. (navigates as well as expanding and collapsing.
  8877. - Add support for Multiply, this expands all the selected nodes
  8878. children.
  8879. - Fix some tabbing.
  8880. 2005-06-28 Jackson Harper <[email protected]>
  8881. * TreeView.cs: Implement keyboard navigation, currently supports,
  8882. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  8883. support for toggling checkboxes with the space bar.
  8884. 2005-06-28 Jackson Harper <[email protected]>
  8885. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  8886. tree.
  8887. 2005-06-28 Jackson Harper <[email protected]>
  8888. * TreeView.cs: Add missing event.
  8889. 2005-06-27 Peter Bartok <[email protected]>
  8890. * TextControl.cs:
  8891. - Made line ending size configurable (now allows for counting
  8892. lineendings as \n or \r\n)
  8893. - Added margin to viewport to keep caret visible on right side
  8894. - Fixed translation routines for line/pos to documentpos to consider
  8895. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  8896. - Fixed some line-endings to be unix style
  8897. - Fixed Document.FormatText to perform it's calculations 1-based
  8898. - Added descriptions for a few methods that might otherwise get
  8899. used wrong
  8900. - Added NOTE section with some basic conventions to remember at
  8901. the top of the file
  8902. - Major fixup for RichTextBox selection drawing:
  8903. * Fixed crashes when multiple tags on a single line were selected
  8904. * fixed selection box drawing not overlaying text
  8905. * fixed bogus offset calculation for tags not starting at index 1
  8906. * Switched behaviour from using multiple Substrings of a
  8907. StringBuilder.ToString() to using multiple
  8908. StringBuilder.ToString(start, length) statements, hoping this is
  8909. faster (kept original version commented out in the code, in case
  8910. original version was faster)
  8911. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  8912. alignment != Left
  8913. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  8914. call it as well
  8915. 2005-06-27 Jackson Harper <[email protected]>
  8916. * TabControl.cs: Move to the left and right with the arrow
  8917. keys. These keys don't cycle beyond first and last like
  8918. tab. Refresh all the tabs when scrolling them to the left or
  8919. right.
  8920. 2005-06-27 Jackson Harper <[email protected]>
  8921. * TabControl.cs:
  8922. - ToString: Added method
  8923. - CreateParams: Remove TODO and comment
  8924. - OnKeyDown: Cycle through bounds properly.
  8925. - SelectedIndex: Scroll to the right or left if we need to
  8926. display the newly selected tab.
  8927. 2005-06-23 Jackson Harper <[email protected]>
  8928. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  8929. set.
  8930. 2005-06-23 Jackson Harper <[email protected]>
  8931. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  8932. CTRL-SHIFT-TAB, and HOME, END are there any others?
  8933. 2005-06-23 Jackson Harper <[email protected]>
  8934. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  8935. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  8936. * DataGridTextBoxColumn.cs: fixes and enhancements
  8937. * ThemeWin32Classic.cs: fixes and enhancements
  8938. * DataGridBoolColumn.cs: fixes and enhancements
  8939. * DataGridDrawingLogic.cs: fixes and enhancements
  8940. * CurrencyManager.cs: fixes and enhancements
  8941. * DataGrid.cs: fixes and enhancements
  8942. * DataGridColumnStyle.cs: fixes and enhancements
  8943. 2005-06-22 Jackson Harper <[email protected]>
  8944. * TabControl.cs: Add some missing methods that just call into the
  8945. base. Make the TabPageCollection's IList interface behave in the
  8946. same manner as the MS implementation.
  8947. 2005-06-22 Peter Bartok <[email protected]>
  8948. * TextControl.cs: Added sanity check
  8949. * TextBoxBase.cs:
  8950. - Fixed wrapping behaviour, don't set wrap on single line controls
  8951. (this fixes the breakage of colordialog introduced in an earlier
  8952. checkin)
  8953. - Added rudimentary support for autoscrolling right-aligned controls
  8954. (still needs fixing, also, center alignment scroll is missing)
  8955. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  8956. * ScrollBar.cs: Fixes thumbpos on Maximum values
  8957. 2005-06-21 Jonathan Chambers <[email protected]>
  8958. * PropertyGridView.cs: Pass context information to UITypeEditors
  8959. 2005-06-21 Peter Bartok <[email protected]>
  8960. * TextBoxBase.cs:
  8961. - Now calling PositionCaret with absolute space coordinates
  8962. - Enabled vertical scrolling
  8963. - Better tracking of scrollbar changes, tied into WidthChange
  8964. event
  8965. - Improved cursor tracking
  8966. - Removed debug output
  8967. * TextControl.cs:
  8968. - PositionCaret coordinates are now works in absolute space, not
  8969. the canvas
  8970. - Improved tracking of document size
  8971. - Added events for width and height changes
  8972. 2005-06-21 Peter Bartok <[email protected]>
  8973. * Form.cs: Set focus to active control when form is activated
  8974. * TextControl.cs:
  8975. - Added word-wrap functionality to RecalculateLine()
  8976. - Added some short function descriptions for VS.Net to aid in
  8977. writing dependent controls
  8978. - Added Caret property, returning the current coords of the caret
  8979. - Added ViewPortWidth and ViewPortHeight properties
  8980. - Added Wrap property
  8981. - Added CaretMoved event
  8982. - Removed some old debug code
  8983. - Split() can now create soft splits
  8984. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  8985. - Added method to format existing text
  8986. - Fixed size/alignment calculations to use viewport
  8987. - RecalculateDocument now can handle changing line-numbers while
  8988. calculating lines
  8989. * TextBox.cs:
  8990. - Added some wrap logic, we don't wrap if alignment is not left
  8991. - Added casts for scrollbar var, base class switched types to
  8992. also support RichTextBoxA
  8993. - Implemented handling of scrollbar visibility flags
  8994. * TextBoxBase.cs:
  8995. - Switched scrollbars type to RichTextBoxScrollBars to support
  8996. RichTextBox
  8997. - Added tracking of canvas width/height
  8998. - Switched scrollbars to be not selectable (to keep focus on text)
  8999. - Added central CalculateDocument() method to handle all redraw
  9000. requirements
  9001. - Added ReadOnly support
  9002. - Added WordWrap support
  9003. - Fixed handling of Enter key (we now treat it as a DialogKey)
  9004. - Fixed caret positioning when h or v scroll is not zero
  9005. - Fixed placing/generation of vertical scrollbar
  9006. - Added CalculateScrollBars() method to allow updating scrollbar
  9007. limits and visibility
  9008. - Fixed handling of horizontal scroll
  9009. - Added handling of vertical scroll
  9010. - Implemented auto-'jump' when caret moves to close to a left or
  9011. right border and there is text to be scrolled into view (currently
  9012. there's the potential for a stack overflow, until a bug in
  9013. scrollbar is fixed)
  9014. 2005-06-21 Geoff Norton <[email protected]>
  9015. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  9016. 2005-06-19 Alexander Olk <[email protected]>
  9017. * Mime.cs:
  9018. - added inodes.
  9019. - return application/x-zerosize for files with size zero
  9020. (if no extension pattern matches).
  9021. - check matches collection for strings too.
  9022. - return only the first mime type if the name value
  9023. collection has more than one mime type.
  9024. 2005-06-18 Jonathan Chambers <[email protected]>
  9025. * PropertyGrid.cs: Cleaned up some TODOs
  9026. * PropertyGridView.cs: Added support for UITypeEditors
  9027. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  9028. * DataGrid.cs: clears cached value
  9029. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  9030. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  9031. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  9032. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  9033. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  9034. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  9035. * ThemeWin32Classic.cs: fixes colour
  9036. 2005-06-15 Peter Bartok <[email protected]>
  9037. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  9038. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  9039. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  9040. * Control.cs: Added some MWFCategory and MWFDescription attributes
  9041. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  9042. 2005-06-15 Alexander Olk <[email protected]>
  9043. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  9044. usage
  9045. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  9046. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  9047. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  9048. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  9049. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  9050. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  9051. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  9052. 2005-06-13 Jackson Harper <[email protected]>
  9053. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  9054. isn't printed when the user enables dropping. (X11 does accept
  9055. drops).
  9056. 2005-06-13 Jackson Harper <[email protected]>
  9057. * TreeView.cs: Remove some TODOS.
  9058. 2005-06-13 Jackson Harper <[email protected]>
  9059. * Form.cs: Hook into the mdi framework.
  9060. * MdiClient.cs: Use the base control collections add method so
  9061. parents get setup correctly. Set the default back colour and dock
  9062. style.
  9063. * MdiChildContext.cs: New class, this bad actor handles an
  9064. instance of an MDI window. Right now there is only basic
  9065. support. You can drag, close, and resize windows. Minimize and
  9066. Maximize are partially implemented.
  9067. 2005-06-13 Jackson Harper <[email protected]>
  9068. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  9069. freaky when both vals are negative. NOTE: There are probably other
  9070. places in XplatUIX11 that this needs to be done.
  9071. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  9072. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  9073. * DataGridColumnStyle.cs: fixes signature
  9074. 2005-06-12 Jackson Harper <[email protected]>
  9075. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  9076. windows.
  9077. 2005-06-11 Jackson Harper <[email protected]>
  9078. * StatusBarPanel.cs: Signature cleanups. Implement
  9079. BeginInit/EndInit.
  9080. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  9081. * DataGridTextBoxColumn.cs: Honors aligment
  9082. * GridColumnStylesCollection.cs: Contains is case unsensitive
  9083. * GridTableStylesCollection.cs: several fixes
  9084. * DataGridTableStyle.cs: default column creation
  9085. * DataGridDrawingLogic.cs: fixes
  9086. * CurrencyManager.cs: ListName property
  9087. * DataGrid.cs: multiple styles support
  9088. * DataGridColumnStyle.cs: fixes
  9089. 2005-06-10 Peter Bartok <[email protected]>
  9090. * Control.cs(Select): Moved SetFocus call to avoid potential
  9091. loops if controls change the active control when getting focus
  9092. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  9093. the up/down buttons
  9094. 2005-06-10 Matthias Felgner <[email protected]>
  9095. * ImageListConverter.cs: Implemented
  9096. 2005-06-10 John BouAntoun <[email protected]>
  9097. * MonthCalendar.cs: Wired in NumericUpDown control for year
  9098. 2005-06-10 John BouAntoun <[email protected]>
  9099. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  9100. DoubleClick events, since they are not meant to be fired.
  9101. 2005-06-09 Peter Bartok <[email protected]>
  9102. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  9103. Jonathan's standalone controls into MWF, implemented missing
  9104. events, attributes and methods; added xxxAccessible classes
  9105. * AccessibleObject.cs: Made fields internal so other classes
  9106. can change them if needed
  9107. 2005-06-09 Jonathan Gilbert <[email protected]>
  9108. * UpDownBase.cs: Complete implementation
  9109. * NumericUpDown.cs: Complete implementation
  9110. * DomainUpDown.cs: Complete implementation
  9111. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  9112. * DataGridTextBoxColumn.cs: drawing fixes
  9113. * DataGridCell.cs: fixes ToString method to match MSNet
  9114. * DataGridTableStyle.cs: fixes
  9115. * DataGridBoolColumn.cs: fixes, drawing
  9116. * DataGridDrawingLogic.cs: fixes, new methods
  9117. * DataGridTextBox.cs: Keyboard and fixes
  9118. * DataGrid.cs:
  9119. - Keyboard navigation
  9120. - Scrolling fixes
  9121. - Row selection (single, multiple, deletion, etc)
  9122. - Lots of fixes
  9123. 2005-06-07 Jackson Harper <[email protected]>
  9124. * ThemeWin32Classic.cs: Clear the background area when drawing
  9125. buttons.
  9126. 2005-06-06 Peter Bartok <[email protected]>
  9127. * ImageListStreamer.cs: Fixed signature for GetData
  9128. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  9129. * ComboBox.cs:
  9130. - Added missing ChildAccessibleObject class
  9131. - Added missing OnXXXFocus overrides, switched to using those
  9132. instead of the event handler
  9133. * Control.cs:
  9134. - Added Parent property for ControlAccessibleObject
  9135. - Fixed signatures
  9136. - Fixed attributes
  9137. - Added ResetBindings()
  9138. * ListBindingConverter.cs: Implemented some methods
  9139. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  9140. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  9141. * ContainerControl.cs: Fixed signature, now subscribing to the
  9142. ControlRemoved event instead of overriding the handler, LAMESPEC
  9143. * CurrencyManager.cs: Added missing attribute
  9144. * MonthCalendar.cs: Added missing properties
  9145. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  9146. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  9147. 2005-06-06 Gaurav Vaish and Ankit Jain
  9148. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  9149. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  9150. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  9151. * Control.cs: fixes CreateParams Width / Height.
  9152. 2005-06-05 Peter Bartok <[email protected]>
  9153. * Win32DnD.cs: Removed compilation warnings
  9154. 2005-06-05 Peter Bartok <[email protected]>
  9155. * Control.cs (CreateParams): Since we don't know if one of the
  9156. properties we use is overridden, lets make sure if we fail accessing
  9157. we continue with a backup plan
  9158. 2005-06-05 Peter Bartok <[email protected]>
  9159. * Win32DnD.cs:
  9160. - Removed debug output
  9161. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  9162. struct
  9163. - Plugged resource leak
  9164. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  9165. MS size
  9166. 2005-06-05 Peter Bartok <[email protected]>
  9167. * XplatUIWin32.cs: Removed DnD code
  9168. * Win32DnD.cs: Implemented drop source and drop target functionality
  9169. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  9170. * UpDownBase.cs: remove duplicate addition of event, enable some code
  9171. that was commented out.
  9172. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  9173. Validate input when a key is pressed. It works fine now for every
  9174. combination of Hexadecimal. Only missing some drawing love when sharing
  9175. space with other controls.
  9176. 2005-06-04 Peter Bartok <[email protected]>
  9177. * Control.cs:
  9178. - We need to pass a window for DragDrop, so enable callback events
  9179. - Added DnD callback events when being a DragSource
  9180. * XplatUI.cs (StartDrag): Added window handle argument
  9181. * XplatUIDriver.cs (StartDrag): Added window handle argument
  9182. * QueryContinueDragEventArgs: Made fields internally accessible so
  9183. drivers can set them
  9184. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  9185. can set them
  9186. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  9187. * DataGridTextBoxColumn.cs: column text editing
  9188. * DataGridTableStyle.cs: Respect columns styles created by the user
  9189. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  9190. * DataGridBoolColumn.cs: bool column editing
  9191. * DataGrid.cs: fixes to scrolling, properties, etc
  9192. * DataGridTextBox.cs: handle keyboard
  9193. * DataGridColumnStyle.cs: fixes
  9194. 2005-06-02 Jackson Harper <[email protected]>
  9195. * ImageListStreamer.cs: Somewhat broken implementation of
  9196. GetObjectData. The RLE needs some work to match MS properly.
  9197. 2005-06-02 Jackson Harper <[email protected]>
  9198. * X11Dnd.cs: Attempting to keep at least one file in MWF
  9199. monostyled.
  9200. 2005-06-02 Peter Bartok <[email protected]>
  9201. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  9202. that way
  9203. 2005-06-02 Peter Bartok <[email protected]>
  9204. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  9205. * XplatUI.cs: Added DoDragDrop() method
  9206. * XplatUIDriver.cs: Added DoDragDrop() method
  9207. 2005-06-02 Jackson Harper <[email protected]>
  9208. * Splitter.cs: Implement BorderStyle.
  9209. 2005-06-02 Jackson Harper <[email protected]>
  9210. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  9211. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  9212. X11 using XDND.
  9213. 2005-06-02 Peter Bartok <[email protected]>
  9214. * DataObject.cs:
  9215. - Added Data setter
  9216. - Fixed broken insertion code for SetData, now also
  9217. overwrites any existing entry of the same format name
  9218. * Hwnd.cs: Added list of pointers that automatically gets
  9219. freed when the window is disposed
  9220. * XplatUI.cs: Call driver initialization method when loading
  9221. a driver
  9222. * Control.cs:
  9223. - OnDragLeave takes EventArgs, not DragEventArgs
  9224. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  9225. supported
  9226. - Forces style update when drop state changes
  9227. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  9228. not perfect since we cannot (yet) call the IDataObject.GetData()
  9229. method, we keep getting 0x80004005 error, dunno why)
  9230. 2005-06-02 Peter Bartok <[email protected]>
  9231. * DragEventArgs.cs: Make fields internal so we can cache the
  9232. object and re-set the fields from XplatUI
  9233. 2005-06-02 Jackson Harper <[email protected]>
  9234. * Control.cs: Add some internal methods so the DnD subsystem can
  9235. raise DnD events. Also call into the driver when AllowDrop is set.
  9236. * XplatUI.cs:
  9237. * XplatUIDriver.cs: New method for setting whether or not a window
  9238. is allowed to accept drag and drop messages.
  9239. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  9240. * ScrollBar.cs: Make sure that values sent in Scroll events
  9241. are always between Maximum and Minimum.
  9242. 2005-06-01 Marek Safar <[email protected]>
  9243. * Menu.cs: Call MenuChanged when menuitem visibility has been
  9244. changed.
  9245. * MenuItem.cs: Rebuild menu when item is (not) visible.
  9246. * MainMenu.cs: MainMenu has special MenuChanged.
  9247. * Theme.cs: Caption and FrameBorderSize are not fixed.
  9248. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  9249. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  9250. * XplatUIX11.cs,
  9251. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  9252. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  9253. 2005-05-30 Jackson Harper <[email protected]>
  9254. * DataFormat.cs: We can't statically initialize this stuff because
  9255. it calls into the xplatui and could create a loop. So we lazy init
  9256. it.
  9257. 2005-05-28 Jackson Harper <[email protected]>
  9258. * Control.cs: Proper implementation of Product(Name/Version).
  9259. 2005-05-27 Jackson Harper <[email protected]>
  9260. * DataObject.cs: Dont crash if no data is found.
  9261. 2005-05-26 Rafael Teixeira <[email protected]>
  9262. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  9263. as per status page, guessing it should be set to true
  9264. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  9265. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  9266. * DataGridTableStyle.cs: set proper formatting text, def header text
  9267. * ThemeWin32Classic.cs: new themable paramaters
  9268. * DataGridBoolColumn.cs: paint check box, get data, fixes
  9269. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  9270. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  9271. * DataGridColumnStyle.cs: fixes
  9272. * Theme.cs: new themable paramaters
  9273. 2005-05-26 Peter Bartok <[email protected]>
  9274. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  9275. 2005-05-24 Jonathan S. Chambers <[email protected]>
  9276. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  9277. 2005-05-24 Peter Bartok <[email protected]>
  9278. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  9279. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  9280. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  9281. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  9282. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  9283. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  9284. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  9285. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  9286. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  9287. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  9288. missing attributes, etc
  9289. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  9290. 2005-05-24 Peter Bartok <[email protected]>
  9291. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  9292. when user tries to get help
  9293. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  9294. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  9295. to suppress warnings
  9296. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  9297. avoid unreachable code warning
  9298. 2005-05-20 Peter Bartok <[email protected]>
  9299. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  9300. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  9301. * DataGridTextBoxColumn.cs: Basic painting methods
  9302. * DataGridTableStyle.cs: Set table style in the column
  9303. * ThemeWin32Classic.cs: Use Theme for colors
  9304. * DataGridDrawingLogic.cs: Implement more drawing
  9305. * DataGrid.cs: drawing, theming, enhacements, fixes
  9306. * DataGridColumnStyle.cs: fixes, drawing
  9307. * Theme.cs: theming for Datagrid
  9308. 2005-05-20 Peter Bartok <[email protected]>
  9309. * Cursor.cs: Implemented GetObjectData() method
  9310. 2005-05-20 Peter Bartok <[email protected]>
  9311. * Cursors.cs: Added setting of cursor name
  9312. * Cursor.cs:
  9313. - Implemented constructors
  9314. - Implemented Draw and DrawStretched
  9315. - Implemented Current property
  9316. - Implemented == and != operators
  9317. - Implemented Dispose()
  9318. - Implemented ToString
  9319. - Added missing attributes
  9320. * XplatUIX11.cs:
  9321. - Added missing reset for OverrideCursor when DoEvents is called
  9322. - Fixed creation of cursor, logic was wrong
  9323. * XplatUIWin32.cs:
  9324. - Added missing reset for OverrideCursor when DoEvents is called
  9325. - Fixed creation of cursor, bit arrays were swapped
  9326. * Clipboard.cs: Removed obsolete MonoTODO attribute
  9327. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  9328. * ComboBox.cs: fixes OnSelectedItemChanged
  9329. * ControlBindingsCollection.cs: fixes item range check
  9330. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  9331. * UpDownBase.cs:
  9332. - Calc preferred height properly
  9333. - Implement missing properties
  9334. * NumericUpDown.cs: Implement missing events
  9335. 2005-05-19 Jackson Harper <[email protected]>
  9336. * TabControl.cs: New method that resizes the tab pages before
  9337. redrawing them. This as needed as the control is double buffered
  9338. and sizing will not be recalculated unless ResizeTabPages is
  9339. called.
  9340. * TabPage.cs: Set base.Text instead of Text in the constructor so
  9341. that UpdateOwner does not get called. Use the new Redraw method of
  9342. TabControl instead of Refresh so the sizing is recalculated.
  9343. * ThemeWin32Classic.cs: Draw the text for button tabs.
  9344. 2005-05-19 Jackson Harper <[email protected]>
  9345. * Control.cs: Paint control background images. Fix typo where
  9346. PaintControlBackground was not getting called correctly.
  9347. 2005-05-19 Peter Bartok <[email protected]>
  9348. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  9349. I can investigate, apparently I broke FileDialog
  9350. 2005-05-19 Marek Safar <[email protected]>
  9351. * AxHost.cs: Some simple properties.
  9352. * Control.cs: window must be accessible after ctor.
  9353. * Form.cs: Added TransparencyKey property.
  9354. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  9355. * XplatUIWin32.cs: SetBorderStyle implemented.
  9356. 2005-05-18 Peter Bartok <[email protected]>
  9357. * DataObject.cs: Entries are not global but particular to the
  9358. DataObject, now it behaves that way
  9359. * XplatUIWin32.cs: Implemented Clipboard methods
  9360. * Clipboard.cs: Implemented
  9361. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  9362. * XplatUIOSX.cs: Updated to final clipboard prototypes
  9363. * XplatUIX11.cs: Implemented Clipboard methods
  9364. * XplatUIDriver.cs: Updated to final clipboard prototypes
  9365. * XplatUIStructs.cs:
  9366. - Added BITMAPINFOHEADER struct
  9367. - Added ClipboardFormats enum
  9368. * X11Structs.cs:
  9369. - Added ClipboardStruct
  9370. - Added Atom enum items for clipboard types
  9371. - Fixed atom types for Selection event structures
  9372. * DataFormats.cs:
  9373. - Added internal properties and methods for drivers to enumerate
  9374. all known formats
  9375. - Switched initialization method to allow drivers to assign their
  9376. own IDs even for the MS predefined clipboard IDs
  9377. * XplatUI.cs: Updated to final clipboard interface
  9378. 2005-05-18 Jonathan S. Chambers <[email protected]>
  9379. * PropertyGridView.cs: Fixed compiler warnings.
  9380. 2005-05-18 Jonathan S. Chambers <[email protected]>
  9381. * PropertyGrid.cs: Added some event calls
  9382. * PropertyGridView.cs: Change drawing code to use double buffering
  9383. * PropertyGridTextBox.cs: Changed Text property name
  9384. * GridItem.cs: Added Bounds property.
  9385. * GridEntry.cs: Added Bounds property.
  9386. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  9387. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  9388. since GetType() may not return the correct type if the object is
  9389. a remoting proxy.
  9390. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  9391. * TreeNodeCollection.cs: fixes get/set item ranges
  9392. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  9393. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  9394. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  9395. * ComboBox.cs: Fix item range comparation
  9396. * ListView.cs: Fix item range comparation
  9397. 2005-05-03 Alexander Olk <[email protected]>
  9398. * FontDialog.cs:
  9399. - Clear example panel when OnPaint is called
  9400. - Better solution for displaying the example panel text
  9401. - Select default indexes in the ListBoxes
  9402. 2005-05-11 Geoff Norton <[email protected]>
  9403. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  9404. 2005-05-11 Peter Bartok <[email protected]>
  9405. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  9406. * SelectionRangeConverter.cs: Implemented
  9407. * PropertyGrid.cs: Fixed attribute value
  9408. * Control.cs:
  9409. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  9410. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  9411. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  9412. that's common to all drivers. First methods to go there are
  9413. Sebastien Pouliot's CAS Stack Propagation helper methods
  9414. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  9415. Sebastien Pouliot for CAS Stack Propagation
  9416. 2005-05-11 Geoff Norton <[email protected]>
  9417. * OSXStructs.cs:
  9418. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  9419. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  9420. * DataGridTextBoxColumn.cs: fixed some members
  9421. * GridColumnStylesCollection.cs: indexed column is case insensitive
  9422. * DataGridTableStyle.cs: fixes
  9423. * ThemeWin32Classic.cs: add new theme parameter
  9424. * Theme.cs: add new theme parameter
  9425. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  9426. * DataGrid.cs: fixes, new internal properties, etc.
  9427. * DataGridColumnStyle.cs: allows to set grid value
  9428. *
  9429. 2005-05-10 Peter Bartok <[email protected]>
  9430. * AccessibleObject.cs:
  9431. - Removed MonoTODO attribute on help, method is correct
  9432. - Fixed Bounds property
  9433. * AxHost.cs: Moved MonoTODO
  9434. * ButtonBase.cs: Now setting AccessibleObject properties
  9435. * RadioButton.cs: Setting proper AccessibleObject role
  9436. * CheckBox.cs: Setting proper AccessibleObject role
  9437. * ControlBindingsCollection.cs: Added properties, methods and attributes
  9438. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  9439. userdefined DataFormats.Format items as well
  9440. * ListControl.cs: Removed data_member from the public eye
  9441. * OpenFileDialog.cs:
  9442. - Made class sealed
  9443. - Added missing attributes
  9444. * SaveFileDialog.cs: Added missing attributes
  9445. * ImageListStreamer.cs: Fixed code that caused warnings
  9446. * LinkLabel.cs: Removed unreachable code
  9447. * TreeView.cs: Fixed code that caused warnings
  9448. * PropertyGridView.cs: Fixed code that caused warnings
  9449. * GridColumnStylesCollection.cs: Added missing attributes
  9450. * GridTableStylesCollection: Added missing attribute
  9451. * PropertyManager: Added .ctor
  9452. * SecurityIDType: Added
  9453. * DataObject.cs: Implemented class
  9454. * LinkArea.cs: Added missing attribute
  9455. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  9456. * RadioButton.cs: call base method to allow to fire OnClick event
  9457. * UpDownBase.cs: OnMouseUp call base method
  9458. * CheckedListBox.cs: call base method before returning
  9459. * TrackBar.cs: call base method before returning
  9460. 2005-05-10 Peter Bartok <[email protected]>
  9461. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  9462. for messages
  9463. 2005-05-10 Peter Bartok <[email protected]>
  9464. * DataFormats.cs: Implemented
  9465. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  9466. XplatUIX11.cs: Added Clipboard APIs
  9467. * XplatUIWin32.cs: Implemented Clipboard APIs
  9468. * FolderBrowserDialog.cs: Added missing event, attributes
  9469. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  9470. * CheckBox.cs: call base method to allow to fire OnClick event
  9471. 2005-05-09 Sebastien Pouliot <[email protected]>
  9472. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  9473. 2005-05-06 Peter Bartok <[email protected]>
  9474. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  9475. * Screen.cs: Implemented
  9476. * HelpNavigator.cs: Added
  9477. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  9478. property
  9479. * HelpProvider.cs: Implemented all we can do until we have a CHM
  9480. help library (which means that "What's This" does work now)
  9481. 2005-05-06 Jackson Harper <[email protected]>
  9482. * XplatUIX11.cs: Fix waking up the main loop.
  9483. 2005-05-05 Peter Bartok <[email protected]>
  9484. * XplatUI.cs: Updated revision
  9485. * Form.cs: Removed enless loop
  9486. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  9487. * Label.cs (OnPaint): Added call to base.OnPaint()
  9488. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  9489. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  9490. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  9491. * AxHost.cs: Added
  9492. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  9493. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  9494. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  9495. reuse of ToolTipWindow by other controls
  9496. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  9497. * XplatUIX11.cs: Now clipping drawing area (experimental)
  9498. * PictureBox.cs: Moved base.OnPaint() call to end of method
  9499. * Theme.cs: Fixed ToolTip abstracts to match new format
  9500. * ErrorProvider.cs: Implemented
  9501. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  9502. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  9503. * LinkLabel.cs:
  9504. - Adds cursors
  9505. - Handles focus
  9506. - Implements LinkBehavior
  9507. - Fixes many issues
  9508. 2005-05-03 Jackson Harper <[email protected]>
  9509. * ListView.cs: Calculate the scrollbar positioning on resize and
  9510. paint, so they get put in the correct place.
  9511. 2005-05-03 Alexander Olk <[email protected]>
  9512. * ColorDialogs.cs: The small color panels are now handled by
  9513. SmallColorControl. This fixes drawing of the focus rectangle
  9514. and adds a 3D border.
  9515. 2005-05-03 Peter Bartok <[email protected]>
  9516. * Control.cs: Modified version of Jonathan Chamber's fix for
  9517. double-buffering
  9518. 2005-05-03 Jackson Harper <[email protected]>
  9519. * ListView.cs: Remove redraw variable. Control now handles whether
  9520. or not a redraw needs to be done, and will only raise the paint
  9521. event if redrawing is needed.
  9522. 2005-05-03 Jackson Harper <[email protected]>
  9523. * Splitter.cs: No decorations for the splitter form. Cache the
  9524. hatch brush.
  9525. 2005-05-03 Jackson Harper <[email protected]>
  9526. * TreeView.cs: Use dashed lines to connect nodes. Use the
  9527. ControlPaint method for drawing the focus rect instead of doing
  9528. that in treeview.
  9529. 2005-05-02 Peter Bartok <[email protected]>
  9530. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  9531. 2005-04-29 Jackson Harper <[email protected]>
  9532. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  9533. entire image buffer. Just clear the clipping rectangle.
  9534. 2005-04-29 Jackson Harper <[email protected]>
  9535. * ThemeWin32Classic.cs: Don't draw list view items that are
  9536. outside the clipping rectangle.
  9537. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  9538. * ListBox.cs: added horizontal item scroll
  9539. 2005-04-29 Jackson Harper <[email protected]>
  9540. * ThemeWin32Classic.cs: Remove some old debug code that was
  9541. causing flicker with the new double buffering code.
  9542. 2005-04-29 John BouAntoun <[email protected]>
  9543. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  9544. behave like combobox and comboboxlist (still not sure if this is
  9545. correct though).
  9546. 2005-04-28 Jackson Harper <[email protected]>
  9547. * ThemeWin32Classic.cs: Don't fill the middle of progress
  9548. bars. This fills areas outside of the clip bounds that don't need
  9549. to be filled.
  9550. 2005-04-28 Jackson Harper <[email protected]>
  9551. * Control.cs: Don't expose functionality to touch the image buffers.
  9552. * ProgressBar.cs:
  9553. * ListView.cs: We do not need to (and no longer can) manipulate
  9554. the image buffers directly. All of this is handled by Control.
  9555. 2005-04-28 Peter Bartok <[email protected]>
  9556. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  9557. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  9558. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  9559. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  9560. * Combobox:
  9561. - Adjust control's height for non-simple comboboxes (bug fix)
  9562. - Remove dead code
  9563. * MenuAPI.cs: remove unused var
  9564. * ScrollBar.cs: remove unsed var
  9565. * ListBox.cs: unselect items when clearing
  9566. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  9567. * ListControl.cs: honors OnPositionChanged and default Selected Item
  9568. * ListBox.cs: unselect items when clearing
  9569. 2005-04-27 Jackson Harper <[email protected]>
  9570. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  9571. if a "correct" keyboard is not found. This will make us not crash,
  9572. but might give some users bad keyboard layouts...seems to be the
  9573. same thing rewind does.
  9574. 2005-04-27 Jackson Harper <[email protected]>
  9575. * BindingManagerBase.cs: Attach the current/position changed
  9576. handlers to their respective events.
  9577. 2005-04-27 Jackson Harper <[email protected]>
  9578. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  9579. not just a blit.
  9580. * ThemeWin32Classic.cs: Don't fill the background for picture
  9581. boxes. This could overright user drawing.
  9582. * ComboBox.cs: Just fill the clipping rect not the entire client
  9583. rect when drawing the background. This prevents pieces of the
  9584. image buffer from getting overwritten and is theoretically faster.
  9585. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  9586. * ComboBox.cs: Databinding support fixes, fire missing events
  9587. * ListControl.cs: implement missing methods and properties, fixes
  9588. * ThemeWin32Classic.cs: Databiding support on Drawing
  9589. * CheckedListBox.cs: Databinding support fixes, fire missing events
  9590. * ListBox.cs: Databinding support fixes, fire missing events
  9591. 2005-04-25 Peter Bartok <[email protected]>
  9592. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  9593. 2005-04-25 Jackson Harper <[email protected]>
  9594. * TreeView.cs: Use the horizontal scrollbars height not width when
  9595. determining how much of the client area is available.
  9596. 2005-04-25 Jackson Harper <[email protected]>
  9597. * Control.cs: Double buffering is handled differently now. As per
  9598. the spec, the extra buffer is created in the WM_PAINT message and
  9599. passed down to the control's drawing code.
  9600. * GroupBox.cs:
  9601. * Label.cs:
  9602. * CheckBox.cs:
  9603. * ProgressBar.cs:
  9604. * RadioButton.cs:
  9605. * ColorDialog.cs:
  9606. * ComboBox.cs:
  9607. * PropertyGridView.cs:
  9608. * UpDownBase.cs:
  9609. * MessageBox.cs:
  9610. * MenuAPI.cs:
  9611. * ListView.cs:
  9612. * ButtonBase.cs:
  9613. * SizeGrip.cs:
  9614. * ScrollBar.cs:
  9615. * ListBox.cs:
  9616. * TrackBar.cs:
  9617. * ToolBar.cs:
  9618. * PictureBox.cs:
  9619. * DateTimePicker.cs:
  9620. * StatusBar.cs:
  9621. * TreeView.cs: Update to new double buffering system.
  9622. * MonthCalendar.cs: Uncomment block, as Capture is now
  9623. working. Update to new double buffering
  9624. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  9625. * PaintEventArgs.cs: New internal method allows us to set the
  9626. graphics object. This is used for double buffering.
  9627. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  9628. rectangle. The internal paint_area var has been removed from
  9629. StatusBar. The clipping rect should be used instead.
  9630. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  9631. * TabPage.cs: The RefreshTabs method was removed, so just call the
  9632. tab controls Refresh method now.
  9633. * TabControl.cs: Update to new double buffering. Make sure the
  9634. handle is created before sizing the tab pages, otherwise we will
  9635. get stuck in a loop.
  9636. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  9637. * LinkLabel.cs: Fix typo, bug #74719; patch
  9638. from Borja Sanchez Zamorano
  9639. 2005-04-22 Jackson Harper <[email protected]>
  9640. * TreeNode.cs: Implement Handle stuff.
  9641. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  9642. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  9643. * DataGridTextBoxColumn.cs: call base constructors, fixes
  9644. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  9645. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  9646. * DataGridTableStyle.cs: implements create default column styles
  9647. * DataGridBoolColumn.cs: which types can handle
  9648. * DataGrid.cs: missing methods, fixes, new functionality
  9649. * DataGridColumnStyle.cs: fixes
  9650. 2005-04-20 Alexander Olk <[email protected]>
  9651. * FolderBrowserDialog.cs:
  9652. - Use a thread to fill the TreeView
  9653. - Adjusted some sizes
  9654. 2005-04-19 Peter Bartok <[email protected]>
  9655. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  9656. property. Fixes #74360.
  9657. 2005-04-19 Jackson Harper <[email protected]>
  9658. * XEventQueue.cs: Lock when getting the lockqueue size.
  9659. * PictureBox.cs: Call base OnPaint
  9660. 2005-04-19 Peter Bartok <[email protected]>
  9661. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  9662. messages were no longer being processed (this broke BeginInvoke)
  9663. 2005-04-18 Jackson Harper <[email protected]>
  9664. * TreeView.cs: buglet that caused node images to get drawn
  9665. regardless of whether or not they were in the clipping rectangle.
  9666. 2005-04-18 Jackson Harper <[email protected]>
  9667. * CurrencyManager.cs: There are four rules for GetItemProperties:
  9668. - If the type is an array use the element type of the array
  9669. - If the type is a typed list, use the type
  9670. - If the list contains an Item property that is not an object, use
  9671. that property
  9672. - use the first element of the list if there are any elements in
  9673. the list.
  9674. 2005-04-17 Jackson Harper <[email protected]>
  9675. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  9676. click. This handles offsets for scrolling properly and reduces
  9677. memory. Also fixed GetNode to not offset now that TopNode works
  9678. properly.
  9679. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  9680. 2005-04-17 Jackson Harper <[email protected]>
  9681. * CursorConverter.cs: Initial implementation.
  9682. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  9683. * ListControl.cs: work towards complex data binding support on ListControl
  9684. * CurrencyManager.cs: work towards complex data binding support on ListControl
  9685. * ListBox.cs: work towards complex data binding support on ListControl
  9686. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  9687. * GridTableStylesCollection.cs: fixes name and constructor
  9688. * DataGridTableStyle.cs: fixes
  9689. * DataGridBoolColumn.cs: fixes names and constructors
  9690. * DataGrid.cs: define methods and properties. Some init implementations
  9691. * DataGridCell.cs: define methods and properties. Some init implementations
  9692. * GridTablesFactory.cs: Define methods and properties
  9693. 2005-04-15 Geoff Norton <[email protected]>
  9694. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  9695. graphics port changes. We still want the coordinates in global screen
  9696. coordinates.
  9697. 2005-04-14 Jackson Harper <[email protected]>
  9698. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  9699. check plus minus or checkbox clicks unless those features are enabled.
  9700. 2005-04-14 Jackson Harper <[email protected]>
  9701. * TreeView.cs: Add methods for setting the top and bottom visible
  9702. nodes. TreeNode::EnsureVisible uses these methods.
  9703. * TreeNode.cs: Implement EnsureVisible
  9704. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  9705. * Form.cs: Pospone menu assignation if the window has not been created yet
  9706. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  9707. size and position
  9708. 2005-04-12 Jackson Harper <[email protected]>
  9709. * TreeView.cs: Set the TopNode properly when scrolling
  9710. occurs. This has the added benifit of reducing the amount of
  9711. walking that needs to be done when drawing. Also removed an old
  9712. misleading TODO.
  9713. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  9714. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  9715. * Timer.cs: fixes interval setting when the timer is already enabled
  9716. 2005-04-10 Alexander Olk <[email protected]>
  9717. * FolderBrowserDialog.cs: First approach
  9718. 2005-04-09 Peter Bartok <[email protected]>
  9719. * FolderBrowserDialog: Added
  9720. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  9721. * LinkLabel.cs: move drawing code into the theme
  9722. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  9723. * Theme.cs: define DrawLinkLabel method
  9724. 2005-04-05 Jackson Harper <[email protected]>
  9725. * BindingContext.cs: Use weak references so these bad actors don't
  9726. stay alive longer then they need to.
  9727. 2005-04-05 Jackson Harper <[email protected]>
  9728. * ListControl.cs: Basic implementation of complex databinding.
  9729. * ComboBox.cs:
  9730. * ListBox.cs: Add calls to ListControl databinding methods.
  9731. 2005-04-05 Alexander Olk <[email protected]>
  9732. * FileDialog.cs:
  9733. - Don't change PopupButtonState to Normal when the
  9734. PopupButton gets pressed several times.
  9735. - Renamed ButtonPanel to PopupButtonPanel
  9736. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  9737. * ColorDialog.cs: Use cached objects instead of creating them
  9738. * LinkLabel.cs: Use cached objects instead of creating them
  9739. * Splitter.cs: Use cached objects instead of creating them
  9740. * FontDialog.cs: Use cached objects instead of creating them
  9741. * PropertyGridView.cs: Use cached objects instead of creating them
  9742. * MessageBox.cs: Use cached objects instead of creating them
  9743. * FileDialog.cs: Use cached objects instead of creating them
  9744. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  9745. * TreeView.cs: Use cached objects instead of creating them
  9746. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  9747. * Control.cs: use Equals to compare the font since no == op
  9748. * ScrollBar.cs: use Equals to compare the font since no == op
  9749. 2005-04-04 Alexander Olk <[email protected]>
  9750. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  9751. 2005-04-01 Jackson Harper <[email protected]>
  9752. * Binding.cs: Implement IsBinding.
  9753. * BindingManagerBase.cs:
  9754. * PropertyManager.cs:
  9755. * CurrencyManager.cs: Add IsSuspended property.
  9756. 2005-04-01 Jackson Harper <[email protected]>
  9757. * Binding.cs: Had some IsAssignableFrom calls backwards.
  9758. 2005-04-01 Jackson Harper <[email protected]>
  9759. * Binding.cs: Handle null data members when pulling data.
  9760. * PropertyManager.cs: Handle the data member being a property that
  9761. does not exist.
  9762. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  9763. * DataGridTextBoxColumn.cs: fixes signature
  9764. * DataGrid.cs: calls right constructor
  9765. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  9766. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  9767. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  9768. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  9769. * DataGridTableStyle.cs: implements DataGridTableStyle
  9770. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  9771. * DataGridTextBox.cs: implements DataGridTextBox
  9772. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  9773. 2005-03-31 Alexander Olk <[email protected]>
  9774. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  9775. 2005-03-29 Peter Bartok <[email protected]>
  9776. * Application.cs:
  9777. - Properly implemented CompanyName property
  9778. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  9779. returns a path that includes CompanyName, ProductName and
  9780. Version (fixes bug #70330)
  9781. 2005-03-29 Stefan Buehler <[email protected]>
  9782. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  9783. fixes bug #72588.
  9784. 2005-03-28 Alexander Olk <[email protected]>
  9785. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  9786. - Added ReadOnly CheckBox
  9787. - Further refactoring: moved some code from Open-/SaveFileDialog
  9788. to FileDialog
  9789. 2005-03-28 Alexander Olk <[email protected]>
  9790. * OpenFileDialog.cs: Fixed CheckFileExists
  9791. * FileDialog.cs:
  9792. Moved FileView and DirComboBox outside FileDialog class.
  9793. They can now be used outside FileDialog
  9794. 2005-03-27 Alexander Olk <[email protected]>
  9795. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  9796. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  9797. 2005-03-27 Alexander Olk <[email protected]>
  9798. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  9799. - Added missing CreatePrompt property in SaveDialog
  9800. - Overall SaveDialog handling should be better now
  9801. - Added non standard ShowHiddenFiles property
  9802. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  9803. - Added InitialDirectory and RestoreDirectory support
  9804. 2005-03-26 Alexander Olk <[email protected]>
  9805. * FileDialog.cs: Made dirComboBox usable
  9806. 2005-03-24 Alexander Olk <[email protected]>
  9807. * FileDialog.cs: Added Filter support (case sensitiv)
  9808. 2005-03-24 Jackson Harper <[email protected]>
  9809. * TabControl.cs: Need a couple more pixels for the lines.
  9810. 2005-03-23 Jackson Harper <[email protected]>
  9811. * TabControl.cs: Give the tab page focus when it is selected.
  9812. 2005-03-23 Jackson Harper <[email protected]>
  9813. * TabControl.cs: Account for the drawing of tabs borders when
  9814. invalidating. If the slider was clicked dont do click detection on
  9815. the tabs.
  9816. 2005-03-23 Jackson Harper <[email protected]>
  9817. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  9818. 2005-03-22 Jonathan Chambers <[email protected]>
  9819. * CategoryGridEntry.cs: Added
  9820. * GridItem.cs: Added helper properties
  9821. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  9822. * GridEntry.cs: Updated code for collection
  9823. * PropertyGrid.cs: Cleaned up some formatting
  9824. * PropertyGridView.cs: Added drop down functionality for enums.
  9825. * GridItemCollection.cs: Added enumerator logic
  9826. * PropertyGridEntry.cs: Added
  9827. 2005-03-19 Alexander Olk <[email protected]>
  9828. * FileDialog.cs:
  9829. - Removed unnecessary commented code
  9830. - Fixed handling for entering the filename manually in the combobox
  9831. 2005-03-19 Alexander Olk <[email protected]>
  9832. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  9833. 2005-03-18 Peter Bartok <[email protected]>
  9834. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  9835. them being touching the border
  9836. 2005-03-18 Peter Bartok <[email protected]>
  9837. * TextControl.cs: Quick hack to center text better
  9838. 2005-03-18 Peter Bartok <[email protected]>
  9839. * ControlPaint.cs:
  9840. - Don't throw NotImplemented exceptions, just print a notice once
  9841. instead (requested by Miguel). This makes running existing SWF
  9842. apps a bit easier
  9843. * Control.cs:
  9844. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  9845. - Added context menu trigger on right click
  9846. * Panel.cs: Trigger invalidate on resize
  9847. * StatusBar.cs:
  9848. - Removed old double-buffer drawing
  9849. - Added ResizeRedraw style to force proper update of statusbar
  9850. * ListView.cs:
  9851. - Removed debug output
  9852. * ThemeWin32Classic.cs:
  9853. - Fixed drawing of status bar, now draws Text property if there
  9854. are no defined panels
  9855. 2005-03-18 Jackson Harper <[email protected]>
  9856. * ImageList.cs: When the image stream is set pull all the images
  9857. from it.
  9858. * ImageListStreamer.cs: Implement reading image list streams.
  9859. 2005-03-18 Peter Bartok <[email protected]>
  9860. * ThemeWin32Classic.cs (DrawPictureBox):
  9861. - Fixed calculations for centered drawing
  9862. - Fixed drawing for normal mode, not scaling the image on normal
  9863. 2005-03-18 Peter Bartok <[email protected]>
  9864. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  9865. textbox
  9866. * FileDialog.cs:
  9867. - Made Open/Save button the accept button for FileDialog
  9868. - Tied the cancel button to the IButtonControl cancel button
  9869. - Save/Open now properly builds the pathname
  9870. - Now handles user-entered text
  9871. - Preventing crash on right-click if no item is selected
  9872. - Fixed Text property, now uses contents of textbox
  9873. - Fixed SelectedText property, now just returns the text part that
  9874. is selected in the text box
  9875. 2005-03-18 Jackson Harper <[email protected]>
  9876. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  9877. rect, make sure to de-adjust the interior rect after drawing the
  9878. tab text.
  9879. 2005-03-18 Peter Bartok <[email protected]>
  9880. * MenuAPI.cs: Remove menu *before* executing selected action to
  9881. prevent the menu from 'hanging around'
  9882. 2005-03-17 Geoff Norton <[email protected]>
  9883. * XplatUIOSX.cs: Implemented WorkingArea property
  9884. 2005-03-17 Peter Bartok <[email protected]>
  9885. * XplatUIX11.cs: Fixed menu coord calculations
  9886. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  9887. for calculating offsets
  9888. 2005-03-17 Peter Bartok <[email protected]>
  9889. * Hwnd.cs: Do not consider menu presence for default client
  9890. rectangle location/size
  9891. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  9892. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  9893. translation functions
  9894. * FileDialog.cs: Fixed (what I presume is a) typo
  9895. 2005-03-17 Jonathan Gilbert <[email protected]>
  9896. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  9897. X access (avoids X-Async errors)
  9898. 2005-03-16 Jackson Harper <[email protected]>
  9899. * TabControl.cs: Raise the SelectedIndexChanged event.
  9900. 2005-03-16 Alexander Olk <[email protected]>
  9901. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  9902. - Removed vertical ToolBar and replaced it with a custom panel
  9903. (desktop and home button already work)
  9904. - Added Help button (some controls get resized or relocated then)
  9905. - Draw correct text depending on Open or Save.
  9906. - Fixed some typos...
  9907. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  9908. * ScrollBar.cs:
  9909. - Only change Maximum and Minimum when need it (bug fix)
  9910. 2005-03-15 Peter Bartok <[email protected]>
  9911. * Form.cs: Use Handle for icon, to trigger creation if
  9912. the window does not yet exist
  9913. * Control.cs:
  9914. - CanSelect: Slight performance improvement
  9915. - Focus(): Preventing possible recursion
  9916. - Invalidate(): Removed ControlStyle based clear flag setting
  9917. - WM_PAINT: fixed logic for calling OnPaintBackground
  9918. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  9919. EraseWindowBackground if the control doesn't paint background
  9920. * XplatUIWin32.cs:
  9921. - Moved EraseWindowBackground() method to internal methods
  9922. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  9923. is sent via SendMessage on BeginPaint call on Win32
  9924. * XplatUIX11.cs:
  9925. - Added EraseWindowBackground() method
  9926. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  9927. PaintEventStart, which more closely matches Win32 behaviour
  9928. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  9929. - Fixed SetFocus() to properly deal with client and whole windows
  9930. * Hwnd.cs: Added ErasePending property
  9931. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  9932. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  9933. 2005-03-12 Geoff Norton <[email protected]>
  9934. * XplatUIOSX.cs:
  9935. - Fix hard loop when timers exist.
  9936. - Fix bugs with middle and right click for 3 button mice.
  9937. 2005-03-11 Peter Bartok <[email protected]>
  9938. * XplatUIX11.cs:
  9939. - get_WorkingArea: Need to call X directly, GetWindowPos only
  9940. returns cached data now
  9941. - Added sanity check to GetWindowPos hwnd usage
  9942. 2005-03-11 Jackson Harper <[email protected]>
  9943. * BindingManagerBase.cs: This method isn't used anymore as
  9944. PullData now updates the data in the control.
  9945. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  9946. * Form.cs: fixes menu drawing on X11
  9947. * MenuAPI.cs: fixes menu drawing on X11
  9948. 2005-03-11 Peter Bartok <[email protected]>
  9949. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  9950. from Jonathan Gilbert; should fix bug #73606
  9951. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  9952. in Screen coordinates. Thanks, Jordi.
  9953. * Form.cs: Added missing attribute
  9954. 2005-03-11 Peter Bartok <[email protected]>
  9955. * Form.cs:
  9956. - Rudimentary Mdi support
  9957. - Removed outdated FormParent code
  9958. - Implemented lots of missing properties and methods, still missing
  9959. transparency support
  9960. - Added missing attributes
  9961. - Implemented support for MaximumBounds
  9962. - Added firing of various events
  9963. * XplatUI.cs: Added SetIcon() method
  9964. * XplatUIDriver.cs: Added SetIcon() abstract
  9965. * XplatUIOSX.cs: Stubbed out SetIcon() method
  9966. * XplatUIX11.cs:
  9967. - Implemented SetIcon() support
  9968. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  9969. - Switched to unix line endings
  9970. * XplatUIWin32.cs:
  9971. - Made POINT internal so for can access it as part of MINMAX
  9972. - Implemented SetIcon() support
  9973. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  9974. native Mdi support again, might have to go managed)
  9975. * Control.cs: Now fires the StyleChanged event
  9976. * MdiClient.cs: Added; still mostly empty
  9977. 2005-03-10 Peter Bartok <[email protected]>
  9978. * SaveFileDialog.cs: Added emtpy file
  9979. 2005-03-08 Peter Bartok <[email protected]>
  9980. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  9981. in turn triggers OnCreateContro) when creating a handle for the
  9982. first time.
  9983. * TextControl.cs: Fixed endless loop in certain cases when
  9984. replacing the current selection
  9985. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  9986. * ScrollBar.cs:
  9987. - Honors NewValue changes in Scroll events allowing apps to change it
  9988. - Adds First and Last Scroll events
  9989. - Fixes Thumb events
  9990. 2005-03-07 Peter Bartok <[email protected]>
  9991. * Hwnd.cs: Added DefaultClientRectangle property
  9992. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  9993. more detailed debug information
  9994. * XplatUIX11.cs:
  9995. - Fixed size-change feedback loop, where we would pull an old size
  9996. off the queue and mistakenly change our window's size to an
  9997. earlier value
  9998. - Now compressing ConfigureNotify events, to reduce looping and
  9999. redraw issues
  10000. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  10001. is called
  10002. 2005-03-07 Jackson Harper <[email protected]>
  10003. * Binding.cs: Push data pushes from data -> property. Check if the
  10004. property is readonly when attempting to set it.
  10005. 2005-03-07 Jackson Harper <[email protected]>
  10006. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  10007. instead of IsSubclassOf. Pulling data now sets the value on the
  10008. control.
  10009. * PropertyManager.cs:
  10010. * CurrencyManager.cs: Just need to pull data when updating now,
  10011. because PullData will set the value on the control.
  10012. 2005-03-04 Jackson Harper <[email protected]>
  10013. * Binding.cs: Implement data type parsing and converting on pulled
  10014. data. TODO: Are there more ways the data can be converted?
  10015. 2005-03-04 Jackson Harper <[email protected]>
  10016. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  10017. controls Validating method so we can repull the data when the
  10018. control loses focus.
  10019. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  10020. * ColumnHeader.cs:
  10021. - Fixes null string format
  10022. * ListView.cs:
  10023. - Adds enum type checks
  10024. - Fixes redrawing and recalc need after changing some properties
  10025. - Fixes on focus_item set after the event
  10026. - Fixes adding columns after the control has been created
  10027. * ThemeWin32Classic.cs:
  10028. - Fixes CheckBox focus rectangle
  10029. - Fixes ColumnHeader drawing
  10030. 2005-03-03 Jackson Harper <[email protected]>
  10031. * Binding.cs: Bind to <Property>Changed events so we can detect
  10032. when properties are changed and update the data.
  10033. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  10034. * ImageList.cs:
  10035. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  10036. - Fixes ImageList constructor with ImageList container
  10037. - Fixes image scaling (wrong parameters at DrawImage)
  10038. 2005-02-02 Jackson Harper <[email protected]>
  10039. * Binding.cs: Make property searches case-insensitive. Eliminate
  10040. some duplicated code.
  10041. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  10042. * ComboBox.cs:
  10043. - Handle focus event
  10044. - Fix scrollbar events
  10045. - Discard highlighted item if remove it
  10046. - Fixes SelectedItem with strings
  10047. 2005-03-01 Peter Bartok <[email protected]>
  10048. * Control.cs:
  10049. - Fixed Visible property, now follows (once again) parent chain
  10050. to return false if any control in the chain is visible=false
  10051. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  10052. - Fixed several places where is_visible instead of Visible was used
  10053. - Implemented FIXME related to focus selection when setting focused
  10054. control to be invisible
  10055. * XplatUIWin32.cs: Now using proper method to find out if window is
  10056. visible. Thanks to Jordi for pointing it out
  10057. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  10058. * ComboBox.cs: show/hide scrollbar instead of creating it
  10059. 2005-02-27 Jackson Harper <[email protected]>
  10060. * CurrencyManager.cs: Add PositionChanged stuff.
  10061. 2005-02-27 Peter Bartok <[email protected]>
  10062. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  10063. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  10064. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  10065. * XplatUIX11.cs:
  10066. - Implemented GetMenuDC()
  10067. - Implemented GetMenuOrigin()
  10068. - Implemented ReleaseMenuDC()
  10069. - Implemented generation of WM_NCPAINT message
  10070. - Implemented generation and handling of WM_NCCALCSIZE message
  10071. * Form.cs: Added debug helper message for Jordi's menu work
  10072. * Hwnd.cs:
  10073. - Modified ClientRect property; added setter, fixed getter to handle
  10074. setting of ClientRect
  10075. - Added MenuOrigin property
  10076. 2005-02-26 Peter Bartok <[email protected]>
  10077. * XplatUIX11.cs:
  10078. - Destroys the caret if a window that's being destroyed contains it
  10079. - Ignores expose events coming from the X11 queue for windows that
  10080. already are destroyed
  10081. - Now uses the proper variable for handling DestroyNotify, before we
  10082. marked the wrong window as destroyed
  10083. - Improved/added some debug output
  10084. 2005-02-26 Peter Bartok <[email protected]>
  10085. * X11Keyboard.cs: Fixes to work on 64bit systems
  10086. 2005-02-26 Peter Bartok <[email protected]>
  10087. * Control.cs:
  10088. - Now calling OnHandleDestroyed from DestroyHandle()
  10089. instead of Dispose()
  10090. - Removed bogus call to controls.Remove() from DestroyHandle()
  10091. 2005-02-26 Peter Bartok <[email protected]>
  10092. * Control.cs: Properly destroy child windows when our handle is
  10093. destroyed
  10094. 2005-02-25 Peter Bartok <[email protected]>
  10095. * XplatUI.cs:
  10096. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  10097. - Alphabetized Static Methods and Subclasses
  10098. * XplatUIX11.cs:
  10099. - Added XException class to allow custom handling of X11 exceptions
  10100. - Created custom X11 error handler, tied into XException class
  10101. - Added support for MONO_XEXCEPTIONS env var to allow the user
  10102. to either throw an exception on X errors or continue running
  10103. after displaying the error
  10104. - Added handling of DestroyNotify message
  10105. - Added handler for CreateNotify message (still disabled)
  10106. - Improved (tried to at least) Where method to provide file and lineno
  10107. * X11Structs.cs:
  10108. - Added XErrorHandler delegate
  10109. - Added XRequest enumeration (to suppor translation of errors)
  10110. 2005-02-25 Jackson Harper <[email protected]>
  10111. * PropertyManager.cs: Implement editing features
  10112. * CurrencyManager.cs:
  10113. * Binding.cs: First attempt at UpdateIsBinding
  10114. * BindingManagerBase.cs: Call UpdateIsBinding before
  10115. pushing/pulling data.
  10116. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  10117. * MenuAPI.cs: Respect disabled items
  10118. * ThemeWin32Classic.cs
  10119. - Caches ImageAttributes creation for DrawImageDisabled
  10120. - Fixes vertical menu line drawing
  10121. - Draws disabled arrows in disable menu items
  10122. 2005-02-24 Peter Bartok <[email protected]>
  10123. * Hwnd.cs:
  10124. - Added UserData property to allow associating arbitrary objects
  10125. with the handle
  10126. - Fixed leak; now removing Hwnd references from static windows array
  10127. * XplatUIWin32.cs:
  10128. - Fixed Graphics leak in PaintEventEnd
  10129. - Removed usage of HandleData, switched over to Hwnd class
  10130. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  10131. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  10132. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  10133. * ScrollBar.cs: Fixes bug
  10134. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  10135. keyboard navigation enhancements
  10136. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  10137. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  10138. * GroupBox.cs: Add control styles
  10139. * Label.cs: Add control styles
  10140. * UpDownBase.cs: Add control styles
  10141. * ListBox.cs: Add control styles
  10142. * XplatUIWin32.cs: Fixes wrong parameter order
  10143. 2005-02-23 Chris Bacon <[email protected]>
  10144. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  10145. 2005-02-23 Jackson Harper <[email protected]>
  10146. * PropertyManager.cs: Implement property binding. This doesn't
  10147. seem to work yet though as (I think) there are some bugs in
  10148. System.ComponentModel.PropertyDescriptor.
  10149. * BindingContext.cs: Use new PropertyManager constructor.
  10150. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  10151. * ProgressBar.cs: use clip region in ProgressBar
  10152. * ThemeWin32Classic.cs: use clip region in ProgressBar
  10153. 2004-02-22 Jackson Harper <[email protected]>
  10154. * BindingsCollection.cs: Remove some debug code.
  10155. 2005-02-22 Jackson Harper <[email protected]>
  10156. * BindingContext.cs:
  10157. * ControlBindingsCollection.cs:
  10158. * CurrencyManager.cs:
  10159. * Binding.cs:
  10160. * BindingManagerBase.cs: Initial implementation
  10161. * BindingsCollection.cs: Add an internal contains method that the
  10162. BindingManagerBase uses to ensure bindings aren't added twice to
  10163. the collection.
  10164. * PropertyManager.cs: Stubbed out.
  10165. * Control.cs:
  10166. * ContainerControl.cs: Hook up databinding
  10167. 2005-02-22 Geoff Norton <[email protected]>
  10168. * XplatUIOSX.cs:
  10169. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  10170. Fixed Invalidate/Update chain.
  10171. Fixed tons of other minor bugs (this is almost a complete rewrite).
  10172. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  10173. * ComboBox.cs: do subcontrol creation when the control is created
  10174. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  10175. * Label.cs: fixes image drawing (image and imagelist)
  10176. * ThemeWin32Classic.cs: cache brushes
  10177. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  10178. * Form.cs: Move menu drawing code to Theme class
  10179. * ComboBox.cs: Move ComboBox drawing code to Theme class
  10180. * MenuItem.cs: Move menu drawing code to Theme class
  10181. * MenuAPI.cs: Move menu drawing code to Theme class
  10182. * ThemeWin32Classic.cs: New methods
  10183. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  10184. * ListBox.cs: Move Listbox drawing code to Theme class
  10185. * Theme.cs: New methods
  10186. 2005-02-20 Peter Bartok <[email protected]>
  10187. * Control.cs:
  10188. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  10189. only process mnemonics on those)
  10190. - Fixed event sequence for key handling; first calling
  10191. ProcessKeyEventArgs now
  10192. * TextBoxBase.cs:
  10193. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  10194. for processing non-character keys
  10195. - Fixed WM_CHAR to generate proper event sequence before processing
  10196. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  10197. generation
  10198. 2005-02-19 Peter Bartok <[email protected]>
  10199. * UserControl.cs: Added TextChanged event; added attributes
  10200. * SizeGrip.cs: Implemented resizing and optional display of grip
  10201. * Form.cs: Fixed attribute
  10202. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  10203. Changed meaning of ScrollWindow bool argument; instead of the
  10204. clear attribute (which will be true usually anyway), it gives the
  10205. option of moving child controls as well.
  10206. * XplatUIX11.cs:
  10207. - Changed to match new ScrollWindow argument
  10208. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  10209. now handles the implicit parent window a WM puts around us
  10210. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  10211. to work)
  10212. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  10213. * TreeView.cs: Adjusted to new ScrollWindow arguments
  10214. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  10215. * Form.cs: Menu integration with non-client area
  10216. * MenuItem.cs: Menu integration with non-client area
  10217. * MenuAPI.cs: Menu integration with non-client area
  10218. 2005-02-18 Peter Bartok <[email protected]>
  10219. * MethodInvoker.cs: Added
  10220. * MdiLayout.cs: Added
  10221. * SendKeys.cs: Started implementation
  10222. * ErrorIconAlignment.cs: Added
  10223. 2005-02-18 Peter Bartok <[email protected]>
  10224. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  10225. * Form.cs: Added handling for Menu-related Non-client messages
  10226. 2005-02-17 Peter Bartok <[email protected]>
  10227. * UpDownBase.cs: Fixed typo, compilation errors
  10228. * DomainUpDown.cs: Fixed attribute value
  10229. 2005-02-16 Miguel de Icaza <[email protected]>
  10230. * UpDownBase.cs: Attach entry events.
  10231. Propagate events.
  10232. Add ForeColor property, Focused, InterceptArrowKeys (interception
  10233. does not work yet).
  10234. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  10235. * Form.cs:
  10236. - Redraw non client are on Setmenu
  10237. - Calc proper menu starting point
  10238. 2005-02-17 Peter Bartok <[email protected]>
  10239. * Application.cs: Fixed message_filter check
  10240. 2005-02-17 Peter Bartok <[email protected]>
  10241. * Application.cs: Now calls registered message filters
  10242. * DockStyle.cs: Fixed attribute
  10243. * Form.cs: Fixed attribute
  10244. * Menu.cs: Fixed attribute
  10245. * ToolTip.cs: Fixed attribute
  10246. * TreeNode.cs: Added missing attributes and arranged in regions
  10247. * PropertyGrid.cs: Fixed signatures
  10248. * TreeNodeCollection.cs: Added attributes
  10249. * Splitter.cs: Added missing attributes; arranged into regions
  10250. * TabPage.cs: Added missing attributes; arranged into regions
  10251. * TextBoxBase.cs: Added missing attributes
  10252. * TextBox.cs: Added missing attributes
  10253. * ArrangeDirection.cs: Added missing attributes
  10254. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  10255. * ToolBarButton.cs: Fixed attributes
  10256. * AnchorStyles.cs: Fixed attribute
  10257. * TrackBar.cs: Fixed attributes
  10258. * TabControl.cs: Added missing attributes and arranged into regions
  10259. * ToolBar.cs: Fixed attribute
  10260. * StatusBar.cs: Fixed signature, organized into regions and added
  10261. attributes
  10262. * StatusBarPanel.cs: Fixed attributes
  10263. * ContentsResizedEventArgs.cs: Implemented
  10264. * ContentsResizedEventHandler.cs: Implemented
  10265. * DateBoldEventArgs.cs: Implemented
  10266. * DateBoldEventHandler.cs: Implemented
  10267. * UpDownEventArgs.cs: Implemented
  10268. * UpDownEventHandler.cs: Implemented
  10269. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  10270. * Form.cs: first Menu NC refactoring
  10271. * MenuAPI.cs: first Menu NC refactoring
  10272. 2005-02-16 Peter Bartok <[email protected]>
  10273. * ImeMode.cs: Added missing attributes
  10274. * Menu.cs: Fixed attribute
  10275. * GroupBox.cs: Fixed attribute
  10276. * Label.cs: Fixed attribute
  10277. * ColorDialog.cs (RunDialog): Removed TODO attribute
  10278. * ComboBox.cs: Fixed attributes
  10279. * ListControl.cs: Added missing attributes
  10280. * PropertyGrid.cs: Fixed attributes
  10281. * Control.cs: Fixed attributes
  10282. * ListViewItem.cs: Added TypeConverter attribute
  10283. * NotifyIcon.cs: Fixed attributes
  10284. * ListView.cs: Fixed attributes
  10285. * ButtonBase.cs: Fixed attribute
  10286. * ImageList.cs: Added missing attributes
  10287. * ContainerControl.cs: Fixed signature
  10288. * CheckedListBox.cs: Fixed attribute; added missing attributes
  10289. * Panel.cs: Fixed attributes
  10290. * PropertyTabChangedEventArgs.cs: Added missing attribute
  10291. * PropertyValueChangedEventArgs.cs: Added missing attribute
  10292. * Binding.cs: Fixed attribute
  10293. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  10294. * ListBox.cs: Fixed attribute; added missing attributes;
  10295. * ScrollableControl.cs: Added missing attributes
  10296. * PictureBox.cs: Added missing attributes; implemented missing property
  10297. * DateTimePicker.cs: Added missing attributes
  10298. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  10299. * MonthCalendar.cs: Fixed attributes
  10300. * StatusBarPanel.cs: Added missing attributes
  10301. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  10302. 2005-02-16 Peter Bartok <[email protected]>
  10303. * TextBoxBase.cs: The previous method to enforce height yet remember
  10304. the requested high was less than ideal, this is an attempt to do
  10305. it better.
  10306. * Control.cs: Added comment about possible problem
  10307. * Copyright: Updated format
  10308. * GridItemType.cs: Fixed swapped values
  10309. 2005-02-15 Jackson Harper <[email protected]>
  10310. * BaseCollection.cs: Use property so we never access an
  10311. uninitialized list. Also initialize the list in the property.
  10312. 2005-02-15 Peter Bartok <[email protected]>
  10313. * GroupBox.cs (ProcessMnemonic): Implemented
  10314. * Label.cs (ProcessMnemonic): Implemented
  10315. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  10316. hotkeys
  10317. 2005-02-15 Peter Bartok <[email protected]>
  10318. * RadioButton.cs (ProcessMnemonic): Implemented
  10319. * CheckBox.cs (ProcessMnemonic): Implemented
  10320. * Control.cs:
  10321. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  10322. handling
  10323. - Added internal method to allow calling ProcessMnemonic from other
  10324. controls
  10325. * ContainerControl.cs:
  10326. - Started support for handling validation chain handling
  10327. - Implemented ProcessMnemonic support
  10328. - Added Select() call to Active, to make sure the active control
  10329. receives focus
  10330. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  10331. FormParent rewrite)
  10332. * ThemeWin32Classic.cs:
  10333. - DrawCheckBox(): Fixed stringformat to show hotkeys
  10334. - DrawRadioButton(): Fixed stringformat to show hotkeys
  10335. * CommonDialog.cs: Removed WndProc override, not needed
  10336. 2005-02-14 Peter Bartok <[email protected]>
  10337. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  10338. missed those in the rewrite
  10339. 2005-02-14 Miguel de Icaza <[email protected]>
  10340. * NumericUpDown.cs (Increment, ToString): Add.
  10341. (DecimalPlaces): implement.
  10342. Add attributes.
  10343. * UpDownBase.cs: Add the designer attributes.
  10344. 2005-02-13 Peter Bartok <[email protected]>
  10345. * Panel.cs: Removed border_style, now in Control
  10346. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  10347. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  10348. 2005-02-13 Peter Bartok <[email protected]>
  10349. * MouseButtons.cs: Added missing attributes
  10350. * XplatUIStructs.cs: Added enumeration for title styles
  10351. * LeftRightAlignment.cs: Added missing attributes
  10352. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  10353. it compatible with Graphics.FromHwnd()
  10354. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  10355. * Keys.cs: Added missing attributes
  10356. * SelectionRange.cs: Added missing attributes
  10357. * SelectionRangeConverter.cs: Added
  10358. * XplatUI.cs:
  10359. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  10360. ReleaseMenuDC methods
  10361. - Renamed ReleaseWindow to UngrabWindow
  10362. - Added proper startup notice to allow version identification
  10363. * Form.cs:
  10364. - Added missing attributes
  10365. - Removed FormParent concept
  10366. * Label.cs: Removed border_style field, now in Control
  10367. * RadioButton.cs: Now properly selects RadioButton when focus is
  10368. received
  10369. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  10370. * Control.cs:
  10371. - Added missing attributes
  10372. - Added borderstyle handling
  10373. - Removed FormParent concept support
  10374. - Fixed calls to XplatUI to match changed APIs
  10375. - Fixed bug that would case us to use disposed Graphics objects
  10376. - Removed unneeded internal methods
  10377. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  10378. - SelectNextControl(): Fixed to properly check common parents
  10379. * TextBoxBase.cs: Removed border_style field (now in Control)
  10380. * MessageBox.cs:
  10381. - Patch by Robert Thompson ([email protected]): Added icon support,
  10382. fixed calculations for form size
  10383. - Added support for localized strings and icons
  10384. - Improved form size calculations, added border
  10385. * ListView.cs: Removed border_style field (now in Control)
  10386. * X11Structs.cs: Moved several structs from X11 driver here
  10387. * X11Keyboard.cs: Changed debug message
  10388. * Application.cs: Removed FormParent concept support
  10389. * CommonDialog.cs:
  10390. - Resetting end_modal flag
  10391. - Removed FormParent concept support
  10392. * NativeWindow.cs: Removed FormParent concept support
  10393. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  10394. Client area and Non-Client whole window to allow support for WM_NC
  10395. messages
  10396. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  10397. prevent using it until it supports Hwnd as per Geoff Norton's request
  10398. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  10399. * PictureBox.cs: Removed border_style field, now in Control
  10400. * XplatUIWin32.cs: Added new driver methods
  10401. 2005-02-12 Peter Bartok <[email protected]>
  10402. * OpacityConverter.cs: Implemented
  10403. * Hwnd.cs: Internal class to support drivers that need to emulate
  10404. client area/non-client area window behaviour
  10405. 2005-02-11 Peter Bartok <[email protected]>
  10406. * KeysConverter.cs: Implemented
  10407. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  10408. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  10409. * LinkLabel: Added missing attributes
  10410. * MainMenu.cs: fixes ToString
  10411. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  10412. * ListBox.cs: fixes event position
  10413. * TrackBar.cs: adds missing attributes and events
  10414. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  10415. * MenuItem.cs: Use SystemInformation and bug fixes
  10416. * MenuAPI.cs: Use SystemInformation and bug fixes
  10417. 2005-02-09 Jackson Harper <[email protected]>
  10418. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  10419. their keystate otherwise things like VK_MENU get stuck "on".
  10420. 2005-02-09 Kazuki Oikawa <[email protected]>
  10421. * ListBox.cs: Fixes AddRange bug
  10422. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  10423. * ProgressBar.cs
  10424. - Add missing attributes
  10425. - Add missing method
  10426. * CheckedListBox.cs: Added missing attributes
  10427. - Add missing attributes
  10428. - Remove extra method
  10429. * ComboBox.cs: Added missing attributes
  10430. * VScrollBar.cs: Added missing attributes
  10431. * ScrollBar.cs: Added missing attributes
  10432. * ListBox.cs: Fixes signature, add missing consts
  10433. * LinkArea.cs: Added missing attributes
  10434. 2005-02-08 Peter Bartok <[email protected]>
  10435. * Menu.cs: Added missing attributes
  10436. * MainMenu.cs: Added missing attributes
  10437. * GroupBox.cs: Added missing attributes
  10438. * Label.cs: Added missing attributes
  10439. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  10440. * ColorDialog.cs:
  10441. - Added Instance and Options properties
  10442. - Added missing attributes
  10443. * Cursor.cs: Made Serializable
  10444. * NotifyIcon: Added missing attributes
  10445. * MenuItem.cs: Added missing attributes
  10446. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  10447. * Panel.cs: Added Missing attributes
  10448. * MonthCalendar.cs: Fixed CreateParams
  10449. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  10450. * LinkLabel.cs:
  10451. - Fixes signature
  10452. - Fixes issues with links
  10453. - Adds the class attributes
  10454. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  10455. * ComboBox.cs:
  10456. - Fixes button when no items available in dropdown
  10457. - Fixes repainting problems
  10458. - Adds the class attributes
  10459. 2005-02-07 Geoff Norton <[email protected]>
  10460. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  10461. the current theme. Cache these on startup.
  10462. 2005-02-07 Jackson Harper <[email protected]>
  10463. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  10464. the scrollbar buttons when they are depressed.
  10465. 2005-02-07 Geoff Norton <[email protected]>
  10466. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  10467. Get the display size from the main displayid. We currently dont
  10468. support multiple display configurations.
  10469. 2005-02-07 Geoff Norton <[email protected]>
  10470. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  10471. 2005-02-07 Miguel de Icaza <[email protected]>
  10472. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  10473. 2005-02-05 Jonathan Chambers <[email protected]>
  10474. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  10475. 2005-02-04 Jackson Harper <[email protected]>
  10476. * ThemeWin32Classic.cs: Respect the clipping rect when
  10477. drawing. Only fill the intersection of clips and rects so there
  10478. isn't a lot of large fills.
  10479. * ScrollBar.cs: Pass the correct clipping rect to the theme
  10480. engine. Remove some debug code.
  10481. 2005-02-05 John BouAntoun <[email protected]>
  10482. * DateTimePicker.cs:
  10483. - Fixed crash on DateTime.Parse, use Constructor instead
  10484. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  10485. * MenuItem.cs:
  10486. * MenuAPI.cs:
  10487. - Owner draw support (MeasureItem and DrawItem)
  10488. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  10489. * Menu.cs:
  10490. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  10491. - Fixes MenuItems.Add range
  10492. * MenuItem.cs:
  10493. - MergeMenu and Clone and CloneMenu functions
  10494. 2005-02-03 Jackson Harper <[email protected]>
  10495. * ScrollBar.cs: Make abstract
  10496. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  10497. is abstract.
  10498. 2005-02-03 Jackson Harper <[email protected]>
  10499. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  10500. all the unneeded refreshes and uses invalidates with properly
  10501. computed rects.
  10502. 2005-02-03 Peter Bartok <[email protected]>
  10503. * ComponentModel.cs: Added
  10504. * IDataGridEditingService.cs: Added
  10505. * Timer.cs: Added missing attributes
  10506. * ToolTip.cs: Added missing attributes
  10507. 2005-02-03 Jonathan Chambers <[email protected]>
  10508. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  10509. 2005-02-03 Peter Bartok <[email protected]>
  10510. * ListBox.cs: Added missing attributes
  10511. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  10512. * ListBox.cs:
  10513. - Fixes font height after font change
  10514. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  10515. 2005-02-02 Peter Bartok <[email protected]>
  10516. * HandleData.cs: Introduced static methods to allow class
  10517. to be more self-contained and track it's own HandleData objects
  10518. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  10519. HandleData to use new static methods
  10520. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  10521. * Combobox.cs:
  10522. - Fixes default size and PreferredHeight
  10523. - Missing events
  10524. - ObjectCollection.Insert implementation
  10525. * ListControl.cs
  10526. - Fixes signature
  10527. * ListBox.cs:
  10528. - Several fixes
  10529. - ObjectCollection.Insert implementation
  10530. - No selection after clean
  10531. - Small fixes
  10532. 2005-01-31 John BouAntoun <[email protected]>
  10533. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  10534. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  10535. * Combobox.cs:
  10536. - Caches ItemHeight calculation for OwnerDrawVariable
  10537. - Handles dropdown properly
  10538. - Fixes several minor bugs
  10539. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  10540. * ListBox.cs:
  10541. - Fixes 71946 and 71950
  10542. - Fixes changing Multicolumn on the fly
  10543. - Fixes keyboard navigation on Multicolumn listboxes
  10544. 2005-01-31 Geoff Norton <[email protected]>
  10545. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  10546. crash reporter log.
  10547. 2005-01-31 Geoff Norton <[email protected]>
  10548. * XplatUIOSX.cs: Allow applications to actually exit.
  10549. 2005-01-31 Geoff Norton <[email protected]>
  10550. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  10551. their parent at creation time rather than lazily later. Fixes a major
  10552. regression we were experiencing.
  10553. 2005-01-31 John BouAntoun <[email protected]>
  10554. * ThemeWin32Classic.cs: more date time picker painting fixes
  10555. * DateTimePicker.cs: more monthcalendar drop down fixes
  10556. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  10557. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  10558. * ScrollBar.cs:
  10559. - When moving the thumb going outside the control should stop the moving
  10560. - Adds the firing of missing events
  10561. - Fixes no button show if Size is not specified
  10562. - End / Home keys for keyboard navigation
  10563. 2005-01-30 Peter Bartok <[email protected]>
  10564. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  10565. sanity check to prevent theoretical loop
  10566. * XplatUIWin32.cs (SetVisible): Removed debug output
  10567. * XplatUIX11.cs (SystrayChange): Added sanity check
  10568. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  10569. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  10570. behaviour, valid until the X11 client window rewrite is done
  10571. * TextBox.cs (ctor): Setting proper default foreground and background
  10572. colors
  10573. 2005-01-30 John BouAntoun <[email protected]>
  10574. * Theme: Added DrawDateTimePicker to interface
  10575. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  10576. * DateTimePicker.cs: Created (still needs keys and painting code)
  10577. * DateTimePickerFormat.cs: added
  10578. * MonthCalendar.cs: fixed CreateParams for popup window mode
  10579. 2005-01-29 Peter Bartok <[email protected]>
  10580. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  10581. this should also the calculations for ligher/darker
  10582. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  10583. 2005-01-29 Peter Bartok <[email protected]>
  10584. * ArrangeDirection.cs: Added
  10585. * ArrangeStartingPositon.cs: Added
  10586. * SystemInformation.cs: Implemented
  10587. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  10588. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  10589. used by SystemInformation class
  10590. * X11Strucs.cs: Added XSizeHints structure
  10591. * MenuAPI.cs:
  10592. - Fixed CreateParams to make sure the menu window is always visible
  10593. - TrackPopupMenu: Added check to make sure we don't draw the
  10594. menu offscreen
  10595. 2005-01-29 Peter Bartok <[email protected]>
  10596. * HandleData.cs: Added method for altering invalid area
  10597. * TextBoxBase.cs: Implemented TextLength
  10598. 2005-01-28 Peter Bartok <[email protected]>
  10599. * XplatUIX11.cs: Improvement over last patch, not sending
  10600. the WM_PAINT directly anymore, instead we scroll any pending
  10601. exposed areas and let the system pick out the WM_PAINT later
  10602. 2005-01-28 Peter Bartok <[email protected]>
  10603. * SWF.csproj: Deleted, no longer used. Instead,
  10604. Managed.Windows.Forms/SWF.csproj should be used
  10605. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  10606. directly, to avoid a potential race condition with the next
  10607. scroll
  10608. 2005-01-28 Peter Bartok <[email protected]>
  10609. * XplatUI.cs: Made class internal
  10610. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  10611. * CheckedListBox.cs:
  10612. - Draw focus
  10613. - Fixed Drawing
  10614. - Missing methods and events
  10615. 2005-01-27 Peter Bartok <[email protected]>
  10616. * Application.cs (Run): Don't use form if we don't have one
  10617. 2005-01-27 Peter Bartok <[email protected]>
  10618. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  10619. 2005-01-27 Peter Bartok <[email protected]>
  10620. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  10621. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  10622. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  10623. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  10624. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  10625. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  10626. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10627. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  10628. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10629. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10630. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  10631. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  10632. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  10633. * Combobox.cs:
  10634. - Draw focus on Simple Combobox
  10635. - Fixes drawing issues
  10636. - fixes 71834
  10637. 2005-01-27 Peter Bartok <[email protected]>
  10638. * Form.cs:
  10639. - Place window in default location, instead of hardcoded 0/0
  10640. - Send initial LocationChanged event
  10641. * Control.cs:
  10642. - UpdateBounds after creation to find out where the WM placed us
  10643. - Make sure that if the ParentForm changes location the Form
  10644. is notified
  10645. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  10646. to the root, but to whatever the WM placed around us.
  10647. Translate to root coordinates before returning toplevel
  10648. coordinates
  10649. * XplatUIWin32.cs: Removed debug output
  10650. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  10651. flag to GetWindowPos, to allow translation of coordinates on X11
  10652. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  10653. * ListBox.cs: connect LostFocus Event
  10654. 2005-01-27 Peter Bartok <[email protected]>
  10655. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  10656. XplatUIX11.cs: Extended the Systray API
  10657. * Form.cs: Removed debug output
  10658. * Application.cs: Fixed focus assignment, always need to call
  10659. XplatUI.Activate() since Form.Activate() has rules that may
  10660. prevent activation
  10661. * NotifyIcon.cs: Should be complete now
  10662. * ToolTip.cs: Worked around possible timer bug
  10663. 2005-01-27 Jackson Harper <[email protected]>
  10664. * TabControl.cs:
  10665. - Only invalidate the effected tabs when the
  10666. selected index changes. This reduces drawing and gets rid of some
  10667. flicker.
  10668. - Only refresh if the tabs need to be shifted, otherwise only
  10669. invalidate the slider button.
  10670. - On windows the tabs are not filled to right if the slider is
  10671. visible.
  10672. 2005-01-27 Jackson Harper <[email protected]>
  10673. * TabControl.cs: Only refresh on mouseup if we are showing the
  10674. slider. Also only invalidate the button whose state has changed.
  10675. 2005-01-26 Peter Bartok <[email protected]>
  10676. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  10677. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  10678. and SystrayRemove() methods
  10679. * XplatUIOSX.cs: Stubbed Systray methods
  10680. * XplatUIX11.cs:
  10681. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  10682. methods
  10683. - Fixed broken XChangeProperty calls (marshalling messed up things)
  10684. * X11Structs.cs: Added enums and structs required for Size hinting
  10685. * NotifyIcon.cs: Added & implemented
  10686. 2005-01-26 Jackson Harper <[email protected]>
  10687. * TabControl.cs: Space vertically layed out tabs properly.
  10688. 2005-01-26 Peter Bartok <[email protected]>
  10689. * Form.cs (CreateClientParams): Always set the location to 0,0
  10690. since we're a child window.
  10691. * Control.cs (SetVisibleCore): Always explicitly setting the location
  10692. of a toplevel window, apparently X11 doesn't like to move windows
  10693. while they're not mapped.
  10694. 2005-01-26 Jackson Harper <[email protected]>
  10695. * TabControl.cs: Implement FillToRight size mode with vertically
  10696. rendered tabs.
  10697. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  10698. * ControlPaint.cs, ThemeWin32Classic.cs
  10699. - Fixes DrawFocusRectangle
  10700. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  10701. * MenuAPI.cs:
  10702. - MenuBar tracking only starts when item is first clicked
  10703. - Fixes menu hidding for multiple subitems
  10704. - Unselect item in MenuBar when item Executed
  10705. - Fixes bug 71495
  10706. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  10707. * ListControl.cs:
  10708. - IsInputKey for ListBox
  10709. * ListBox.cs:
  10710. - Focus item
  10711. - Shift and Control item selection
  10712. - Implement SelectionMode.MultiExtended
  10713. - Fixes RightToLeft
  10714. * ComboBox.cs:
  10715. - IsInputKey implemented
  10716. - Do not generate OnTextChangedEdit on internal txt changes
  10717. 2005-01-23 Peter Bartok <[email protected]>
  10718. * AccessibleObject.cs: Partially implemented Select()
  10719. * MonthCalendar.cs: Added missing attributes and events
  10720. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  10721. form can properly override CreateParams.
  10722. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  10723. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  10724. Control performs Invalidate & Update
  10725. * NativeWindow (CreateHandle): Added special handling for Form
  10726. and Form.FormParent classes to allow overriding of From.CreateParams
  10727. * Control.cs:
  10728. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  10729. name 'owner'
  10730. - ControlNativeWindow: Added Owner property
  10731. - Removed usage of Refresh() on property changes, changed into
  10732. Invalidate(), we need to wait until the queue is processed for
  10733. updates, direct calls might cause problems if not all vars for
  10734. Paint are initialized
  10735. - Added call to UpdateStyles() when creating the window, to set any
  10736. styles that CreateWindow might have ignored.
  10737. - Added support for Form CreateParent overrides to UpdateStyles()
  10738. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  10739. CreateParams are now properly overridable
  10740. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  10741. CreateParams are now properly overridable
  10742. 2005-01-23 Miguel de Icaza <[email protected]>
  10743. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  10744. OnTextBoxChanged.
  10745. Capture LostFocus and OnTextBoxChanged. The later introduces a
  10746. recursive invocation that I have not figured out yet.
  10747. Reset the timer when not using (it was accumulating).
  10748. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  10749. user has made changes that require validation.
  10750. Reset changing to avoid loops.
  10751. 2005-01-22 Miguel de Icaza <[email protected]>
  10752. * NumericUpDown.cs: Display value at startup.
  10753. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  10754. ValidateEditText.
  10755. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  10756. filled in. Added some basic parsing of text.
  10757. Still missing the OnXXX method overrides, and figuring out the
  10758. events that must be emitted.
  10759. * UpDownBase.cs: Handle UserEdit on the Text property.
  10760. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  10761. * ComboBox.cs:
  10762. - Fixes IntegralHeight
  10763. - ToString method
  10764. 2005-01-21 Jackson Harper <[email protected]>
  10765. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  10766. is set so that the page visibility is updated and the tabs are
  10767. sized correctly.
  10768. 2005-01-21 Jackson Harper <[email protected]>
  10769. * TabControl.cs: Use cliping rectangle for blitting. Give the
  10770. theme the clipping rect so we can do clipping while
  10771. drawing. Remove some debug code.
  10772. 2005-01-21 Jackson Harper <[email protected]>
  10773. * TabPage.cs: Add a new method so tab pages can force the tab
  10774. control to recalculate the tab page sizes.
  10775. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  10776. sizes.
  10777. 2005-01-20 Jackson Harper <[email protected]>
  10778. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  10779. 2005-01-20 Jackson Harper <[email protected]>
  10780. * TreeView.cs: Set the bounds for nodes properly. They were
  10781. getting screwed up when checkboxes were not enabled, but images
  10782. were.
  10783. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  10784. * ListBox.cs:
  10785. - Owner draw support
  10786. - Fixes
  10787. 2005-01-20 Jackson Harper <[email protected]>
  10788. * XplatUIStructs.cs: More misc keys
  10789. * X11Keyboard.cs: Ignore some control keys.
  10790. 2005-01-20 Jackson Harper <[email protected]>
  10791. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  10792. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  10793. 2005-01-19 Peter Bartok <[email protected]>
  10794. * Control.cs: Un-selecting the control when it is loosing focus
  10795. 2005-01-19 Jackson Harper <[email protected]>
  10796. * TreeView.cs: Hook up to the text controls leave event so we can
  10797. end editing when the users clicks outside the text box.
  10798. 2005-01-19 Jackson Harper <[email protected]>
  10799. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  10800. get set in the conversion array.
  10801. 2005-01-19 Peter Bartok <[email protected]>
  10802. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  10803. focus is properly set
  10804. * Button.cs:
  10805. - Added missing attributes
  10806. - removed styles, those are already set in the base class
  10807. * ButtonBase.cs:
  10808. - Added missing attributes
  10809. - Added clip window styles
  10810. * CheckBox.cs: Added missing attributes
  10811. * CommonDialog.cs:
  10812. - FormParentWindow.CreateParams: Added required clip styles
  10813. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  10814. also filters modifier keys
  10815. * MessageBox.cs:
  10816. - Added assignment of Accept and Cancel button to enable Enter
  10817. and Esc keys in MessageBox dialogs
  10818. - FormParentWindow.CreateParams: Added required clip styles
  10819. * RadioButton.cs: Added missing attributes
  10820. * TextControl.cs: No longer draws selection if control does not
  10821. have focus
  10822. * TextBoxBase.cs:
  10823. - Now draws simple rectangle around test area to make it obvious
  10824. there's a control. This is a hack until we properly support borders
  10825. - A few simple fixes to support selections better, now erases selected
  10826. text when typing, and resets selection when using movement keys
  10827. 2005-01-19 Miguel de Icaza <[email protected]>
  10828. * UpDownBase.cs: Added some new properties.
  10829. * DomainUpDown.cs: Implement a lot to get my test working.
  10830. 2005-01-19 Geoff Norton <[email protected]>
  10831. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  10832. 2005-01-19 Geoff Norton <[email protected]>
  10833. * OSXStructs (WindowAttributes): Fixed csc complaints
  10834. 2005-01-19 Geoff Norton <[email protected]>
  10835. * XplayUIOSX.cs:
  10836. OSXStructs.cs: Initial refactor to move enums and consts into
  10837. OSXStructs and use them in the driver for greater readability.
  10838. 2005-01-19 Geoff Norton <[email protected]>
  10839. * XplatUIOSX.cs: Initial support for Standard Cursors.
  10840. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  10841. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  10842. * ComboBox.cs: ability to change style when the ctrl is already
  10843. created, missing methods and events, bug fixes, signature fixes
  10844. 2005-01-19 Peter Bartok <[email protected]>
  10845. * Cursors.cs (ctor): Added ctor to fix signature
  10846. 2005-01-18 Peter Bartok <[email protected]>
  10847. * Button.cs: Implemented DoubleClick event
  10848. * ButtonBase.cs:
  10849. - Fixed keyboard handling to behave like MS, where the press of
  10850. Spacebar is equivalent to a mousedown, and the key release is
  10851. equivalent to mouseup. Now a spacebar push will give the same
  10852. visual feedback like a mouse click.
  10853. - Added missing attributes
  10854. - Added ImeModeChanged event
  10855. - Added support for generating DoubleClick event for derived classes
  10856. * CheckBox.cs:
  10857. - Implemented DoubleClick event
  10858. - Added missing attributes
  10859. * CommonDialog.cs: Added missing attribute
  10860. * ContextMenu.cs: Added missing attributes
  10861. * RadioButton.cs:
  10862. - AutoChecked buttons do not allow to be unselected when clicked
  10863. (otherwise we might end up with no selected buttons in a group)
  10864. - Added missing attributes
  10865. - Implemented DoubleClickEvent
  10866. * ThreadExceptionDialog.cs: Enabled TextBox code
  10867. 2005-01-18 Peter Bartok <[email protected]>
  10868. * Form.cs: Removed debug output
  10869. * Button.cs: Added support for DoubleClick method
  10870. 2005-01-18 Peter Bartok <[email protected]>
  10871. * Form.cs:
  10872. - Added method to parent window that allows triggering size
  10873. calculations when a menu is added/removed
  10874. - set_Menu: Cleaned up mess from early days of Form and Control,
  10875. now properly triggers a recalc when a menu is added/removed
  10876. - Added case to select form itself as focused form if no child
  10877. controls exist
  10878. - Added PerformLayout call when showing dialog, to ensure properly
  10879. placed controls
  10880. * Control.cs:
  10881. - Select(): Made internal so Form can access it
  10882. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  10883. status
  10884. * Application.cs (Run): Removed hack and calls PerformLayout instead
  10885. to trigger calculation when Form becomes visible
  10886. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  10887. * ComboBox.cs: fixes for ownerdraw
  10888. 2005-01-18 Peter Bartok <[email protected]>
  10889. * TextControl.cs:
  10890. - Sentinel is no longer static, each Document gets it's own, this
  10891. avoids locking or alternatively overwrite problems when more
  10892. than one text control is used simultaneously.
  10893. - Switched to use Hilight and HilightText brushes for text selection
  10894. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  10895. 2005-01-18 Peter Bartok <[email protected]>
  10896. * Control.cs:
  10897. - Hooked up the following events:
  10898. o ControlAdded
  10899. o ControlRemoved
  10900. o HandleDestroyed
  10901. o ImeModeChanged
  10902. o ParentChanged
  10903. o TabStopChanged
  10904. o Invalidated
  10905. o SystemColorsChanged
  10906. o ParentFontChanged
  10907. o Move
  10908. - Removed debug output
  10909. - Added a call to the current theme's ResetDefaults when a color change
  10910. is detected
  10911. * Form.cs: Now setting the proper ImeMode
  10912. * Theme.cs: Defined a method to force recreation of cached resources
  10913. and rereading of system defaults (ResetDefaults())
  10914. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  10915. 2005-01-17 Peter Bartok <[email protected]>
  10916. * Control.cs: Added missing attributes
  10917. 2005-01-17 Jackson Harper <[email protected]>
  10918. * TreeNode.cs: Implement editing. Add missing properties selected
  10919. and visible.
  10920. * TreeView.cs: Implement node editing. Also some fixes to use
  10921. Invalidate (invalid area) instead of Refresh when selecting.
  10922. 2005-01-17 Peter Bartok <[email protected]>
  10923. * Control.cs:
  10924. - Implemented InvokeGotFocus() method
  10925. - Implemented InvokeLostFocus() method
  10926. - Implemented InvokePaint() method
  10927. - Implemented InvokePaintBackground() method
  10928. - Implemented InvokeClick() method
  10929. - Implemented FindForm() method
  10930. - Implemented RectangleToClient() method
  10931. - Implemented ClientToRectangle() method
  10932. - Implemented ResetBackColor() method
  10933. - Implemented ResetCursor() method
  10934. - Implemented ResetFont() method
  10935. - Implemented ResteForeColor() method
  10936. - Implemented ResetImeMode() method
  10937. - Implemented ResetLeftToRight() method
  10938. - Implemented ResetText() method
  10939. - Implemented Scale() methods
  10940. - Implemented ScaleCore() method
  10941. - Implemented Update() method
  10942. - Removed unused variables
  10943. - Stubbed AccessibilityNotifyClients and
  10944. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  10945. with those yet)
  10946. - Now setting proper default for RightToLeft property
  10947. - Fixed bug in SetClientSizeCore that would cause windows to get
  10948. really big
  10949. - Now sending Click/DoubleClick events
  10950. - Now selecting controls when left mouse button is clicked on
  10951. selectable control
  10952. * AccessibleEvents.cs: Added
  10953. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  10954. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  10955. * XplatUIWin32.cs: Implemented UpdateWindow() method
  10956. * XplatUIX11.cs: Implemented UpdateWindow() method
  10957. * Form.cs: Removed stray semicolon causing CS0162 warning
  10958. * ThemeWin32Classic.cs: Fixed unused variable warnings
  10959. * ScrollableControl.cs: Now calls base method for ScaleCore
  10960. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  10961. style to avoid interference with internal click handler (which is
  10962. different than standard Control click handling)
  10963. * RadioButton.cs:
  10964. - Now unchecks all sibling radio buttons when control is
  10965. selected (Fixes #68756)
  10966. - Removed internal tabstop variable, using the one inherited from
  10967. Control
  10968. 2005-01-17 Jackson Harper <[email protected]>
  10969. * NavigateEventArgs.cs: Fix base type.
  10970. * LinkLabel.cs: Sig fix
  10971. 2005-01-17 Jackson Harper <[email protected]>
  10972. * TreeView.cs: Only invalidate the effected nodes bounds when
  10973. selecting nodes.
  10974. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  10975. * XplatUIWin32.cs: fixes Win32 marshaling
  10976. * XplatUIX11.cs: fixes method signature
  10977. 2005-01-17 Peter Bartok <[email protected]>
  10978. * XplatUIX11.cs: Clean up resources when we no longer need them
  10979. 2005-01-17 Peter Bartok <[email protected]>
  10980. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  10981. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  10982. and DestroyCursor() methods.
  10983. * Cursor.cs: Partially implemented, now supports standard cursors;
  10984. still contains some debug code
  10985. * Cursors.cs: Implemented class
  10986. * Control.cs:
  10987. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  10988. appropriate cursor
  10989. - Implemented Cursor property
  10990. - Replaced break; with return; more straightforwar and possibly
  10991. faster
  10992. - Now properly setting the result for WM_HELP
  10993. * X11Structs.cs: Added CursorFontShape enum
  10994. * XplatUIStructs.cs:
  10995. - Added StdCursor enum (to support DefineStdCursor() method)
  10996. - Added HitTest enum (to support sending WM_SETCURSOR message)
  10997. * XplatUIX11.cs:
  10998. - Now sends the WM_SETCURSOR message
  10999. - Implemented new cursor methods
  11000. * XplatUIOSX.cs: Stubbed new cursor methods
  11001. * XplatUIWin32.cs:
  11002. - Implemented new cursor methods
  11003. - Added GetSystemMetrics function and associated enumeration
  11004. 2005-01-15 Peter Bartok <[email protected]>
  11005. * Control.cs:
  11006. - WndProc(): Now handles EnableNotifyMessage
  11007. - SelectNextControl(): Fixed bug where if no child or sibling
  11008. controls exist we looped endlessly
  11009. 2005-01-14 Jackson Harper <[email protected]>
  11010. * TreeView.cs: Recalculate the tab pages when a new one is added
  11011. so that the proper bounding rects are created.
  11012. 2005-01-14 Jackson Harper <[email protected]>
  11013. * TreeView.cs: Draw a gray box instead of a grip in the lower
  11014. right hand corner when there are both horizontal and vertical
  11015. scroll bars.
  11016. 2005-01-14 Jackson Harper <[email protected]>
  11017. * Control.cs: When erasing backgrounds use FromHwnd instead of
  11018. FromHdc when there is a NULL wparam. This occurs on the X driver.
  11019. * XplatUIX11.cs: Set the wparam to NULL.
  11020. 2005-01-13 Jackson Harper <[email protected]>
  11021. * PictureBox.cs: Implement missing methods (except ToString, need
  11022. to test that on windows) and events. When visibility is changed we
  11023. need to redraw the image because the buffers are killed. When size
  11024. is changed refresh if the sizemode needs it.
  11025. 2005-01-13 Peter Bartok <[email protected]>
  11026. * Control.cs (SelectNextControl): Was using wrong method to select
  11027. a control
  11028. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  11029. * ComboBox.cs: fixes dropstyle
  11030. 2005-01-13 Peter Bartok <[email protected]>
  11031. * Form.cs:
  11032. - Implemented Select() override
  11033. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  11034. - Now sets keyboard focus on startup
  11035. * Control.cs (SelectNextControl): Now properly handles directed=true
  11036. * TextBoxBase.cs:
  11037. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  11038. - Added (really bad) focus rectangle (mostly for testing)
  11039. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  11040. to enforce redraw on focus changes
  11041. * ContainerControl.cs:
  11042. - Fixed detection of Shift-Tab key presses
  11043. - Fixed traversal with arrow keys
  11044. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  11045. gonna keep this or if it's complete yet
  11046. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  11047. * ComboBox.cs: missing properties, fixes
  11048. 2005-01-13 Peter Bartok <[email protected]>
  11049. * Panel.cs (ctor): Setting Selectable window style to off
  11050. * Splitter.cs (ctor): Setting Selectable window style to off
  11051. * GroupBox.cs (ctor): Setting Selectable window style to off
  11052. * Label.cs (ctor): Setting Selectable window style to off
  11053. 2005-01-12 Miguel de Icaza <[email protected]>
  11054. * UpDownBase.cs (InitTimer): If the timer has been already
  11055. created, enable it.
  11056. Use a TextBox instead of a Label.
  11057. 2005-01-12 Jackson Harper <[email protected]>
  11058. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  11059. draw the connecting node lines (when ShowLines is true).
  11060. * TreeNode.cs: The nodes index can now be updated. This is used
  11061. when a node collection is sorted.
  11062. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  11063. insert or an existing unsorted node collection can be sorted.
  11064. 2005-01-12 Peter Bartok <[email protected]>
  11065. * ContainerControl.cs: Implemented ProcessDialogKeys()
  11066. 2005-01-12 Peter Bartok <[email protected]>
  11067. * Control.cs:
  11068. - Implemented SelectNextControl() method
  11069. - Several focus related bug fixes
  11070. - Fixed Docking calculations to match MS documentation and
  11071. behaviour
  11072. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  11073. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  11074. bug fixes
  11075. 2005-01-12 Peter Bartok <[email protected]>
  11076. * Control.cs:
  11077. - Fixed broken Contains() method
  11078. - Implemented GetNextControl() method. Finally. This is the pre-
  11079. requisite for focus handling.
  11080. 2005-01-12 Peter Bartok <[email protected]>
  11081. * OSXStrucs.cs: Added
  11082. 2005-01-12 Peter Bartok <[email protected]>
  11083. * XplatUIWin32.cs:
  11084. - Removed PeekMessageFlags
  11085. - Implemented SetWindowStyle() method
  11086. * XplatUIStructs.cs: Added PeekMessageFlags
  11087. * X11Structs: Added missing border_width field to XWindowChanges struct
  11088. * XplatUIX11.cs:
  11089. - PeekMessage: Now throws exception if flags which are not yet
  11090. supported are passed
  11091. - Implemented SetWindowStyle() method
  11092. - Fixed SetZOrder to handle AfterHwnd properly
  11093. * XplatUI.cs: Added SetWindowStyle() method
  11094. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  11095. * Control.cs:
  11096. - Implemented UpdateStyles() method
  11097. - Implemented UpdateZOrder() method
  11098. * XplatUIOSX.cs: Added SetWindowStyle() stub
  11099. 2005-01-12 Geoff Norton <[email protected]>
  11100. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  11101. button mouse).
  11102. 2005-01-11 Jackson Harper <[email protected]>
  11103. * TreeView.cs: Still need to draw lines to siblings even if out of
  11104. the current node is out of the clip.
  11105. 2005-01-11 Jackson Harper <[email protected]>
  11106. * TreeView.cs: When setting the hbar/vbar/grip position use
  11107. SetBounds so that perform layout is only called once. Also suspend
  11108. and resume layout so layout is only done once for all controls.
  11109. - Removed some debug fluff
  11110. * SizeGrip.cs: Call base implmentation in overriding methods.
  11111. - When visibility is changed the drawing buffers are killed so we
  11112. need to redraw.
  11113. 2005-01-11 Jackson Harper <[email protected]>
  11114. * TreeView.cs: Calculate the open node count while drawing. This
  11115. saves us an entire tree traversal for every paint operation. Use
  11116. a member var for the open node count so less vars are passed around.
  11117. 2005-01-11 John BouAntoun <[email protected]>
  11118. * MonthCalendar.cs:
  11119. - fixed selection to use mousemove, not mouse polling on timer
  11120. * ThemeWin32Classic.cs
  11121. - removed redundant unused variable "no_more_content"
  11122. 2005-01-11 Peter Bartok <[email protected]>
  11123. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  11124. are pending, so it now calls PeekMessage instead of GetMessage;
  11125. implemented a incomplete version of PeekMessage
  11126. 2005-01-11 Peter Bartok <[email protected]>
  11127. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  11128. I18n issues
  11129. * TextBoxBase.cs: Added sending of TextChanged event
  11130. 2005-01-10 Jackson Harper <[email protected]>
  11131. * TreeView.cs: Try not to draw outside the clipping rectangle on
  11132. each node element.
  11133. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  11134. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  11135. 2005-01-10 Jackson Harper <[email protected]>
  11136. * TreeView.cs:
  11137. - Implement fast scrolling. Now only the newly
  11138. exposed nodes are drawn and the old image is moved using the
  11139. XplatUI::ScrollWindow method.
  11140. - Factor in height of nodes when calculating whether or not the
  11141. node is in the clipping rect.
  11142. 2005-01-10 Jackson Harper <[email protected]>
  11143. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  11144. 2005-01-10 Peter Bartok <[email protected]>
  11145. * Application.cs: Added temporary hack to resolve all our resize
  11146. required issues on startup. This will get fixed properly at
  11147. some point in the future
  11148. 2005-01-10 Jackson Harper <[email protected]>
  11149. * SizeGrip.cs: New internal class that is used as a sizing
  11150. grip control...hence the name.
  11151. 2005-01-10 Peter Bartok <[email protected]>
  11152. * Control.cs: Implemented proper TabIndex handling, now assigning
  11153. a tabindex when a control is added to a container
  11154. * GroupBox.cs (ctor): Now sets the Container style bit, required
  11155. for Control.GetNextControl()
  11156. 2005-01-09 Jackson Harper <[email protected]>
  11157. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  11158. 2005-01-09 Peter Bartok <[email protected]>
  11159. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  11160. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  11161. an overload for ScrollWindow to allow only scrolling a rectangle
  11162. 2005-01-09 Peter Bartok <[email protected]>
  11163. * Form.cs:
  11164. - Implemented SetDesktopBounds method
  11165. - Implemented SetDesktopLocation method
  11166. 2005-01-08 Jackson Harper <[email protected]>
  11167. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  11168. the node count has changed, this removes to VScroll::Refresh calls
  11169. when drawing.
  11170. 2005-01-08 Geoff Norton <[email protected]>
  11171. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  11172. 2005-01-07 Jackson Harper <[email protected]>
  11173. * TreeNode.cs: Just update the single node when it is
  11174. checked. Don't refresh after toggling, the Expand/Collapse already
  11175. handles this.
  11176. * TreeView.cs: Respect clipping a little more when drawing. Try
  11177. not to redraw things that don't need to be redrawn. Just hide the
  11178. scrollbars when they are no longer needed instead of removing
  11179. them, so they don't have to be created again and again.
  11180. 2005-01-07 Geoff Norton <[email protected]>
  11181. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  11182. coordinates to window space to place the caret properly, FIXED.
  11183. Implement GetWindowState & SetWindowState
  11184. 2005-01-06 Peter Bartok <[email protected]>
  11185. * Form.cs:
  11186. - Implemented ClientSize property
  11187. - Implemented DesktopBounds property
  11188. - Implemented DesktopLocation property
  11189. - Implemented IsRestrictedWindow property
  11190. - Implemented Size property
  11191. - Implemented TopLevel property
  11192. - Implemented FormWindowState property
  11193. * Control.cs:
  11194. - Implemented GetTopLevel() method
  11195. - Implemented SetTopLevel() method
  11196. * X11Structs.cs (Atom):
  11197. - Added AnyPropertyType definition
  11198. - Added MapState definiton and updated XWindowAttribute struct
  11199. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  11200. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  11201. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  11202. * XplatUIWin32.cs:
  11203. - Implemented GetWindowState() and SetWindowState() methods
  11204. - Fixed Win32GetWindowLong return type
  11205. * XplatUIX11.cs:
  11206. - Introduced central function for sending NET_WM messages
  11207. - Implemented GetWindowState() and SetWindowState() methods
  11208. * TextBoxBase.cs (set_Lines):
  11209. - Now uses Foreground color for text added via Text property (Duh!)
  11210. - Added code to remember programmatically requested size (fixes
  11211. behaviour when Multiline is set after Size)
  11212. - Added AutoSize logic
  11213. 2005-01-06 Jackson Harper <[email protected]>
  11214. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  11215. 2005-01-06 Jackson Harper <[email protected]>
  11216. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  11217. set to less then 0.
  11218. 2005-01-06 Jackson Harper <[email protected]>
  11219. * ScrollableControl.cs: Lazy init the scrollbars.
  11220. 2005-01-06 Jackson Harper <[email protected]>
  11221. * Theme.cs: Speed up getting pens and solid brushes, by using
  11222. their ARGB as a hash instead of tostring and not calling Contains.
  11223. 2005-01-06 Peter Bartok <[email protected]>
  11224. * Form.cs:
  11225. - Implemented OnActivated and OnDeactivate event trigger
  11226. - Implemented Activate() method
  11227. - Fixed ShowDialog() to activate the form that was active before
  11228. the dialog was shown
  11229. * XplatUIX11.cs:
  11230. - Added global active_window var that tracks the currently active
  11231. X11 window
  11232. - Now always grabs Property changes from the root window to always
  11233. catch changes on the active window property
  11234. - Added code to PropertyNotify handler to send Active/Inactive
  11235. messages when state changes. This puts X11 and Win32 en par on
  11236. WM_ACTIVATE notifications (except for double notifications when
  11237. the user clicks away from our modal window to another one of our
  11238. windows)
  11239. 2005-01-05 Jackson Harper <[email protected]>
  11240. * ImageList.cs: Implment ctor
  11241. 2005-01-05 Geoff Norton <[email protected]>
  11242. * XplatUIOSX.cs: Implement Activate/SetTopmost
  11243. 2005-01-05 Geoff Norton <[email protected]>
  11244. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  11245. 2005-01-05 Geoff Norton <[email protected]>
  11246. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  11247. 2005-01-05 Peter Bartok <[email protected]>
  11248. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  11249. XplatUIOSX.cs: Added GetActive method to return the currently
  11250. active window for the application (or null, if none is active)
  11251. * Form.cs:
  11252. - Implemented ActiveForm
  11253. - Commented out owner assignment for modal dialogs (causes problems
  11254. on Win32, since the owner will be disabled)
  11255. - Reworked some Active/Focus handling (still incomplete)
  11256. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  11257. (causes problems on Win32, since the owner will be disabled)
  11258. * IWin32Window: Added ComVisible attribute
  11259. 2005-01-05 Peter Bartok <[email protected]>
  11260. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  11261. required XplatUI functions.
  11262. 2005-01-05 Peter Bartok <[email protected]>
  11263. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  11264. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  11265. to implement focus and activation handling; still incomplete and
  11266. with debug output
  11267. 2005-01-04 Peter Bartok <[email protected]>
  11268. * TextBoxBase.cs: Changed access level for Document property to
  11269. match switch to internal for TextControl
  11270. 2005-01-04 Peter Bartok <[email protected]>
  11271. * AccessibleObject: Added ComVisible attribute
  11272. 2005-01-04 Jackson Harper <[email protected]>
  11273. * X11Keyboard.cs: Remove unneeded var.
  11274. 2005-01-04 Jackson Harper <[email protected]>
  11275. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  11276. but PAINT.
  11277. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  11278. ClientMessage. This makes apps exit cleanly (more often).
  11279. 2005-01-04 Jackson Harper <[email protected]>
  11280. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  11281. handling focus, return correct colors and fonts,
  11282. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  11283. handle selection, horizontal scrolling, and mouse interaction.
  11284. 2005-01-04 Peter Bartok <[email protected]>
  11285. * ICommandExecutor.cs: Added
  11286. * IDataGridColumnStyleEditingNotificationService.cs: Added
  11287. * IFeatureSupport.cs: Added
  11288. * IFileReaderService.cs: Added
  11289. * IDataObject.cs: Added ComVisible attribute
  11290. * AmbientProperties.cs: Added
  11291. * BaseCollection.cs: Added missing attributes
  11292. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  11293. * BaseCollection.cs: Added missing attributes
  11294. * Binding.cs: Added TypeConverter attribute
  11295. * BindingContext.cs: Added DefaultEvent attribute
  11296. * BindingsCollection.cs: Added DefaultEvent attribute
  11297. * Button.cs: Added DefaultValue attribute
  11298. * DragEventArgs.cs: Added ComVisible attribute
  11299. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  11300. * KeyEventArgs.cs: Added ComVisible attribute
  11301. * KeyPressEventArgs.cs: Added ComVisible attribute
  11302. * MouseEventArgs.cs: Added ComVisible attribute
  11303. * NavigateEventArgs.cs: Added
  11304. * NavigateEventHandler.cs: Added
  11305. * FeatureSupport.cs: Added
  11306. * OSFeature.cs: Added
  11307. * Theme.cs: Added abstract Version property to support OSFeature
  11308. * ThemeWin32Classic.cs: Added Version property to
  11309. support OSFeature.Themes
  11310. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  11311. the proper styles to avoid background drawing are set, also doesn't
  11312. match MS signature
  11313. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  11314. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  11315. * ScrollEventArgs.cs: Added ComVisible attribute
  11316. * SplitterEventArgs.cs: Added ComVisible attribute
  11317. * AccessibleSelection.cs: Added Flags attribute
  11318. * Appearance.cs: Added ComVisible attribute
  11319. * Border3DSide.cs: Added ComVisible attribute
  11320. * Border3DStyle.cs: Added ComVisible attribute
  11321. * BorderStyle.cs: Added ComVisible attribute
  11322. * DragAction.cs: Added ComVisible attribute
  11323. * ErrorBlinkStyle.cs: Added
  11324. * ScrollEventType.cs: Added ComVisible attribute
  11325. * AnchorStyles.cs: Added Editor attribute
  11326. * DockStyle.cs: Added Editor attribute
  11327. * HorizontalAlignment.cs: Added ComVisible attribute
  11328. * HelpEventArgs.cs: Added ComVisible attribute
  11329. * PaintEventArgs.cs: Added IDisposable
  11330. 2005-01-04 Peter Bartok <[email protected]>
  11331. * TextControl.cs: Switched Line, LineTag and Document classes to
  11332. internal
  11333. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  11334. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  11335. Simple mode, fixes, IntegralHeight, etc.
  11336. 2005-01-04 Peter Bartok <[email protected]>
  11337. * TextBoxBase.cs: Using proper font variable now
  11338. 2005-01-04 Peter Bartok <[email protected]>
  11339. * Form.cs (ShowDialog): Set parent to owner, if provided
  11340. * GroupBox.cs: Removed unused vars
  11341. * TextControl.cs:
  11342. - Added GetHashCode() for Document and LineTag classes
  11343. - Removed unused variables
  11344. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  11345. to allow translation between continuous char position and line/pos
  11346. * CheckBox.cs: Removed vars that are provided by base class
  11347. * RadioButton.cs: Removed vars that are provided by base class, added
  11348. new keyword where required
  11349. * LinkLabel.cs: Added new keyword where required
  11350. * Control.cs (WndProc): Removed unused variable
  11351. * TextBoxBase.cs:
  11352. - Finished SelectionLength property
  11353. - Implemented SelectionStart property
  11354. - Implemented Text property
  11355. - Removed unused vars
  11356. * MessageBox.cs: Added new keyword where required
  11357. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  11358. WndProc signature
  11359. * MenuAPI.cs: Added new keyword where required
  11360. * ButtonBase.cs: Removed vars that are provided by base class, added
  11361. new keyword where required
  11362. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  11363. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  11364. into this)
  11365. * Application.cs (Run): Now triggers the ThreadExit event
  11366. * CommonDialog.cs: Added new keyword where required; now properly sets
  11367. parent (owner) for dialog
  11368. * XplatUIX11.cs: Commented out unused vars
  11369. * StatusBar.cs: Fixed signature for Text property
  11370. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  11371. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  11372. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  11373. TrackBar.cs, MonthCalendar.cs: remove unused vars
  11374. 2005-01-03 Jackson Harper <[email protected]>
  11375. * ThemeWin32Classic.cs:
  11376. * X11Keyboard.cs: Remove unused vars.
  11377. 2005-01-03 Peter Bartok <[email protected]>
  11378. * TextBox.cs:
  11379. - set_Text: Tied into TextControl
  11380. - set_TextAlignment: Tied into TextControl
  11381. * TextControl.cs:
  11382. - Added alignment properties and implemented alignment handling
  11383. and drawing (still has a bug, not generating proper expose events)
  11384. - Added new Line() constructor to allow passing the line alignment
  11385. - Fixed selection setting, properly handling end<start now
  11386. - Added aligment considerations to RecalculateDocument()
  11387. * TextBoxBase.cs:
  11388. - Now properly enforces control height for single line controls
  11389. - Added support for CharacterCasing
  11390. - Added IsInputKey override
  11391. - Fixed Keys.Enter logic
  11392. - Added SetBoundsCore override
  11393. - Fixed mouse selection handling
  11394. 2005-01-03 Jackson Harper <[email protected]>
  11395. * TreeView.cs:
  11396. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  11397. - Checkboxes are always aligned to the bottom of the node,
  11398. regardless of item height.
  11399. - Use the node bounds to draw the text so we can center it when
  11400. the item height is greater then the font height.
  11401. - Node::Bounds are only the text part of the node.
  11402. * TreeNode.cs: New method to combine collapsing and unchecking all
  11403. nodes recursively.
  11404. 2005-01-02 Jackson Harper <[email protected]>
  11405. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  11406. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  11407. tree when a check is changed. TODO: Only refresh the checked node.
  11408. 2004-12-30 Jackson Harper <[email protected]>
  11409. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  11410. * TreeNode.cs: When collapsing make sure to never collapse the
  11411. root node.
  11412. 2004-12-29 Jackson Harper <[email protected]>
  11413. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  11414. 2004-12-28 Zoltan Varga <[email protected]>
  11415. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  11416. 2004-12-28 Peter Bartok <[email protected]>
  11417. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  11418. not yet assigned
  11419. 2004-12-28 Peter Bartok <[email protected]>
  11420. * Control.cs (WndProc): Added WM_HELP handler, now generates
  11421. HelpRequested event
  11422. * Form.cs: Added HelpButton property and required support code
  11423. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  11424. 2004-12-28 Peter Bartok <[email protected]>
  11425. * CommonDialog.cs:
  11426. - Made DialogForm.owner variable internal
  11427. - Added check to ensure owner form is set before setting
  11428. owner properties in CreateParams
  11429. 2004-12-28 Geoff Norton <[email protected]>
  11430. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  11431. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  11432. GetCursorPos. Fix major visibility issues. Rework the windowing
  11433. system to support borderless/titleless windows (implements menus).
  11434. Fix GetWindowPos. Implement initial background color support for
  11435. views.
  11436. 2004-12-28 Peter Bartok <[email protected]>
  11437. * Form.cs (get_CreateParams): Make sure we have an owner before using
  11438. the owner variable. Implement proper default if no owner exists
  11439. 2004-12-28 Peter Bartok <[email protected]>
  11440. * In preparation for making Managed.Windows.Forms the default build target
  11441. for System.Windows.Forms, the following stubbed files were added.
  11442. Dialogs are currently being implemented by contributors and are only
  11443. short-term place holders.
  11444. * ColorDialog.cs: Initial check-in (minmal stub)
  11445. * DataGrid.cs: Initial check-in (minimal stub)
  11446. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  11447. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  11448. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  11449. * FontDialog.cs: Initial check-in (minimal stub)
  11450. * FileDialog.cs: Initial check-in (minimal stub)
  11451. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  11452. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  11453. * OpenFileDialog: Initial check-in (minimal stub)
  11454. * IComponentEditorPageSite.cs: Initial check-in
  11455. * Splitter.cs: Initial check-in (for Jackson)
  11456. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  11457. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  11458. * TextBox.cs: Initial check-in; still needs some wiring to
  11459. TextControl backend
  11460. * Form.cs: Implemented ControlBox property
  11461. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  11462. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  11463. * TextControl.cs: Added selection functionality; added todo header
  11464. * TextBoxBase.cs:
  11465. - Implemented Lines property
  11466. - Implemented TextHeight property
  11467. - Implemented SelectedText property
  11468. - Implemented SelectionLength property
  11469. - Implemented SelectAll method
  11470. - Implemented ToString method
  11471. - Removed and cleaned up some debug code
  11472. - Implemented (still buggy) mouse text selection
  11473. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  11474. * ComboBox.cs: Complete DropDownList implementation, fixes.
  11475. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  11476. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  11477. * ComboBoxStyle.cs: ComboBoxStyle enum
  11478. * ComboBox.cs: Initial work on ComboBox control
  11479. 2004-12-21 Peter Bartok <[email protected]>
  11480. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  11481. forward so that anything that creates a window gets the default,
  11482. also no longer uses Visible property in CreateParams to avoid
  11483. walking up the parent chain and possibly get the wrong visible
  11484. status. Fixed IsVisible to no longer walk up to the parent.
  11485. 2004-12-21 Peter Bartok <[email protected]>
  11486. * Form.cs (ShowDialog): Unset modality for the proper window
  11487. 2004-12-20 Peter Bartok <[email protected]>
  11488. * CommonDialog.cs: Initial check-in
  11489. 2004-12-20 Peter Bartok <[email protected]>
  11490. * Control.cs (Visible): Now uses the parent window instead of the
  11491. client area window for the property
  11492. * Form.cs
  11493. - ShowDialog(): Now uses the proper window for modality
  11494. - The default visibility state for the form parent is now false. This
  11495. will prevent the user from seeing all the changes to the form and
  11496. its controls before the application hits Application.Run()
  11497. - Removed some stale commented out code
  11498. * NativeWindow.cs:
  11499. - Added FindWindow() method to have a method to check for existence
  11500. of a window handle
  11501. - Added ability to override default exception handling (for example
  11502. when debugging with VS.Net; to do this the ExternalExceptionHandler
  11503. define must be set
  11504. - Removed some useless debug output
  11505. * XplatUIX11.cs:
  11506. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  11507. not working as expected
  11508. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  11509. property to allow switching back to the modal window if focus is
  11510. given to another one of our windows (Application Modal)
  11511. - Now only sets override_redirect if we create a window
  11512. without WS_CAPTION
  11513. - Moved EventMask selection before mapping of newly created window
  11514. so we can catch the map event as well
  11515. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  11516. - Added various Atom related DllImports
  11517. - Implemented Exit() method
  11518. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  11519. in the CreateParams
  11520. * MessageBox.cs: Now properly deals with the FormParent window by
  11521. providing an override the FormParent CreateParams property to
  11522. set as POPUP instead of OVERLAPPED window.
  11523. 2004-12-19 Geoff Norton <[email protected]>
  11524. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  11525. Minor code cleanup.
  11526. 2004-12-19 Geoff Norton <[email protected]>
  11527. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  11528. 2004-12-18 Peter Bartok <[email protected]>
  11529. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  11530. implementing SetModal() method
  11531. 2004-12-18 Peter Bartok <[email protected]>
  11532. * X11Structs.cs (XGCValues): Fixed type of function element
  11533. * XplatUI.cs: Added ScrollWindow() method
  11534. * XplatUIDriver.cs: Added ScrollWindow() abstract
  11535. * XplatUIWin32.cs: Implemented ScrollWindow() method
  11536. * XplatUIX11.cs: Implemented ScrollWindow() method
  11537. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  11538. 2004-12-17 Geoff Norton <[email protected]>
  11539. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  11540. Some more keyboard support (INCOMPLETE)
  11541. 2004-12-17 Peter Bartok <[email protected]>
  11542. * TextControl.cs:
  11543. - Added color attribute to line tags.
  11544. - Added color argument to all functions dealing with tags
  11545. - Added color argument support to various functions
  11546. - Fixed miss-calculation of baseline/shift in certain circumstances
  11547. * TextBoxBase.cs: Added new color option to test code
  11548. 2004-12-17 Jackson Harper <[email protected]>
  11549. * TreeNode.cs:
  11550. * MonthCalendar.cs: Signature fixes
  11551. 2004-12-17 Geoff Norton <[email protected]>
  11552. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  11553. keyboard event moved it. Create a new graphics context for each paint resolves this
  11554. 2004-12-17 Geoff Norton <[email protected]>
  11555. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  11556. Make caret exist and go blink blink. Initial keyboard support.
  11557. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  11558. works.
  11559. 2004-12-17 Jackson Harper <[email protected]>
  11560. * XplatUIStructs.cs: Updated set of virtual keycodes.
  11561. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  11562. 2004-12-17 Jackson Harper <[email protected]>
  11563. * XplatUIX11.cs: Prune old keyboard code.
  11564. 2004-12-17 Jackson Harper <[email protected]>
  11565. * XplatUIX11.cs: When generating mouse wparams get the modifier
  11566. keys from the ModifierKeys property.
  11567. 2004-12-17 Jackson Harper <[email protected]>
  11568. * X11Keyboard.cs: Send up/down input when generating
  11569. messages. Remove some unused vars.
  11570. 2004-12-17 Jackson Harper <[email protected]>
  11571. * TabControl.cs:
  11572. * TreeView.cs: get rid of warnings.
  11573. 2004-12-17 Jackson Harper <[email protected]>
  11574. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  11575. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  11576. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  11577. CheckedListBox.cs: Implementation
  11578. 2004-12-17 Peter Bartok <[email protected]>
  11579. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  11580. 2004-12-16 Peter Bartok <[email protected]>
  11581. * TextControl.cs:
  11582. - InsertCharAtCaret(): Fixed start pos fixup
  11583. - CaretLine_get: No longer derives the line from the tag, the tag
  11584. could be stale if lines in the document have been added or deleted
  11585. - RebalanceAfterDelete(): Fixed bug in balancing code
  11586. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  11587. - Line.Streamline(): Now can also elminate leading empty tags
  11588. - DumpTree(): Added a few more tests and prevented exception on
  11589. uninitialized data
  11590. - Added Debug section for Combining lines
  11591. - Delete(): Now copies all remaining properties of a line
  11592. * TextBoxBase.cs:
  11593. - Left mousebutton now sets the caret (and middle button still acts
  11594. as formatting tester, which must go away soon)
  11595. - Added Debug section for Deleting/Combining lines
  11596. - Fixed calculations for UpdateView after Combining lines
  11597. 2004-12-16 Peter Bartok <[email protected]>
  11598. * TextControl.cs: Now properly aligns text on a baseline, using the
  11599. new XplatUI.GetFontMetrics() method. Simplified several calculations
  11600. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  11601. defined
  11602. 2004-12-16 Peter Bartok <[email protected]>
  11603. * XplatUI.cs: Added GetFontMetrics() method
  11604. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  11605. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  11606. into libgdiplus, our private GetFontMetrics function
  11607. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  11608. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  11609. 2004-12-16 Jackson Harper <[email protected]>
  11610. * XplatUIStruct.cs: Add enum for dead keys
  11611. * X11Keyboard.cs: Map and unmap dead keys.
  11612. 2004-12-16 Jackson Harper <[email protected]>
  11613. * X11Keyboard.cs: Detect and use the num lock mask.
  11614. 2004-12-16 Peter Bartok <[email protected]>
  11615. * Control.cs (CreateGraphics): Added check to make sure the
  11616. handle of the window exists before calling Graphics.FromHwnd()
  11617. 2004-12-16 Peter Bartok <[email protected]>
  11618. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  11619. contains a lot of code that's not supposed to be there for the
  11620. real thing, but required for developing/testing the textbox
  11621. backend.
  11622. 2004-12-16 Peter Bartok <[email protected]>
  11623. * TextControl.cs:
  11624. - Fixed Streamline method
  11625. - Added FindTag method to Line
  11626. - Added DumpTree method for debugging
  11627. - Added DecrementLines() method for deleting lines
  11628. - Fixed UpdateView to update the cursor to end-of-line on single-line
  11629. updates
  11630. - Added PositionCaret() method
  11631. - Fixed MoveCaret(LineDown) to move into the last line, too
  11632. - Added InsertChar overload
  11633. - Fixed InsertChar tag offset calculations
  11634. - Added DeleteChar() method
  11635. - Added Combine() method for folding lines
  11636. - Fixed Delete() method, no longer allocates wasted Line object and
  11637. now copies all properties when swapping nodes
  11638. - Delete() method now updates document line counter
  11639. 2004-12-15 Jackson Harper <[email protected]>
  11640. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  11641. * X11Keyboard.cs: Expose the currently selected modifier keys
  11642. through a property.
  11643. 2004-12-15 Peter Bartok <[email protected]>
  11644. * TextControl.cs: Initial check-in. Still incomplete
  11645. 2004-12-15 Jackson Harper <[email protected]>
  11646. * TreeNode.cs:
  11647. * TreeView.cs: Fix build on csc (second time today ;-))
  11648. 2004-12-15 Jackson Harper <[email protected]>
  11649. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  11650. is calculated and use this for click testing.
  11651. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  11652. 2004-12-15 Jackson Harper <[email protected]>
  11653. * TreeView.cs: Pass the nodes image index to the image list when
  11654. drawing that image.
  11655. 2004-12-15 Jackson Harper <[email protected]>
  11656. * X11Keyboard.cs: Set messages hwnd.
  11657. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  11658. post_message calls.
  11659. 2004-12-15 Jackson Harper <[email protected]>
  11660. * X11Keyboard.cs: Fix to compile with csc.
  11661. 2004-12-15 Jackson Harper <[email protected]>
  11662. * X11Structs.cs: Add key mask values
  11663. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  11664. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  11665. down/up foo into WM_CHAR foo
  11666. * KeyboardLayouts.cs: Common keyboard layouts
  11667. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  11668. post messages into the main queue.
  11669. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  11670. * Button.cs: implement ProcessMnemonic
  11671. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  11672. brushes everytime
  11673. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  11674. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  11675. 2004-12-12 John BouAntoun <[email protected]>
  11676. * MonthCalendar.cs: Implemented click-hold for next/previous month
  11677. and date selection
  11678. 2004-12-11 Peter Bartok <[email protected]>
  11679. * X11Structs.cs:
  11680. - Added XKeyboardState (moved from XplatUIX11.cs)
  11681. - Added XCreateGC related enums and structures
  11682. - Added GXFunction for XSetFunction
  11683. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  11684. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  11685. CaretVisible() calls
  11686. * ToolTip.cs: Added code to prevent stealing focus from app windows
  11687. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  11688. DestroyCaret, SetCaretPos and CaretVisible)
  11689. * XplatUIX11.cs:
  11690. - Added implementation for caret functions
  11691. - Moved hover variables into a struct, to make it a bit easier
  11692. on the eyes and to debug
  11693. - Removed XKeyboardState (moved to XplatUIX11.cs)
  11694. - Moved Keyboard properties into the properties region
  11695. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  11696. call to get a graphics context for our control
  11697. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  11698. * TreeView.cs: Fixed bug. No matter what color was set it would always
  11699. return SystemColors.Window
  11700. * XplatUIWin32.cs: Implemented caret overrides
  11701. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  11702. * ListBox.cs: fire events, implement missing methods and properties,
  11703. sorting.
  11704. 2004-12-10 John BouAntoun <[email protected]>
  11705. * MonthCalendar.cs: invalidation bug fixing
  11706. * ThemeWin32Classic.cs: paint fixing
  11707. 2004-12-09 Geoff Norton <[email protected]>
  11708. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  11709. prepare the CGContextRef there now.
  11710. 2004-12-09 John BouAntoun <[email protected]>
  11711. * MonthCalendar.cs:
  11712. - optimisationL only invalidate areas that have changed
  11713. * ThemeWin32Classic.cs:
  11714. - only paint parts that intersect with clip_area
  11715. 2004-12-09 Peter Bartok <[email protected]>
  11716. * Application.cs: Undid changes from r37004 which cause problems
  11717. on X11
  11718. 2004-12-09 Ravindra <[email protected]>
  11719. * ToolBar.cs: Added support for displaying ContextMenu
  11720. attached to a button on ToolBar.
  11721. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  11722. property.
  11723. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  11724. * Label.cs: autosize works in text change and removes unnecessary
  11725. invalidate
  11726. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  11727. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  11728. remove warnings
  11729. 2004-12-08 Geoff Norton <[email protected]>
  11730. * XplatUIOSX.cs: Added mouse move/click/grab support
  11731. Remove some debugging WriteLines not needed anymore.
  11732. Add window resizing/positioning.
  11733. Fix visibility on reparenting.
  11734. 2004-12-08 Peter Bartok <[email protected]>
  11735. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  11736. 2004-12-07 Geoff Norton <[email protected]>
  11737. * XplatUIOSX.cs: Initial checkin
  11738. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  11739. 2004-12-03 Ravindra <[email protected]>
  11740. * ListView.cs: Added some keybindings and fixed scrolling.
  11741. ScrollBars listen to ValueChanged event instead of Scroll
  11742. Event. This would let us take care of all changes being
  11743. done in the scrollbars' values programmatically or manually.
  11744. * ListView.cs (CanMultiselect): Added a check for shift key.
  11745. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  11746. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  11747. of ListViewSubItemCollection as well.
  11748. 2004-12-06 Peter Bartok <[email protected]>
  11749. * Control.cs (Parent): Added check and exception to prevent
  11750. circular parenting
  11751. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  11752. * ListBox.cs: implemented clipping, selection single and multiple,
  11753. bug fixing
  11754. 2004-12-03 Ravindra <[email protected]>
  11755. * ListView.cs (ListView_KeyDown):
  11756. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  11757. when CTRL key is pressed.
  11758. * ListViewItem.cs (Selected): Fixed setting the property.
  11759. 2004-12-03 Marek Safar <[email protected]>
  11760. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  11761. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  11762. MinimizeBox, ShowInTaskbar, TopMost properties.
  11763. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  11764. will be implemented).
  11765. 2004-12-03 Marek Safar <[email protected]>
  11766. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  11767. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  11768. tests.
  11769. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  11770. * TreeView.cs: BackColor is Colors.Window.
  11771. 2004-12-01 Jackson Harper <[email protected]>
  11772. * TreeView.cs: When resizing the tree if the user is making it
  11773. smaller we don't get expose events, so we need to handle adding
  11774. the horizontal scrollbar in the size changed handler as well as
  11775. the expose handler.
  11776. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  11777. * DrawItemState.cs: fixes wrong enum values
  11778. 2004-12-01 Jackson Harper <[email protected]>
  11779. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  11780. 2004-12-01 Jackson Harper <[email protected]>
  11781. * NodeLabelEditEventArgs.cs:
  11782. * NodeLabelEditEventHandler.cs:
  11783. * OpenTreeNodeEnumerator.cs:
  11784. * TreeNode.cs:
  11785. * TreeNodeCollection.cs:
  11786. * TreeView.cs:
  11787. * TreeViewAction.cs:
  11788. * TreeViewCancelEventArgs.cs:
  11789. * TreeViewCancelEventHandler.cs:
  11790. * TreeViewEventArgs.cs:
  11791. * TreeViewEventHandler.cs: Initial implementation.
  11792. 2004-12-01 Ravindra <[email protected]>
  11793. * ListView.cs (CalculateListView): Fixed scrolling related
  11794. calculations. Also, removed some debug statements from other
  11795. places.
  11796. * ListViewItem.cs: Changed access to 'selected' instance variable
  11797. from private to internal.
  11798. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  11799. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  11800. * ThemeWin32Classic.cs: remove cache of brush and pens for
  11801. specific controls and use the global system, fixes scrollbutton
  11802. bugs (for small sizes, disabled, etc)
  11803. * ScrollBar.cs: does not show the thumb for very small controls
  11804. (as MS) and allow smaller buttons that the regular size
  11805. 2004-12-01 Miguel de Icaza <[email protected]>
  11806. * UpDownBase.cs: Add abstract methods for the interface.
  11807. Add new virtual methods (need to be hooked up to TextEntry when it
  11808. exists).
  11809. Add override methods for most features.
  11810. Computes the size, forces the height of the text entry.
  11811. * NumericUpDown.cs: Put here the current testing code.
  11812. * Set eol-style property on all files that do not have mixed line
  11813. endings, to minimize the future problems. There are still a few
  11814. files with mixed endings, and someone should choose whether they
  11815. want to move it or not.
  11816. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  11817. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  11818. System.Colors
  11819. 2004-11-30 Ravindra <[email protected]>
  11820. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  11821. drawing and replaced use of SystemColors by theme colors.
  11822. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  11823. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  11824. same ListViewItem is being added more than once.
  11825. 2004-11-30 John BouAntoun <[email protected]>
  11826. * MonthCalendar.cs:
  11827. - ControlStyles love to make the control not flicker
  11828. 2004-11-30 Peter Bartok <[email protected]>
  11829. * CharacterCasing.cs: Added
  11830. 2004-11-29 Peter Bartok <[email protected]>
  11831. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  11832. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  11833. I am removing these files as they conflict with already completed
  11834. work. While it is fantastic to get contributions to MWF, I
  11835. respectfully ask that everyone please coordinate their contributions
  11836. through mono-winforms-list or #mono-winforms at this time. We're
  11837. explicitly avoiding stubbing and don't want controls that don't have
  11838. their basic functionality implemented in svn. Please also see
  11839. http://www.mono-project.com/contributing/winforms.html
  11840. 2004-11-29 Marek Safar <[email protected]>
  11841. * Application.cs (ModalRun): Don't hang after exit.
  11842. * Theme.cs: New TreeViewDefaultSize property.
  11843. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  11844. with less hardcoded SystemColors constant.
  11845. Implemented TreeViewDefaultSize.
  11846. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  11847. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  11848. 2004-11-29 John BouAntoun <[email protected]>
  11849. * MonthCalendar.cs:
  11850. - Fix NextMonthDate and PrevMonthDate click moving calendar
  11851. 2004-11-26 John BouAntoun <[email protected]>
  11852. * MonthCalendar.cs:
  11853. - Fix usage of ScrollChange Property when scrolling months
  11854. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  11855. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  11856. - Fixes menu destroying
  11857. - Support adding and removing items on already created menus
  11858. 2004-11-26 John BouAntoun <[email protected]>
  11859. * MonthCalendar.cs:
  11860. - Re-worked all bolded dates handling to match win32
  11861. * ThemeWin32Classic.cs:
  11862. - Fixed rendering with bolded dates
  11863. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  11864. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  11865. - Horizontal scroolbar
  11866. - Multicolumn
  11867. - Fixes
  11868. 2004-11-25 John BouAntoun <[email protected]>
  11869. * MonthCalendar.cs:
  11870. - Fix Usage of MaxSelectionCount from SelectionRange
  11871. - Fixed Shift + Cursor Selection
  11872. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  11873. - Fixed normal cursor selection to be compat with win32
  11874. - Fixed Shift + Mouse Click selection
  11875. 2004-11-24 Peter Bartok <[email protected]>
  11876. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  11877. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  11878. * XplatUIX11.cs:
  11879. - CreatedKeyBoardMsg now updates keystate with Alt key
  11880. - Added workaround for timer crash to CheckTimers, Jackson will
  11881. develop a proper fix and check in later
  11882. - Implemented DispatchMessage
  11883. - Removed calling the native window proc from GetMessage (call
  11884. now moved to DispatchMessage)
  11885. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  11886. the keydata (Fixes bug #69831)
  11887. * XplatUIWin32.cs:
  11888. - (DispatchMessage): Switched to return IntPtr
  11889. - Added DllImport for SetFocus
  11890. 2004-11-24 Ravindra <[email protected]>
  11891. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  11892. background drawing.
  11893. * ListViewItem.cs: Fixed various properties, calculations
  11894. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  11895. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  11896. and some internal properties. Fixed MouseDown handler and Paint
  11897. method.
  11898. 2004-11-24 John BouAntoun <[email protected]>
  11899. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  11900. 2004-11-24 John BouAntoun <[email protected]>
  11901. * ContainerControl.cs: correct accidental check in of local changes
  11902. 2004-11-24 John BouAntoun <[email protected]>
  11903. * ThemeWin32Classic.cs:
  11904. - Fixed Drawing Last month in grid (sometimes not showing)
  11905. * MonthCalendar.cs:
  11906. - Fixed title width calculation bug (makeing title small)
  11907. 2004-11-23 Peter Bartok <[email protected]>
  11908. * XplatUIX11.cs:
  11909. - Added generation of WM_MOUSEHOVER event
  11910. - Added missing assignment of async_method atom
  11911. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  11912. 2004-11-23 John BouAntoun <[email protected]>
  11913. * ThemeWin32Classic.cs:
  11914. - Fixed Drawing of today circle when showtodaycircle not set
  11915. - fixed drawing of first and last month in the grid (gay dates)
  11916. * MonthCalendar.cs:
  11917. - Fixed Drawing of today circle
  11918. - Fixed drawing of grady dates
  11919. - Fixed HitTest for today link when ShowToday set to false
  11920. - Fixed DefaultSize to obey ShowToday
  11921. 2004-11-23 John BouAntoun <[email protected]>
  11922. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  11923. * System.Windows.Forms/Theme.cs
  11924. * MonthCalendar.cs: added for MonthCalendar
  11925. * SelectionRange.cs: added for MonthCalendar
  11926. * Day.cs: added for MonthCalendar: added for MonthCalendar
  11927. * DateRangeEventArgs.cs: added for MonthCalendar
  11928. * DateRangeEventHandler.cs: added for MonthCalendar
  11929. 2004-11-22 Ravindra <[email protected]>
  11930. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  11931. property.
  11932. 2004-11-22 Miguel de Icaza <[email protected]>
  11933. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  11934. event handler.
  11935. * NumericUpDown.cs: Added new implementation.
  11936. * UpDownBase.cs: Added new implementation.
  11937. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  11938. implementations.
  11939. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  11940. implementations.
  11941. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  11942. methods.
  11943. 2004-11-21 Miguel de Icaza <[email protected]>
  11944. * Timer.cs (Dispose): Should call the base dispose when
  11945. overriding.
  11946. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  11947. * ScrollBar.cs: updates thumb position when max, min or increment
  11948. is changed
  11949. 2004-11-21 Ravindra <[email protected]>
  11950. * ListView.cs: Implemented item selection, activation and
  11951. column header style. Fixed properties to do a redraw, if
  11952. required. Added support for MouseHover, DoubleClick, KeyDown
  11953. and KeyUp event handling and some minor fixes.
  11954. * ListViewItem.cs: Fixed constructor.
  11955. * ThemeWin32Classic.cs: Improved drawing for ListView.
  11956. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  11957. * ThemeWin32Classic.cs: initial listbox drawing code
  11958. * DrawMode.cs: new enumerator
  11959. * ListControl.cs: stubbed class
  11960. * ListBox.cs: initial implementation
  11961. * Theme.cs: new methods definitions
  11962. * SelectionMode.cs: new enumerator
  11963. 2004-11-17 Peter Bartok <[email protected]>
  11964. * XplatUIWin32.cs: Added double-click events to the class style
  11965. * Control.cs (WndProc):
  11966. - Added handling of click-count to MouseDown/ MouseUp events.
  11967. - Added handling of middle and right mouse buttons
  11968. - Removed old debug code
  11969. 2004-11-17 Jackson Harper <[email protected]>
  11970. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  11971. 2004-11-17 Ravindra <[email protected]>
  11972. * ListView.cs: Added event handling for MouseMove/Up/Down.
  11973. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  11974. * ThemeWin32Classic.cs: We need to clear the graphics context and
  11975. draw column header in a proper state.
  11976. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  11977. * Menu.cs: fixes signature
  11978. 2004-11-16 Peter Bartok <[email protected]>
  11979. * XplatUIX11.cs (GetMessage): Implemented generation of
  11980. double click mouse messages
  11981. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  11982. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  11983. not by menu
  11984. 2004-11-11 Peter Bartok <[email protected]>
  11985. * HandleData.cs: Added Visible property
  11986. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  11987. HandleData
  11988. * XplatUIX11.cs: Removed old debug leftovers
  11989. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  11990. * Control.cs (WndProc): Removed old debug leftovers,
  11991. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  11992. needed WM_SIZE handling
  11993. 2004-11-11 Jackson Harper <[email protected]>
  11994. * OwnerDrawPropertyBag.cs:
  11995. * TreeViewImageIndexConverter.cs: Initial implementation
  11996. 2004-11-10 Jackson Harper <[email protected]>
  11997. * ThemeWin32Classic.cs:
  11998. * TabControl.cs: instead of moving tabs by the slider pos just
  11999. start drawing at the tab that is offset by the slider. This way
  12000. scrolling always moves by exactly one tab.
  12001. 2004-11-10 Jackson Harper <[email protected]>
  12002. * TabControl.cs: You can only scroll left when the slider has
  12003. already ben moved right.
  12004. 2004-11-10 Jackson Harper <[email protected]>
  12005. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  12006. the clip area.
  12007. 2004-11-10 Jackson Harper <[email protected]>
  12008. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  12009. clip area.
  12010. 2004-11-09 Jackson Harper <[email protected]>
  12011. * TabControl.cs (CalcXPos): New helper method so we can determine
  12012. the proper place to start drawing vertical tabs.
  12013. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  12014. 2004-11-09 Jackson Harper <[email protected]>
  12015. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  12016. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  12017. and Bottom, left and right are illegal values for this and
  12018. multiline is enabled when the alignment is set to left or right.
  12019. (DrawTab): Each alignment block should draw the text itself now
  12020. because Left requires special love. Also add rendering for Left
  12021. aligned tabs.
  12022. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  12023. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  12024. does not destroy the windows, removes debugging messages
  12025. 2004-11-09 jba <[email protected]>
  12026. * ThemeWin32Classic.cs
  12027. (DrawButtonBase): Fix verticle text rect clipping in windows
  12028. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  12029. rendering and incorrect text rect clipping
  12030. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  12031. rendering and incorrect text rect clipping
  12032. 2004-11-08 Jackson Harper <[email protected]>
  12033. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  12034. bottom when they are bottom aligned so the bottoms of the tabs get
  12035. displayed.
  12036. * TabControl.cs (DropRow): Move rows up instead of down when the
  12037. tab control is bottom aligned.
  12038. 2004-11-08 13:59 pbartok
  12039. * XplatUIX11.cs:
  12040. - Added handling for various window styles
  12041. - Added handling for popup windows
  12042. - Added SetTopmost handling
  12043. 2004-11-08 13:55 pbartok
  12044. * XplatUIWin32.cs:
  12045. - Added argument to SetTopmost method
  12046. - Fixed broken ClientToScreen function
  12047. 2004-11-08 13:53 pbartok
  12048. * XplatUIStructs.cs:
  12049. - Added missing WS_EX styles
  12050. 2004-11-08 13:53 pbartok
  12051. * XplatUI.cs, XplatUIDriver.cs:
  12052. - Added argument to SetTopmost
  12053. 2004-11-08 13:52 pbartok
  12054. * X11Structs.cs:
  12055. - Added XSetWindowAttributes structure
  12056. - Improved XWindowAttributes structure
  12057. - Added SetWindowValuemask enum
  12058. - Added window creation arguments enum
  12059. - Added gravity enum
  12060. - Added Motif hints structure
  12061. - Added various Motif flags and enums
  12062. - Added PropertyMode enum for property functions
  12063. 2004-11-08 13:50 pbartok
  12064. * Form.cs:
  12065. - Fixed arguments for updated SetTopmost method
  12066. 2004-11-08 13:49 pbartok
  12067. * ToolTip.cs:
  12068. - Fixed arguments for updated SetTopmost function
  12069. - Fixed usage of PointToClient
  12070. 2004-11-08 13:44 pbartok
  12071. * MenuAPI.cs:
  12072. - Added Clipping of children and siblings
  12073. 2004-11-08 13:41 pbartok
  12074. * MainMenu.cs:
  12075. - Removed SetMenuBarWindow call. We do this in Form.cs
  12076. 2004-11-08 13:40 jackson
  12077. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  12078. scrolling jimmi in the correct location with bottom aligned tabs
  12079. 2004-11-08 13:36 pbartok
  12080. * ContainerControl.cs:
  12081. - Implemented BindingContext
  12082. - Implemented ParentForm
  12083. 2004-11-08 12:46 jackson
  12084. * TabControl.cs: Put bottom rendered tabs in the right location
  12085. 2004-11-08 07:15 jordi
  12086. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  12087. removes dead code
  12088. 2004-11-05 17:30 jackson
  12089. * TabControl.cs: When selected tabs are expanded make sure they
  12090. don't go beyond the edges of the tab control
  12091. 2004-11-05 14:57 jackson
  12092. * TabControl.cs: Reset show_slider so if the control is resized to
  12093. a size where it is no longer needed it's not displayed anymore
  12094. 2004-11-05 13:16 jackson
  12095. * TabControl.cs: Make tab pages non visible when added to the
  12096. control
  12097. 2004-11-05 12:42 jackson
  12098. * TabControl.cs: Implement SizeMode.FillToRight
  12099. 2004-11-05 12:16 jackson
  12100. * Control.cs: Do not call CreateHandle if the handle is already
  12101. created
  12102. 2004-11-05 11:46 jackson
  12103. * TabControl.cs: Remove superflous call to CalcTabRows
  12104. 2004-11-05 09:07 jackson
  12105. * XplatUIX11.cs: Update for Mono.Posix changes
  12106. 2004-11-05 07:00 ravindra
  12107. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  12108. scrolling.
  12109. 2004-11-04 22:47 jba
  12110. * ThemeWin32Classic.cs:
  12111. - Fix Button rendering for FlatStyle = Flat or Popup
  12112. - Fix RadioButton and CheckBox rendering when Appearance = Button
  12113. (normal and flatstyle).
  12114. - Correct outer rectangle color when drawing focus rectangle
  12115. - Adjust button bounds to be 1 px smaller when focused
  12116. - Make button not draw sunken 3d border when pushed (windows compat)
  12117. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  12118. - Offset the text in RadioButton and Checkbox when being rendered as
  12119. a button.
  12120. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  12121. radiobuttons
  12122. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  12123. - Fixed disabled text rendering for normally rendered radiobuttons
  12124. 2004-11-04 10:26 jackson
  12125. * TabControl.cs: Recalculate tab rows when resizing
  12126. 2004-11-04 07:47 jordi
  12127. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  12128. collection completion, drawing issues, missing features
  12129. 2004-11-04 05:03 ravindra
  12130. * ScrollBar.cs:
  12131. - We need to recalculate the Thumb area when
  12132. LargeChange/maximum/minimum values are changed.
  12133. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  12134. than minimum. This is required to handle the case if large_change is
  12135. more than max, and use LargeChange property instead of large_change
  12136. variable.
  12137. - We return max+1 when large_change is more than max, like MS does.
  12138. 2004-11-04 04:29 ravindra
  12139. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  12140. - Changed default value signatures (prefixed all with ListView).
  12141. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  12142. ListView.
  12143. - Fixed calculations for ListViewItem and implemented Clone()
  12144. method.
  12145. 2004-11-04 04:26 ravindra
  12146. * Theme.cs, ThemeWin32Classic.cs:
  12147. - Changed default ListView values signatures (prefixed all with
  12148. ListView).
  12149. - Fixed default size values for VScrollBar and HScrollBar.
  12150. - Fixed DrawListViewItem method.
  12151. 2004-11-04 04:05 ravindra
  12152. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  12153. 2004-11-04 04:04 ravindra
  12154. * ImageList.cs: Implemented the missing overload for Draw method.
  12155. 2004-11-03 19:29 jackson
  12156. * TabControl.cs: Handle dropping rows on selection properly
  12157. 2004-11-03 11:59 jackson
  12158. * TabControl.cs: remove debug code
  12159. 2004-11-03 11:52 jackson
  12160. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  12161. the scrolly widgerywoo
  12162. 2004-11-02 13:52 jackson
  12163. * TabControl.cs: Resize the tab pages and tabs when the tab control
  12164. is resized
  12165. 2004-11-02 13:40 jackson
  12166. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  12167. selected tab to the bottom
  12168. 2004-11-02 13:39 jackson
  12169. * TabPage.cs: Store the tab pages row
  12170. 2004-11-02 12:33 jordi
  12171. * MenuItem.cs: fixes handle creation
  12172. 2004-11-02 11:42 jackson
  12173. * TabControl.cs: signature fix
  12174. 2004-11-02 08:56 jackson
  12175. * TabControl.cs: Calculate whether the tab is on an edge properly.
  12176. Remove top secret debugging code
  12177. 2004-11-01 19:57 jackson
  12178. * TabControl.cs: Add click handling, and proper sizing
  12179. 2004-11-01 19:47 jackson
  12180. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  12181. tab controls
  12182. 2004-11-01 19:39 jackson
  12183. * TabPage.cs: add internal property to store the bounds of a tab
  12184. page
  12185. 2004-10-30 04:23 ravindra
  12186. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  12187. values.
  12188. 2004-10-30 04:21 ravindra
  12189. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  12190. fixed calculations.
  12191. 2004-10-30 03:06 pbartok
  12192. * XplatUIX11.cs:
  12193. - Removed extension of DllImported libs
  12194. 2004-10-29 09:55 jordi
  12195. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  12196. navigation, itemcollection completion, menu fixes
  12197. 2004-10-27 22:58 pbartok
  12198. * XplatUIX11.cs:
  12199. - Now throws a nice error message when no X display could be opened
  12200. 2004-10-26 13:51 jordi
  12201. * ListView.cs: removes warning
  12202. 2004-10-26 03:55 ravindra
  12203. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  12204. ThemeWin32Classic.cs: Some formatting for my last checkins.
  12205. 2004-10-26 03:36 ravindra
  12206. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  12207. control and default values.
  12208. 2004-10-26 03:35 ravindra
  12209. * Theme.cs: Added some default values for ListView control.
  12210. 2004-10-26 03:33 ravindra
  12211. * ToolBar.cs: ToolBar should use the user specified button size, if
  12212. there is any. Added a size_specified flag for the same.
  12213. 2004-10-26 03:33 ravindra
  12214. * ColumnHeader.cs: Added some internal members and calculations for
  12215. ColumnHeader.
  12216. 2004-10-26 03:32 ravindra
  12217. * ListViewItem.cs: Calculations for ListViewItem.
  12218. 2004-10-26 03:31 ravindra
  12219. * ListView.cs: Added some internal members and calculations for
  12220. ListView.
  12221. 2004-10-22 13:31 jordi
  12222. * MenuAPI.cs: speedup menus drawing
  12223. 2004-10-22 13:16 jackson
  12224. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  12225. expose event
  12226. 2004-10-22 11:49 jackson
  12227. * Control.cs: oops
  12228. 2004-10-22 11:41 jackson
  12229. * Control.cs: Check to see if the window should have its background
  12230. repainted by X when drawing.
  12231. 2004-10-22 11:31 jackson
  12232. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  12233. clear is true, this way we do not get flicker from X repainting the
  12234. background
  12235. 2004-10-22 11:28 jackson
  12236. * XEventQueue.cs: Queue properly
  12237. 2004-10-21 09:38 jackson
  12238. * XEventQueue.cs: Fix access modifier
  12239. 2004-10-21 09:36 jackson
  12240. * XEventQueue.cs: Don't loose messages
  12241. 2004-10-21 09:22 jackson
  12242. * XEventQueue.cs: Don't loose messages
  12243. 2004-10-20 04:15 jordi
  12244. * BootMode.cs: enum need it by SystemInfo
  12245. 2004-10-19 21:58 pbartok
  12246. * XplatUIWin32.cs:
  12247. - Small sanity check
  12248. 2004-10-19 21:56 pbartok
  12249. * Form.cs:
  12250. - Added private FormParentWindow class which acts as the container
  12251. for our form and as the non-client area where menus are drawn
  12252. - Added/Moved required tie-ins to Jordi's menus
  12253. - Fixed/Implemented the FormStartPosition functionality
  12254. 2004-10-19 21:52 pbartok
  12255. * Control.cs:
  12256. - Removed unneeded locals
  12257. - Added code to all size and location properties to understand and
  12258. deal with the parent container of Form
  12259. 2004-10-19 21:33 pbartok
  12260. * Application.cs:
  12261. - Fixed to deal with new Form subclasses for menus
  12262. 2004-10-19 17:48 jackson
  12263. * XEventQueue.cs: commit correct version of file
  12264. 2004-10-19 16:50 jackson
  12265. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  12266. 2004-10-19 16:15 jordi
  12267. * MenuAPI.cs: MenuBarCalcSize returns the height
  12268. 2004-10-19 08:31 pbartok
  12269. * Control.cs:
  12270. - Added missing call to PreProcessMessage before calling OnXXXKey
  12271. methods
  12272. 2004-10-19 00:04 ravindra
  12273. * ToolTip.cs: Fixed constructor.
  12274. 2004-10-18 09:31 jordi
  12275. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  12276. 2004-10-18 09:26 jordi
  12277. * MenuItem.cs: fixes MenuItem class signature
  12278. 2004-10-18 08:56 jordi
  12279. * MenuAPI.cs: prevents windows from showing in the taskbar
  12280. 2004-10-18 00:28 ravindra
  12281. * ToolTip.cs: Suppressed a warning message.
  12282. 2004-10-18 00:27 ravindra
  12283. * Control.cs: Default value of visible property must be true.
  12284. 2004-10-17 23:19 pbartok
  12285. * ToolTip.cs:
  12286. - Complete implementation
  12287. 2004-10-17 23:19 pbartok
  12288. * XplatUIX11.cs:
  12289. - Added EnableWindow method
  12290. - Added SetModal stub
  12291. - Added generation of WM_ACTIVATE message (still needs testing)
  12292. - Added SetTopMost stub
  12293. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  12294. 2004-10-17 23:17 pbartok
  12295. * XplatUIWin32.cs:
  12296. - Removed VirtualKeys to XplatUIStructs
  12297. - Implemented SetTopMost method
  12298. - Implemented EnableWindow method
  12299. - Bugfix in ScreenToClient()
  12300. - Bugfixes in ClientToScreen()
  12301. 2004-10-17 22:51 pbartok
  12302. * XplatUIStructs.cs:
  12303. - Added WS_EX styles to WindowStyles enumeration
  12304. 2004-10-17 22:50 pbartok
  12305. * XplatUI.cs, XplatUIDriver.cs:
  12306. - Added method for enabling/disabling windows
  12307. - Added method for setting window modality
  12308. - Added method for setting topmost window
  12309. 2004-10-17 22:49 pbartok
  12310. * ThemeWin32Classic.cs:
  12311. - Added ToolTip drawing code
  12312. 2004-10-17 22:49 pbartok
  12313. * Theme.cs:
  12314. - Added ToolTip abstracts
  12315. 2004-10-17 22:47 pbartok
  12316. * Form.cs:
  12317. - Fixed Form.ControlCollection to handle owner relations
  12318. - Added Owner/OwnedForms handling
  12319. - Implemented Z-Ordering for owned forms
  12320. - Removed unneeded private overload of ShowDialog
  12321. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  12322. so I hope)
  12323. - Fixed Close(), had wrong default
  12324. - Added firing of OnLoad event
  12325. - Added some commented out debug code for Ownership handling
  12326. 2004-10-17 22:16 pbartok
  12327. * Control.cs:
  12328. - Fixed/implemented flat list of controls
  12329. 2004-10-17 22:14 pbartok
  12330. * Application.cs:
  12331. - Added code to simulate modal dialogs on Win32
  12332. 2004-10-17 16:11 jordi
  12333. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  12334. mouse event
  12335. 2004-10-17 13:39 jordi
  12336. * MenuAPI.cs: menu drawing fixes
  12337. 2004-10-15 09:10 ravindra
  12338. * StructFormat.cs: General Enum.
  12339. 2004-10-15 09:09 ravindra
  12340. * SizeGripStyle.cs: Enum for Form.
  12341. 2004-10-15 09:08 ravindra
  12342. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  12343. in Theme for ListView.
  12344. 2004-10-15 09:06 ravindra
  12345. * ColumnHeader.cs: Flushing some formatting changes.
  12346. 2004-10-15 09:05 ravindra
  12347. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  12348. style.
  12349. 2004-10-15 09:03 ravindra
  12350. * ListView.cs: Implemented Paint method and fixed coding style.
  12351. 2004-10-15 07:34 jordi
  12352. * MenuAPI.cs: fix for X11
  12353. 2004-10-15 07:32 ravindra
  12354. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  12355. - Renamed Paint() method to Draw() for clarity. Also, moved
  12356. DrawImage() to OnPaint().
  12357. 2004-10-15 07:25 ravindra
  12358. * CheckBox.cs, RadioButton.cs:
  12359. - Removed Redraw (), we get it from ButtonBase.
  12360. - Implemented Paint (), to do class specific painting.
  12361. 2004-10-15 07:16 ravindra
  12362. * ButtonBase.cs:
  12363. - Redraw () is not virtual now.
  12364. - Added an internal virtual method Paint (), so that
  12365. derived classes can do their painting on their own.
  12366. - Modified OnPaint () to call Paint ().
  12367. 2004-10-15 06:43 jordi
  12368. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  12369. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  12370. 2004-10-15 00:30 ravindra
  12371. * MessageBox.cs:
  12372. - MessageBox on windows does not have min/max buttons.
  12373. This change in CreateParams fixes this on Windows. We
  12374. still need to implement this windowstyle behavior in
  12375. our X11 driver.
  12376. 2004-10-14 05:14 ravindra
  12377. * ToolBar.cs:
  12378. - Changed Redraw () to do a Refresh () always.
  12379. - Fixed the MouseMove event handling when mouse is pressed,
  12380. ie drag event handling.
  12381. - Replaced the usage of ToolBarButton.Pressed property to
  12382. ToolBarButton.pressed internal variable.
  12383. 2004-10-14 05:10 ravindra
  12384. * ToolBarButton.cs:
  12385. - Added an internal member 'inside' to handle mouse move
  12386. with mouse pressed ie mouse drag event.
  12387. - Changed 'Pressed' property to return true only when
  12388. 'inside' and 'pressed' are both true.
  12389. - Some coding style love.
  12390. 2004-10-14 00:17 ravindra
  12391. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  12392. public method.
  12393. 2004-10-14 00:15 ravindra
  12394. * ButtonBase.cs: Redraw () related improvements.
  12395. 2004-10-14 00:14 ravindra
  12396. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  12397. removed unnecessary calls to Button.Show () method.
  12398. 2004-10-13 17:50 pbartok
  12399. * XplatUIX11.cs:
  12400. - Formatting fix
  12401. - Removed destroying of window until we solve the problem of X
  12402. destroying the window before us on shutdown
  12403. 2004-10-13 16:32 pbartok
  12404. * ButtonBase.cs:
  12405. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  12406. 2004-10-13 14:18 pbartok
  12407. * XplatUIX11.cs:
  12408. - Added code to destroy the X window
  12409. 2004-10-13 14:18 pbartok
  12410. * XplatUIWin32.cs:
  12411. - Added code to destroy a window
  12412. 2004-10-13 14:12 pbartok
  12413. * ButtonBase.cs:
  12414. - Added the Redraw on Resize that got dropped in the last rev
  12415. 2004-10-13 09:06 pbartok
  12416. * ThemeWin32Classic.cs:
  12417. - Path from John BouAntoun:
  12418. * Fix check rendering (centre correctly for normal style, offset
  12419. correctly for FlatStyle).
  12420. * Fix border color usage (use backcolor) for FlatStyle.Popup
  12421. * Use checkbox.Capture instead of checkbox.is_pressed when
  12422. rendering flatstyle states.
  12423. 2004-10-12 21:48 pbartok
  12424. * ThemeWin32Classic.cs:
  12425. - Removed all occurences of SystemColors and replaced them with the
  12426. matching theme color
  12427. 2004-10-12 21:41 pbartok
  12428. * ThemeWin32Classic.cs:
  12429. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  12430. him using the function for flatstyle drawing
  12431. - Changed functions to use the new version of CPDrawBorder3D
  12432. 2004-10-12 21:15 pbartok
  12433. * ControlPaint.cs:
  12434. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  12435. match MS documentation. They need to return defined colors if the
  12436. passed color matches the configured control color. Thanks to John
  12437. BouAntoun for pointing this out.
  12438. 2004-10-12 20:57 pbartok
  12439. * Control.cs:
  12440. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  12441. color is changed
  12442. 2004-10-12 20:46 pbartok
  12443. * CheckBox.cs:
  12444. - Fix from John BouAntoun: Now properly sets the Appearance property
  12445. 2004-10-12 20:45 pbartok
  12446. * ThemeWin32Classic.cs:
  12447. - Fixes from John BouAntoun: now handles forecolors and backcolors
  12448. for flatstyle rendered controls much better; It also fixes normal
  12449. checkbox rendering when pushed or disabled.
  12450. 2004-10-08 02:50 jordi
  12451. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  12452. work
  12453. 2004-10-07 08:56 jordi
  12454. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  12455. 2004-10-06 03:59 jordi
  12456. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  12457. XplatUIWin32.cs: removes warnings from compilation
  12458. 2004-10-05 12:23 jackson
  12459. * RadioButton.cs: Fix ctor
  12460. 2004-10-05 11:10 pbartok
  12461. * MessageBox.cs:
  12462. - Partial implementation by Benjamin Dasnois
  12463. 2004-10-05 10:15 jackson
  12464. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  12465. by John BouAntoun
  12466. 2004-10-05 03:07 ravindra
  12467. * ToolBar.cs:
  12468. - Removed a private method, Draw ().
  12469. - Fixed the ButtonDropDown event handling.
  12470. - Fixed MouseMove event handling.
  12471. 2004-10-05 03:04 ravindra
  12472. * ThemeWin32Classic.cs:
  12473. - Added DrawListView method and ListViewDefaultSize property.
  12474. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  12475. - Changed DOS style CRLF to Unix format (dos2unix).
  12476. 2004-10-05 03:03 ravindra
  12477. * Theme.cs:
  12478. - Added DrawListView method and ListViewDefaultSize property.
  12479. 2004-10-05 02:42 ravindra
  12480. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  12481. clicks on DropDown arrow.
  12482. 2004-10-04 22:56 jackson
  12483. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  12484. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  12485. Control handle the buffers, derived classes should not have to
  12486. CreateBuffers themselves.
  12487. 2004-10-04 21:20 jackson
  12488. * StatusBar.cs: The control handles resizing the buffers now.
  12489. 2004-10-04 21:18 jackson
  12490. * Control.cs: When resizing the buffers should be invalidated. This
  12491. should be handled in Control not in derived classes.
  12492. 2004-10-04 14:45 jackson
  12493. * TabPage.cs: oops
  12494. 2004-10-04 02:14 pbartok
  12495. * LeftRightAlignment.cs:
  12496. - Initial check-in
  12497. 2004-10-04 01:09 jordi
  12498. * ThemeWin32Classic.cs: fixes right button position causing right
  12499. button not showing on horizontal scrollbars
  12500. 2004-10-02 13:12 pbartok
  12501. * XplatUIX11.cs:
  12502. - Simplified the Invalidate method by using an X call instead of
  12503. generating the expose ourselves
  12504. - Added an expose when the window background is changed
  12505. - Implemented ClientToScreen method
  12506. 2004-10-02 13:08 pbartok
  12507. * XplatUIWin32.cs:
  12508. - Added Win32EnableWindow method (test for implementing modal
  12509. dialogs)
  12510. - Added ClientToScreen method and imports
  12511. 2004-10-02 13:07 pbartok
  12512. * XplatUI.cs, XplatUIDriver.cs:
  12513. - Added ClientToScreen coordinate translation method
  12514. 2004-10-02 13:06 pbartok
  12515. * KeyPressEventArgs.cs:
  12516. - Fixed access level for constructor
  12517. 2004-10-02 13:06 pbartok
  12518. * NativeWindow.cs:
  12519. - Changed access level for the window_collection hash table
  12520. 2004-10-02 13:05 pbartok
  12521. * Form.cs:
  12522. - Added KeyPreview property
  12523. - Added Menu property (still incomplete, pending Jordi's menu work)
  12524. - Implemented ProcessCmdKey
  12525. - Implemented ProcessDialogKey
  12526. - Implemented ProcessKeyPreview
  12527. 2004-10-02 13:02 pbartok
  12528. * Control.cs:
  12529. - Added private method to get the Control object from the window
  12530. handle
  12531. - Implemented ContextMenu property
  12532. - Implemented PointToScreen
  12533. - Implemented PreProcessMessage
  12534. - Implemented IsInputChar
  12535. - Implemented IsInputKey
  12536. - Implemented ProcessCmdKey
  12537. - Completed ProcessKeyEventArgs
  12538. - Fixed message loop to call the proper chain of functions on key
  12539. events
  12540. - Implemented ProcessDialogChar
  12541. - Implemented ProcessDialogKey
  12542. - Implemented ProcessKeyMessage
  12543. - Implemented ProcessKeyPreview
  12544. - Added RaiseDragEvent stub (MS internal method)
  12545. - Added RaiseKeyEvent stub (MS internal method)
  12546. - Added RaiseMouseEvent stub (MS Internal method)
  12547. - Added RaisePaintEvent stub (MS Internal method)
  12548. - Added ResetMouseEventArgs stub (MS Internal method)
  12549. - Implemented RtlTranslateAlignment
  12550. - Implemented RtlTranslateContent
  12551. - Implemented RtlTranslateHorizontal
  12552. - Implemented RtlTranslateLeftRight
  12553. - Added generation of KeyPress event
  12554. 2004-10-02 05:57 ravindra
  12555. * ListViewItem.cs: Added attributes.
  12556. 2004-10-02 05:32 ravindra
  12557. * ListView.cs: Added attributes.
  12558. 2004-10-01 11:53 jackson
  12559. * Form.cs: Implement the Close method so work on MessageBox can
  12560. continue.
  12561. 2004-09-30 14:06 pbartok
  12562. * XplatUIX11.cs:
  12563. - Bug fixes
  12564. 2004-09-30 11:34 jackson
  12565. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  12566. 2004-09-30 07:26 ravindra
  12567. * ListViewItemConverter.cs: Converter for ListViewItem.
  12568. 2004-09-30 07:26 ravindra
  12569. * SortOrder.cs: Enum for ListView control.
  12570. 2004-09-30 07:25 ravindra
  12571. * ColumnHeader.cs: Supporting class for ListView control.
  12572. 2004-09-30 07:24 ravindra
  12573. * ListView.cs, ListViewItem.cs: Initial implementation.
  12574. 2004-09-30 07:20 ravindra
  12575. * ItemActivation.cs: Enum for ListView Control.
  12576. 2004-09-29 20:29 pbartok
  12577. * XplatUIX11.cs:
  12578. - Added lookup of pixel value for background color; tries to get a
  12579. color 'close' to the requested color, it avoids having to create a
  12580. colormap. Depending on the display this could mean the used color
  12581. is slightly off the desired color. Might have to change it to a more
  12582. resource intensive colormap approach, but it will work as a
  12583. workaround to avoid red screens.
  12584. 2004-09-29 14:27 jackson
  12585. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  12586. 2004-09-28 12:44 pbartok
  12587. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  12588. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  12589. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  12590. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  12591. TrackBar.cs, VScrollBar.cs:
  12592. - Streamlined Theme interfaces:
  12593. * Each DrawXXX method for a control now is passed the object for
  12594. the control to be drawn in order to allow accessing any state the
  12595. theme might require
  12596. * ControlPaint methods for the theme now have a CP prefix to avoid
  12597. name clashes with the Draw methods for controls
  12598. * Every control now retrieves it's DefaultSize from the current
  12599. theme
  12600. 2004-09-28 12:17 jackson
  12601. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  12602. drawing
  12603. 2004-09-24 14:57 jackson
  12604. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  12605. Gives us a nice little performance boost.
  12606. 2004-09-24 12:02 jackson
  12607. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  12608. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  12609. Control and supporting classes. Initial checkin
  12610. 2004-09-23 13:08 jackson
  12611. * Form.cs: Temp build fixage
  12612. 2004-09-23 01:39 ravindra
  12613. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  12614. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  12615. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  12616. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  12617. EventHandlers needed by ListView Control.
  12618. 2004-09-22 14:12 pbartok
  12619. * ScrollableControl.cs:
  12620. - Implemented DockPadding property
  12621. - Implemented AutoScroll property
  12622. - Implemented AutoScrollMargin property
  12623. - Implemented AutoScrollMinSize property
  12624. - Implemented AutoScrollPosition property
  12625. - Implemented DisplayRectangle property (still incomplete)
  12626. - Implemented CreateParams property
  12627. - Implemented HScroll property
  12628. - Implemented VScroll property
  12629. - Implemented OnVisibleChanged property
  12630. 2004-09-22 14:09 pbartok
  12631. * Form.cs:
  12632. - Added Form.ControllCollection class
  12633. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  12634. RemoveOwnedForm (still incomplete, missing on-top and common
  12635. minimize/maximize behaviour)
  12636. - Added StartPosition property (still incomplete, does not use when
  12637. creating the form)
  12638. - Added ShowDialog() methods (still incomplete, missing forcing the
  12639. dialog modal)
  12640. 2004-09-22 14:05 pbartok
  12641. * Application.cs:
  12642. - Added message loop for modal dialogs
  12643. 2004-09-22 14:02 pbartok
  12644. * GroupBox.cs:
  12645. - Fixed wrong types for events
  12646. 2004-09-22 14:00 pbartok
  12647. * Shortcut.cs, FormWindowState.cs:
  12648. - Fixed wrong values
  12649. 2004-09-22 12:01 jackson
  12650. * Control.cs: Text is never null
  12651. 2004-09-20 22:14 pbartok
  12652. * XplatUIWin32.cs:
  12653. - Fixed accessibility level for Idle handler
  12654. 2004-09-20 18:54 jackson
  12655. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12656. XplatUIX11.cs: New message loop that uses poll so we don't get a
  12657. busy loop
  12658. 2004-09-17 10:43 pbartok
  12659. * ScrollBar.cs:
  12660. - Fixed behaviour of arrow buttons. Now properly behaves like
  12661. Buttons (and like Microsoft's scrollbar arrow buttons)
  12662. 2004-09-17 10:14 pbartok
  12663. * ScrollBar.cs:
  12664. - Added missing release of keyboard/mouse capture
  12665. 2004-09-17 06:18 jordi
  12666. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  12667. Theme.cs: Very early menu support
  12668. 2004-09-16 17:45 pbartok
  12669. * XplatUIWin32.cs:
  12670. - Fixed sending a window to the front
  12671. - Added overload for SetWindowPos to avoid casting
  12672. 2004-09-16 17:44 pbartok
  12673. * Control.cs:
  12674. - Added SendToBack and BringToFront methods
  12675. 2004-09-16 07:00 ravindra
  12676. * Copyright: Added Novell URL.
  12677. 2004-09-16 07:00 ravindra
  12678. * ToolBar.cs: Invalidate should be done before redrawing.
  12679. 2004-09-15 21:19 ravindra
  12680. * ColumnHeaderStyle.cs: Enum for ListView Control.
  12681. 2004-09-15 21:18 ravindra
  12682. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  12683. ListView Control.
  12684. 2004-09-13 18:26 jackson
  12685. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  12686. properly
  12687. 2004-09-13 18:13 jackson
  12688. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  12689. a second thread and post messages into the main threads message
  12690. queue. This makes timing much more consistent. Both win2K and XP
  12691. have a minimum timer value of 15 milliseconds, so we now do this
  12692. too.
  12693. 2004-09-13 15:18 pbartok
  12694. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12695. XplatUIX11.cs:
  12696. - Added Z-Ordering methods
  12697. 2004-09-13 10:56 pbartok
  12698. * Form.cs:
  12699. - Fixed #region names
  12700. - Moved properties and methods into their proper #regions
  12701. 2004-09-13 10:51 pbartok
  12702. * Form.cs:
  12703. - Added Accept and CancelButton properties
  12704. - Added ProcessDialogKey() method
  12705. 2004-09-13 08:18 pbartok
  12706. * IWindowTarget.cs:
  12707. - Initial check-in
  12708. 2004-09-10 21:50 pbartok
  12709. * Control.cs:
  12710. - Added DoDragDrop() [incomplete]
  12711. - Properly implemented 'Visible' handling
  12712. - Added SetVisibleCore()
  12713. - Implemented FindChildAtPoint()
  12714. - Implemented GetContainerControl()
  12715. - Implemented Hide()
  12716. 2004-09-10 19:28 pbartok
  12717. * Control.cs:
  12718. - Moved methods into their appropriate #regions
  12719. - Reordered methods within regions alphabetically
  12720. 2004-09-10 18:57 pbartok
  12721. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  12722. - Added method to retrieve text from window
  12723. 2004-09-10 18:56 pbartok
  12724. * Control.cs:
  12725. - Moved some internal functions into the internal region
  12726. - Implemented FontHeight
  12727. - Implemented RenderRightToLeft
  12728. - Implemented ResizeRedraw
  12729. - Implemented ShowFocusCues
  12730. - Implemented ShowKeyboardCues
  12731. - Implemented FromChildHandle
  12732. - Implemented FromHandle
  12733. - Implemented IsMnemonic
  12734. - Implemented ReflectMessage
  12735. - All public and protected Static Methods are now complete
  12736. 2004-09-10 16:54 pbartok
  12737. * Control.cs:
  12738. - Implemented remaining missing public instance properties
  12739. - Alphabetized some out of order properties
  12740. 2004-09-10 05:51 ravindra
  12741. * PictureBox.cs: Added a check for null image.
  12742. 2004-09-10 00:59 jordi
  12743. * GroupBox.cs: remove cvs tag
  12744. 2004-09-09 05:25 ravindra
  12745. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  12746. 2004-09-09 05:23 ravindra
  12747. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  12748. parent redraw.
  12749. 2004-09-09 02:28 pbartok
  12750. * ThemeWin32Classic.cs:
  12751. - Improve disabled string look
  12752. 2004-09-09 01:15 jordi
  12753. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  12754. args and handler
  12755. 2004-09-08 23:56 ravindra
  12756. * ItemBoundsPortion.cs: It's enum, not a class!
  12757. 2004-09-08 23:47 ravindra
  12758. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  12759. Enums for Form.
  12760. 2004-09-08 21:13 ravindra
  12761. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  12762. ListView control.
  12763. 2004-09-08 21:03 ravindra
  12764. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  12765. avoid crash.
  12766. 2004-09-08 21:01 ravindra
  12767. * ScrollableControl.cs: Removed unreachable code.
  12768. 2004-09-08 06:45 jordi
  12769. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  12770. 2004-09-08 01:00 jackson
  12771. * XplatUIX11.cs: Only run the timers when updating the message
  12772. queue. This effectively gives X messages a higher priority then
  12773. timer messages. Timers still need love though
  12774. 2004-09-07 14:01 jackson
  12775. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  12776. this for us and the handle is no longer valid.
  12777. 2004-09-07 13:59 jackson
  12778. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  12779. loop that manages to not crash. TODO: Add poll and cleanup timers
  12780. 2004-09-07 11:12 jordi
  12781. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  12782. 2004-09-07 03:40 jordi
  12783. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  12784. fixes, methods, multiple links
  12785. 2004-09-06 06:55 jordi
  12786. * Control.cs: Caches ClientRectangle rectangle value
  12787. 2004-09-05 02:03 jordi
  12788. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  12789. certain situations
  12790. 2004-09-04 11:10 jordi
  12791. * Label.cs: Refresh when font changed
  12792. 2004-09-02 16:24 pbartok
  12793. * Control.cs:
  12794. - Added sanity check to creation of double buffer bitmap
  12795. 2004-09-02 16:24 pbartok
  12796. * ButtonBase.cs:
  12797. - Fixed selection of text color
  12798. - Fixed handling of resize event; now properly recreates double
  12799. buffering bitmap
  12800. - Added missing assignment of TextAlignment
  12801. - Added proper default for TextAlignment
  12802. 2004-09-02 14:26 pbartok
  12803. * RadioButton.cs:
  12804. - Added missing RadioButton.RadioButtonAccessibleObject class
  12805. 2004-09-02 14:26 pbartok
  12806. * Control.cs:
  12807. - Added missing Control.ControlAccessibleObject class
  12808. - Started to implement Select()ion mechanisms, still very incomplete
  12809. 2004-09-02 14:25 pbartok
  12810. * AccessibleObject.cs:
  12811. - Added missing methods
  12812. 2004-09-02 14:23 pbartok
  12813. * AccessibleNavigation.cs, AccessibleSelection.cs:
  12814. - Initial check-in
  12815. 2004-09-02 10:32 jordi
  12816. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  12817. pool for pens, brushes, and hatchbruses
  12818. 2004-09-01 15:30 jackson
  12819. * StatusBar.cs: Fix typo
  12820. 2004-09-01 14:44 pbartok
  12821. * RadioButton.cs:
  12822. - Fixed state
  12823. 2004-09-01 14:39 pbartok
  12824. * Button.cs, RadioButton.cs:
  12825. - Functional initial check-in
  12826. 2004-09-01 14:01 pbartok
  12827. * CheckBox.cs:
  12828. - Added missing default
  12829. - Added missing region mark
  12830. 2004-09-01 09:10 jordi
  12831. * Label.cs: fixes method signatures, new methods, events, fixes
  12832. autosize
  12833. 2004-09-01 07:19 jordi
  12834. * Control.cs: Init string variables with an empty object
  12835. 2004-09-01 04:20 jordi
  12836. * Control.cs: fires OnFontChanged event
  12837. 2004-08-31 20:07 pbartok
  12838. * ButtonBase.cs:
  12839. - Enabled display of strings
  12840. 2004-08-31 20:05 pbartok
  12841. * Form.cs:
  12842. - Added (partial) implementation of DialogResult; rest needs to be
  12843. implemented when the modal loop code is done
  12844. 2004-08-31 19:55 pbartok
  12845. * CheckBox.cs:
  12846. - Fixed to match the removal of the needs_redraw concept
  12847. 2004-08-31 19:55 pbartok
  12848. * ButtonBase.cs:
  12849. - Removed the rather odd split between 'needs redraw' and redrawing
  12850. - Now handles the events that require regeneration (ambient
  12851. properties and size)
  12852. 2004-08-31 19:41 pbartok
  12853. * Control.cs:
  12854. - Added firing of BackColorChanged event
  12855. - Added TopLevelControl property
  12856. - Fixed handling of WM_ERASEBKGRND message
  12857. 2004-08-31 12:49 pbartok
  12858. * ButtonBase.cs:
  12859. - Removed debug
  12860. - Minor fixes
  12861. 2004-08-31 12:48 pbartok
  12862. * CheckBox.cs:
  12863. - Finished (famous last words)
  12864. 2004-08-31 04:35 jordi
  12865. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  12866. scrolling bugs, adds new methods
  12867. 2004-08-30 14:42 pbartok
  12868. * CheckBox.cs:
  12869. - Implemented CheckBox drawing code
  12870. 2004-08-30 14:42 pbartok
  12871. * ButtonBase.cs:
  12872. - Made Redraw() and CheckRedraw() virtual
  12873. - Improved mouse up/down/move logic to properly track buttons
  12874. 2004-08-30 09:44 pbartok
  12875. * CheckBox.cs:
  12876. - Updated to fix broken build. Not complete yet.
  12877. 2004-08-30 09:28 pbartok
  12878. * CheckState.cs:
  12879. - Initial checkin
  12880. 2004-08-30 09:17 pbartok
  12881. * Appearance.cs:
  12882. - Initial check-in
  12883. 2004-08-27 16:12 ravindra
  12884. * ToolBarButton.cs: Added TypeConverter attribute.
  12885. 2004-08-27 16:07 ravindra
  12886. * ImageIndexConverter.cs: Implemented.
  12887. 2004-08-27 14:17 pbartok
  12888. * Control.cs:
  12889. - Removed unneeded stack vars
  12890. - First attempt to fix sizing issues when layout is suspended
  12891. 2004-08-25 15:35 jordi
  12892. * ScrollBar.cs: more fixes to scrollbar
  12893. 2004-08-25 14:04 ravindra
  12894. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  12895. Added the missing divider code and grip for ToolBar Control.
  12896. 2004-08-25 13:20 pbartok
  12897. * Control.cs:
  12898. - Control now properly passes the ambient background color to child
  12899. controls
  12900. 2004-08-25 13:20 jordi
  12901. * ScrollBar.cs: small bug fix regarding bar position
  12902. 2004-08-25 12:33 pbartok
  12903. * Timer.cs:
  12904. - Now only calls SetTimer or KillTimer if the enabled state has
  12905. changed
  12906. 2004-08-25 12:33 pbartok
  12907. * XplatUIWin32.cs:
  12908. - Fixed timer handling, now seems to work
  12909. - Improved error message for window creation
  12910. 2004-08-25 12:32 pbartok
  12911. * Control.cs:
  12912. - Fixed generation of MouseUp message
  12913. 2004-08-25 12:29 jordi
  12914. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  12915. and fixes for progressbar
  12916. 2004-08-24 18:43 ravindra
  12917. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  12918. in ToolBar control.
  12919. 2004-08-24 17:15 pbartok
  12920. * Panel.cs:
  12921. - Added #region
  12922. - Added missing events
  12923. - Alphabetized
  12924. 2004-08-24 17:14 pbartok
  12925. * StatusBar.cs, PictureBox.cs:
  12926. - Now uses Control's CreateParams
  12927. 2004-08-24 16:36 pbartok
  12928. * XplatUIX11.cs:
  12929. - Fixed background color handling
  12930. - Fixed sending of enter/leave events on a grab
  12931. 2004-08-24 16:35 pbartok
  12932. * X11Structs.cs:
  12933. - Refined definitions for CrossingEvent
  12934. 2004-08-24 12:37 jordi
  12935. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  12936. formmating, methods signature, and adds missing events
  12937. 2004-08-24 12:24 jordi
  12938. * Control.cs: fire OnEnabledChanged event
  12939. 2004-08-24 11:17 pbartok
  12940. * XplatUIWin32.cs:
  12941. - Implemented SetTimer() and KillTimer()
  12942. 2004-08-24 11:16 pbartok
  12943. * XplatUIX11.cs:
  12944. - Now uses Remove instead of Add to kill the timer
  12945. 2004-08-24 10:16 jackson
  12946. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  12947. picture boxes in the theme now. Draw picture box borders and obey
  12948. sizing modes
  12949. 2004-08-24 05:49 jackson
  12950. * Timer.cs: Remove top secret debugging code
  12951. 2004-08-24 05:34 jackson
  12952. * PictureBox.cs: Temp hack to make picture boxes draw their full
  12953. image
  12954. 2004-08-24 05:29 jackson
  12955. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  12956. XplatUIX11.cs: Move timers to the driver level. On X they are
  12957. queued by the driver and checked on idle.
  12958. 2004-08-24 01:07 jackson
  12959. * XplatUIX11.cs: Use a queue for async messages instead of passing
  12960. them as ClientMessages since that was totally broken. Also simply
  12961. check for events and return an idle message if none are found. This
  12962. gives us an idle handler, and prevents deadlocking when no messages
  12963. are in the queue.
  12964. 2004-08-23 18:19 ravindra
  12965. * XplatUIWin32.cs: Removed the unwanted destructor.
  12966. 2004-08-23 17:27 pbartok
  12967. * ButtonBase.cs:
  12968. - Finishing touches. Works now, just needs some optimizations.
  12969. 2004-08-23 16:53 jordi
  12970. * ScrollBar.cs: small fix
  12971. 2004-08-23 16:45 pbartok
  12972. * Application.cs:
  12973. - Removed debug output
  12974. - Simplifications
  12975. 2004-08-23 16:43 jordi
  12976. * ScrollBar.cs: [no log message]
  12977. 2004-08-23 16:10 pbartok
  12978. * Form.cs:
  12979. - Fixed handling of WM_CLOSE message
  12980. - Removed debug output
  12981. 2004-08-23 16:09 pbartok
  12982. * Application.cs:
  12983. - Added handling of Idle event
  12984. - Added handling of form closing
  12985. - Fixed reporting of MessageLoop property
  12986. - Removed some unneeded code, should provide a bit of a speedup
  12987. 2004-08-23 15:22 pbartok
  12988. * Control.cs:
  12989. - Added InitLayout() method
  12990. - Added code to properly perform layout when Anchor or Dock property
  12991. is changed
  12992. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  12993. LAMESPEC, tried to do it in a way that makes sense
  12994. 2004-08-23 14:10 jordi
  12995. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  12996. properties and methods
  12997. 2004-08-23 13:55 pbartok
  12998. * Control.cs:
  12999. - Properly fixed Jordi's last fix
  13000. - Now uses Cursor's Position property instead of calling XplatUI
  13001. directly
  13002. 2004-08-23 13:44 jordi
  13003. * PaintEventHandler.cs: Adding missing attribute
  13004. 2004-08-23 13:39 pbartok
  13005. * Cursor.cs:
  13006. - Implemented Position property
  13007. 2004-08-23 13:39 pbartok
  13008. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  13009. - Added method to move mouse cursor
  13010. 2004-08-23 13:39 pbartok
  13011. * XplatUIX11.cs:
  13012. - Fixed setting of background color
  13013. - Added method to move mouse cursor
  13014. 2004-08-23 13:16 jordi
  13015. * Control.cs: avoids null exception
  13016. 2004-08-22 17:46 jackson
  13017. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  13018. PictureBox
  13019. 2004-08-22 17:40 jackson
  13020. * XplatUIX11.cs: Add some missing locks
  13021. 2004-08-22 15:10 pbartok
  13022. * Control.cs, Form.cs:
  13023. - Removed OverlappedWindow style from Control, instead it's default
  13024. now is child
  13025. - Made form windows OverlappedWindow by default
  13026. 2004-08-22 13:34 jackson
  13027. * ScrollBar.cs: Update the position through the Value property so
  13028. the OnValueChanged event is raised.
  13029. 2004-08-22 12:04 pbartok
  13030. * SWF.csproj:
  13031. - Added Cursor.cs and UserControl.cs
  13032. 2004-08-22 12:03 pbartok
  13033. * Cursor.cs:
  13034. - Started implementation, not usable yet
  13035. 2004-08-22 12:00 pbartok
  13036. * UserControl.cs:
  13037. - Implemented UserControl (complete)
  13038. 2004-08-21 19:20 ravindra
  13039. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  13040. 2004-08-21 18:49 ravindra
  13041. * ToolBar.cs: Probably this completes the missing attributes in
  13042. toolbar control.
  13043. 2004-08-21 18:03 ravindra
  13044. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  13045. Fixed toolbar control signatures.
  13046. 2004-08-21 16:32 pbartok
  13047. * LinkLabel.cs:
  13048. - Signature Fixes
  13049. 2004-08-21 16:30 pbartok
  13050. * Label.cs:
  13051. - Signature fixes
  13052. 2004-08-21 16:19 pbartok
  13053. * Control.cs, Label.cs:
  13054. - Signature fixes
  13055. 2004-08-21 15:57 pbartok
  13056. * ButtonBase.cs:
  13057. - Added loads of debug output for development
  13058. - Fixed typo in method name
  13059. 2004-08-21 15:52 pbartok
  13060. * ToolBarButtonClickEventArgs.cs:
  13061. - Added missing base class
  13062. 2004-08-21 14:53 pbartok
  13063. * Control.cs:
  13064. - Updated to match new GrabWindow signature
  13065. 2004-08-21 14:51 pbartok
  13066. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13067. - Added method to get default display size
  13068. 2004-08-21 14:23 pbartok
  13069. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13070. - Added method to query current grab state
  13071. - Added argument to allow confining a grab to a window
  13072. 2004-08-21 14:22 pbartok
  13073. * Keys.cs:
  13074. - Added [Flags] attribute so that modifiers can be used in bitwise
  13075. ops
  13076. 2004-08-21 14:21 pbartok
  13077. * TrackBar.cs, ScrollBar.cs:
  13078. - Replaced direct XplatUI calls with their Control counterpart
  13079. 2004-08-21 13:32 pbartok
  13080. * Control.cs:
  13081. - Implemented Created property
  13082. 2004-08-21 13:28 pbartok
  13083. * Control.cs:
  13084. - Implemented ContainsFocus
  13085. 2004-08-21 13:26 pbartok
  13086. * Control.cs:
  13087. - Implemented CausesValidation
  13088. 2004-08-21 13:21 pbartok
  13089. * Control.cs:
  13090. - Implemented CanFocus
  13091. - Implemented CanSelect
  13092. - Implemented Capture
  13093. 2004-08-21 12:35 pbartok
  13094. * XplatUIWin32.cs:
  13095. - Fixed bug with Async message handling
  13096. - Implemented getting the ModifierKeys
  13097. 2004-08-21 12:32 jackson
  13098. * AsyncMethodResult.cs: Make sure we have the mutex before we
  13099. release it. Fixes BeginInvoke on windows
  13100. 2004-08-21 11:31 pbartok
  13101. * XplatUIWin32.cs, XplatUIX11.cs:
  13102. - Drivers now return proper mouse state
  13103. 2004-08-21 10:54 jackson
  13104. * Control.cs: Implement EndInvoke
  13105. 2004-08-21 10:48 jackson
  13106. * Timer.cs: Remove unneeded finalizer
  13107. 2004-08-20 19:52 ravindra
  13108. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  13109. in mouse event handling in the ToolBar control.
  13110. 2004-08-20 19:50 ravindra
  13111. * ImageList.cs: Changed draw method to use the arguments passed in
  13112. to draw the image.
  13113. 2004-08-20 18:58 pbartok
  13114. * XplatUIStructs.cs:
  13115. - Added private message for async communication
  13116. 2004-08-20 17:38 ravindra
  13117. * Control.cs: Made RightToLeft property virtual and removed a
  13118. Console.WriteLine.
  13119. 2004-08-20 14:39 jordi
  13120. * ThemeGtk.cs: use style_attach
  13121. 2004-08-20 14:39 pbartok
  13122. * XplatUIWin32.cs:
  13123. - Added jackson's Async code from X11 to Win32
  13124. 2004-08-20 14:09 pbartok
  13125. * SWF.csproj:
  13126. - Added all new files
  13127. 2004-08-20 14:09 pbartok
  13128. * Control.cs:
  13129. - Added call to set window background color
  13130. 2004-08-20 14:03 pbartok
  13131. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  13132. - Added method for setting the window background
  13133. 2004-08-20 14:02 pbartok
  13134. * XplatUIWin32.cs:
  13135. - Added method for setting the background color
  13136. - Added handling for erasing the window background
  13137. 2004-08-20 13:45 jordi
  13138. * TrackBar.cs: fixes timer, new properties and methods
  13139. 2004-08-20 13:34 jackson
  13140. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  13141. correct thread
  13142. 2004-08-20 13:22 jackson
  13143. * Timer.cs: Timer Tick events are now handed through Controls Async
  13144. mechanism so the callbacks are executed in the same thread as X
  13145. 2004-08-20 13:19 jackson
  13146. * XplatUIDriver.cs: Expose functionality to send async messages
  13147. through the driver
  13148. 2004-08-20 13:18 jackson
  13149. * Control.cs: Implement Begininvoke
  13150. 2004-08-20 13:14 jackson
  13151. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  13152. messages through the driver
  13153. 2004-08-20 13:12 jackson
  13154. * XplatUIX11.cs: Lock before all X operations. Also added Async
  13155. method functionality through XSendEvent
  13156. 2004-08-20 13:11 jackson
  13157. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  13158. This will screw up on 64 bit systems)
  13159. 2004-08-20 13:10 jackson
  13160. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  13161. Async messages through X/Win32
  13162. 2004-08-19 19:39 pbartok
  13163. * XplatUIX11.cs:
  13164. - Updated code to match new HandleData.DeviceContext type
  13165. 2004-08-19 19:38 pbartok
  13166. * HandleData.cs:
  13167. - Made DeviceContext a generic object to allow usage from various
  13168. drivers
  13169. - Added support for queueing Windows messages
  13170. 2004-08-19 19:37 pbartok
  13171. * XplatUIWin32.cs:
  13172. - Added generation of MouseEnter, MouseLeave and MouseHover events
  13173. - Added cleanup on EndPaint
  13174. 2004-08-19 19:17 pbartok
  13175. * Control.cs:
  13176. - Added handling of WM_MOUSEHOVER
  13177. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  13178. code
  13179. 2004-08-19 18:55 jordi
  13180. * ThemeGtk.cs: fixes button order
  13181. 2004-08-19 18:12 jordi
  13182. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  13183. 2004-08-19 17:09 pbartok
  13184. * Control.cs:
  13185. - Added Right property
  13186. - Added RightToLeft property
  13187. 2004-08-19 16:27 jordi
  13188. * ThemeGtk.cs: experimental GTK theme support
  13189. 2004-08-19 16:26 jordi
  13190. * ITheme.cs, Theme.cs: move themes from an interface to a class
  13191. 2004-08-19 16:25 jordi
  13192. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  13193. theme enhancaments
  13194. 2004-08-19 16:04 pbartok
  13195. * XplatUIX11.cs:
  13196. - Added colormap basics
  13197. - Added a way to re-initialize with a different display handle
  13198. - Fixed setting of the window background color
  13199. - Added various X11 imports related to colors and colormaps
  13200. 2004-08-19 15:51 pbartok
  13201. * X11Structs.cs:
  13202. - Removed packing hints (Paolo suggested this a while back)
  13203. - fixed colormap type
  13204. - Added default Atom types
  13205. - Added Screen and color structs and enums
  13206. 2004-08-19 15:39 pbartok
  13207. * ImageList.cs:
  13208. - Added missing Draw() method
  13209. - Added missing RecreateHandle event
  13210. 2004-08-19 15:30 pbartok
  13211. * Form.cs:
  13212. - Added handling of WM_CLOSE
  13213. 2004-08-18 13:16 jordi
  13214. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  13215. a table
  13216. 2004-08-18 09:56 jordi
  13217. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  13218. 2004-08-17 15:31 ravindra
  13219. * SWF.csproj: Updated project.
  13220. 2004-08-17 15:25 pbartok
  13221. * Control.cs:
  13222. - Drawing improvement; don't call UpdateBounds if we are not visible
  13223. (or have been minimized)
  13224. 2004-08-17 15:24 pbartok
  13225. * XplatUIWin32.cs:
  13226. - Finished IsVisible
  13227. - Added Win32GetWindowPlacement
  13228. 2004-08-17 15:08 jackson
  13229. * Panel.cs: Initial checkin of the Panel
  13230. 2004-08-17 14:25 pbartok
  13231. * Control.cs:
  13232. - Fixed broken handling of default window sizes
  13233. 2004-08-17 13:29 jackson
  13234. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  13235. has a large startup time.
  13236. 2004-08-17 10:25 jackson
  13237. * HandleData.cs: union areas properly
  13238. 2004-08-17 10:12 jackson
  13239. * HandleData.cs: union areas properly
  13240. 2004-08-16 20:00 ravindra
  13241. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  13242. 2004-08-16 18:48 ravindra
  13243. * ToolBar.cs: Added attributes.
  13244. 2004-08-16 17:17 ravindra
  13245. * SWF.csproj: Updated project.
  13246. 2004-08-16 17:16 jackson
  13247. * XplatUIX11.cs: Check for more expose events before sending a
  13248. WM_PAINT so they can all be grouped together. This makes dragging a
  13249. window across another window redraw in a sane way.
  13250. 2004-08-16 15:47 pbartok
  13251. * Control.cs:
  13252. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  13253. support OnMouseEnter/Leave()
  13254. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  13255. exposure handling
  13256. 2004-08-16 15:46 pbartok
  13257. * XplatUIStructs.cs, XplatUIX11.cs:
  13258. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  13259. OnMouseEnter/Leave()
  13260. 2004-08-16 15:34 jackson
  13261. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  13262. sure messages get the message field set to WM_NULL if they are not
  13263. handled.
  13264. 2004-08-16 15:24 jackson
  13265. * HandleData.cs: HandleData is used for storing message information
  13266. for window handles
  13267. 2004-08-15 17:23 ravindra
  13268. * ColorDepth.cs: Added attribute.
  13269. 2004-08-15 17:23 ravindra
  13270. * SWF.csproj: Updated project for ToolBar Control.
  13271. 2004-08-15 17:20 ravindra
  13272. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  13273. control and also dos2unix format.
  13274. 2004-08-15 17:13 ravindra
  13275. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  13276. ToolBarButtonClickEventArgs.cs,
  13277. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  13278. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  13279. 2004-08-15 15:31 pbartok
  13280. * ButtonBase.cs:
  13281. - First (mostly) working version
  13282. 2004-08-13 16:15 pbartok
  13283. * Control.cs:
  13284. - Fixed Anchor default
  13285. 2004-08-13 15:43 pbartok
  13286. * Control.cs:
  13287. - Changed GetCursorPos signature
  13288. 2004-08-13 15:42 pbartok
  13289. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  13290. - Changed signature for GetCursorPos
  13291. 2004-08-13 15:25 pbartok
  13292. * XplatUIX11.cs:
  13293. - Cleanup
  13294. - Fixed resizing/exposure handling
  13295. 2004-08-13 15:22 jordi
  13296. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  13297. with tickposition
  13298. 2004-08-13 14:55 jordi
  13299. * TrackBar.cs: change from wndproc to events
  13300. 2004-08-13 13:00 jordi
  13301. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13302. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  13303. 2004-08-13 12:53 pbartok
  13304. * XplatUIWin32.cs:
  13305. - Changed GetWindowPos to also provide client area size
  13306. - Fixed broken prototypes for several win32 functions
  13307. 2004-08-13 12:53 pbartok
  13308. * XplatUI.cs, XplatUIDriver.cs:
  13309. - Changed GetWindowPos to also provide client area size
  13310. 2004-08-13 12:52 pbartok
  13311. * XplatUIX11.cs:
  13312. - Added generation of WM_POSCHANGED
  13313. - Changed GetWindowPos to also provide client area size
  13314. 2004-08-13 12:52 pbartok
  13315. * Control.cs:
  13316. - Added Dispose() and destructor
  13317. - Fixed resizing and bounds calculation
  13318. - Fixed Layout
  13319. - Added memory savings for invisible windows
  13320. 2004-08-13 12:46 jordi
  13321. * TrackBar.cs: adds timer and grap window
  13322. 2004-08-13 10:25 jackson
  13323. * Timer.cs: SWF Timer
  13324. 2004-08-12 16:59 pbartok
  13325. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13326. - Implemented method to get current mouse position
  13327. 2004-08-12 14:29 jordi
  13328. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  13329. enhancement, fix mouse problems, highli thumb, etc
  13330. 2004-08-12 13:31 pbartok
  13331. * Control.cs:
  13332. - Fixed Anchoring bugs
  13333. 2004-08-12 13:01 jackson
  13334. * StatusBar.cs: Don't forget things
  13335. 2004-08-12 12:54 jackson
  13336. * ThemeWin32Classic.cs: Handle owner draw status bars
  13337. 2004-08-12 12:54 jackson
  13338. * StatusBar.cs: Implement missing properties, events, and methods.
  13339. Handle mouse clicking
  13340. 2004-08-12 10:19 jackson
  13341. * StatusBarPanelClickEventArgs.cs,
  13342. StatusBarPanelClickEventHandler.cs: Classes for handling status
  13343. bar panel click events
  13344. 2004-08-12 10:10 jackson
  13345. * Control.cs: Add missing properties
  13346. 2004-08-12 09:46 pbartok
  13347. * BindingsManagerBase.cs:
  13348. - Name changed to BindingManagerBase.cs
  13349. 2004-08-12 09:25 jordi
  13350. * ScrollableControl.cs: calls ctrlbase instead of exeception
  13351. 2004-08-11 16:28 pbartok
  13352. * InputLanguageChangingEventArgs.cs:
  13353. - Never check in before compiling. Fixes the last check-in
  13354. 2004-08-11 16:26 pbartok
  13355. * InputLanguageChangingEventArgs.cs:
  13356. - More signature fixes
  13357. 2004-08-11 16:20 pbartok
  13358. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  13359. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  13360. ImageListStreamer.cs, InputLanguage.cs,
  13361. InputLanguageChangedEventArgs.cs,
  13362. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  13363. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  13364. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  13365. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13366. - Signature fixes
  13367. 2004-08-11 16:16 pbartok
  13368. * Application.cs:
  13369. - Fixed Signature
  13370. - Added .Net 1.1 method
  13371. 2004-08-11 15:25 pbartok
  13372. * SWF.csproj:
  13373. - Fixed BindingManagerBase.cs filename
  13374. 2004-08-11 15:22 pbartok
  13375. * BindingManagerBase.cs:
  13376. - Was checked in with wrong filename
  13377. 2004-08-11 14:50 pbartok
  13378. * SWF.csproj:
  13379. - Updated
  13380. 2004-08-11 13:41 jordi
  13381. * XplatUIWin32.cs: Fixes ClientRect
  13382. 2004-08-11 13:19 pbartok
  13383. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13384. XplatUIX11.cs:
  13385. - We had SetWindowPos and MoveWindow to set window positions and
  13386. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  13387. keep SetWindowPos as matching counterpart
  13388. - Added some X11 sanity checking
  13389. 2004-08-11 12:59 pbartok
  13390. * Control.cs:
  13391. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  13392. (It seems that SetBounds is just a front for SetBoundsCore and
  13393. SetBoundsCore updates the underlying window system and
  13394. UpdateBounds is responsible for updating the variables associated
  13395. with the Control and sending the events)
  13396. - Major cleanup of Size handling; we now have two sizes, client_size
  13397. and bounds. Bounds defines the window with decorations, client_size
  13398. without them.
  13399. 2004-08-11 12:55 pbartok
  13400. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13401. - Added method to calculate difference between decorated window and
  13402. raw client area
  13403. 2004-08-11 12:54 pbartok
  13404. * Label.cs:
  13405. - Forcing redraw on resize
  13406. 2004-08-11 11:43 pbartok
  13407. * ImageList.cs:
  13408. - Removed disposing of the actual images when the list is disposed
  13409. 2004-08-11 09:13 pbartok
  13410. * Control.cs:
  13411. - Now properly reparents windows
  13412. 2004-08-11 08:37 pbartok
  13413. * Control.cs:
  13414. - Duh!
  13415. 2004-08-11 07:47 pbartok
  13416. * Control.cs:
  13417. - Rewrote the collection stuff. Might not be as fast now, not
  13418. keeping the number of children around and accessible directly, but
  13419. it's more straightforward
  13420. 2004-08-11 07:44 pbartok
  13421. * AccessibleObject.cs:
  13422. - Fixed to match ControlCollection rewrite
  13423. 2004-08-11 07:43 pbartok
  13424. * ImageList.cs:
  13425. - Added missing creation of the collection list
  13426. 2004-08-10 20:08 jackson
  13427. * StatusBar.cs: Get the paint message from WndProc
  13428. 2004-08-10 19:31 jackson
  13429. * ThemeWin32Classic.cs: Create Brushes as little as possible
  13430. 2004-08-10 19:20 jackson
  13431. * UICues.cs: Add Flags attribute
  13432. 2004-08-10 19:19 jackson
  13433. * StatusBarPanel.cs: Signature cleanup
  13434. 2004-08-10 19:10 jackson
  13435. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  13436. Initial implementation of status bar item drawing
  13437. 2004-08-10 17:27 jordi
  13438. * TrackBar.cs: add missing methods, properties, and restructure to
  13439. hide extra ones
  13440. 2004-08-10 16:24 jackson
  13441. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  13442. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  13443. attribute
  13444. 2004-08-10 13:21 jordi
  13445. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  13446. enhancements and standarize on win colors defaults
  13447. 2004-08-10 12:52 jackson
  13448. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  13449. ThemeWin32Classic.cs: Implement DrawItem functionality
  13450. 2004-08-10 12:47 jordi
  13451. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  13452. 2004-08-10 12:32 jordi
  13453. * Control.cs: throw ontextchange event
  13454. 2004-08-10 11:43 pbartok
  13455. * Control.cs:
  13456. - Added more to the still unfinished Dock/Anchor layout code
  13457. 2004-08-10 11:39 pbartok
  13458. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  13459. - Added GetWindowPos method
  13460. 2004-08-10 11:36 pbartok
  13461. * XplatUIWin32.cs:
  13462. - Implemented several methods
  13463. 2004-08-10 09:47 jackson
  13464. * TrackBar.cs: Allow control to handle buffering
  13465. 2004-08-10 09:41 jackson
  13466. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  13467. 2004-08-10 09:24 jackson
  13468. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  13469. 2004-08-10 09:09 jackson
  13470. * StatusBar.cs: Let Control handle all the buffering.
  13471. 2004-08-10 09:08 jackson
  13472. * Control.cs: Control will now handle the buffering code, so each
  13473. control does not have to implement this.
  13474. 2004-08-10 08:34 jackson
  13475. * XplatUIDriver.cs: Use default colors from the theme
  13476. 2004-08-09 17:12 pbartok
  13477. * ImageList.cs:
  13478. - Fixed several bugs Ravindra pointed out
  13479. 2004-08-09 16:11 pbartok
  13480. * Control.cs:
  13481. - Added incomplete dock layout code
  13482. - Added support for mouse wheel
  13483. 2004-08-09 16:09 pbartok
  13484. * XplatUIX11.cs:
  13485. - Added handling for middle and right mousebutton
  13486. - Added handling for mouse wheel
  13487. - Added handling for key state and mouse state and position
  13488. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  13489. messages
  13490. 2004-08-09 15:40 jackson
  13491. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  13492. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  13493. checkin
  13494. 2004-08-09 15:37 jackson
  13495. * StatusBar.cs: Initial implementation of StatusBar
  13496. 2004-08-09 15:36 jackson
  13497. * ITheme.cs: Add support for drawing status bar and getting status
  13498. bar item sizes
  13499. 2004-08-09 15:35 pbartok
  13500. * MouseButtons.cs:
  13501. - Fixed values
  13502. 2004-08-09 15:34 jackson
  13503. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  13504. status bar item sizes
  13505. 2004-08-09 15:21 jackson
  13506. * ThemeWin32Classic.cs: Use known colors for default control
  13507. colours
  13508. 2004-08-09 15:12 jackson
  13509. * ThemeWin32Classic.cs: Make the default font static, it is static
  13510. in control so this doesn't change functionality and creating fonts
  13511. is sloooooow.
  13512. 2004-08-09 14:56 pbartok
  13513. * X11Structs.cs:
  13514. - Added GrabMode enum
  13515. 2004-08-09 14:55 pbartok
  13516. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13517. - Removed Run method, was only required for initial development
  13518. 2004-08-09 14:51 pbartok
  13519. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  13520. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  13521. capture
  13522. 2004-08-09 13:48 pbartok
  13523. * XplatUIX11.cs:
  13524. - Fixed default sizing for child windows
  13525. 2004-08-09 12:56 pbartok
  13526. * XplatUIX11.cs:
  13527. - Added generation of WM_DESTROY message
  13528. - Added handling of window manager induced shutdown
  13529. 2004-08-09 11:31 jackson
  13530. * ThemeWin32Classic.cs: New names for control properties
  13531. 2004-08-09 11:25 jackson
  13532. * Control.cs: Use new color names
  13533. 2004-08-09 11:02 jackson
  13534. * XplatUI.cs: Get default window properties from the theme
  13535. 2004-08-09 11:01 jackson
  13536. * ITheme.cs: The theme engine now controls default window
  13537. properties
  13538. 2004-08-09 11:00 jackson
  13539. * ThemeWin32Classic.cs: Add default window color properties
  13540. 2004-08-09 10:17 jackson
  13541. * ThemeWin32Classic.cs: Use correct default back color
  13542. 2004-08-09 10:05 jackson
  13543. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  13544. the theme now.
  13545. 2004-08-09 09:56 jackson
  13546. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  13547. 2004-08-09 09:54 jackson
  13548. * Control.cs: Get default properties from the theme.
  13549. 2004-08-09 09:53 jackson
  13550. * ITheme.cs: Themes now handle default control properties
  13551. 2004-08-09 09:53 jackson
  13552. * ThemeWin32Classic.cs: Themes now handle default control
  13553. properties so coloring will be consistent
  13554. 2004-08-08 16:54 jordi
  13555. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  13556. 2004-08-08 15:08 jordi
  13557. * XplatUIX11.cs: fixes keyboard crash
  13558. 2004-08-08 13:47 jordi
  13559. * Label.cs: add cvs header info
  13560. 2004-08-08 12:09 jackson
  13561. * ThemeWin32Classic.cs: Add pen_buttonface
  13562. 2004-08-08 11:52 jordi
  13563. * Label.cs, LinkLabel.cs: [no log message]
  13564. 2004-08-08 11:34 jordi
  13565. * ThemeWin32Classic.cs: Use Windows Standard Colours
  13566. 2004-08-07 17:32 jordi
  13567. * TrackBar.cs: throw exceptions of invalid enums values
  13568. 2004-08-07 17:31 jordi
  13569. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  13570. draw method name
  13571. 2004-08-07 16:56 jackson
  13572. * HorizontalAlignment.cs: Initial checkin
  13573. 2004-08-07 13:16 jordi
  13574. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  13575. methods
  13576. 2004-08-07 13:05 jordi
  13577. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  13578. GetSysColor defines
  13579. 2004-08-06 18:01 pbartok
  13580. * ThemeWin32Classic.cs:
  13581. - Fixed some rounding issues with float/int
  13582. 2004-08-06 18:00 jackson
  13583. * DockStyle.cs, AnchorStyles.cs:
  13584. Add flags and serializable attributes.
  13585. 2004-08-06 17:46 pbartok
  13586. * XplatUIX11.cs:
  13587. - Implemented GetParent
  13588. 2004-08-06 17:18 pbartok
  13589. * TrackBar.cs:
  13590. - Fixed some rounding issues with float/int
  13591. 2004-08-06 17:17 pbartok
  13592. * X11Structs.cs, XplatUIX11.cs:
  13593. - Fixed Refresh and Invalidate
  13594. 2004-08-06 15:30 pbartok
  13595. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  13596. - Fixed recursive loop when resizing
  13597. - Improved/fixed redrawing on expose messages
  13598. 2004-08-06 09:53 jordi
  13599. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  13600. keyboard navigation
  13601. 2004-08-06 08:02 pbartok
  13602. * X11Structs.cs, XplatUIX11.cs:
  13603. - Fixed reparenting
  13604. - Fixed window border creation
  13605. 2004-08-05 15:38 pbartok
  13606. * XplatUIX11.cs:
  13607. - Attempted fix for reparenting problems
  13608. 2004-08-04 15:14 pbartok
  13609. * Control.cs:
  13610. - Fixed Invalidation bug (calculated wrong client area)
  13611. - Added ClientSize setter
  13612. 2004-08-04 15:13 pbartok
  13613. * Form.cs:
  13614. - Added AutoScale properties
  13615. 2004-08-04 15:13 pbartok
  13616. * SWF.csproj:
  13617. - Added latest files
  13618. 2004-08-04 14:11 pbartok
  13619. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13620. XplatUIX11.cs:
  13621. - Added Invalidate handling
  13622. 2004-08-03 17:09 jordi
  13623. * XplatUIDriver.cs: fixes spelling mistake
  13624. 2004-07-27 09:53 jordi
  13625. * TrackBar.cs: fixes trackbar events, def classname, methods
  13626. signature
  13627. 2004-07-27 09:29 jordi
  13628. * ScrollBar.cs: fixes scrollbar events
  13629. 2004-07-27 04:38 jordi
  13630. * Control.cs: changes to be able to run winforms samples
  13631. 2004-07-26 11:42 jordi
  13632. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  13633. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  13634. 2004-07-26 05:41 jordi
  13635. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  13636. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  13637. implementation
  13638. 2004-07-22 09:22 jordi
  13639. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  13640. check link overlapping, implement events, and fixes
  13641. 2004-07-21 10:28 jordi
  13642. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  13643. 2004-07-21 10:19 jordi
  13644. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  13645. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  13646. LinkLabelLinkClickedEventArgs.cs,
  13647. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  13648. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  13649. implementation
  13650. 2004-07-19 13:09 jordi
  13651. * Control.cs, Label.cs: label control re-written: added missing
  13652. functionlity, events, and properties
  13653. 2004-07-19 10:49 jordi
  13654. * Control.cs: fixes SetBounds logic
  13655. 2004-07-19 01:29 jordi
  13656. * Control.cs: Call RefreshWindow only if the window has created
  13657. 2004-07-15 14:05 pbartok
  13658. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  13659. - Implemented ImageList and ImageList.ImageCollection classes
  13660. - Added ColorDepth enumeration
  13661. - Updated SWF VS.Net project
  13662. 2004-07-15 11:06 jordi
  13663. * XplatUIStructs.cs: added MsgButons enum
  13664. 2004-07-15 11:03 jordi
  13665. * Control.cs: added basic mouse handeling events
  13666. 2004-07-15 03:38 jordi
  13667. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  13668. Vertical TrackBar control implementation
  13669. 2004-07-13 09:33 jordi
  13670. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  13671. 2004-07-13 09:31 jordi
  13672. * Control.cs, Form.cs: commit: new properties and fixes form size
  13673. problems
  13674. 2004-07-09 14:13 miguel
  13675. * ProgressBar.cs: Spelling
  13676. 2004-07-09 11:25 pbartok
  13677. * ProgressBar.cs:
  13678. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  13679. faster
  13680. 2004-07-09 11:17 miguel
  13681. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  13682. * ProgressBar.cs: Fixed spelling for `block'
  13683. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  13684. style guidelines.
  13685. Avoid using the += on rect.X, that exposed a bug in the compiler.
  13686. 2004-07-08 23:21 pbartok
  13687. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  13688. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  13689. BaseCollection.cs, Binding.cs, BindingContext.cs,
  13690. BindingMemberInfo.cs, BindingsCollection.cs,
  13691. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  13692. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  13693. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  13694. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  13695. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  13696. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  13697. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  13698. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  13699. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  13700. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  13701. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  13702. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  13703. InputLanguageChangedEventArgs.cs,
  13704. InputLanguageChangedEventHandler.cs,
  13705. InputLanguageChangingEventArgs.cs,
  13706. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  13707. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  13708. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  13709. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  13710. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  13711. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  13712. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  13713. QueryAccessibilityHelpEventArgs.cs,
  13714. QueryAccessibilityHelpEventHandler.cs,
  13715. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  13716. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  13717. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  13718. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  13719. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  13720. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  13721. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  13722. XplatUIX11.cs, lang.cs:
  13723. - Initial check-in