ChangeLog 714 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491
  1. 2006-12-07 Jackson Harper <[email protected]>
  2. * TextBoxBase.cs: Take HideSelection into account when determining
  3. whether or not to show the selection.
  4. * RichTextBox.cs: After inserting the RTF into the document move
  5. the cursor to the beginning of the document.
  6. 2006-12-07 Jonathan Pobst <[email protected]>
  7. * Control.cs: Remove static ArrayList "controls" which maintained
  8. a reference to every control created.
  9. * Application.cs: Create a static FormCollection to maintain a reference
  10. to every form created. Use it in places that formerly enumerated through
  11. the controls one looking for forms.
  12. * Form.cs: Add and remove self from above FormCollection.
  13. 2006-12-07 Alexander Olk <[email protected]>
  14. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  15. not libgdk (though it makes me wonder why I didn't have any
  16. problems)
  17. 2006-12-07 Chris Toshok <[email protected]>
  18. [ you had to know this was coming after that last commit...]
  19. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  20. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  21. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  22. XCopyArea).
  23. 2006-12-07 Chris Toshok <[email protected]>
  24. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  25. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  26. all the behavior we need for double buffering.
  27. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  28. client side Bitmap, just like the old Control-based double buffer
  29. code did. The methods are virtual, so each XplatUI driver
  30. subclass can replace the implementation to use a faster, platform
  31. specific approach.
  32. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  33. double buffer code, and clean things up a bit in the process.
  34. 2006-12-06 Chris Toshok <[email protected]>
  35. * Control.cs: reindent WndProc.
  36. 2006-12-06 Chris Toshok <[email protected]>
  37. [ I wanna be like BenM when I grow up ]
  38. * Hwnd.cs: create a single static Graphics object on the static
  39. Bitmap we create. use this for our text measurements.
  40. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  41. This was causing us to allocate a backbuffer for every control,
  42. even when it wasn't flagged as double buffered. Instead use the
  43. single graphics instance. This might have implications for
  44. multithreaded applications. If we run into problems we can switch
  45. to creating 1 Graphics per control, on the static Hwnd bitmap.
  46. this change nets us a 7M savings in private dirty mappings when
  47. running FormsTest.exe.
  48. 2006-12-06 Chris Toshok <[email protected]>
  49. * ToolTip.cs: use Visible instead of is_visible.
  50. * TreeView.cs: same.
  51. * ListBox.cs: same.
  52. * ListView.cs: same.
  53. 2006-12-06 Chris Toshok <[email protected]>
  54. * ListView.cs: the BackgroundImage override is just to set
  55. attributes. chain up to base.BackgroundImage.
  56. * RichTextBox.cs: same.
  57. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  58. changes, so instead a handler for BackgroundImageChanged.
  59. * Control.cs: make background_image private.
  60. 2006-12-06 Chris Toshok <[email protected]>
  61. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  62. sure we even need this assignment, but roll with it for now.
  63. * Control.cs: make the cursor field private.
  64. 2006-12-06 Chris Toshok <[email protected]>
  65. * Form.cs: we don't need to explicitly set ImeMode to
  66. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  67. behavior in the face of ImeMode.Inherit.
  68. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  69. change the ctor's assignment to use ImeMode instead of ime_mode.
  70. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  71. ImeModeInherit. Only check for the parent's imemode (and return
  72. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  73. This fixes the button unit test, which sets both ImeMode and
  74. DefaultImeMode to ImeMode.Disable.
  75. also make the ime_mode field private.
  76. 2006-12-06 Chris Toshok <[email protected]>
  77. * Control.cs: make control_style private.
  78. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  79. setting the styles to true, then setting them to false instead of
  80. reverting to their previous values.
  81. also, call SetStyle on the scrollbars instead of using
  82. control_style directly.
  83. 2006-12-06 Jonathan Pobst <[email protected]>
  84. * FormCollection.cs: Implement. [2.0]
  85. 2006-12-06 Chris Toshok <[email protected]>
  86. * Control.cs: make tab_stop private.
  87. * Label.cs: set TabStop, not tab_stop. reformat some event
  88. add/remove methods to make them more compact.
  89. 2006-12-06 Chris Toshok <[email protected]>
  90. * RadioButton.cs: fix TabStop handling.
  91. 2006-12-06 Chris Toshok <[email protected]>
  92. * TextBox.cs: remove the explicit assignments to has_focus.
  93. Control does that.
  94. * ButtonBase.cs: remove the assignment to has_focus. Control will
  95. manage that.
  96. 2006-12-06 Chris Toshok <[email protected]>
  97. * ButtonBase.cs: remove all uses of is_enabled from this code.
  98. it's always true when any of the code containing the checks is
  99. executed.
  100. 2006-12-06 Chris Toshok <[email protected]>
  101. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  102. with different semantics (some are present in both 1.1 and 2.0
  103. profiles) so that we match MS's behavior in our unit tests.
  104. 2006-12-06 Jackson Harper <[email protected]>
  105. * TextControl.cs: Make this operation undoable.
  106. * TextBoxBase.cs: Factor the border width into the preferred
  107. height.
  108. - implement Modified as per the spec.
  109. 2006-12-06 Chris Toshok <[email protected]>
  110. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  111. 2006-12-06 Chris Toshok <[email protected]>
  112. * Control.cs: make right_to_left and context_menu fields private.
  113. 2006-12-06 Chris Toshok <[email protected]>
  114. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  115. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  116. Control.child_controls private. switch all uses over to
  117. Control.Controls.
  118. 2006-12-06 Chris Toshok <[email protected]>
  119. * System.Windows.Forms/GroupBox.cs,
  120. System.Windows.Forms/AccessibleObject.cs,
  121. System.Windows.Forms/ErrorProvider.cs,
  122. System.Windows.Forms/Control.cs,
  123. System.Windows.Forms/UpDownBase.cs,
  124. System.Windows.Forms/ScrollBar.cs,
  125. System.Windows.Forms/DateTimePicker.cs,
  126. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  127. System.Windows.Forms/ToolTip.cs,
  128. System.Windows.Forms/RadioButton.cs,
  129. System.Windows.Forms/LinkLabel.cs,
  130. System.Windows.Forms/Splitter.cs,
  131. System.Windows.Forms/TextBoxBase.cs,
  132. System.Windows.Forms/ToolStripTextBox.cs,
  133. System.Windows.Forms/ContainerControl.cs,
  134. System.Windows.Forms/ThemeWin32Classic.cs,
  135. System.Windows.Forms/SizeGrip.cs,
  136. System.Windows.Forms/ToolStripDropDown.cs,
  137. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  138. private. switch all uses over to Control.Parent.
  139. 2006-12-06 Chris Toshok <[email protected]>
  140. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  141. Control does this before calling emitting these events.
  142. * TabControl.cs: same.
  143. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  144. Control.client_rect.
  145. * ButtonBase.cs: use the ClientSize property instead of the
  146. client_size field.
  147. * ScrollableControl.cs: same.
  148. * Control.cs: another pass at making properties private. also,
  149. move the initialization of tab_stop to the ctor.
  150. 2006-12-05 Andreia Gaita <[email protected]>
  151. * TabControl.cs: Let the selected index be set freely if the
  152. control handle is not yet created.
  153. 2006-12-05 Jonathan Pobst <[email protected]>
  154. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  155. internal until I can rewrite DefaultLayout.
  156. * ToolStrip.cs: Fix build error and some general cleaning.
  157. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  158. Fix build errors caused by making some of Control's fields private.
  159. 2006-12-05 Jackson Harper <[email protected]>
  160. * TextControl.cs: Redo Insert a little so that it use IndexOf
  161. instead of Split, this prevents it from messing up on things like
  162. \n\n\n. Also more effecient since the split array doesn't need to
  163. be created.
  164. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  165. multiline text differently, this is the first of many fixes that
  166. will make multiline/non-multiline the same thing as far as the
  167. TextBoxBase is concerned.
  168. - Don't split the text and insert lines, this can lose some line
  169. endings (like is the last line a soft or hard break). Instead use
  170. the new Insert.
  171. - Fix an off by one when combining all the lines in the Text
  172. getter.
  173. - Remove separate multiline handling from the Text getter/setter.
  174. 2006-12-05 Chris Toshok <[email protected]>
  175. * ButtonBase.cs: a few changes:
  176. - don't reinitialize internal Control fields in the ctor when they
  177. have the same values as Control sets them.
  178. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  179. this before calling those methods.
  180. - we don't need to call Refresh for anything. use Invalidate
  181. instead.
  182. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  183. calls Refresh in its OnEnabledChanged.
  184. - several of the events we were registered for in the ctor to
  185. redraw ourselves already include calls to Invalidate in the
  186. property setters that raise the events. remove the extra
  187. invalidation.
  188. - reformat a switch statement that was 83274658 columns wide.
  189. 2006-12-05 Mike Kestner <[email protected]>
  190. * ComboBox.cs: fix a unit test regression from a TextBox
  191. SelectionLength return of -1 when there's no selection.
  192. 2006-12-05 Chris Toshok <[email protected]>
  193. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  194. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  195. cleaning up some of the internal Control fields being used by
  196. subclasses.
  197. 2006-12-05 Mike Kestner <[email protected]>
  198. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  199. listbox after AddImplicit calls since it defaults to hidden. Add a
  200. hack to preserve requested heights across DropDownStyle changes.
  201. 2006-12-05 Jonathan Pobst <[email protected]>
  202. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  203. 2006-12-05 Chris Toshok <[email protected]>
  204. * DataGridView.cs: fix compiler warnings.
  205. * PrintControllerWithStatusDialog.cs: same.
  206. * ToolBar.cs: same.
  207. * FolderBrowserDialog.cs: same.
  208. * Splitter.cs: same.
  209. * DataGridViewComboBoxCell.cs: same.
  210. * XplatUIWin32.cs: same.
  211. * PictureBox.cs: same.
  212. * Win32DnD.cs: same.
  213. * PageSetupDialog.cs: same.
  214. * FileDialog.cs: same.
  215. * PrintDialog.cs: same.
  216. * DataGridTextBoxColumn.cs: same.
  217. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  218. 2006-12-05 Chris Toshok <[email protected]>
  219. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  220. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  221. System.ComponentModel.EventHandlerList work.
  222. 2006-12-05 Jonathan Chambers <[email protected]>
  223. * DrawTreeNodeEventArgs.cs: Added.
  224. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  225. * InternalWindowManager.cs: Remove an unused field.
  226. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  227. * InternalWindowManager.cs:
  228. - Save the point where the title bar is clicked.
  229. * MdiWindowManager.cs:
  230. - Only allow moving of the window as long as the
  231. clicked point on the title bar does not get out of
  232. MdiClient's rectangle. Fixes #79982.
  233. * MdiClient.cs:
  234. - Added Horizontal/VerticalScrollbarVisible.
  235. - Simplified the scrollbar sizing algorithm.
  236. - Cache the difference in scrolled value in
  237. H/VBarValueChanged and move the calculation out
  238. of the for loop.
  239. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  240. * Control.cs: Make the Console.WriteLine in WndProc
  241. write more info.
  242. 2006-12-05 Chris Toshok <[email protected]>
  243. * ToolStripManager.cs, ToolStripButton.cs,
  244. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  245. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  246. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  247. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  248. ToolStripProgressBar.cs, ToolStripContainer.cs,
  249. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  250. to using System.ComponentModel.EventHandlerList.
  251. 2006-12-04 Chris Toshok <[email protected]>
  252. * LinkLabel.cs: fix up compiler warnings.
  253. * TableLayoutSettings.cs: same.
  254. * TreeView.cs: same.
  255. * ToolBar.cs: same.
  256. * TabControl.cs: same.
  257. * RichTextBox.cs: same.
  258. * ListViewItem.cs: same.
  259. * PropertyGrid.cs: same.
  260. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  261. * ToolTip.cs same.
  262. * TextRenderer.cs: fix up compiler warnings.
  263. * Label.cs: same.
  264. * Form.cs: corcompare fixes.
  265. * PictureBox.cs: fix up compiler warnings.
  266. * ImageListStreamer.cs: same.
  267. * TrackBar.cs: corcompare fix.
  268. * Control.cs: fix up compiler warnings.
  269. * SplitterPanel.cs: same.
  270. * NumericTextBox.cs: same.
  271. * ImageList.cs: same.
  272. * StatusStrip.cs: same.
  273. * ProgressBar.cs: corcompare fix.
  274. * ToolStripButton.cs: fix up compiler warnings.
  275. * ToolStripStatusLabel.cs: same.
  276. * ToolStripSplitButton.cs: same.
  277. * ToolStripSeparator.cs: same.
  278. * ToolStripProgressBar.cs: same.
  279. * ToolStripDropDownMenu.cs: same
  280. * ToolStripDropDown.cs: same.
  281. * ToolStripDropDownButton.cs: same.
  282. * ToolStrip.cs: same.
  283. * ToolStripControlHost.cs: same.
  284. * ToolStripContentPanel.cs: same.
  285. * ToolStripDropDown.cs: same.
  286. * ToolStripContainer.cs: same.
  287. * ToolStripPanel.cs: same, and add "new" where we need it to work
  288. with the new ArrangedElementCollection.
  289. * ToolStripItemCollection.cs: add "new" where we need it to work
  290. with the new ArrangedElementCollection.
  291. 2006-12-04 Andreia Gaita <[email protected]>
  292. * TabControl.cs: Fix default tab selection to after TabControl
  293. gets focus and not before. Fixes #80128
  294. 2006-12-04 Chris Toshok <[email protected]>
  295. * DataGridTableStyle.cs: remove the gross calling of
  296. datagrid.Refresh from here. It's a broken idea and it doesn't
  297. work anyway.
  298. * DataGrid.cs: instead, just register/unregister from the
  299. DataGridTableStyle events in CurrentTableStyle. we play it
  300. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  301. even though some would most likely not require it. Fixes bug
  302. #80115 (and one portion of #80117 as a side effect).
  303. 2006-12-04 Chris Toshok <[email protected]>
  304. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  305. so the textbox (if any) goes away. Fixes bug #80117.
  306. 2006-12-04 Chris Toshok <[email protected]>
  307. * DataGridColumnStyle.cs: set the column's readonly property
  308. initially based on the property descriptor's IsReadOnly. Fixes
  309. bug #80044.
  310. 2006-12-04 Chris Toshok <[email protected]>
  311. * ComboBox.cs: wrap the dropdown style changing work in
  312. SuspendLayout/ResumeLayout. Fixes bug #79968.
  313. 2006-12-04 Jackson Harper <[email protected]>
  314. * TextBoxBase.cs: Fix off by one, since these are one-based.
  315. * TextBox.cs: Select all the text when we get focus. The TextBox
  316. does this but the RTB does not.
  317. 2006-12-04 Chris Toshok <[email protected]>
  318. * DataGridTextBoxColumn.cs: remove some spew.
  319. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  320. but some part of me is saying "it shouldn't be here.." At any
  321. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  322. setting the value.
  323. 2006-12-04 Chris Toshok <[email protected]>
  324. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  325. to reassign the propertydescriptor.
  326. 2006-12-04 Jackson Harper <[email protected]>
  327. * TextBoxBase.cs:
  328. * TextControl.cs: Remove some unused variables. Maybe this will
  329. patch things up between mike and I.
  330. - don't split lines less then one char wide, if the viewport is
  331. that small text won't be visible anyways.
  332. 2006-12-04 Jackson Harper <[email protected]>
  333. * TextBoxBase.cs: Default selection length is -1, need to do some
  334. more testing on windows to see when this is used for the property.
  335. - Redid the Lines [] property to that we properly remove soft line
  336. breaks
  337. - added support for preserving carriage returns
  338. - CanUndo is not a variable like 'is undo enabled' it just returns
  339. true if there is undo operations available.
  340. - AppendText doesn't need to grab the last tag itself anymore,
  341. this happens automatically when we move the cursor.
  342. * TextControl.cs: Add CompoundActions to the undo class. This
  343. allows combining the other operations into one big option. ie a
  344. paste will combine { delete old, insert new, move cursor }
  345. - Add InsertString undo operation
  346. - New method for deleting multiline text
  347. - Add carriage returns to lines. So we can preserve carriage
  348. returns when text is 'roundtripped'
  349. 2006-12-04 Chris Toshok <[email protected]>
  350. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  351. minimum 0. Fixes the scrollbar exception in bug #80136.
  352. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  353. * MdiClient.cs:
  354. * MdiWindowManager: Removed unused fields and methods.
  355. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  356. * StatusBar.cs: Update all panels when a AutoSize=Contents
  357. panel needs updating.
  358. * StatusBarPanel.cs: Remove twidth and only use initialize.
  359. Fixes #80031.
  360. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  361. * Form.cs: When a form's MdiParent is set add it directly
  362. on top of the z-order in stead of relying on MdiClient's
  363. ActivateChild to do it. Fixes #80135.
  364. * MdiClient.cs:
  365. - Remove original_order, mdi_child_list is already doing
  366. the same thing.
  367. - Create mdi_child_list on construction in
  368. stead of first use (avoids a few null checks).
  369. * MenuItem.cs: Use an already existing list of mdi children
  370. to get the correct order of children and remove the other
  371. redundant list.
  372. 2006-12-04 Chris Toshok <[email protected]>
  373. * PropertyGridView.cs: cached_splitter_location is only used in
  374. !DOUBLEBUFFER code.
  375. * PropertyGrid.cs: implement the ComComponentNameChanged event
  376. using Events, hoping that would fix the warning. Looks like a
  377. compiler bug instead (#80144).
  378. * PropertyManager.cs: remove unused method.
  379. 2006-11-04 Everaldo Canuto <[email protected]>
  380. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  381. include parentesis to fix expression evaluation. Fixes #79634.
  382. 2006-11-02 Everaldo Canuto <[email protected]>
  383. * MenuAPI.cs:
  384. - Changes to fix behavior in Menu control, some reported in #80097
  385. and other detected during behavior refactory like a select event
  386. problems.
  387. - Remove unneded "if's" conditions.
  388. - Created an internal to flag when popup is active in control, we need
  389. it because in .NET you can have menu active but without popup active
  390. when you active menu using popup without visible items.
  391. - Mimic win32 behavior for Select and Popup events.
  392. - Dont open popup menu when you dont have visible subitems.
  393. - Do nothing when click on disabled menu item.
  394. - Some small changes to follow the coding style guidelines.
  395. - Unselect menu only when another control gives focus. Fixes #80097.
  396. - Remove unused code.
  397. * MenuItem.cs: internal VisibleItems method to check if menu
  398. theres visible subitems, it will be usefull to fix some
  399. behavior in Menu control.
  400. 2006-11-01 Everaldo Canuto <[email protected]>
  401. * Timer.cs: Tag property for 2.0 profile.
  402. 2006-12-01 Chris Toshok <[email protected]>
  403. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  404. * Win32DnD.cs: comment out some unused fields.
  405. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  406. some unused properties/methods.
  407. * XplatUIX11.cs: fix MousePosition so we override the base class's
  408. property instead of conflicting with it.
  409. * PictureBox.cs: comment out some unused fields
  410. * OSXStructs.cs: make some struct fields public.
  411. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  412. MousePosition so we override the base class's property instead of
  413. conflicting with it.
  414. * X11Dnd.cs: comment out some unused fields
  415. * X11DesktopColors.cs: fix some struct field visibility to quiet
  416. the compiler.
  417. * X11Dnd.cs: remove some debug code.
  418. * ThemeClearlooks.cs: comment out unused field.
  419. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  420. * ThemeGtk.cs: comment out some unused pinvokes.
  421. * Timer.cs: remove some unused fields.
  422. * ThemeClearlooks.cs: comment out unused field.
  423. * UpDownBase.cs: comment out unused field.
  424. * DataObject.cs: comment out unused field.
  425. * DataGridBoolColumn.cs: reomve unused field.
  426. * DataGrid.cs: remove unused field.
  427. * Cursor.cs: remove old ToBitmap code.
  428. * ControlPaint.cs: remove unused method.
  429. * ScrollBar.cs: remove unused fields.
  430. * ComboBox.cs: remove unused field, and chain up to
  431. AccessibleObject ctor.
  432. * ListBox.cs: remove unused field.
  433. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  434. * GridEntry.cs: remove unused fields.
  435. * Binding.cs: remove unused fields.
  436. * AxHost.cs: remove unused method.
  437. * ContainerControl.cs: remove unused field.
  438. * ScrollableControl.cs: remove unused fields.
  439. 2006-12-01 Chris Toshok <[email protected]>
  440. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  441. the Where/WhereString stuff. it's easy enough to CWL
  442. Environment.StackTrace.
  443. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  444. unused private fields.
  445. 2006-12-01 Jackson Harper <[email protected]>
  446. * TextControl.cs: Do not update the view while inserting multiline
  447. text. If we update the view we might wrap lines, before entering
  448. the new lines, which causes the new line insertion calculations to
  449. be totally fubared.
  450. - Remove an old TODO
  451. - Make debug output a little nicer
  452. 2006-12-01 Chris Toshok <[email protected]>
  453. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  454. 2006-12-01 Chris Toshok <[email protected]>
  455. [ fix the majority of the CS0108 warnings we've been suppressing ]
  456. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  457. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  458. to "LayoutToolBar" to quiet mcs.
  459. * TabControl.cs: mark our ControlCollection class as 'new'.
  460. * TextBoxBase.cs: mark some events as 'new'.
  461. * Splitter.cs: TabStop is 'new'.
  462. * ControlBindingsCollection.cs: mark a few methods as new since
  463. they change the visibility from protected to public.
  464. * RadioButton.cs: DoubleClick -> base class, and remove unused
  465. HaveDoubleClick.
  466. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  467. events as new.
  468. * NumericUpDown.cs: TextChanged -> base class.
  469. * CheckedListBox.cs: mark our ObjectCollection class as new to
  470. quiet mcs.
  471. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  472. muck with the base class.
  473. * StatusBar.cs: fix some mcs warnings about Update being the same
  474. name as a base class method.
  475. * RichTextBox.cs: mark some events as new, and make them do things
  476. to the base class impl.
  477. * UserControl.cs: mark TextChanged as new, and have it manipulate
  478. base.TextChanged.
  479. * UpDownBase.cs: mark some things new.
  480. * CheckBox.cs: mark DoubleClick "new", and add some text about
  481. what we need to look at.
  482. * Panel.cs: make the events "new", and manipulate the base
  483. version. these are just here for attributes.
  484. * AccessibleObject.cs: make owner private.
  485. * Control.cs: deal with AccessibleObject.owner being private.
  486. cache our own copy if we need it.
  487. * Button.cs: add "new" to the DoubleClickEvent.
  488. * ListBox.cs: no need to track our own has_focus here. let
  489. Control.has_focus do it for us. Also some other work to clear up
  490. warnings about not overriding base class methods of the same name.
  491. * ComboBox.cs: clear up some warnings about not override base
  492. class methods of the same name.
  493. 2006-12-01 Chris Toshok <[email protected]>
  494. * Form.cs: flag a few things as "new" to quiet some of the mcs
  495. warnings.
  496. * AxHost.cs: same.
  497. * PrintPreviewDialog.cs: same.
  498. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  499. now DGV isn't so horrible on the class status page. also, move
  500. all events to using System.ComponentModel.EventHandlerList. my
  501. wrists hurt.
  502. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  503. * MdiWindowManager.cs:
  504. - Set form to active mdi child if shown,
  505. and update the active mdi child to the next
  506. remaining child in the z-order if the form is hidden.
  507. * Form.cs:
  508. - Track if the form has been visible and if its
  509. visibility is beeing changed, so that the MdiClient
  510. can properly decide the ActiveMdiChild. The MdiClient
  511. cannot track this since the form can change visibility
  512. before MdiClient is created.
  513. * MdiClient.cs:
  514. - Don't activate anything of the parent form is changing
  515. its visibility.
  516. - Rework ActiveMdiChild to only return visible mdi
  517. children and take into account several other corner
  518. cases.
  519. 2006-12-01 Chris Toshok <[email protected]>
  520. * IBindableComponent.cs: new 2.0 interface.
  521. 2006-12-01 Gert Driesen <[email protected]>
  522. * DataGrid.cs: Font for caption area is bold by default.
  523. 2006-12-01 Everaldo Canuto <[email protected]>
  524. * Menu.cs: Tag property for 2.0.
  525. 2006-11-01 Everaldo Canuto <[email protected]>
  526. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  527. 2006-12-01 Chris Toshok <[email protected]>
  528. * TreeView.cs: doh, the Begin* events should be
  529. TreeViewCancelEventHandler.
  530. 2006-12-01 Chris Toshok <[email protected]>
  531. * Form.cs: Form.ControlCollection already stores off the
  532. form_owner field. don't access the base class's internal "owner"
  533. field.
  534. * Control.cs: make all the fields in Control.ControlCollection
  535. private. there's no need for any internal fields here.
  536. 2006-12-01 Chris Toshok <[email protected]>
  537. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  538. OnHandleCreated. Fixes bug #80109.
  539. 2006-12-01 Chris Toshok <[email protected]>
  540. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  541. SplitContainer.cs, Control.cs, StatusStrip.cs,
  542. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  543. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  544. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  545. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  546. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  547. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  548. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  549. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  550. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  551. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  552. do most of the work to convert our code over to use
  553. System.ComponentModel.Component.Events for
  554. adding/removing/dispatching events.
  555. 2006-11-30 Jonathan Pobst <[email protected]>
  556. * DataGridView.cs: Fix an ArgumentNullException reported
  557. twice today in IRC.
  558. 2006-11-30 Mike Kestner <[email protected]>
  559. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  560. grabbed listbox. Fixes #80036 and #80101.
  561. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  562. * Message.cs: Changed ToString() to match MS.
  563. 2006-11-30 Jackson Harper <[email protected]>
  564. * TextBoxBase.cs: You can still change the selected text on a read
  565. only textbox.
  566. * TextControl.cs: Lower magic number for wrap calculations. This
  567. lets text get closer to the right (far) edge.
  568. 2006-11-30 Jonathan Pobst <[email protected]>
  569. * Control.cs: Tweak 2.0 layout properties.
  570. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  571. * TextRenderer.cs: Add a new overload.
  572. * ToolStrip*: Huge amount of changes and new features.
  573. 2006-11-30 Mike Kestner <[email protected]>
  574. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  575. scroll range correct. Fixes #79994.
  576. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  577. * MdiWindowManager.cs: Update main form's text when
  578. a form is closed. (fixes #80038)
  579. 2006-11-30 Everaldo Canuto <[email protected]>
  580. * ToolBar.cs:
  581. - Fix an regression in ButtonSize.
  582. - Get ImeMode default value change to "Disable".
  583. - Get ShowTooltips default value change to true, default value is
  584. "false" but after make a test in .NET we get "true" result as default.
  585. 2006-11-29 Jonathan Pobst <[email protected]>
  586. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  587. 2006-11-29 Chris Toshok <[email protected]>
  588. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  589. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  590. SetWindowTransparency hasn't been called.
  591. 2006-11-29 Chris Toshok <[email protected]>
  592. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  593. if it's supported.
  594. (set_AllowTransparency): reorder things a little so that the
  595. WS_EX_LAYERED style is removed properly.
  596. 2006-11-29 Chris Toshok <[email protected]>
  597. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  598. * Form.cs: only call the XplatUI transparency method (get/set) if
  599. SupportsTransparency says it's supported. Otherwise fallback to
  600. doing nothing (in the set case) or returning the instance field we
  601. cache (in the get case).
  602. * XplatUIStructs.cs: add TransparencySupport flag enum.
  603. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  604. change to SupportsTransparency.
  605. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  606. TransparencySupport.None from SupportsTransparency.
  607. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  608. TransparencySupport.Set from SupportsTransparency.
  609. * XplatUIWin32.cs: implement GetWindowTransparency calling
  610. GetLayeredWindowAttributes, and implement SupportsTransparency by
  611. checking whether or not both
  612. GetWindowTransparency/SetWindowTransparency are available
  613. entrypoints. We need to do this since SetWindowTransparency is
  614. available as of win2k, but GetWindowTransparency requires winxp.
  615. yay win32 api.
  616. * XplatUI.cs: Add GetWindowTransparency, and change
  617. SupportsTransparency to allow for either/both Get/Set.
  618. 2006-11-29 Chris Toshok <[email protected]>
  619. * DataGrid.cs: keep from going into an infinite loop redrawing a
  620. datagrid that has no datasource. Fixes bug #80033.
  621. 2006-11-29 Chris Toshok <[email protected]>
  622. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  623. Invalidate) before the mainmenu has been assigned to a control.
  624. 2006-11-29 Chris Toshok <[email protected]>
  625. * DataGrid.cs: detect when we should be double the double click
  626. row/column autosize stuff, although that codepath has yet to be
  627. written. part of the work for bug #79891.
  628. 2006-11-29 Chris Toshok <[email protected]>
  629. * Binding.cs (SetControl): fix unit test.
  630. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  631. * PageSetupDialog.cs: Validate the margins and set them in
  632. PageSettings.
  633. * NumericTextBox.cs: New class to mimic the behavior of the
  634. textboxes used in the printing dialogs.
  635. 2006-11-29 Andreia Gaita <[email protected]>
  636. * Form.cs: Revert previous change (remove call UpdateBounds
  637. from form constructor), because it messes with the handle creation
  638. order, and that one needs lots and lots of love.
  639. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  640. for valid printer and throw InvalidPrinterException if document
  641. is set but printer not valid), adding a MonoTODO. Once
  642. handle creation is done properly, we can put this back in.
  643. 2006-11-28 Everaldo Canuto <[email protected]>
  644. * MenuItem.cs: Create a invalidate method for menu item, to be
  645. calling from set text, it make text changes to imadiate update
  646. on screen. Fixes #80013.
  647. 2006-11-28 Everaldo Canuto <[email protected]>
  648. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  649. fixes bug #80070 and some other problem on toolbar buttons
  650. layout.
  651. 2006-11-28 Everaldo Canuto <[email protected]>
  652. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  653. with dotted brush. Fixes #79564
  654. 2006-11-28 Andreia Gaita <[email protected]>
  655. * Form.cs: Removed call to UpdateBounds on Form
  656. constructor, it was causing a call to CreateHandle
  657. before it was supposed to.
  658. * PrintControllerWithStatusDialog: Applied patch
  659. by Chris Toshok to hide controller when there are
  660. no printers available.
  661. PrintDialog.cs: initialize printer settings to
  662. null - correct DefaultValues test #5
  663. * PrintPreviewControl.cs: Move PrintController
  664. initialization to GeneratePreview
  665. * PrintPreviewDialog.cs:
  666. - Remove Preview generation from Document_set(). It is
  667. called on OnPaint
  668. - Throw InvalidPrinterException on CreateHandle if
  669. a Document is set but there are no printers or
  670. printer is not valid.
  671. * ThemeWin32Classic: don't paint PrintPreviewControl
  672. if there is nothing to paint
  673. 2006-11-28 Miguel de Icaza <[email protected]>
  674. * Form.cs: Add another popular method.
  675. * TabPage.cs: ditto.
  676. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  677. * MenuItem.cs: Fixed a warning.
  678. * InternalWindowManager: Fixed a warning.
  679. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  680. * MenuItem.cs:
  681. - When cloning a menu also clone MdiList and clone the
  682. window menu items properly (as the forms and menuitems
  683. are kept in an internal hashtable, these need updating
  684. as well)
  685. - Rewrote the window menu code, menu items are added in the
  686. order the forms were added to their parent, and they are
  687. updated every time the window menu is shown (before the
  688. list was only generated once, in the current order of the
  689. forms, and would never be updated). A checkmark is shown
  690. next to the item corresponding to the active mdi child.
  691. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  692. * XplatUIStructs.cs:
  693. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  694. * XplatUIWin32.cs:
  695. - Added TME_NONCLIENT to TMEFlags.
  696. - Handles WM_NCMOUSEMOVE in GetMessage to
  697. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  698. * MdiWindowManager:
  699. - Now merges mdi child menu to parent menu when maximized.
  700. - Recalculate NC areas of both mdi child and mdi parent.
  701. Fixes #79757 (4).
  702. on window state and size changes.Fixes #79844 (3).
  703. - Handle WM_NCCALCSIZE to properly calculate borders.
  704. * Form.cs:
  705. - Add/remove to the mdi containers list of mdi children
  706. in the order they are added.
  707. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  708. to the maximized mdi child.
  709. * InternalWindowManager.cs:
  710. - Only execute a click on the control buttons on the mouse up,
  711. not on the mouse down. Show the state of the button
  712. (was only showing Normal state, never Pressed state). The
  713. pressed button now follows the mouse (if you click the Close
  714. button and move the mouse over the Maximize button, the
  715. Maximize button will be shown as pressed). Since Win32 does
  716. not generate WM_NCLBUTTONUP if you release the button outside
  717. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  718. it as a mouse up.
  719. * ThemeWin32Classic.cs:
  720. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  721. * MdiClient.cs:
  722. - Added a list of forms which contains the order the forms are
  723. added to the mdi parent.
  724. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  725. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  726. - If the active form changes set the scrollbars to the top
  727. of the Z order, otherwise the form could hide them.
  728. - Scrollbars are now sized according to ClientSize, not
  729. to Size, and they take into account the other scrollbar
  730. to determine maximum.
  731. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  732. * XplatUI.cs:
  733. * XplatUIDriver.cs:
  734. * XplatUIX11.cs:
  735. * XplatUIWin32.cs:
  736. * XplatUIOSX.cs:
  737. - Added RequestAdditionalWM_NCMessages for windows to
  738. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  739. Currently only implemented in XplatUIWin32.
  740. 2006-11-27 Chris Toshok <[email protected]>
  741. * Hwnd.cs: only add the hwnd to the windows hash in
  742. set_WholeWindow and set_ClientWindow if whole_window/client_window
  743. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  744. 2006-11-27 Mike Kestner <[email protected]>
  745. * ComboBox.cs: remove redundant OnDropDown call. It is called
  746. from the ComboListBox.ShowWindow code. Fixes #79969.
  747. 2006-11-27 Chris Toshok <[email protected]>
  748. * Hwnd.cs: remove the setters for ExposePending and
  749. NCExposePending - noone uses them.
  750. 2006-11-27 Jackson Harper <[email protected]>
  751. * TextControl.cs: new param for ReplaceSelection which determines
  752. whether we select the new selection, or set the cursor to the end
  753. of the new selection.
  754. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  755. pasting, select the new text.
  756. * RichTextBox.cs: Use new param for ReplaceSelection.
  757. 2006-11-27 Jackson Harper <[email protected]>
  758. * TextBoxBase.cs: Set the selection to the caret after the caret
  759. is moved, otherwise they get out of sync.
  760. 2006-11-26 Everaldo Canuto <[email protected]>
  761. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  762. it fixes #80015
  763. 2006-11-26 Everaldo Canuto <[email protected]>
  764. * ThemeWin32Classic.cs:
  765. - Fix toolbar drop down arrow position.
  766. - Fix drop down appearance when ToolBar.Appearance is normal,
  767. it fixes #80018.
  768. 2006-11-26 Gert Driesen <[email protected]>
  769. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  770. * Control.cs: Same.
  771. * UpDownBase.cs: Same.
  772. * ButtonBase.cs: Same.
  773. * ScrollBar.cs: Same.
  774. * TrackBar.cs: Same.
  775. * PictureBox.cs: Same.
  776. * UserControl.cs: Same.
  777. * Label.cs: Same.
  778. * ListControl.cs: Same.
  779. * TextBoxBase.cs: Same.
  780. * ListView.cs: Same.
  781. * RichTextBox.cs: Same.
  782. * TreeView.cs: Same.
  783. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  784. * PrintDialog.cs:
  785. - Text label for where
  786. - Text label comment was not shown
  787. 2006-11-23 Everaldo Canuto <[email protected]>
  788. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  789. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  790. * InternalWindowManager.cs:
  791. - Handle WM_PARENTNOTIFY to activate the form
  792. if any child control is clicked.
  793. - The form is only sizable if not minimized.
  794. * MdiWindowManager.cs:
  795. - Save the IconicBounds if the form is moved.
  796. - Rework SetWindowState, now the window bounds
  797. are stored only if the old window state is Normal.
  798. * MdiClient.cs:
  799. - In SetWindowStates store the old window state if
  800. the window is maximized and restore window state if
  801. the window looses focus.
  802. - Don't handle any scrollbar value changes if
  803. initializing the scroll bars. Fixes #79771.
  804. - Reworked ArrangeIconicWindows. Current algorithm
  805. tests bounds agains all other minimized windows, if
  806. any intersections create new bounds (going left to
  807. right, bottom to top) and then test again. When
  808. successful the bounds are saved and never computed
  809. again. Fixes #79774.
  810. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  811. * InternalWindowManager.cs: Added HandleTitleBarUp.
  812. 2006-11-23 Gert Driesen <[email protected]>
  813. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  814. hexadecimal in ParseUserEdit.
  815. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  816. * MdiWindowManager.cs:
  817. - Handle a click on the form's icon to show the
  818. system menu (when maximized). Fixes #79775.
  819. - Change the existing click handler for the form's
  820. icon when not maximized to show on MouseUp.
  821. Fixes #79776.
  822. * Form.cs: In OnResize only layout the mdi child's
  823. parent if it actually has a parent. Might not if
  824. the window is closing.
  825. 2006-11-23 Gert Driesen <[email protected]>
  826. * MdiClient.cs: Ignore active MDI client for text of parent, if
  827. child has no text set.
  828. 2006-11-23 Gert Driesen <[email protected]>
  829. * ToolBar.cs: Fixed ToString to match MS.
  830. 2006-11-22 Andreia Gaita <[email protected]>
  831. * NumericUpDown:
  832. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  833. update inner values on set. Fixes #79966.
  834. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  835. - Fix hexadecimal parsing.
  836. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  837. parent. Fixes #79957
  838. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  839. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  840. the actual size has to be queried, since if height /
  841. width is negative Win32 changes it to 0.
  842. Fixes #79999 on Windows.
  843. * XplatUIX11.cs: Set height / width to 0 if negative
  844. in SetWindowPos. Fixes #79999 on Linux.
  845. 2006-11-22 Everaldo Canuto <[email protected]>
  846. * ThemeWin32Classic.cs: Fix text redenring when button is
  847. pressed.
  848. 2006-11-22 Everaldo Canuto <[email protected]>
  849. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  850. and later navigate by mouse. Fixes #79528.
  851. 2006-11-21 Everaldo Canuto <[email protected]>
  852. * ToolBar.cs: Set default value for TabStop to false in
  853. constructor, it fixes remaining behavior of bug #79863.
  854. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  855. * MdiWindowManager.cs:
  856. * InternalWindowManager.cs:
  857. - Moved a few methods specific to Mdi from
  858. InternalWindowManager to MdiWindowManager.
  859. Fixes #79996.
  860. 2006-11-21 Chris Toshok <[email protected]>
  861. * XplatUIOSX.cs: stub out InvalidateNC.
  862. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  863. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  864. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  865. * XplatUIDriver.cs: add InvalidateNC abstract method.
  866. * XplatUI.cs: add InvalidateNC.
  867. 2006-11-21 Everaldo Canuto <[email protected]>
  868. * ToolBar.cs: Invalidate complete button area when pressed status
  869. was changed.
  870. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  871. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  872. by 1 when button is pressed.
  873. 2006-11-20 Everaldo Canuto <[email protected]>
  874. * ToolButton.cs: Invalidate middle of DropDown button when
  875. ToolBar theres DropDownArrows.
  876. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  877. fix DropDown drawing operations.
  878. 2006-11-20 Chris Toshok <[email protected]>
  879. * NativeWindow.cs: fix the formatting of functions ('{' on the
  880. following line), and enable the thread exception dialog.
  881. * Application.cs: remove the duplicate exception catching from
  882. here.
  883. 2006-11-20 Everaldo Canuto <[email protected]>
  884. * Toolbar.cs: Triggers button click event when click on icon
  885. of dropdown ToolBarButton. Fixes #79912.
  886. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  887. * Theme.cs:
  888. * ThemeWin32Classic.cs:
  889. - Added a property WindowBorderFont to enable themeing
  890. of mdi child windows' Text.
  891. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  892. * InternalWindowManager.cs:
  893. * Form.cs:
  894. * MdiClient.cs:
  895. * MdiWindowManager.cs:
  896. - If mdi child is maximized, set mdi parent's
  897. text to "Parent - [Child]". Fixes #79770.
  898. - If there is any maximized mdi child windows, only the active
  899. window (and any new windows) is maximized, the rest are normal.
  900. - On a WindowState change only save mdi child's window bounds
  901. if the old window state was normal. Fixes #79774.
  902. - The scroll bars are now calculated on hopefully all
  903. necessary events. Fixed #79771 / #79844->6 / #79906.
  904. - MdiClient.SizeScrollBars() now takes into account docked
  905. controls in the parent when calculating available space.
  906. - InternalWindowManager now always repaints the entire title
  907. area. Fixes #79844->1/4/5.
  908. - Added RequestNCRecalc on mdi child windowstate changes.
  909. Fixes #79772.
  910. 2006-11-20 Mike Kestner <[email protected]>
  911. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  912. in the MouseUp handler of the listbox and move the return handling
  913. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  914. 2006-11-20 Everaldo Canuto <[email protected]>
  915. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  916. 2006-11-17 Alexander Olk <[email protected]>
  917. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  918. working in 1.2.x anymore. So, updated.
  919. 2006-11-19 Gert Driesen <[email protected]>
  920. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  921. NumberGroupSeparator of current culture instead of assuming en-US.
  922. Fixed bug #79967.
  923. 2006-11-17 Mike Kestner <[email protected]>
  924. * Control.cs: Add the concept of implicit bounds setting so that
  925. dock/undock round trips preserve explicitly set size/locations.
  926. Fixes #79313.
  927. 2006-11-17 Alexander Olk <[email protected]>
  928. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  929. can't handle those filters. (Fixes bug #79961)
  930. 2006-11-17 Chris Toshok <[email protected]>
  931. [ fixes the exit/crashes associated with #79835. it's clearly
  932. suboptimal though, we need to figure out a better way to solve
  933. this. ]
  934. * PrintPreviewControl.cs: deal with the new invalid printer
  935. exceptions.
  936. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  937. and return false (so CommonDialog.ShowDialog doesn't actually show
  938. the form.)
  939. * PrintDialog.cs: enable/disable the Ok button depending on
  940. whether or not the printer is valid.
  941. * CommonDialog.cs (ShowDialog): only actually show the form if
  942. RunDialog returns true.
  943. 2006-11-17 Jackson Harper <[email protected]>
  944. * TextControl.cs: When soft splitting a line, mark it as a soft
  945. split line. Also carry over the current line break to the next
  946. line.
  947. 2006-11-17 Chris Toshok <[email protected]>
  948. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  949. only want to shift the part of the invalid area that overlaps the
  950. area we're scrolling. we also don't want to clear the invalid
  951. area unless the invalid area was entirely contained within the
  952. scrolling area.
  953. 2006-11-16 Chris Toshok <[email protected]>
  954. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  955. also make sure to free the memory returned by XGetWindowProperty
  956. in GetText().
  957. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  958. 2006-11-16 Chris Toshok <[email protected]>
  959. * XplatUI.cs: add a new super secret way to get at the totally
  960. unsupported X11 backend.
  961. 2006-11-16 Gert Driesen <[email protected]>
  962. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  963. 2006-11-16 Jackson Harper <[email protected]>
  964. * TreeView.cs: Allow more explicit setting of top node position
  965. for scrollbars. Slower algo, but more accurate.
  966. - CollapseAll should maintain the current top node.
  967. * TextBoxBase.cs: When positioning the caret, use the line, pos
  968. method, since the x, y method does not grab the correct tag, and
  969. the caret height never gets set correctly. (Maybe I should just do
  970. away with the caret having its own height, and always use the
  971. carets current tag for height).
  972. 2006-11-16 Jonathan Pobst <[email protected]
  973. [Fixes 79778, 79923]
  974. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  975. Parent to the FosterParent instead.
  976. 2006-11-16 Jackson Harper <[email protected]>
  977. * TreeView.cs: Need to recalc the topnode when we expand or
  978. collapse. The scrolling methods can't handle this on their own,
  979. since they use differences between the last scroll position, and
  980. those difference get completely messed up since we are expanding
  981. nodes. This problem should probably be fixed in the scrolling
  982. methods, so they can figure out exactly where they are, but this
  983. will slow things down a little.
  984. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  985. strings, makes nunit-gui look a lot nicer.
  986. 2006-11-16 Chris Toshok <[email protected]>
  987. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  988. the broken multithreaded event handling we have in here. File
  989. this entry under "Why we should move to the new X11 backend".
  990. Any thread can make it into UpdateMessageQueue, which gets events
  991. from the X socket - some of which could belong to hwnds being
  992. managed by a different thread. We can also have multiple threads
  993. in UpdateMessageQueue at the same time, with each one reading from
  994. the X socket. This leads to many problems, with the following
  995. solutions:
  996. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  997. EnqueueLocked.
  998. The MotionNotify compression we do can't work across threads
  999. (without locking the entire queue, perhaps) since we call
  1000. hwnd.Queue.Peek, so we just punt and don't compress motion events
  1001. unless the owning thread is the one which got the X event.
  1002. ConfigureNotify is another fun one, since it modifies the hwnd's
  1003. bounds and then enqueues the event. We add a lock to Hwnd which
  1004. is held when setting configure_pending to true (and enqueuing the
  1005. event).
  1006. There is a race wrt the wake socket. we need to make sure that
  1007. only 1 thread is waiting on that socket, or else a thread could
  1008. sleep waiting for data that never comes. It's difficult (but not
  1009. impossible) to make happen, because it seems to require something
  1010. like the following:
  1011. 1. Thread 1 polls on wake_receive
  1012. 2. poll returns saying there's data to be read on
  1013. wake_receive.
  1014. 3. Thread 2 polls on wake_receive and immediately returns
  1015. saying there's data to be read.
  1016. 4. Thread 2 reads the wakeup byte from wake_receive
  1017. 5. Thread 1 attempts to read the wakeup byte from
  1018. wake_receive.
  1019. 6. Thread 2 exits (due to a form closing, perhaps).
  1020. 7. Thread 1 blocks forever.
  1021. Fun, eh?
  1022. Fixing the Expose handling isn't done yet, and the races inherent
  1023. in that piece of code are responsible for the drawing mistakes you
  1024. see when generating expose events in a MT app (like NPlot). This
  1025. one is the likely to be the hardest to bandaid, and it doesn't
  1026. appear to cause anything but drawing problems. The other issues
  1027. caused apps to exit or hang.
  1028. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  1029. called from a different thread than the one that should be calling
  1030. these functions.
  1031. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  1032. 2006-11-15 Chris Toshok <[email protected]>
  1033. * Application.cs: null out the context's MainForm when we exit
  1034. RunLoop. Fixes a newly checked in unit test as well as the last
  1035. ODE from bug #79933.
  1036. 2006-11-15 Chris Toshok <[email protected]>
  1037. * Form.cs (set_Owner): allow a null value so we can clear the
  1038. form's owner.
  1039. (Dispose): set all our owned_form's Owner properties to null, and
  1040. clear the owned_forms collection.
  1041. (WM_CLOSE): clean up this a little bit.. still not right though.
  1042. * ApplicationContext.cs: OnMainFormClosed should only call
  1043. ExitThreadCore if the main form isn't recreating. Fixes unit
  1044. test.
  1045. 2006-11-15 Jonathan Pobst <[email protected]>
  1046. [Fixes 78346]
  1047. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  1048. 2006-11-15 Jonathan Pobst <[email protected]>
  1049. [Fixes 79433]
  1050. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  1051. keep popup window types from stealing focus from the main form
  1052. on Windows.
  1053. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  1054. * MenuAPI.cs: Set above flag to true.
  1055. 2006-11-15 Chris Toshok <[email protected]>
  1056. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  1057. the button being released is not in wParam.
  1058. 2006-11-15 Jonathan Pobst <[email protected]>
  1059. * Form.cs: Add the released button to MouseEventArgs.Button
  1060. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  1061. on Win32.
  1062. 2006-11-15 Chris Toshok <[email protected]>
  1063. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  1064. GetText(). untested because it's unused in our implementation.
  1065. Control.Text always caches the text, even if
  1066. ControlStyles.CacheText is not set.
  1067. fixes bug #79939.
  1068. 2006-11-15 Chris Toshok <[email protected]>
  1069. [ fixes #79933 ]
  1070. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  1071. message. no hiding, no disposing.
  1072. in the WM_CLOSE handler, hide the form if it's modal.
  1073. 2006-11-15 Chris Toshok <[email protected]>
  1074. * XplatUIX11.cs: use AddExpose instead of sending a message.
  1075. fixes textbox border drawing.
  1076. 2006-11-15 Chris Toshok <[email protected]>
  1077. * PropertyGridView.cs: keep from crashing on mouse move/down when
  1078. the property grid is empty.
  1079. 2006-11-14 Jackson Harper <[email protected]>
  1080. * TextControl.cs: Make PageUp and PageDown more like the MS
  1081. versions.
  1082. * TextBoxBase.cs: When we set the text property position the
  1083. cursor at the beginning of the document.
  1084. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  1085. * Form.cs: if a mdi child's WindowState has changed
  1086. before it's creation, it would display wrong control
  1087. buttons.
  1088. 2006-11-14 Alexander Olk <[email protected]>
  1089. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  1090. (Fixes bug #79927)
  1091. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  1092. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  1093. the window gets to paint its borders even if the window is
  1094. getting smaller.
  1095. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  1096. otherwise the old control buttons would still be painted
  1097. if the window gets bigger.
  1098. * PaintEventArgs.cs: add an internal method so that the clip
  1099. rectangle can be changed.
  1100. 2006-11-13 Chris Toshok <[email protected]>
  1101. [ fixes bug #79745 ]
  1102. * NotifyIcon.cs: lots of cleanup.
  1103. * X11Structs.cs: add an enum for XEMBED messages.
  1104. * XplatUIX11.cs: reindent one of the giant switch statements, it
  1105. was taking up an additional tab stop, and this file is already way
  1106. too wide for my laptop's screen.
  1107. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  1108. we get it, resize the hwnd to the WMNormalHints max_width/height.
  1109. 2006-11-13 Jackson Harper <[email protected]>
  1110. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  1111. teh simple way.
  1112. 2006-11-13 Chris Toshok <[email protected]>
  1113. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  1114. #79898. force a reference to the Region to stick around so the
  1115. unmanaged object isn't collected (rendering our handle in the MSG
  1116. stale).
  1117. 2006-11-13 Chris Toshok <[email protected]>
  1118. * XplatUIX11.cs: fix #79917 for window managers which support
  1119. using XStoreName on the raw utf8, and we need to convert to
  1120. COMPOUND_TEXT if it's non-latin1.
  1121. 2006-11-13 Chris Toshok <[email protected]>
  1122. * Form.cs (set_DialogResult): we need to set closing to false if
  1123. we're setting our result to None. fixes bug #79908.
  1124. 2006-11-13 Jackson Harper <[email protected]>
  1125. * TextControl.cs: When formatting text, compute the adjusted tag
  1126. lengths correctly, using FindTag for the end tag instead of trying
  1127. to figure it out outselves.
  1128. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  1129. the item, ItemHeight doesn't work, because trees with large
  1130. imagelists use those for their height
  1131. * TreeView.cs: ActualItemHeight factors in the image height
  1132. - compute left edge of checkboxes correctly
  1133. - when expanding/collapsing move the bottom down one pixel, so we
  1134. aren't moving part of the node
  1135. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  1136. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  1137. stack in PaintEventStart so that it won't get disposed by the gc
  1138. before reaching PaintEventEnd.
  1139. 2006-11-13 Jackson Harper <[email protected]>
  1140. * TextBoxBase.cs: Don't select the word if we are on a line with
  1141. no text.
  1142. - We don't need to position the caret on mouse up, since the mouse
  1143. move handler should be doing this
  1144. - When double clicking a blank line, the caret is advanced to the
  1145. next line.
  1146. 2006-11-13 Gert Driesen <[email protected]>
  1147. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  1148. 2006-11-12 Gert Driesen <[email protected]>
  1149. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  1150. Fixes part of bug #79910.
  1151. 2006-11-11 Alexander Olk <[email protected]>
  1152. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  1153. (bug #79903). Some minor string updates to match ms.
  1154. 2006-11-10 Alexander Olk <[email protected]>
  1155. * FileDialog.cs: Don't add an extension if the filename
  1156. already ends with that extension.
  1157. 2006-11-10 Jackson Harper <[email protected]>
  1158. * TreeView.cs: Use the currently highlighted node for the
  1159. BeforeSelect event.
  1160. * TextBoxBase.cs: There is no need to expand selection on
  1161. MouseMove.
  1162. - CanUndo means 'is there any undo operations', not 'is undo
  1163. allowed on this textcontrol. Fixed ClearUndo unit test.
  1164. 2006-11-10 Andreia Gaita <[email protected]>
  1165. * Button.cs: only perform click when button is Selectable (so as
  1166. not to activate default buttons when they're disabled)
  1167. * Control.cs: Rewrite of the SelectNextControl and related
  1168. methods. HandleClick now selects next control if the current one
  1169. is being disabled.
  1170. * Form.cs: OnActivated selects next active control only if Load
  1171. has already occurred. If Load hasn't run, there's no point in
  1172. selecting here, Load might change the state of controls.
  1173. * FocusTest.cs: Tests marked as working again for these fixes
  1174. 2006-11-10 Chris Toshok <[email protected]>
  1175. * XplatUIX11.cs: a couple of fixes.
  1176. - use XInternAtoms with almost all the atoms we need to register,
  1177. instead of many, many calls to XInternAtom. should help a bit on
  1178. startup time, at the expense of making the code look a little
  1179. worse.
  1180. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  1181. isn't reparented (which seems to be a clue that we're running fon
  1182. compiz) and they have an Owner form. This fixes the tool windows
  1183. in paint.net when running under compiz.
  1184. - when setting the opacity of a window, support both the case
  1185. where the window has been reparented and also when it hasn't been.
  1186. Since compiz/beryl doesn't seem to reparent windows, and these are
  1187. the only window managers which support translucency, I'm not sure
  1188. why we need the hwnd.reparented case at all.. but leave it in.
  1189. now we get translucent windows in paint.net under compiz/beryl.
  1190. 2006-11-10 Alexander Olk <[email protected]>
  1191. * FileDialog.cs: Always return the value for FilterIndex that
  1192. was set. Internally convert it to values that make sense.
  1193. 2006-11-10 Everaldo Canuto <[email protected]>
  1194. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  1195. 2006-11-10 Everaldo Canuto <[email protected]>
  1196. * Toolbar.cs: Change default value of DropDownArrows to true, the
  1197. signature still using false to make it compatible with MS but the
  1198. initial value is true. Fixes #79855.
  1199. 2006-11-10 Alexander Olk <[email protected]>
  1200. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  1201. only available on Linux.
  1202. 2006-11-09 Everaldo Canuto <[email protected]>
  1203. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  1204. reduce number of calls to redraw method during toolbar creation.
  1205. 2006-11-09 Mike Kestner <[email protected]>
  1206. * ListView.cs : raise SelectedIndexChanged when an item is selected
  1207. programmatically via the Item.Selected property. Gert's nice
  1208. ListViewSelectedIndexChanged test fixture now runs clean.
  1209. 2006-11-09 Mike Kestner <[email protected]>
  1210. * ListView.cs : raise SelectedIndexChanged when a selected item is
  1211. removed from the item collection using Remove or RemoveAt.
  1212. 2006-11-09 Mike Kestner <[email protected]>
  1213. * ListView.cs : raise SelectedIndexChanged once per selected item
  1214. for compat with MS. Fixes #79849+.
  1215. 2006-11-09 Chris Toshok <[email protected]>
  1216. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  1217. we need to (if we have any tab pages). Fixes unit test.
  1218. 2006-11-09 Chris Toshok <[email protected]>
  1219. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  1220. width is 0, not 3. Fixes a unit test.
  1221. 2006-11-09 Mike Kestner <[email protected]>
  1222. * ListView.cs : use Implicit scrollbars so that focus isn't
  1223. stolen from the listview when they are clicked. Fixes #79850.
  1224. 2006-11-09 Chris Toshok <[email protected]>
  1225. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  1226. have a root item. Fixes #79879.
  1227. 2006-11-09 Alexander Olk <[email protected]>
  1228. * FileDialog.cs:
  1229. - Fix ToString ()
  1230. - An ArgumentException is now thrown if a wrong filter
  1231. is applied (matches ms). The previous filter doesn't change
  1232. anymore if an exception is thrown.
  1233. - Changing the FileName property also affects FileNames
  1234. * ColorDialog.cs: The length of the CustomColors array is always
  1235. 16. It doesn't matter if we use a smaller array or null to update
  1236. or change the custom colors property.
  1237. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  1238. for RootFolder if we get a undefined value.
  1239. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  1240. * StatusBarPanel.cs:
  1241. - Width is set to MinWidth if Width is smaller than
  1242. MinWidth. Fixes #79842.
  1243. - MinWidth now always overrides Width (MSDN says MinWidth
  1244. is set to Width when AutoSize = None, but they do not
  1245. behave like that).
  1246. - Style has now the the correct default value.
  1247. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  1248. * TrackBar.cs:
  1249. - The control is completely invalidated on
  1250. Got/LostFocus to draw the focus rectangle correctly.
  1251. - When AutoSize then height is always 45 (width for
  1252. vertical controls).
  1253. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  1254. on the mouse when moved and it doesn't move when grabbed
  1255. until the mouse moves as well. Also fixed some wrong
  1256. calculations when clicking on the thumb (control thought
  1257. click was outside of thumb and didn't grab it).
  1258. Fixes some of the issues in #79718.
  1259. 2006-11-08 Everaldo Canuto <[email protected]>
  1260. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  1261. 2006-11-08 Chris Toshok <[email protected]>
  1262. * PropertyGridView.cs: only call ToggleValue if the item is not
  1263. readonly.
  1264. 2006-11-08 Jackson Harper <[email protected]>
  1265. * TextBoxBase.cs: The RichTextBox and textbox have very different
  1266. word selection methods. Implement the textbox's simple word
  1267. selection here, and let the RichTextBox override and provide it's
  1268. own.
  1269. - Don't do extra selection on mouseup
  1270. * RichTextBox.cs: Use the documents word selection algorithm, I
  1271. think ideally, this function will be pulled into the
  1272. RichTextBox.cs code someday.
  1273. 2006-11-08 Chris Toshok <[email protected]>
  1274. * RootGridEntry.cs: new class to represent GridItemType.Root.
  1275. * CategoryGridEntry.cs: reformat, and add boilerplate.
  1276. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  1277. returns the UI parent anyway, and we need special handling to
  1278. implement the GetTarget method in the face of it. Also, implement
  1279. Select().
  1280. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  1281. a root grid item, and use that instead of PropertyGrid.grid_items.
  1282. Also, make use of TypeConverters (and add limitted support for
  1283. ICustomTypeDescriptors) when initially populating the grid.
  1284. Arrays now show up more or less properly.
  1285. 2006-11-08 Chris Toshok <[email protected]>
  1286. * Application.cs: set the modal dialog to non modal after we close
  1287. it. Fixes bug #79866.
  1288. 2006-11-08 Jackson Harper <[email protected]>
  1289. * TextControl.cs: When combining lines carry over the line end
  1290. style from the end line.
  1291. - Invalidate the selected area when setting it, if it is visible.
  1292. * TextBoxBase.cs: Only rich text box can do full line selects.
  1293. - Make sure to set the cursor position when there is a click,
  1294. otherwise two clicks in separate areas could cause a large chunk
  1295. to be selected.
  1296. 2006-11-07 Everaldo Canuto <[email protected]>
  1297. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  1298. Fixes #79863.
  1299. 2006-11-07 Everaldo Canuto <[email protected]>
  1300. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  1301. time. Remove tooltips when ToolButton click events. Fixes #79856.
  1302. 2006-11-07 Everaldo Canuto <[email protected]>
  1303. * MenuAPI.cs: Ignore right click for menu actions and fixes
  1304. menu border when clicked. Fixes #79846.
  1305. 2006-11-07 Everaldo Canuto <[email protected]>
  1306. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  1307. MouseState after create wParam for message, this fixes mouse button
  1308. equal none in mouse up events.
  1309. 2006-11-07 Andreia Gaita <[email protected]>
  1310. * Control.cs : Focus() now calls Select to set the Container's
  1311. Active Control and to give it focus. To avoid infinite recursion
  1312. (because ActiveControl also calls Focus at one point), a check
  1313. is made in Focus with the help of a new internal variable
  1314. is_focusing.
  1315. 2006-11-07 Mike Kestner <[email protected]>
  1316. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  1317. if there's a selection. Fixes #79849.
  1318. 2006-11-07 Gert Driesen <[email protected]>
  1319. * PropertyGrid.cs: Avoid fixed height of help description label.
  1320. Fixes part of bug #79829.
  1321. 2006-11-07 Chris Toshok <[email protected]>
  1322. * XplatUIX11.cs: fix #79790 again, by using the
  1323. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  1324. 2006-11-07 Everaldo Canuto <[email protected]>
  1325. * ToolBar.cs: Fix left click checking.
  1326. 2006-11-07 Chris Toshok <[email protected]>
  1327. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  1328. 2006-11-07 Chris Toshok <[email protected]>
  1329. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  1330. PropertyManager unit tests.
  1331. * PropertyManager.cs: make property_name internal.
  1332. 2006-11-07 Chris Toshok <[email protected]>
  1333. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  1334. pass a unit test. Also, don't set image_index to anything in
  1335. response to setting the ImageList property.
  1336. 2006-11-07 Everaldo Canuto <[email protected]>
  1337. * ToolBar.cs: Ignore click events when mouse button is not a
  1338. left button, only accepts other button for dropdown menus.
  1339. Fixes #79854.
  1340. 2006-11-07 Chris Toshok <[email protected]>
  1341. * DataGrid.cs: make the back and parent row buttons a little less
  1342. ugly.
  1343. 2006-11-07 Jackson Harper <[email protected]>
  1344. * TextBoxBase.cs: When converting to Text don't put line breaks in
  1345. for soft line breaks.
  1346. * TextControl.cs: There is an initial "fake" line in the document,
  1347. this is now a soft break line, so that an extra line feed doesn't
  1348. get added to the end of documents.
  1349. 2006-11-07 Chris Toshok <[email protected]>
  1350. [ fix bug #79778 ]
  1351. * CurrencyManager.cs: if the list is readonly, don't bother
  1352. checking if IBindingList.AllowNew is true.
  1353. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  1354. for non-DataRowView datasources.. or rather, make it not crash.
  1355. (DataGridPaintRelationRow): make sure we limit the row painting to
  1356. the area not covered by the row header, and make our cell width at
  1357. least large enough to cover the relation area. This allows grids
  1358. that have relations but no rows to render correctly.
  1359. (DataGridPaintRowContents): same type of changes here.
  1360. (SetDataSource): move back to always calling
  1361. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  1362. navigating back through relations.
  1363. (HitTest): handle the case where we have no cells but have
  1364. relations. Right now we generate a hit in cell 0 of whatever the
  1365. row is, not sure if this is strictly correct, but it works for our
  1366. purposes.
  1367. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  1368. bother doing anything.
  1369. 2006-11-07 Jonathan Pobst <[email protected]>
  1370. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  1371. early version of StatusStrip. Not responsible for eaten
  1372. application or firstborn children.
  1373. 2006-11-06 Chris Toshok <[email protected]>
  1374. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  1375. call GetTabRect with a -1 index. Fixes #79847.
  1376. 2006-11-06 Jackson Harper <[email protected]>
  1377. * TreeNodeCollection.cs: Update scrollbars after clearing.
  1378. 2006-11-06 Chris Toshok <[email protected]>
  1379. * NumericUpDown.cs: fix the ToString method for some unit test
  1380. love.
  1381. 2006-11-06 Chris Toshok <[email protected]>
  1382. * PropertyGrid.cs:
  1383. - set the initial SelectedGridItem if we can.
  1384. - Exclude non-mergable properties only if we're merging > 1
  1385. object. Merging 1 object isn't really merging, obviously.
  1386. - Handle PropertySort.NoSort just like Alphabetical, which is
  1387. wrong of course, but at least gets things on the screen.
  1388. * PropertyGridView.cs:
  1389. - Add method "FindFirstItem" which finds the first property grid
  1390. item, so we can select it by default.
  1391. - make use of GridEntry.CanResetValue.
  1392. - Don't call RedrawBelowItemOnExpansion here anymore, the
  1393. individual GridEntry's will do that.
  1394. - Remove the ITypeDescriptorContextImpl internal class.
  1395. * GridEntry.cs:
  1396. - this class needs to implement ITypeDescriptorContext, as it's
  1397. what MS's PropertyDescriptorGridEntry does, which means we can
  1398. remove the ITypeDescriptorContextImpl internal class from
  1399. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  1400. - keep a reference to our PropertyGridView, and move the call to
  1401. RedrawBelowItemOnExpansion here from PGV. This means
  1402. programmaticly setting Expanded actually does something visible.
  1403. - add a CanResetValue() function which takes into account our
  1404. possibly multiple "selected_objects" in the merged case. Shifting
  1405. PropertyGridView to use this method fixes another unreported
  1406. crasher found running the test for #79829.
  1407. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  1408. is updated to reflect this.
  1409. * CategoryGridEntry.cs: the ctor takes the PGV now.
  1410. 2006-11-06 Jackson Harper <[email protected]>
  1411. * TextControl.cs: These are 1 based.
  1412. * TextBoxBase.cs: When setting the selected text, don't change the
  1413. selected text tags, this is done by ReplaceText, just position the
  1414. cursor at the end of the new text.
  1415. 2006-11-06 Alexander Olk <[email protected]>
  1416. * ListView.cs: Allow label edit only when, when LabelEdit is
  1417. set to true.
  1418. 2006-11-06 Jackson Harper <[email protected]>
  1419. * TextControl.cs: If a suitable wrapping position isn't found,
  1420. just wrap right in the middle of a word.
  1421. 2006-11-06 Alexander Olk <[email protected]>
  1422. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  1423. bug #79820.
  1424. 2006-11-06 Jackson Harper <[email protected]>
  1425. * TreeView.cs: Can't use the VisibleCount property when setting
  1426. scrollbar heights, because this doesn't take into account whether
  1427. or not the horz scrollbar just came visible.
  1428. 2006-11-05 Everaldo Canuto <[email protected]>
  1429. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  1430. activated. Fixes #79369, #79832.
  1431. 2006-11-05 Alexander Olk <[email protected]>
  1432. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  1433. had to remove support for links that point to a directory. FileInfo
  1434. returns no usefull information (means, the directory they point to)
  1435. for such links. Replaced some empty string ("") with String.Empty.
  1436. 2006-11-04 Gert Driesen <[email protected]>
  1437. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  1438. NullReferenceException when attempting to remove node that is not in
  1439. collection. Throw NullReferenceException when null is passed to
  1440. Remove. Allow first element of the collection to be removed. Fixes
  1441. bug #79831. In GetEnumerator ().Current return null if positioned
  1442. before the first element of the collection. In GetEnumerator ().Reset,
  1443. position before first element of the collection.
  1444. 2006-11-04 Gert Driesen <[email protected]>
  1445. * PropertyGrid.cs: To match MS, remove default title and description
  1446. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  1447. buttons.
  1448. 2006-11-04 Chris Toshok <[email protected]>
  1449. * Theme.cs: add a Clamp method, just for kicks.
  1450. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  1451. 2006-11-04 Chris Toshok <[email protected]>
  1452. * Form.cs: if the form isn't visible, Close() does nothing.
  1453. 2006-11-03 Chris Toshok <[email protected]>
  1454. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  1455. Hide it.
  1456. (WndProc): don't Dispose after handling the WM_CLOSE message.
  1457. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  1458. them as such, instead of using casts from Control to Form. Also,
  1459. don't Dispose of the modal dialog when we fall out of the loop -
  1460. Close() it instead.
  1461. fixes bug #79813.
  1462. 2006-11-03 Chris Toshok <[email protected]>
  1463. * Control.cs (Dispose): only go through the dispose thing if we're
  1464. @disposing, and we haven't already been disposed. Fixes bug
  1465. #79814.
  1466. * Form.cs: no reason to call "base.Dispose()" here instead of
  1467. "Dispose()".
  1468. 2006-11-03 Mike Kestner <[email protected]>
  1469. * ComboBox.cs : use ToString instead of casts in AddItem for
  1470. sorting functionality. Fixes #79812.
  1471. 2006-11-03 Chris Toshok <[email protected]>
  1472. * Application.cs: pave the way for actually using the thread
  1473. exception dialog. it's ifdefed out at the moment.
  1474. 2006-11-03 Chris Toshok <[email protected]>
  1475. * ThreadExceptionDialog.cs: until we get a better layout, actually
  1476. hide the details textbox and label when we shouldn't see them.
  1477. 2006-11-03 Jackson Harper <[email protected]>
  1478. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  1479. multiline textboxes anymore. This method also determines the
  1480. width/height of a textboxes canvas area.
  1481. - Sorta a revert of the last patch. For multiline just position
  1482. the controls, then bail. This way the scrollbar width won't be
  1483. altered.
  1484. 2006-11-03 Everaldo Canuto <[email protected]>
  1485. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  1486. it dont need. Fixes #79537.
  1487. 2006-11-02 Jackson Harper <[email protected]>
  1488. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  1489. send the status after firing the DndOver event.
  1490. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  1491. * TrackBar.cs: Now orientation only switches height / width if
  1492. the control's handle is created (Win32 does it like this). Also
  1493. fixed a typo in ToString() for a test to pass, changed the
  1494. exception thrown in set_LargeChange and set_SmallChange to
  1495. match Win32 behaviour, and added TrackBar tests to the unit
  1496. tests.
  1497. 2006-11-02 Chris Toshok <[email protected]>
  1498. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  1499. not _NET_WM_STATE_NO_TASKBAR.
  1500. 2006-11-02 Jackson Harper <[email protected]>
  1501. * TextControl.cs: Increment count by one, since in the update view
  1502. count - 1 is used.
  1503. 2006-11-02 Jackson Harper <[email protected]>
  1504. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  1505. the mouse is in the client rectangle (duh).
  1506. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  1507. * TrackBar.cs: Fixed trackbar jumping around when clicking
  1508. on it - the trackbar was not detecting correctly at which
  1509. side of the thumb the click was done. (fixes #79718)
  1510. 2006-11-02 Everaldo Canuto <[email protected]>
  1511. * ListBox.cs: scroll visible area when change SelectedIndex to
  1512. a non visible area. Fixes #79481.
  1513. 2006-11-01 Jackson Harper <[email protected]>
  1514. * TextControl.cs: When replacing the selection move the selection
  1515. start/end/anchor to the end of the new text.
  1516. 2006-11-01 Jackson Harper <[email protected]>
  1517. * XplatUIWin32.cs: When setting the parent change the controls
  1518. visibility to it's visibility flag, not to it's old parents
  1519. visibility (.Visible walks the parent chain).
  1520. 2006-11-01 Chris Toshok <[email protected]>
  1521. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  1522. XSetTransientForHint fix breaks paint .net's tool windows. more
  1523. work needed for that one.
  1524. 2006-11-01 Chris Toshok <[email protected]>
  1525. * ScrollBar.cs: throw ArgumentException instead of Exception in
  1526. LargeChange/SmallChange setters. fixes unit tests.
  1527. 2006-10-31 Andreia Gaita <[email protected]>
  1528. * ContainerControl.cs: reverted rev.67183 (which was itself
  1529. a reversion of rev.66853... eh).
  1530. * Control.cs: Fixes Reflector hang by changing Focus() call
  1531. to what it was before rev.66643 (calling Select() here sets
  1532. ActiveControl, which in some situations calls back Focus and
  1533. eventually does a stack overflow). Temp fix.
  1534. Changes to GetNextControl() to not look for children to select when
  1535. parent cannot be selectable (so it looks for siblings instead)
  1536. 2006-10-31 Mike Kestner <[email protected]>
  1537. * CheckedListBox.cs : off by one error in returned index from
  1538. ObjectCollection.Add. Fixes #79758.
  1539. 2006-10-31 Chris Toshok <[email protected]>
  1540. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  1541. calls for the textbox/spinner, to keep from recursing to the point
  1542. where we crash. Fixes #79760.
  1543. 2006-10-31 Chris Toshok <[email protected]>
  1544. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  1545. null/"" value, just return. matches ms's behavior and fixes some
  1546. failing tests.
  1547. 2006-10-31 Chris Toshok <[email protected]>
  1548. * Control.cs (set_Capture): make a logic a little easier to
  1549. follow.
  1550. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  1551. if it's being destroyed. A necessary fix surely, but a bandaid
  1552. also, to fix the stuck capture problem in bug #78413.
  1553. 2006-10-31 Chris Toshok <[email protected]>
  1554. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  1555. convention of clearing hwnd.ClientRect when we set the
  1556. width/height (so it'll be recalculated by Hwnd).
  1557. 2006-10-31 Andreia Gaita <[email protected]>
  1558. * ContainerControl.cs: reversed Contains check from
  1559. ActiveControl due to hanging problems. This fix
  1560. partly regresses #79667 (button does not have
  1561. initial focus), so this might be a symptom for
  1562. a larger parenting problem (set_ActiveControl
  1563. is being called but the child control does
  1564. not have the parent set yet?)
  1565. 2006-10-31 Mike Kestner <[email protected]>
  1566. * MenuAPI.cs : fix keynav when menu is click activated.
  1567. 2006-10-31 Jonathan Pobst <[email protected]>
  1568. * ToolStrip*: Version 0.2.
  1569. * MenuStrip.cs: Version 0.1.
  1570. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  1571. 2006-10-30 Chris Toshok <[email protected]>
  1572. [ fixes the oversized notify icon issue in bug #79745 ]
  1573. * NotifyIcon.cs: scale the icon down to the size we're given by
  1574. the XplatUI layer (this would be faster if we did it once instead
  1575. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  1576. since it's never invoked.
  1577. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  1578. pixels high by default, so let's hardcode our systray icon to that
  1579. size. The SYSTEM_TRAY protocol should really have a way for
  1580. client apps to query for the correct icon size.. but oh well. A
  1581. couple of patches to deal with the screwy client_window ==
  1582. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  1583. instance, and also make sure we don't XSelectInput twice).
  1584. 2006-10-30 Chris Toshok <[email protected]>
  1585. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  1586. recreating forms. Control recreation is the bane of my existence.
  1587. Fix it in a way that keeps everyone happy.
  1588. 2006-10-30 Chris Toshok <[email protected]>
  1589. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  1590. just non-CHILD ones. otherwise sometimes scrollbars end up with
  1591. client_windows not being resized to the proper size (ReportBuilder
  1592. shows this extremely well).
  1593. 2006-10-30 Chris Toshok <[email protected]>
  1594. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  1595. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  1596. showing up in the gnome taskbar. Fixes bug #79790.
  1597. 2006-10-30 Chris Toshok <[email protected]>
  1598. * ApplicationContext.cs: guard against a NRE.
  1599. * Application.cs: null out the old MainForm for the context, so we
  1600. don't try to use it again once it's disposed. Fixes bug #79783.
  1601. 2006-10-30 Chris Toshok <[email protected]>
  1602. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  1603. BindingContext, set the data source directly, otherwise do the
  1604. lazy approach - the actual ListManager will be created when we get
  1605. a BindingContext. Fixes bug #79700.
  1606. 2006-10-30 Jonathan Pobst <[email protected]>
  1607. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  1608. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  1609. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  1610. 2006-10-30 Jonathan Pobst <[email protected]>
  1611. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  1612. of SetVisible that allows a window to be shown, but not activated.
  1613. This is needed on Windows for MenuStrip, and can probably be used
  1614. with MainMenu and ComboBox to fix the focus stealing issues on
  1615. Windows.
  1616. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  1617. 2006-10-30 Alexander Olk <[email protected]>
  1618. * PictureBox.cs: Fix the output of the ToString method.
  1619. 2006-10-29 Chris Toshok <[email protected]>
  1620. * Control.cs (get_TopLevelControl): fix bug #79781.
  1621. 2006-10-29 Chris Toshok <[email protected]>
  1622. * ListControl.cs (set_DataSource): throw Exception here, not
  1623. ArgumentException, to match MS behavior.
  1624. 2006-10-29 Chris Toshok <[email protected]>
  1625. * Form.cs: remove the try-catch's around calls to GetWindowState.
  1626. We can just check the return value.
  1627. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  1628. Instead return -1.
  1629. * XplatUI.cs: Add note about additional return value for
  1630. GetWindowState.
  1631. 2006-10-29 Chris Toshok <[email protected]>
  1632. * Control.cs (CreateHandle): when we create our handle, we also
  1633. create the handles of our child controls. Fixes one of the
  1634. Control unit tests (CH11).
  1635. 2006-10-28 Alexander Olk <[email protected]>
  1636. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  1637. 2006-10-28 Alexander Olk <[email protected]>
  1638. * ThemeClearlooks.cs: A little speedup.
  1639. 2006-10-27 Chris Toshok <[email protected]>
  1640. * Control.cs: implement Control.FromChildHandle in a way that
  1641. matches the docs (and fixes the failed test.)
  1642. 2006-10-27 Chris Toshok <[email protected]>
  1643. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  1644. comments).
  1645. * DataGrid.cs: implement ResetForeColor such that the tests
  1646. succeed.
  1647. 2006-10-27 Chris Toshok <[email protected]>
  1648. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  1649. being set to "". Fixes bug #79759.
  1650. 2006-10-27 Jackson Harper <[email protected]>
  1651. * TextControl.cs: We need to clear the entire selection area when
  1652. setting the start, otherwise multiline selections are still
  1653. visible.
  1654. 2006-10-26 Chris Toshok <[email protected]>
  1655. * PropertyGridView.cs:
  1656. - ifdef all the code specific to the double
  1657. buffer case, and provide some alternatives in the non-doublebuffer
  1658. code, which makes heavy use of XplatUI.ScrollWindow to move things
  1659. around without having to invalidate (and cause flicker). There
  1660. are still some drawing problems in the non-doublebuffered case, so
  1661. DOUBLEBUFFER is defined by default.
  1662. - Fix the way dropdowns are handled. now we explicitly watch for
  1663. the events which might cause the dropdown to close, and break out
  1664. of the nested event loop there. This gets rid of all Capture
  1665. code, at the expense of the Msg special casing. Seems to work,
  1666. though, and fixes bug #79743.
  1667. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  1668. * Control.cs: SetIsRecreating now recreates implicitly added
  1669. child controls as well. Finally fixes #79629. The flag passed to
  1670. SetIsRecreating has also been removed since it wasn't used.
  1671. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  1672. * PageSetupDialog.cs: Clean some code, fix some bits,
  1673. add some checks, and add a printer sub-dialog.
  1674. 2006-10-26 Chris Toshok <[email protected]>
  1675. * PropertyGrid.cs: make set_SelectedObject call
  1676. set_SelectedObjects, and move the duplicate logic to the
  1677. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  1678. * PropertyGridView.cs: hide the textbox when we get a
  1679. SelectedObjectsChanged event.
  1680. Fixes bug #79748.
  1681. 2006-10-26 Chris Toshok <[email protected]>
  1682. * PropertyGridView.cs: deal with the type converter not supporting
  1683. GetStandardValues() or GetStandardValues() returning null, which
  1684. is does in the default case. Fixes #79742.
  1685. 2006-10-25 Andreia Gaita <[email protected]>
  1686. * CheckedListBox.cs: nunit no longer crashes when selecting
  1687. Project/Edit menu option
  1688. 2006-10-25 Andreia Gaita <[email protected]>
  1689. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  1690. is no menu selected. fixes #79739
  1691. 2006-10-25 Chris Toshok <[email protected]>
  1692. * PropertyGridView.cs: factor out the splitter invalidation code
  1693. into the SplitterPercent setter, and for kicks implement the
  1694. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  1695. amount in either direction.
  1696. 2006-10-25 Chris Toshok <[email protected]>
  1697. * PropertyGridView.cs: do some cleanup of the brush used to draw
  1698. text - read only fields should be grayed out. not sure how to do
  1699. this with the textbox, though. but the textbox's should also be
  1700. readonly now at least. Also, hide/show the textbox when resizing
  1701. the control.
  1702. * CursorConverter.cs: use System.Reflection when getting the
  1703. properties of Cursors, as TypeDescriptor.GetProperties isn't
  1704. returning static properties.
  1705. 2006-10-25 Chris Toshok <[email protected]>
  1706. * PropertyGridView.cs: factor out the up/down handling, and reuse
  1707. it for page up/down. also add End/Home support.
  1708. 2006-10-25 Chris Toshok <[email protected]>
  1709. * PropertyGridView.cs:
  1710. - ensure the selected grid item is visible in the scrolled area,
  1711. fixes bug #79572.
  1712. - fix Keys.Down handling when you're on the last item in the
  1713. propertygrid.
  1714. 2006-10-25 Mike Kestner <[email protected]>
  1715. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  1716. clicks too. Fixes #79725.
  1717. 2006-10-24 Chris Toshok <[email protected]>
  1718. * PropertyGrid.cs: use property.Converter instead of
  1719. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  1720. TypeConverters declared on the property as well as on the
  1721. PropertyType. Fixes bug #79678.
  1722. 2006-10-24 Alexander Olk <[email protected]>
  1723. * MimeIcon.cs, Mime.cs:
  1724. Fallback to the default platform handler if no shared mime info
  1725. stuff exists (fixes #79693).
  1726. 2006-10-20 Andreia Gaita <[email protected]>
  1727. * ContainerControl.cs: Incorrect contains check in ActiveControl
  1728. from previous fix (duh).
  1729. 2006-10-20 Chris Toshok <[email protected]>
  1730. * PropertyGridView.cs: the dropdown should be MIN(number of items
  1731. in list, 15). Fixes #79551.
  1732. 2006-10-20 Andreia Gaita <[email protected]>
  1733. Fixes #79384, #79394, #79652, #79667
  1734. * Application.cs:
  1735. - Modal windows are now destroyed in the proper order for windows
  1736. * ContainerControl.cs:
  1737. - ActiveControl setter has more conditions on when to return:
  1738. - if we're reselecting the active control, but it actually
  1739. didn't have focus (window hidden or some such), it runs
  1740. - if the active control being selected doesn't actually
  1741. exist in the container, it returns
  1742. * Form.cs
  1743. - The ShowDialog now gets the current form as the owner when
  1744. invoking without parameters, and correctly activates the owner
  1745. when returning
  1746. * MessageBox.cs
  1747. - MessageBox now catches the Escape key to exit
  1748. 2006-10-20 Chris Toshok <[email protected]>
  1749. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  1750. most of bug #79676):
  1751. - you can navigate around the property grid with the arrow keys.
  1752. - the dropdown is sized properly when the pg has a vertical
  1753. scrollbar.
  1754. - fix the indentation for subentries, and properly select the
  1755. entire label rect.
  1756. - fix the gray bar's drawing (only draw it to the last element,
  1757. not for the height of the control. Also make sure we draw that
  1758. last horizontal grid line.
  1759. - use the same mechanism the datagrid uses wrt the editing textbox
  1760. when scrolling/resizing/etc. Namely, we hide it first, do the
  1761. operation, then show it again (if it's still visible).
  1762. - aggressively remove a lot of unnecessary refreshes (and also
  1763. calls to Invalidate(). call more limited variants, and only redraw
  1764. what we need.)
  1765. * PropertyGrid.cs:
  1766. - when we're populating the merged collection, fill in the UI
  1767. parent with either the passed in item, or the category item we
  1768. create.
  1769. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  1770. * GridItem.cs: drop some fully qualified names.
  1771. * GridEntry.cs: add a "UIParent", which is basically the parent
  1772. treenode.
  1773. * GridItemCollection.cs: add an IndexOf method.
  1774. 2006-10-20 Mike Kestner <[email protected]>
  1775. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  1776. a working win32 NC invalidation mechanism, we can't invalidate
  1777. menus. [Fixes #79705]
  1778. 2006-10-20 Mike Kestner <[email protected]>
  1779. * ListBox.cs : don't update the VScrollbar if the list is empty,
  1780. just hide it. [Fixes #79692]
  1781. 2006-10-20 Jackson Harper <[email protected]>
  1782. * RichTextBox.cs: Handle some special chars better, and don't skip
  1783. the entire group when we encounter a special char that we don't
  1784. handle correctly.
  1785. 2006-10-18 Chris Toshok <[email protected]>
  1786. * PropertyGridView.cs: address a number of issues from bug #79676,
  1787. mostly of the cosmetic variety.
  1788. - The highlight rectangle for indented items not extends all the
  1789. way to the left.
  1790. - Indented items aren't indented so much.
  1791. - the dropdown is properly sized width-wise if the pg has a
  1792. vertical scrollbar.
  1793. 2006-10-18 Chris Toshok <[email protected]>
  1794. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  1795. systray stuff is rather convoluted to begin with.
  1796. systray icons are a single window for some reason (that I haven't
  1797. figured out yet), and for them, client_window == whole_window.
  1798. Given the way the tests are structured elsewhere to determine
  1799. which paints are pending (client vs. nc), that situation will
  1800. always yield PAINT, not NCPAINT. So, if we have a pending
  1801. nc_expose and no pending expose, remove the hwnd from the paint
  1802. queue, and also set nc_expose_pending to false, to keep us from
  1803. blocking further expose's adding the hwnd to the paint queue.
  1804. phew. like i said, a rather convoluted change. Fixes the
  1805. notifyicon repaint issues in bug #79645.
  1806. 2006-10-18 Chris Toshok <[email protected]>
  1807. * Form.cs: when getting the backcolor of the form, don't get
  1808. base.BackColor, as this allows parents to influence the background
  1809. color. This breaks mdi forms. Instead, if the background_color
  1810. is empty, return the default.
  1811. 2006-10-18 Chris Toshok <[email protected]>
  1812. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  1813. to being private instead of internal static.
  1814. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  1815. crap, it wasn't working for more deeply nested controls anyway,
  1816. and we already have the is_recreating flag - use that instead.
  1817. Before calling DestroyHandle in RecreateHandle, recurse through
  1818. the control tree setting it to true. this returns the recreate
  1819. code to much of its original simplicity, while now guaranteeing we
  1820. actually recreate everything we're supposed to. This change gets
  1821. fyireporting actually showing mdi children.
  1822. 2006-10-17 Chris Toshok <[email protected]>
  1823. * Form.cs: remove some debug spew, and collapse some duplicate
  1824. code at the end of SetClientSizeCore.
  1825. * XplatUIX11.cs:
  1826. - add some more debug spew here too wrt Destroy handling.
  1827. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  1828. in Control's handling of WM_DESTROY.
  1829. - Remove the handling of zombie window DestroyNotifies from the
  1830. event loop - we don't need it. Now the only DestroyNotifies we
  1831. actually handle are ones generated by X.
  1832. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  1833. match gtk's (functioning) handling of this. This keep metacity
  1834. from leaving droppings in the form of wm borders with no window
  1835. contents all over the place.
  1836. * Control.cs:
  1837. - add a bunch of debug spew wrt control recreation.
  1838. - fix a bug where we weren't tracking Visible properly on
  1839. recreated hwnds.
  1840. - fixed the WM_PAINT double buffer handling to support re-entrant
  1841. calls (yes, i know it's gross, but it's happening to us).
  1842. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  1843. * ThemeWin32Classic.cs: changed drawing of selected days
  1844. to make them look better.
  1845. 2006-10-16 Chris Toshok <[email protected]>
  1846. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  1847. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  1848. * XplatUIX11.cs: move away from using hwnd.client_dc and
  1849. hwnd.non_client_dc and on to a stack of dc's (and in window's
  1850. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  1851. without puking or not disposing of Graphics objects.
  1852. * XplatUIOSX.cs: same.
  1853. * XplatUIWin32.cs: same.
  1854. 2006-10-03 Alexander Olk <[email protected]>
  1855. * FileDialog.cs: Don't call on_directory_changed inside
  1856. OnSelectedIndexChanged (it changes the SelectedIndex too).
  1857. Instead move it to OnSelectionChangeCommitted.
  1858. 2006-10-13 Chris Toshok <[email protected]>
  1859. * XplatUIX11.cs: more Destroy work. the current code does the
  1860. following things, in order:
  1861. 1. Enumerates all handles of all controls at or below the one
  1862. being destroyed, in pre-order. As it is doing this, it marks the
  1863. handles as zombie and clears all references to them.
  1864. 2. calls XDestroyWindow on the window passed in.
  1865. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  1866. list.
  1867. 2006-10-13 Chris Toshok <[email protected]>
  1868. * XplatUIX11.cs: set hwnd.zombie to true before calling
  1869. SendMessage (WM_DESTROY). this keeps us from marking the new
  1870. window a zombie, and also keeps us from calling sendmessage at
  1871. all.
  1872. 2006-10-13 Jackson Harper <[email protected]>
  1873. * TextControl.cs: Do not show the caret and selection at the same
  1874. time. Reduces ugliness by 35%.
  1875. 2006-10-13 Chris Toshok <[email protected]>
  1876. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  1877. zombie after we do the recursive call, so we actually do call
  1878. SendMessage on the children controls.
  1879. (GetMessage): if we find a pending paint event for a zombie hwnd,
  1880. remove the hwnd from the paint queue, or else it will always be
  1881. there (and we'll effectively loop infinitely)
  1882. 2006-10-13 Mike Kestner <[email protected]>
  1883. * MenuItem.cs : add Selected format under keynav too.
  1884. Fixes #79528.
  1885. 2006-10-13 Gert Driesen <[email protected]>
  1886. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  1887. implementation and that of MS.
  1888. 2006-10-13 Chris Toshok <[email protected]>
  1889. * Control.cs (OnInvalidated) only futz with the invalid_region if
  1890. the control is double buffered. this fixes the apparent hang in
  1891. the ListView unit tests. Someone needs to make the
  1892. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  1893. 2006-10-13 Chris Toshok <[email protected]>
  1894. * PropertyGridView.cs:
  1895. - do a little refactoring so that only one place calls
  1896. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  1897. else call that. Also make it Refresh, since there are redraw bugs
  1898. otherwise (we should take a look at that...)
  1899. - do a little more refactoring work to share the body of code
  1900. involved with the drop down. it was duplicated in the code
  1901. dealing with the listbox handling and in the code dealing with the
  1902. UITypeEditors.
  1903. - add a Capture to the dropdown form's control once it's
  1904. displayed, and add a MouseDown handler that checks to make sure
  1905. the position is inside the control. If it's not, close the
  1906. dropdown. This fixes #78190.
  1907. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  1908. if the value is different than the initial value.
  1909. 2006-10-13 Andreia Gaita <[email protected]>
  1910. * Control.cs: see #78650
  1911. - Fixed GetNextControl for several cases:
  1912. - Changed FindFlatForward to return
  1913. correct sibling control when more than one
  1914. control has same TabIndex as the currently
  1915. focused one.
  1916. - Changed FindFlatBackward to loop children
  1917. from last to first and apply same logic as in
  1918. FindFlatForward
  1919. - Changed FindControlForward to search for
  1920. children when control is not a container
  1921. but has children, or search for siblings if
  1922. control is a container...
  1923. - Changed FindControlBackward to continue
  1924. searching for child controls when hitting
  1925. Panel-like parents
  1926. - Fixed Focus method to update ActiveControl
  1927. (FocusTest.FocusSetsActive failure)
  1928. * TabControl.cs:
  1929. - Focus rectangle now refreshes when gaining
  1930. or losing focus
  1931. - Removed grab for Tab key on IsInputKey that
  1932. was keeping tab navigation from working (#78650)
  1933. 2006-10-13 Chris Toshok <[email protected]>
  1934. * PropertyGridView.cs:
  1935. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  1936. SelectedObjects.
  1937. - Deal with GridItem.Value == null a few places.
  1938. * PropertyGrid.cs:
  1939. - replace the PopulateGridItemCollection with a pair of methods
  1940. which compute the intersection of all the properties in the
  1941. SelectedObjects array. Fixes #79615.
  1942. - Throw ArgumentException from set_SelectedObjects if there's a
  1943. null in the array.
  1944. - Add GetTarget method which can be used to traverse up the
  1945. GridItem.Parent chain. It depends on the assumption that
  1946. selected_objects for different GridEntries are always in the same
  1947. order (a safe assumption). Use this method and loop over all the
  1948. selected objects in the entry when calling RemoveValueChanged and
  1949. AddValueChanged.
  1950. * GridEntry.cs: Make this handle multiple selected objects.
  1951. .Value returns null if not all the selected objects share the same
  1952. value.
  1953. 2006-10-12 Jonathan Pobst <[email protected]>
  1954. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  1955. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  1956. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  1957. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  1958. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  1959. add additional functionality.
  1960. 2006-10-12 Mike Kestner <[email protected]>
  1961. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  1962. * HelpProvider.cs : new ToolTipWindow ctor sig.
  1963. * ToolTip.cs : remove ToolTip param from Window sig since it is
  1964. not used.
  1965. * ToolBar.cs : add tooltip support. Fixes #79565.
  1966. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  1967. * ComboBox.cs: move the events in set_SelectedIndex to
  1968. after the call to HighlightIndex in order to avoid
  1969. possible recursion and subsequent problems with the call
  1970. to HighlightIndex and include a range check in
  1971. set_HighlightIndex. Fixes #79588
  1972. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  1973. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  1974. to ui thread's settings instead of sunday.
  1975. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  1976. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  1977. * DateTimePicker.cs
  1978. * MonthCalendar.cs
  1979. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  1980. and implement missing functionality (selecting different parts
  1981. of the date and edit them individually with the keyboard).
  1982. 2006-10-11 Chris Toshok <[email protected]>
  1983. * Control.cs (OnInvalidated): fix NRE relating to last change.
  1984. 2006-10-11 Chris Toshok <[email protected]>
  1985. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  1986. atoms in _NET_WM_STATE here if the window is maximized. We need
  1987. to do this because we're *replacing* the existing _NET_WM_STATE
  1988. property, so those atoms will be lost otherwise, and any further
  1989. call to GetWindowState will return Normal for a window which is
  1990. actually maximized. Fixes #79338.
  1991. 2006-10-11 Jackson Harper <[email protected]>
  1992. * TextControl.cs: Special case for setting selection end to
  1993. selection start, we basically kill the anchor.
  1994. - some todo comments.
  1995. 2006-10-11 Chris Toshok <[email protected]>
  1996. * Control.cs: switch to using an "invalid_region" to track which
  1997. parts of the image buffer need updating. This is more code than
  1998. the simple fix from r66532. That version just attempted to always
  1999. fill the entire buffer on redraw, which turns out to be
  2000. inefficient when invalidating small rectangles. This version
  2001. simply adds the invalid rectangle to the invalid region. When we
  2002. get any WM_PAINT message we see if it can be filled using the
  2003. image buffer, and if it can't (if the paint event's clip rectangle
  2004. is visible in the invalid region) we first fill the image buffer.
  2005. So, the image buffer is still a cache, we just fill it lazily.
  2006. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  2007. need it any longer.
  2008. 2006-10-11 Chris Toshok <[email protected]>
  2009. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  2010. well as size after calling XMoveResizeWindow. This keeps us from
  2011. ignoring future SetWindowPos calls. Fixes the disappearing
  2012. DateTimePicker in the ToolBarDockExample from bug #72499.
  2013. 2006-10-11 Chris Toshok <[email protected]>
  2014. * TextBoxBase.cs: reorder things a bit when it comes to
  2015. resizing-causing-recalculation. we were recalculating the
  2016. document when our position was changed, which shouldn't happen.
  2017. We only care about size changes. Clear up some more redundant
  2018. recalculation calls while I'm at it. This makes the toolbar dock
  2019. example snappy when you're just dragging toolbars around (since it
  2020. causes a relayout whenever you move one.)
  2021. 2006-10-11 Chris Toshok <[email protected]>
  2022. * ToolBarButton.cs (get_Rectangle): this only returns
  2023. Rectangle.Empty if Visible == false, or Parent == null.
  2024. Parent.Visible doesn't matter.
  2025. 2006-10-10 Chris Toshok <[email protected]>
  2026. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  2027. by .net 1.1, so switch to an internal method instead.
  2028. 2006-10-10 Chris Toshok <[email protected]>
  2029. * Control.cs (WM_PAINT): when a control is double buffered we draw
  2030. initially to the ImageBuffer and then copy from there. But when a
  2031. parent control which has child controls is double buffered, the
  2032. initial drawing doesn't encompass the entire ClientRectangle of
  2033. the parent control, so we end up with uninitialized bits (this is
  2034. easily seen by dragging the top toolbar in
  2035. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  2036. manually set the ClipRectangle of the paint_event (only the one we
  2037. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  2038. of the nastiness in bug #72499.
  2039. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  2040. which we use in Control.cs's WM_PAINT handling.
  2041. 2006-10-10 Jackson Harper <[email protected]>
  2042. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  2043. 2006-10-10 Chris Toshok <[email protected]>
  2044. * Cursor.cs: Apply a slightly different patch to the one suggested
  2045. in #79609.
  2046. 2006-10-10 Jackson Harper <[email protected]>
  2047. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  2048. not the parent form.
  2049. * TextControl.cs: use difference in old line count vs new count to
  2050. calculate how many lines were added, this takes into account soft
  2051. line breaks properly.
  2052. 2006-10-10 Chris Toshok <[email protected]>
  2053. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  2054. rectangle located at 0,0 and the size of the text. Use
  2055. ClientRectangle instead. This fixes rendering of non-left aligned
  2056. link labels.
  2057. 2006-10-10 Jackson Harper <[email protected]>
  2058. * TextBoxBase.cs: When we set the selection start position the
  2059. caret.
  2060. * TextControl.cs: Need to update the caret when we decrement it to
  2061. zero.
  2062. - Make sure that the selection_visible flag gets reset to false if
  2063. the selection isn't visible. Before this you could get it set to
  2064. visible by changing the selection start, then changing the end to
  2065. equal the start.
  2066. 2006-10-09 Jackson Harper <[email protected]>
  2067. * TreeView.cs: Don't update scrollbars when we aren't visible.
  2068. * TreeNodeCollection.cs: Only need to update scrollbars if being
  2069. added to an expanded visible node or the root node.
  2070. 2006-10-09 Chris Toshok <[email protected]>
  2071. * XplatUIX11.cs (SendMessage): fix NRE.
  2072. 2006-10-09 Jackson Harper <[email protected]>
  2073. * TextBoxBase.cs: Implement horizontal autoscrolling.
  2074. * TextControl.cs: Add a movement types that allows moving forward
  2075. and backwards without wrapping.
  2076. 2006-10-09 Mike Kestner <[email protected]>
  2077. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  2078. with focus "expansion" of labels. Fixes #79532 and then some.
  2079. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  2080. when wrapping.
  2081. 2006-10-09 Jackson Harper <[email protected]>
  2082. * TextBoxBase.cs: Set the default max values to MaxValue since
  2083. we use the scrollbar for autoscrolling and the default value is
  2084. 100. If we don't do this the caret won't keep up with typing
  2085. after about 18 characters.
  2086. * TextControl.cs: Make sure the selection is offset by the
  2087. viewport x. This fixes selection when using auto scrolling.
  2088. 2006-10-07 Andreia Gaita <[email protected]>
  2089. * Form.cs: The active control should be selected after the
  2090. OnLoad so that any child control initialization that affects
  2091. the selection is done. Fixes #79406
  2092. 2006-10-06 Chris Toshok <[email protected]>
  2093. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  2094. to have no evil effects.
  2095. - Stop selecting StructureNotifyMask on non-toplevel windows.
  2096. The only way children should be resized is by using the SWF api,
  2097. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  2098. Toplevel windows can be interacted with via the window manager,
  2099. and so we keep the input mask there.
  2100. The other event StructureNotifyMask gives us (that we care
  2101. about) is DestroyNotify. The code is already structured such
  2102. that it assumes we won't be getting a DestroyNotify event for
  2103. the window we pass to XDestroyWindow (which is what
  2104. StructureNotifyMask is supposed to guarantee.) So, that code
  2105. shouldn't be affected by this either.
  2106. - Stop selecting VisibilityChangeMask altogether.
  2107. We weren't doing anything with the resulting events anyway.
  2108. This vastly reduces the number of X requests and events we see
  2109. when resizing/laying out a large ui.
  2110. 2006-10-06 Chris Toshok <[email protected]>
  2111. * ScrollableControl.cs (DisplayRectangle): we need to take into
  2112. account the DockPadding regardless of whether or not auto_scroll
  2113. == true. rework this slightly to this effect, and fix bug #79606,
  2114. and part of #72499 (you can now see the drag handles and drag
  2115. toolbars around).
  2116. 2006-10-06 Gert Driesen <[email protected]>
  2117. * ListViewItem.cs: Collections of selected and checked items are now
  2118. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  2119. we mark the collection "dirty".
  2120. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  2121. to only clear SelectedItems when a new item is selected and MultiSelect
  2122. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  2123. event of ListViewItemCollection, and mark its list dirty whenever
  2124. that event is fire. This allows us to return selected/checked items
  2125. in the same order as they are in the Items collection. This matches
  2126. the MS behavior.
  2127. 2006-10-06 Chris Toshok <[email protected]>
  2128. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  2129. right mouse clicks. Fixes bug #79593.
  2130. 2006-10-06 Chris Toshok <[email protected]>
  2131. * Splitter.cs: doh, fix splitters that don't want to cancel the
  2132. movement when you drag them. Also, impose the limits on the
  2133. values we send to the SplitterMovingEvent. Fixes #79598.
  2134. 2006-10-06 Jackson Harper <[email protected]>
  2135. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  2136. since we use this for auto scrolling also.
  2137. 2006-10-05 Chris Toshok <[email protected]>
  2138. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  2139. beginning to think that most datagrid column types don't need this
  2140. method. Fixes bug #79392.
  2141. 2006-10-05 Chris Toshok <[email protected]>
  2142. * DataGrid.cs: move back to a more lazy scheme for creating the
  2143. CurrencyManager, so we aren't updating it every time you set
  2144. either DataSource or DataMember. Also, don't call
  2145. RecreateDataGridRows if the currency manager hasn't changed.
  2146. 2006-10-05 Chris Toshok <[email protected]>
  2147. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  2148. emitted, SelectedIndex should already be updated. Fixes bug
  2149. #78929.
  2150. 2006-10-05 Jonathan Pobst <[email protected]>
  2151. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  2152. ToolStripTextBox.cs: Initial commit.
  2153. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  2154. 2006-10-05 Jackson Harper <[email protected]>
  2155. * TabControl.cs: We need to invalidate the tab control area when
  2156. new ones are added (duh).
  2157. 2006-10-03 Chris Toshok <[email protected]>
  2158. * Form.cs (ProcessDialogKey): if the focused control is in this
  2159. form and is a button, call its PerformClick method here. Fixes
  2160. #79534.
  2161. 2006-10-04 Jackson Harper <[email protected]>
  2162. * TabPage.cs: Ignore setting of Visible, and add an internal
  2163. method for setting the controls visibility. TabPage's Visible
  2164. property is a little strange on MS, this seems to make us
  2165. compatible, and fixes cases where people set all the tab pages to
  2166. visible.
  2167. * TabControl.cs: Use the new internal setting on tab pages
  2168. visibility.
  2169. 2006-10-03 Mike Kestner <[email protected]>
  2170. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  2171. 2006-10-03 Mike Kestner <[email protected]>
  2172. * ListView.cs : use is_visible instead of Visible to check if
  2173. scrollbars should be placed/sized. Also some max_wrap_width
  2174. love for LargeIcon view. [Fixes #79533]
  2175. 2006-10-03 Atsushi Enomoto <[email protected]>
  2176. * TextControl.cs :
  2177. Make set_TextAlign() do actually update the align. Fixed #78403.
  2178. 2006-10-03 Chris Toshok <[email protected]>
  2179. * DataGrid.cs: fix a crash when switching datasources if the
  2180. vertical scrollbar is at someplace other than Value = 0. Also,
  2181. reduce the number of recalculation passes we do in SetDataSource
  2182. from 2 to 1.
  2183. 2006-10-03 Jackson Harper <[email protected]>
  2184. * TextBoxBase.cs: Move the if value the same bail check up, we
  2185. don't want to empty the document if it is already empty, this
  2186. seems to severly mess up the caret. TODO: I should probably fix
  2187. the empty statement to update teh caret somehow.
  2188. 2006-10-03 Chris Toshok <[email protected]>
  2189. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  2190. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  2191. reflection, an internal row type, properties on said type, etc.)
  2192. will work with our datagrid. Fixes #79531.
  2193. 2006-10-03 Alexander Olk <[email protected]>
  2194. * FileDialog.cs: Don't crash if a path is not accessible
  2195. (System.UnauthorizedAccessException). Fixes #79569.
  2196. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  2197. a ':' too. Return unknown icon for those paths/files.
  2198. 2006-10-03 Sebastien Pouliot <[email protected]>
  2199. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  2200. GetContainerControl returns null.
  2201. 2006-10-02 Chris Toshok <[email protected]>
  2202. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  2203. call to XGetWindowAttributes instead of "handle". fixes an X
  2204. error using notifyicon after the NotifyIconWindow to Form base
  2205. class switch.
  2206. 2006-10-02 Chris Toshok <[email protected]>
  2207. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  2208. server grab and looping we need to do to get down to the most
  2209. deeply nested child window.
  2210. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  2211. QueryPointer again after the WarpPointer so we can generate a
  2212. proper (fake) MotionNotify event to be enqueued in the destination
  2213. window's queue.
  2214. (GetCursorPos): call QueryPointer.
  2215. Fixes #79556.
  2216. 2006-10-02 Jackson Harper <[email protected]>
  2217. * NotifyIcon.cs: Derive the notify icon from a form, so things
  2218. like FindForm work on it.
  2219. - Swallow the WM_CONTEXTMENU message, since that is generated on
  2220. mouse down, and context menu is a mouse up kinda guy. I believe
  2221. the correct fix here is probably to make the notify icon entirely
  2222. NC area, but this seems to work fine for anyone not manipulating
  2223. WndProc.
  2224. 2006-10-02 Jonathan Pobst <[email protected]>
  2225. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  2226. ToolStripItemCollection.cs, ToolStripLabel.cs,
  2227. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  2228. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  2229. Initial implementation.
  2230. * TextRenderer.cs: Provide padding to MeasureText.
  2231. 2006-10-02 Sebastien Pouliot <[email protected]>
  2232. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  2233. of ButtonBaseAccessibleObject. Fix bug #79552.
  2234. 2006-10-02 Jackson Harper <[email protected]>
  2235. * MdiWindowManager.cs: When maximizing use the containers client
  2236. rect, not it's bounds, so nc area is accounted correctly.
  2237. - Use the parent form's size for the menu position, since the
  2238. client isn't always the full form size.
  2239. 2006-10-01 Chris Toshok <[email protected]>
  2240. * ScrollableControl.cs: make sure neither right_edge or
  2241. bottom_edge are < 0, since they're used as LargeChange for the
  2242. horiz/vert scrollbars respectively. Fixes #79539.
  2243. 2006-10-01 Chris Toshok <[email protected]>
  2244. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  2245. the xplatuix11 code can cause us to destroy/recreate our handle.
  2246. * XplatUIX11.cs
  2247. (SystrayAdd):
  2248. - this code can be invoked many times for the same Hwnd. Make
  2249. sure we only destroy the client window once (the first time this
  2250. method is called). This fixes bug #79544.
  2251. - Remove the call to the improperly bound XSync. why we had two
  2252. bindings to this, I will never know, but this call resulted in
  2253. events being discarded from the queue(!).
  2254. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  2255. not our current state but the state we wish to be in. So, 0 if
  2256. we don't want to be mapped. Change it to 1.
  2257. (SystrayRemove): The XEMBED spec makes mention of the fact that
  2258. gtk doesn't support the reparent of client windows away from the
  2259. embedder. Looking at gtksocket-x11.c seems to agree with this.
  2260. The only avenue we have for removing systray icons is to destroy
  2261. them. We don't want the handle to go away for good, though, so
  2262. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  2263. #79545.
  2264. 2006-10-01 Chris Toshok <[email protected]>
  2265. * Form.cs (WndProc): inline the native_enabled variable usage into
  2266. the cases in which it's used. Fixes #79536.
  2267. 2006-09-29 Mike Kestner <[email protected]>
  2268. * ListView.cs : toggle the selection state for ctrl clicks in
  2269. multiselect mode. [Fixes #79417]
  2270. 2006-09-29 Mike Kestner <[email protected]>
  2271. * ListView.cs : kill CanMultiSelect and refactor the selection
  2272. code to support multiselection in the absence of mod keys. Steal
  2273. arrow/home/end keys by overriding InternalPreProcessMessage to
  2274. restore regressed keynav behavior.
  2275. [Fixes #79416]
  2276. 2006-09-29 Jackson Harper <[email protected]>
  2277. * MdiClient.cs: Repaint the titlebars when the active window is
  2278. changed.
  2279. 2006-09-29 Chris Toshok <[email protected]>
  2280. * Application.cs: when entering a runloop with a modal, make sure
  2281. the hwnd is enabled. Fixes #79480.
  2282. 2006-09-29 Chris Toshok <[email protected]>
  2283. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  2284. when ListManager.CanAddRows == false, bump us back one.
  2285. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  2286. listmanager.CanAddRows check. This makes ArrayLists uneditable
  2287. using a datagrid, which is not right.
  2288. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  2289. is an IEditable, but call property_descriptor.SetValue regardless.
  2290. fixes #79435.
  2291. 2006-09-29 Chris Toshok <[email protected]>
  2292. * DataGridBoolColumn.cs: we need to test equality in the face of
  2293. possible null values (as is the case with the default NullValue).
  2294. This patch keeps us from crashing in that case.
  2295. 2006-09-29 Jackson Harper <[email protected]>
  2296. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  2297. here, since it will get called for every node collection in the
  2298. tree. This is now done in the treeview once the sorting is
  2299. finished.
  2300. * TreeView.cs: Recalculate the visible order, and update the
  2301. scrollbars after sorting, set the top nope to the root so that the
  2302. recalc actually works.
  2303. 2006-09-29 Chris Toshok <[email protected]>
  2304. * LinkLabel.cs: more handling of the default link collection in
  2305. the face of LinkArea manipulation. The default link collection
  2306. contains 1 element (start=0,length=-1). If the user sets LinkArea
  2307. to anything and the links collection is the default, clear it.
  2308. Then only add the link if its nonempty. Fixes #79518.
  2309. 2006-09-29 Chris Toshok <[email protected]>
  2310. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  2311. piece correctly when we hit a '\n'. Fixes #79517.
  2312. 2006-09-29 Chris Toshok <[email protected]>
  2313. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  2314. change the binding of gdk_init_check to take two IntPtr's, and
  2315. pass IntPtr.Zero for both of them. Fixes #79520.
  2316. 2006-09-29 Mike Kestner <[email protected]>
  2317. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  2318. [Fixes #78779]
  2319. 2006-09-28 Jackson Harper <[email protected]>
  2320. * XplatUIX11.cs: When translating NC messages make sure we go from
  2321. whole window to screen, not client window to screen.
  2322. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  2323. method doesn't exist
  2324. - Skip over controls that aren't forms when arranging.
  2325. 2006-09-28 Jackson Harper <[email protected]>
  2326. * XplatUIWin32.cs: Clip the rect to the parent window.
  2327. * XplatUIStructs.cs: Add clipping modes struct.
  2328. * InternalWindowManager.cs: New private method that factors title
  2329. bar heights in when calculating the pos of an NC mouse message.
  2330. - Use SendMessage to force a paint when the form's size is changed
  2331. instead of painting the decorations immediately.
  2332. - Don't let the NC button click messages get to DefWndProc,
  2333. because they will attempt to handle windowing themself, and this
  2334. messes up z-order (it will put them in front of the scrollbars).
  2335. * XplatUIX11.cs: Make sure that we don't reset window managers if
  2336. we already have one (ie the window is an MDI window).
  2337. 2006-09-28 Chris Toshok <[email protected]>
  2338. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  2339. menu code really needs going over.
  2340. 2006-09-27 Chris Toshok <[email protected]>
  2341. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  2342. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  2343. window is maximizable. So, we need to make sure that even if we
  2344. clear the border/wm frame of those functions, they're still
  2345. available (basically, we remove the decoration without removing
  2346. the function). Half the fix for #79338.
  2347. 2006-09-27 Chris Toshok <[email protected]>
  2348. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  2349. Fixes bug #79515.
  2350. 2006-09-27 Chris Toshok <[email protected]>
  2351. * Splitter.cs: reorder things a bit so that we don't actually
  2352. draw/move the splitter until after calling OnSplitterMoving. This
  2353. lets users cancel/disallow the movement by explicitly setting
  2354. event.SplitX/SplitY. Fixes #79372.
  2355. 2006-09-27 Jackson Harper <[email protected]>
  2356. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  2357. because it is most likely on a window being destroyed, and that
  2358. will give us an X11 error.
  2359. 2006-09-27 Chris Toshok <[email protected]>
  2360. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  2361. the dropdown button now toggles between showing and hiding the
  2362. dropdown. Also, get rid of dropdown_form_showing and just use
  2363. dropdown_form.Visible. We still don't do a grab, but I'll leave
  2364. that part to someone who has handled Capture-fu before.
  2365. 2006-09-27 Chris Toshok <[email protected]>
  2366. * DataGrid.cs: return false if alt isn't pressed when '0' is
  2367. pressed. this keeps the '0' key from being swallowed, and fixes
  2368. bug #79350.
  2369. 2006-09-27 Chris Toshok <[email protected]>
  2370. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  2371. Calling Refresh (in response to a scrollbar event) screws up the
  2372. scrollbar painting. Fixes bug #78923.
  2373. 2006-09-27 Chris Toshok <[email protected]>
  2374. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  2375. then insert into hashtable" blocks threadsafe.
  2376. 2006-09-27 Chris Toshok <[email protected]>
  2377. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  2378. baseclass's, since otherwise the
  2379. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  2380. effect. This gets the close button back in messageboxes.
  2381. 2006-09-27 Chris Toshok <[email protected]>
  2382. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  2383. flag, not just != 0. this makes flags that are actually multiple
  2384. bits (like WS_CAPTION) work. fixes bug #79508.
  2385. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  2386. * PageSetupDialog.cs: add support for getting and settings the
  2387. paper size, source and orientation.
  2388. 2006-09-26 Chris Toshok <[email protected]>
  2389. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  2390. and caption == "", we need to remove the resize handles as well as
  2391. the title bar.
  2392. * Control.cs (set_Text): turns out that setting Text on a form
  2393. should change the WM styles on the window, since if ControlBox ==
  2394. false, the only way to get a window border is to have a non-""
  2395. Text property. check winforms/forms/text.cs for an example. so,
  2396. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  2397. update both window styles and title. This fixes a lot of dialogs
  2398. (including the preferences dialog in MonoCalendar.)
  2399. 2006-09-26 Chris Toshok <[email protected]>
  2400. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  2401. control isn't a Form), call Win32ShowWindow to hide the window,
  2402. but don't update the control Visible property. When we reparent
  2403. back to a parent control, call SetVisible in order for the
  2404. window's visibility to be reinstated.
  2405. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  2406. the FosterParent.
  2407. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  2408. call for good, since it breaks MonoCalendar (and other things I'm
  2409. sure.) Also, set all_controls to null *after* the owner calls,
  2410. which end up regenerating it.
  2411. (ChangeParent): allow new_parent to be == null, passing
  2412. IntPtr.Zero down to XplatUI.
  2413. this fixes #79294 the right way.
  2414. 2006-09-26 Mike Kestner <[email protected]>
  2415. * GridEntry.cs : internal SetParent method.
  2416. * PropertyGrid.cs : attach to property changed on the proper
  2417. target if we have a hierarchical grid with subobjects. Setup
  2418. GridItem.Parent for hierarchical items.
  2419. * PropertyGridView.cs : Set value on the correct target for
  2420. hierarchical grids. [Fixes #78903]
  2421. 2006-09-26 Chris Toshok <[email protected]>
  2422. * Control.cs (ChildNeedsRecreating): this should return true if
  2423. either we're being recreated and the child is in our list, or our
  2424. parent is waiting for our recreation.
  2425. 2006-09-26 Chris Toshok <[email protected]>
  2426. * Control.cs (ControlCollection.Remove): reinstate the
  2427. value.Hide() call as suggested in bug #79294.
  2428. 2006-09-26 Sebastien Pouliot <[email protected]>
  2429. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  2430. coordinates (versus a relative move).
  2431. 2006-09-26 Chris Toshok <[email protected]>
  2432. * Control.cs: rework child recreation a little bit. It turns out
  2433. that we race between the DestroyNotify the WM_DESTROY message. If
  2434. the parent gets its DestroyNotify before the child gets the
  2435. WM_DESTROY message, the child ends up not recreating (since the
  2436. parent finishes its recreation on DestroyNotify, and the child
  2437. checks ParentIsRecreating.)
  2438. So, instead we store off a list of all the child controls which
  2439. need to be recreated when the parent control starts to recreate
  2440. itself. Then, when child controls get their WM_DESTROY message we
  2441. check to see if they're in the parent's pending recreation list,
  2442. and if so, we recreate. This removes all dependency on ordering
  2443. from the code and fixes the initial MonoCalendar upgrade dialog.
  2444. 2006-09-26 Jackson Harper <[email protected]>
  2445. * TextControl.cs: Use the Line to get the length of the line,
  2446. since soft line breaks can change the end line.
  2447. 2006-09-26 Chris Toshok <[email protected]>
  2448. * Control.cs (ControlCollection.AddImplicit): don't add the
  2449. control again if it's already in one of our lists. This keeps us
  2450. from adding controls over and over again for comboboxes when their
  2451. handle gets recreated (as the combobox adds implicit controls in
  2452. OnHandleCreated). Fixes the X11 errors in bug #79480.
  2453. 2006-09-26 Jackson Harper <[email protected]>
  2454. * TextControl.cs: When deleting characters make sure that any
  2455. orphaned zero lengthed tags get deleted.
  2456. - Fix ToString for zero lengthed tags.
  2457. 2006-09-25 Jackson Harper <[email protected]>
  2458. * TextControl.cs: When getting a tag at the location there can be
  2459. multiple tags at the same spot, these are 0-lengthed tags that
  2460. appear when extra formatting has been stuck in a location. We
  2461. need to pull out the last of these 0 lengthed tags.
  2462. 2006-09-25 Jackson Harper <[email protected]>
  2463. * TextControl.cs: Fix print out in debug method.
  2464. * TextBoxBase.cs: When text is set bail if we are setting to the
  2465. previous value.
  2466. 2006-09-24 Alexander Olk <[email protected]>
  2467. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  2468. It is now possible to change the selected index in a FontXXXListBox
  2469. with the up and down arrow keys from the FontXXXTextBoxes.
  2470. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  2471. FontXXXListBoxes to match ms.
  2472. 2006-09-22 Sebastien Pouliot <[email protected]>
  2473. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  2474. anyone can dispose it, anytime. All other properties returns enums,
  2475. structs or basic types so they don't need such tricks.
  2476. 2006-09-22 Jackson Harper <[email protected]>
  2477. * XplatUI.cs:
  2478. * XplatUIWin32.cs:
  2479. * Clipboard.cs:
  2480. * DataFormats.cs:
  2481. * XplatUIOSX.cs:
  2482. * XplatUIDriver.cs: Update interface to add a primary selection
  2483. flag, so the driver can use the primary selection buffer if
  2484. needed.
  2485. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  2486. * RichTextBox.cs: We need to supply the data object to paste now
  2487. (so we can choose to supply CLIPBOARD or PRIMARY).
  2488. * TextBoxBase.cs: Supply data object to paste (see above).
  2489. - Middle click uses the primary selection data object.
  2490. 2006-09-21 Chris Toshok <[email protected]>
  2491. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  2492. of SetWMStyles. It's still a rat's nest and is largely
  2493. order-dependent which I dislike immensely. This also fixes the X
  2494. button disappearing from toplevel forms.
  2495. 2006-09-21 Mike Kestner <[email protected]>
  2496. * ListBox.cs: move Jordi's click/dblclick raising code to the
  2497. mouse up handler.
  2498. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  2499. * ListBox.cs: Fixes 79450
  2500. 2006-09-21 Mike Kestner <[email protected]>
  2501. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  2502. to deal with people updating the TreeNodeCollection after the tree
  2503. is disposed. "Fixes" 79330.
  2504. 2006-09-20 Jackson Harper <[email protected]>
  2505. * TextControl.cs: Push the cursor record onto the undo stack
  2506. before the delete action. This fixes 78651.
  2507. 2006-09-20 Jonathan Chambers <[email protected]>
  2508. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  2509. CreateParams. Fixes 79329.
  2510. 2006-09-19 Chris Toshok <[email protected]>
  2511. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  2512. things up a bit. First, get rid of the NetAtoms array (and the NA
  2513. enum), and just embed the atoms as static fields. Also, add a
  2514. couple of functions (StyleSet and ExStyleSet) to clean up all the
  2515. bitmask testing of styles.
  2516. * X11Structs.cs: remove the NA enum, not needed anymore.
  2517. 2006-09-19 Chris Toshok <[email protected]>
  2518. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  2519. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  2520. added cleanup to get MessageBox titles appearing again, which were
  2521. broken by my earlier fix for caption-less/ControlBox-less windows.
  2522. 2006-09-18 Jonathan Pobst <[email protected]>
  2523. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  2524. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  2525. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  2526. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  2527. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  2528. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  2529. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  2530. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  2531. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  2532. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  2533. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  2534. Inital import.
  2535. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  2536. ToolStripButton.cs: Stubs needed for above.
  2537. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  2538. 2006-09-15 Chris Toshok <[email protected]>
  2539. * XplatUIX11.cs:
  2540. - make the MessageQueues hashtable Synchronized.
  2541. - SendMessage: if the Hwnd is owned by a different thread, use the
  2542. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  2543. thread. Fixes bug #79201.
  2544. 2006-09-15 Chris Toshok <[email protected]>
  2545. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  2546. ControlBox == false, we disallow maximize/minimize/close. If the
  2547. form Caption is "" we also disallow move (and get rid of the Title
  2548. decoration). Unfortunately, regardless of how things are set,
  2549. we're stuck with the Title and WM menu.
  2550. 2006-09-15 Chris Toshok <[email protected]>
  2551. * Application.cs: add locking around the static message_filters
  2552. ArrayList, part of #79196.
  2553. 2006-09-15 Chris Toshok <[email protected]>
  2554. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  2555. Form.ControlBox == false, the window has no titlebar nor resize
  2556. handles. fixes bug #79368.
  2557. 2006-09-15 Chris Toshok <[email protected]>
  2558. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  2559. >= 0. Fixes bug #79370.
  2560. 2006-09-15 Jonathan Pobst <[email protected]>
  2561. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  2562. * Control.cs:
  2563. Add properties: LayoutEngine, Margin, DefaultMargin.
  2564. Add method: GetPreferredSize.
  2565. Move layout logic from PerformLayout to layout engines.
  2566. 2006-09-13 Chris Toshok <[email protected]>
  2567. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  2568. fix for #79326 broke #78718, so this change addresses that.
  2569. - in SendWMDestroyMessages remove the call to
  2570. CleanupCachedWindows, since we might be recreating the control and
  2571. need to maintain the references to right Hwnd handles. Also, set
  2572. the zombie flag to true for each of the children in the hierarchy
  2573. instead of calling hwnd.Dispose. This will cause GetMessage to
  2574. ignore all events for the window except for DestroyNotify.
  2575. - In GetMessage, ignore messages except for DestroyNotify for
  2576. zombie hwnds.
  2577. * Control.cs: revert the is_recreating fix from the last
  2578. ChangeLog. It's definitely "right", but it breaks switching from
  2579. an MDI form to a non-MDI form. Will need to revisit that.
  2580. * Hwnd.cs: add a zombie flag, which means "the
  2581. client_window/whole_window handles are invalid, but we're waiting
  2582. for the DestroyNotify event to come in for them". Set the flag to
  2583. false explicitly if setting WholeWindow/ClientWindow, and also
  2584. when Disposing.
  2585. 2006-09-13 Chris Toshok <[email protected]>
  2586. * XplatUIX11.cs: rework window destruction slightly.
  2587. - when destroying the windows associated with a control, we don't
  2588. need 2 separate XDestroyWindow calls. Just the one for the
  2589. whole_window (or for client_window if whole_window is somehow
  2590. IntPtr.Zero -- can this happen?) is enough.
  2591. - reworked SendWMDestroyMessages slightly, so we always dispose
  2592. the child control hwnd's after sending the messages.
  2593. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  2594. the two places it was used (one was even using hwnd.Handle and the
  2595. other hwnd.client_window. ugh), adding another call in
  2596. SendWMDestroyMessages. We need this new call because now the
  2597. DestroyNotify events in the queue will be ignored for the child
  2598. controls (as their hwnd's were disposed, and the window id's
  2599. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  2600. - this fixes bug #79326.
  2601. 2006-09-13 Chris Toshok <[email protected]>
  2602. * Control.cs: don't always set is_recreating to false at the end
  2603. of RecreateHandle, since sometimes we're not done (and won't be
  2604. until WndProc handles the WM_DESTROY message). Also, set
  2605. is_recreating to false in the WM_DESTROY handling code. Part of
  2606. the fix for bug #79326.
  2607. 2006-09-13 Miguel de Icaza <[email protected]>
  2608. * X11DesktopColors.cs: Start the droppage of debugging messages.
  2609. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  2610. 2006-09-13 Jonathan Pobst <[email protected]>
  2611. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  2612. 2006-09-12 Chris Toshok <[email protected]>
  2613. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  2614. to create it using SetDataSource. Fixes bug #79151.
  2615. 2006-09-11 Chris Toshok <[email protected]>
  2616. * XEventQueue.cs: add a DispatchIdle property.
  2617. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  2618. either the queue is null, or the queue has DispatchIdle set to
  2619. true.
  2620. (DoEvents): set queue.DispatchIdle to false around the
  2621. peek/translate/dispatch message loop in this method. This keeps
  2622. Application.Doevents from emitting idle events. Part of the fix
  2623. for #78823.
  2624. 2006-09-11 Chris Toshok <[email protected]>
  2625. * DataGrid.cs (set_DataSource): make this work for both the
  2626. winforms/datagrid test and ReportBuilder. It seems as though when
  2627. we've created a ListManager (or maybe it's if we have a
  2628. BindingContext?), when we set the DataSource it clears the
  2629. DataMember to "". otherwise we reuse the datamember. Fixes bug
  2630. #79333.
  2631. 2006-09-11 Chris Toshok <[email protected]>
  2632. * XplatUIX11.cs: deal with queue being null, which happens in all
  2633. the Clipboard functions. Fixes one of the two problems mentioned
  2634. in #78612.
  2635. 2006-09-11 Chris Toshok <[email protected]>
  2636. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  2637. button on various spots (including outside the menu) works closer
  2638. to MS, and doesn't crash. Fixes #79343.
  2639. 2006-09-11 Gert Driesen <[email protected]>
  2640. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  2641. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  2642. and the internal comparer is set. When a new ListViewItemSorter is set,
  2643. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  2644. was specified. No further processing is necessary if SortOrder is set
  2645. to it's current value. If Sorting is modified to None, and View is
  2646. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  2647. (either custom or our internal ItemComparer) to null, on 1.0 profile
  2648. only set item_sorter to null if its our internal IComparer. If Sorting
  2649. is modified to Ascending or Descending, then use our internal IComparer
  2650. if none is set, and if the current IComparer is our internal one then:
  2651. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  2652. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  2653. Enum.IsDefined to verify whether a valid View value is specified in
  2654. its setter. Automatically sort listview items when listview is
  2655. created. In Sort, do nothing if ListView is not yet created, or if
  2656. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  2657. to None or ListViewItemSorter was set to null). Added Sort overload
  2658. taking a bool to indicate whether the ListView should be redrawn when
  2659. items are sorted (we use this in ListViewItemCollection to avoid double
  2660. redraws). Modified our internal IComparer to take the sort order into
  2661. account. In Add and AddRange methods of ListViewItemCollection, also
  2662. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  2663. view), but use overload with noredraw option to avoid double redraw.
  2664. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  2665. true when View is Tile, and do the same when attempting to set View to
  2666. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  2667. for selected/checked indices, as it involves overhead when sorting is
  2668. done while these collections are not used all that often. Instead
  2669. we'll build the indices on demand. Modified IList implementation of
  2670. CheckedIndexCollection to use public methods if object is int.
  2671. Modified CheckedListViewItemCollection to hide checked items if
  2672. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  2673. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  2674. IList implementation in SelectedIndexCollection to use public methods
  2675. if object is int. Modified SelectedListViewItemCollection to hide
  2676. selected items if listview is not yet created.
  2677. * ListViewItem.cs: CheckedIndices list no longer needs to be
  2678. maintained separately (see ListView changes). Also clone font, fixes
  2679. test failure.
  2680. 2006-09-11 Mike Kestner <[email protected]>
  2681. * ComboBox.cs: if we are updating the contents of the currently
  2682. selected index, refresh the control or the textbox selection.
  2683. [Fixes #79066]
  2684. 2006-09-11 Mike Kestner <[email protected]>
  2685. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  2686. the 'specified' logic has been moved there. This seems like a bug
  2687. in Control.cs, since our current SetBoundsCore completely ignores
  2688. the specified parameter. Peter's commit seems to indicate that is
  2689. the way the MS control implementation works. [Fixes #79325]
  2690. 2006-09-10 Jonathan Chambers <[email protected]>
  2691. * XplatUI.cs: Set default_class_name to be composed
  2692. of current domain id. This allows MWF to be loaded in multiple
  2693. domains on Win32.
  2694. 2006-09-09 Miguel de Icaza <[email protected]>
  2695. * X11Keyboard.cs: If we are unable to obtain the input method, do
  2696. not call CreateXic to create the input context. Should fix
  2697. #78944/79276.
  2698. 2006-09-08 Alexander Olk <[email protected]>
  2699. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  2700. Simplified gnome support by adding more pinvokes to get the
  2701. icon for a file or mime type.
  2702. 2006-09-08 Jackson Harper <[email protected]>
  2703. * MenuAPI.cs: Deslect popup context menu items before closing the
  2704. window, so that you don't see the previously selected item
  2705. selected when you reopen the menu.
  2706. * TextControl.cs: Update the cursor position even if we don't have
  2707. focus. This fixes typing in things like the ComboBox. I'm not
  2708. totally sure we should always set the visibility if we don't have
  2709. focus, but couldn't find any corner cases where the cursor showed
  2710. up when it shouldn't.
  2711. 2006-09-08 Chris Toshok <[email protected]>
  2712. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  2713. our arrays are length 256. & 0xff before indexing. Fixes the
  2714. crash in bug #78077.
  2715. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  2716. * ThemeWin32Classic.cs:
  2717. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  2718. is true. Handle that check box too.
  2719. 2006-09-07 Chris Toshok <[email protected]>
  2720. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  2721. 79244.
  2722. 2006-09-07 Chris Toshok <[email protected]>
  2723. * Control.cs: in set_BackColor only do the work if
  2724. background_color != value.
  2725. * XplatUIX11.cs: move the clearing of invalid areas (both client
  2726. and nc) to the same block of code where we set (nc_)expose_pending
  2727. to false. That is, move it from PaintEventEnd to PaintEventStart,
  2728. so things that cause invalidates from within OnPaint will trigger
  2729. another call to OnPaint. Fixes bug #79262.
  2730. 2006-09-07 Alexander Olk <[email protected]>
  2731. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  2732. * FileDialog.cs: Fix typo
  2733. 2006-09-07 Jackson Harper <[email protected]>
  2734. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  2735. for tab pages if they have any.
  2736. 2006-09-06 Mike Kestner <[email protected]>
  2737. * Splitter.cs: use the "current" rect when finishing drag handle
  2738. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  2739. 2006-09-06 Mike Kestner <[email protected]>
  2740. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  2741. support offset splitters. [Fixes #79298]
  2742. 2006-09-06 Alexander Olk <[email protected]>
  2743. * Mime.cs: Fixed a bug that could override the global mime type
  2744. result.
  2745. 2006-09-05 Jackson Harper <[email protected]>
  2746. * TabControl.cs: Better calculation method for setting the slider
  2747. pos. Prevents crashes on really wide tabs.
  2748. - Draw Image on tab pages if an image list is used.
  2749. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  2750. * MonthCalendar.cs: When Font changes, the Size should be
  2751. updated to fit the new font's space requirements.
  2752. 2006-09-02 Alexander Olk <[email protected]>
  2753. * ListBox.cs: If the items are cleared with Items.Clear set
  2754. top_index to 0.
  2755. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  2756. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  2757. fire DateChanged event instead of DateSelected event when
  2758. the date was changed by keyboard interaction.
  2759. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  2760. * DateTimePicker.cs: Handle DateChanged for the associated
  2761. month_calendar control, and set month_calendar.Font from
  2762. OnFontChanged method, as well as resize the height of the
  2763. control when needed. Make PreferredHeight proportional.
  2764. 2006-09-01 Chris Toshok <[email protected]>
  2765. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  2766. properties.
  2767. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  2768. 2006-09-01 Peter Dennis Bartok <[email protected]>
  2769. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  2770. for decorations (Fixes #79219)
  2771. 2006-09-01 Mike Kestner <[email protected]>
  2772. * ComboBox.cs: first stab at sorting plus some selection handling
  2773. fixes to bring us more in line with MS behavior. Also switches back
  2774. to index based selection. Alternative patches for index-based
  2775. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  2776. and [email protected] on bug 78848. I assume they were similar to this
  2777. code I've had simmering in my tree forever.
  2778. [Fixes #78848]
  2779. 2006-09-01 Chris Toshok <[email protected]>
  2780. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  2781. when setting list position guard against ending up with a -1 index
  2782. (the other part of the fix for #78812). Should probably make sure
  2783. we don't need the analogous fix in the ItemDeleted case.
  2784. * DataGrid.cs:
  2785. - in SetDataSource, work around the fact that the way
  2786. OnBindingContextChanged is invoked will cause us to re-enter this
  2787. method. I'll remove the hack once I investigate
  2788. OnBindingContextChanged.
  2789. - fix the logic in set_DataSource and set_DataMember (basically
  2790. what to do if the other of the two is null.)
  2791. - in OnListManagerItemChanged, we need to take into account the
  2792. edit row when deciding whether or not to call RecreateDataGridRows
  2793. (part of the fix for #78812).
  2794. 2006-09-01 Jackson Harper <[email protected]>
  2795. * Splitter.cs: Don't do anything if there is no control to affect
  2796. (prevents us from crashing in weird tet cases).
  2797. * TreeView.cs: Bounding box for the mouse movement reverting
  2798. focus/selection back to previously selected node. This matches
  2799. MS, and makes the tree a lot more useable.
  2800. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  2801. use clipping so they are not drawn. This fixes when the control
  2802. is set to have a transparent background, or if it was over an
  2803. image.
  2804. 2006-09-01 Alexander Olk <[email protected]>
  2805. * MimeIcon.cs: Improved handling for reading default icons when
  2806. using gnome (2.16 made it necessary). Check and read svg icons
  2807. first, then 48x48 and then 32x32 icons.
  2808. 2006-08-31 Chris Toshok <[email protected]>
  2809. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  2810. visible.
  2811. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  2812. ProcessKeyPreview. Fixes part of #77806.
  2813. * DataGrid.cs: big patch.
  2814. - revert the queueing up of DataSource/DataMember if inside
  2815. BeginInit/EndInit calls. That's not the way the datagrid achieves
  2816. its delayed databinding. Instead, call SetDataSource in
  2817. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  2818. #78811.
  2819. - Also, it wasn't mentioned in #78811, but the test case exhibits
  2820. behavior that was lacking in our datagrid implementation - Columns
  2821. that have mapping names that don't exist in the datasource's
  2822. properties aren't shown. Yuck. To fix this I added the bound
  2823. field to the column style, and basically any calculation to figure
  2824. out anything about columns uses a loop to find the bound columns.
  2825. still need to investigate if I can cache an array of the bound
  2826. columns or if the indices must be the same.
  2827. - When setting CurrentCell, we no longer abort if the cell being
  2828. edited was in the add row. This fixes the other part of #77806.
  2829. - The new code also fixes #78807.
  2830. * ThemeWin32Classic.cs: perpetrate the same disgusting
  2831. column.bound field hack, and only render bound fields.
  2832. 2006-08-31 Chris Toshok <[email protected]>
  2833. * DataGridColumnStyle.cs: add bound field. this field is true if
  2834. the datasource has a property corresponding to the mapping name.
  2835. * DataGridTableStyle.cs: set the bound field on the column styles
  2836. depending on whether or not we have a column for that property.
  2837. 2006-08-31 Peter Dennis Bartok <[email protected]>
  2838. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  2839. splitter control (fixes #79228)
  2840. 2006-08-31 Chris Toshok <[email protected]>
  2841. * DataGridColumnStyle.cs: we need to delay the assignment of
  2842. property descriptor until the last possible moment due to the lazy
  2843. databinding stuff in the datagrid. Also, fix the exceptions
  2844. thrown by CheckValidDataSource to match MS.
  2845. 2006-08-31 Jackson Harper <[email protected]>
  2846. * Form.cs: When activated select the active control, if there is
  2847. no active control, we select the first control.
  2848. * XplatUIX11.cs: If there is no focus control when we get a
  2849. FocusIn event, find the toplevel form and activate it. This
  2850. occurs when you popup a window, it becomes the focus window, then
  2851. you close that window, giving focus back to the main window.
  2852. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  2853. * MonthCalendar.cs:
  2854. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  2855. as StringFormat with Center alignments in MonthCalendar,
  2856. instead of creating new ones when drawing the control.
  2857. Also, draw the month name in bold style.
  2858. 2006-08-30 Peter Dennis Bartok <[email protected]>
  2859. * Control.cs:
  2860. - PerformLayout(): It would seem MS performs the fill even if the
  2861. control is not visible (part of #79218 fix)
  2862. - ResetBackColor(): Use the setter to reset the color, to allow
  2863. overriders to catch the change.
  2864. * Form.cs:
  2865. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  2866. - CreateHandle(): dito (part of $79218 fix)
  2867. - Don't set an icon if we have a dialog
  2868. * ScrollableControl.cs:
  2869. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  2870. - ScrollIntoView(): No need to scroll if control is already visible
  2871. (resolves fixme and fixes #79218)
  2872. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  2873. * MonthCalendar.cs: Change proportions in SingleMonthSize
  2874. to match the aspect of the original control.
  2875. 2006-08-29 Alexander Olk <[email protected]>
  2876. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  2877. get updated when they get maximized.
  2878. 2006-08-29 Peter Dennis Bartok <[email protected]>
  2879. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  2880. 2006-08-29 Chris Toshok <[email protected]>
  2881. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  2882. 2006-08-29 Jackson Harper <[email protected]>
  2883. * TreeView.cs: Need to track selected node and highlighted node,
  2884. they aren't always the same thing, when the mouse is down on a
  2885. node it is hilighted, but not selected yet.
  2886. - Do the HideSelection stuff right
  2887. - Need to focus on rbutton mouse down. And redraw selection when
  2888. right click is mouse upped.
  2889. 2006-08-29 Mike Kestner <[email protected]>
  2890. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  2891. when SubItems.Count < Columns.Count. [Fixes #79167]
  2892. 2006-08-28 Peter Dennis Bartok <[email protected]>
  2893. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  2894. 2006-08-28 Peter Dennis Bartok <[email protected]>
  2895. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  2896. from X. Only send based on ConfigureNotify if we don't have the
  2897. correct location in hwnd (if the window manager moved us)
  2898. 2006-08-28 Mike Kestner <[email protected]>
  2899. * ListView.cs: remove a TODO.
  2900. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  2901. [Fixes ListView part of #79166]
  2902. 2006-08-28 Mike Kestner <[email protected]>
  2903. * ListView.cs: move wheel handler to parent since it is focused
  2904. instead of the item_control now. [Fixes #79177]
  2905. 2006-08-28 Mike Kestner <[email protected]>
  2906. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  2907. when the control is focused. [Fixes #79171]
  2908. 2006-08-28 Mike Kestner <[email protected]>
  2909. * ListView.cs: size the item and header controls for empty and
  2910. unscrollable views.
  2911. * ThemeWin32Classic.cs: draw disabled backgrounds.
  2912. [Fixes #79187]
  2913. 2006-08-28 Chris Toshok <[email protected]>
  2914. * Form.cs: remove unused "active_form" static field.
  2915. * Hwnd.cs: lock around accesses to static windows collection.
  2916. * Application.cs: lock threads in Exit ().
  2917. 2006-08-28 Chris Toshok <[email protected]>
  2918. * NativeWindow.cs: lock around accesses to window_collection.
  2919. 2006-08-28 Chris Toshok <[email protected]>
  2920. * Control.cs: err, fix this the right way, by locking on controls
  2921. when using it. not by making it synchronized.
  2922. 2006-08-28 Chris Toshok <[email protected]>
  2923. * Control.cs: make the static "controls" field synchronized, as it
  2924. gets updated from multiple threads.
  2925. 2006-08-27 Peter Dennis Bartok <[email protected]>
  2926. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  2927. Prevent other threads from exiting when calling thread sets quit state.
  2928. * XEventQueue.cs: Added PostQuitState property
  2929. 2006-08-27 Chris Toshok <[email protected]>
  2930. * AsyncMethodData.cs: add a slot for the window handle.
  2931. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  2932. window (the destination control's window, not the foster window).
  2933. * Control.cs (BeginInvokeInternal): store the window's handle in
  2934. the AsyncMethodData.
  2935. 2006-08-27 Peter Dennis Bartok <[email protected]>
  2936. * XplatUIX11.cs:
  2937. - PostQuitMessage: Removed resetting S.D display handle, we might have
  2938. another loop started after calling PostQuitMessage (Fixes #79119)
  2939. - Created destructor to reset S.D handle
  2940. 2006-08-27 Peter Dennis Bartok <[email protected]>
  2941. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  2942. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2943. * TextControl.cs (Insert): Update the caret position even if we don't
  2944. have a handle yet, just don't call the driver in that case.
  2945. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  2946. to the end of the new selection text (Fixes #79184)
  2947. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2948. * Form.cs (Activate): Only activate if the handle is created)
  2949. * Control.c:
  2950. - Mark window as invisible when it's disposed
  2951. - Check if window handle is created when setting window visible,
  2952. instead of relying just on the is_created variable
  2953. - Check if object is disposed when creating the control (Fixes #79155)
  2954. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2955. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  2956. when allowing layout again. Otherwise we re-generate the anchoring
  2957. distance to the border again and actually alter what the user wanted
  2958. This is ugly, it'd be better if we used DisplayRectangle instead of
  2959. ClientRectangle for Control.UpdateDistances, but that causes us to
  2960. have other problems (initial anchoring positons would be wrong)
  2961. (Fixes #78835)
  2962. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2963. * Control.cs:
  2964. - The size and location setters shouldn't go directly to
  2965. SetBoundsCore, but to SetBounds, which triggers layout on the
  2966. parent, then calls SetBoundsCore. (Related to fix for #78835)
  2967. - SetBounds: Moved actual location update code into this function
  2968. from SetBoundsCore, to match MS. Added call to PerformLayout if
  2969. we have a parent (to trigger resizing of anchored parents if the
  2970. child size has changed (see testcase for #78835)
  2971. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  2972. new control code
  2973. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  2974. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2975. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  2976. System.Drawing when a toplevel window gets closed; there might
  2977. be other toplevel windows belonging to the same app (Fixes #78052)
  2978. 2006-08-26 Alexander Olk <[email protected]>
  2979. * FileDialog.cs: After reading FileDialog settings from mwf_config
  2980. use Desktop prefix only if a real folder doesn't exist anymore.
  2981. * FontDialog.cs: Added char sets.
  2982. It is now possible to select the font, size or style with the
  2983. textboxes.
  2984. 2006-08-25 Kornél Pál <[email protected]>
  2985. * PrintPreviewDialog.cs: Use assembly name constants.
  2986. 2006-08-23 Peter Dennis Bartok <[email protected]>
  2987. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  2988. scrollbar from whacking it's buttons)
  2989. 2006-08-24 Chris Toshok <[email protected]>
  2990. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  2991. in this patch (aggregating setting Left/Top/Width/Height to
  2992. setting Bounds on the scrollbars), but the crux of the fix is in
  2993. Recalculate, where we scroll by the remaining scroll_position if
  2994. we're hiding a scrollbar. The 2*$5 reward in the comment is
  2995. serious.
  2996. 2006-08-24 Jackson Harper <[email protected]>
  2997. * MdiClient.cs:
  2998. * MdiWindowManager.cs: If the form is made a non-mdi window we
  2999. need to remove the form closed event so that closing forms works
  3000. correctly.
  3001. 2006-08-24 Jackson Harper <[email protected]>
  3002. * Control.cs: Make IsRecreating internal so that the driver can
  3003. check it
  3004. - Temporarily remove the Hide when controls are removed, its
  3005. making a whole bunch of things not work because visibility isn't
  3006. getting reset elsewhere correctly
  3007. * Form.cs: Need to do a full handle recreation when the mdi parent
  3008. is set.
  3009. * XplatUIX11.cs: If we are recreating handles don't dispose the
  3010. HWNDs. What was happening is the handles were being recreated in
  3011. SendWMDestroyMessages, but then flow continued on in that method
  3012. and destroyed the new handles.
  3013. 2006-08-23 Jackson Harper <[email protected]>
  3014. * Form.cs: MdiClient is always at the back of the bus
  3015. * Control.cs: When the order of items in the collection is changed
  3016. we need to reset the all_controls array
  3017. - do the same sorta setup thats done when adding a control when a
  3018. control is set on the collection.
  3019. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3020. * TextBoxBase.cs (get_Text): Return an empty array if our document
  3021. is empty (fixes #79052)
  3022. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3023. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  3024. on WM_SYSCHAR messages (fixes #79053)
  3025. 2006-08-23 Chris Toshok <[email protected]>
  3026. * DataGrid.cs: fix flickering when scrolling vertically.
  3027. 2006-08-23 Chris Toshok <[email protected]>
  3028. * DataGrid.cs (EndEdit): only invalidate the row header when we
  3029. need to.
  3030. 2006-08-23 Chris Toshok <[email protected]>
  3031. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  3032. methods. fixes the flicker when scrolling around.
  3033. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3034. * FileDialog.cs: Making sure the control is created before we get a
  3035. chance to use it with BeginInvoke (Fixes #79096)
  3036. 2006-08-23 Chris Toshok <[email protected]>
  3037. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  3038. width to use when painting the rows.
  3039. 2006-08-23 Peter Dennis Bartok <[email protected]>
  3040. * TextBoxBase.cs:
  3041. - Throw ArgumentException if a negative value is passed to SelectionLength
  3042. - Update the selection end if start is moved. end needs to be always
  3043. after start. (Fixes #79095)
  3044. - Track selection length; MS keeps the selection length even if start
  3045. is changed; reset on all other operations affection selection
  3046. 2006-08-22 Jackson Harper <[email protected]>
  3047. * TreeView.cs: Make sure both scrollbars get displayed and sized
  3048. correctly when the other bar is visible.
  3049. - Use the original clip rectangle for checking if the area between
  3050. the two scrollbars is visible, not the viewport adjusted clipping
  3051. rectangle.
  3052. 2006-08-22 Jackson Harper <[email protected]>
  3053. * Binding.cs: We don't use IsBinding because it requires the
  3054. control to be created, which really shouldn't be necessary just to
  3055. set a property on the control.
  3056. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  3057. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  3058. ArgumentNullReferenceException when the argument is null.
  3059. 2006-08-21 Jackson Harper <[email protected]>
  3060. * Timer.cs: Track the thread that the timer is started in (NOT
  3061. CREATED), this way messages for it will only be triggered on its
  3062. queue.
  3063. * XEventQueue.cs: Track the timers here, this makes timers per
  3064. thread, like MS.
  3065. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  3066. 2006-08-19 Chris Toshok <[email protected]>
  3067. * XplatUIX11.cs: after further communication with pdb, we get the
  3068. best of both worlds. SetZOrder working for un-Mapped windows, and
  3069. no X errors for un-mapped windows.
  3070. 2006-08-19 Chris Toshok <[email protected]>
  3071. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  3072. as it was causing pdn toolbars to not have the correct stacking.
  3073. 2006-08-18 Mike Kestner <[email protected]>
  3074. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  3075. calculation. Not sure why control should ever be setting a negative
  3076. width though. Fixes #78931.
  3077. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  3078. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  3079. null items in ObjectCollection class.
  3080. * ListBox.cs.: Likewise.
  3081. 2006-08-18 Atsushi Enomoto <[email protected]>
  3082. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  3083. as the base method in ThemeWin32Classic should work fine.
  3084. Fixed bug #78607.
  3085. 2006-08-18 Jackson Harper <[email protected]>
  3086. * Binding.cs: When validating if the value entered doesn't convert
  3087. properly reset to the old value.
  3088. * RadioButton.cs: Don't fire click when we get focus.
  3089. 2006-08-18 Jackson Harper <[email protected]>
  3090. * FileDialog.cs: Paint the selection on the directory combobox the
  3091. same way as on MS.
  3092. 2006-08-17 Jackson Harper <[email protected]>
  3093. * ErrorProvider.cs: Don't allow the error control to be selected.
  3094. * Control.cs: Don't send the SetFocus messages, the control
  3095. activation will do this, and if we do it blindly here validation
  3096. does not work.
  3097. 2006-08-17 Jackson Harper <[email protected]>
  3098. * Control.cs:
  3099. * ContainerControl.cs: Make validation events fire in the correct
  3100. order. TODO: For some reason the first validation event is not
  3101. getting fired.
  3102. 2006-08-17 Mike Kestner <[email protected]>
  3103. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  3104. 2006-08-17 Mike Kestner <[email protected]>
  3105. * ComboBox.cs : implement scroll wheel support for popped-down
  3106. state. Fixes #78945.
  3107. 2006-08-17 Jackson Harper <[email protected]>
  3108. * TreeView.cs: Specify treeview actions (old patch that didn't get
  3109. committed for some reason).
  3110. - Don't let the mouse wheel scroll us too far. Just want to make
  3111. the bottom node visible, not scroll it all the ways to the top.
  3112. 2006-08-17 Jackson Harper <[email protected]>
  3113. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  3114. 2006-08-17 Mike Kestner <[email protected]>
  3115. * ComboBox.cs : don't do mouseover selection in simple mode.
  3116. 2006-08-16 Jackson Harper <[email protected]>
  3117. * Form.cs: Fire the closing events for all the mdi child windows
  3118. when a window is closed. If the cancel args are set to true, the
  3119. main window still gets the event fired, but it doesn't not close.
  3120. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  3121. handler, instead of when the button is clicked, so cancelling the
  3122. close works correctly.
  3123. * ComboBox.cs: Send the mouse down to the scrollbar.
  3124. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  3125. * ListBox.cs: When passing 'null' to SelectedItem,
  3126. set SelectedIndex to -1, to unselect items. This is the
  3127. observed behaviour in .Net.
  3128. 2006-08-16 Peter Dennis Bartok <[email protected]>
  3129. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  3130. MS flags saying there won't be any. (fixes #78800)
  3131. * Control.cs (HandleClick): Made virtual
  3132. 2006-08-16 Atsushi Enomoto <[email protected]>
  3133. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  3134. cultures. Fixed bug #78399.
  3135. 2006-08-16 Jackson Harper <[email protected]>
  3136. * Form.cs: Use the MdiClients MdiChildren property to access
  3137. MdiChildren instead of creating the array from the child controls.
  3138. * MdiClient.cs: Maintain a separate array of the mdi children, so
  3139. that insertion order is maintained when the Z-order is changed.
  3140. 2006-08-16 Mike Kestner <[email protected]>
  3141. * ListView.cs : add an ItemComparer and default to it for sorting.
  3142. Fixes #79076, but sorting needs a complete overhaul to be compat with
  3143. MS.
  3144. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3145. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  3146. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3147. * Hwnd.cs (Mapped): Properly traverse the tree
  3148. 2006-08-15 Chris Toshok <[email protected]>
  3149. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  3150. pass manager.Current.GetType() to ParseData. It has to be the
  3151. property type. So, hold off doing the ParseData until we're in
  3152. SetPropertyValue where we know the type. This fixes the crash in
  3153. #78821 but the textbox is still empty.
  3154. 2006-08-15 Chris Toshok <[email protected]>
  3155. * DataGrid.cs:
  3156. - when we're scrolling, only call Edit() again if the
  3157. current cell is still unobscured. Fixes bug #78927.
  3158. - when handling mousedown on a cell, ensure the cell is visible
  3159. before calling Edit.
  3160. - remove the properties from DataGridRow, and remove the
  3161. DataGridParentRow class altogether.
  3162. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3163. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  3164. fire OnTextChanged by ourselves. There's no point calling base,
  3165. we don't set the base value anywhere else. Fixes #78773.
  3166. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  3167. * ListBox.cs: Call CollectionChanged when modifying
  3168. an item from Items indexer, to update the actual items
  3169. in the list box.
  3170. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  3171. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  3172. to match .Net behaviour.
  3173. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3174. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  3175. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3176. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  3177. 2006-08-15 Peter Dennis Bartok <[email protected]>
  3178. * MessageBox.cs: Prevent potential NRE exception.
  3179. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  3180. 2006-08-14 Peter Dennis Bartok <[email protected]>
  3181. * MessageBox.cs: Calculate the owner of a messagebox, also make
  3182. it topmost. Fixes #78753
  3183. 2006-08-14 Chris Toshok <[email protected]>
  3184. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  3185. programmatically move windows. first, set the PPosition hint as
  3186. well as the USPosition hint. Second include some code from pdb
  3187. that sets the window type to NORMAL when we set the transient for
  3188. hint. This is because, in the absence of a window type, metacity
  3189. thinks any window with TransientFor set is a dialog, and refuses
  3190. to let us move it programmatically. fascists.
  3191. 2006-08-14 Peter Dennis Bartok <[email protected]>
  3192. * XplatUIX11.cs: When setting normal hints, take into consideration
  3193. an different hints previously set so we don't delete them (fixes #78866)
  3194. 2006-08-12 Chris Toshok <[email protected]>
  3195. * ToolBarButton.cs: make Layout return a boolean, if something to
  3196. do with the button's layout changed.
  3197. * ToolBar.cs:
  3198. - add another parameter to Redraw, @force, which all existing
  3199. calls set to true.
  3200. - make the Layout function return a boolean which is true if the
  3201. layout has actually changed. Redraw now uses this (and @force)
  3202. to determine when to invalidate. At present the only place
  3203. where @force can be false is the call from OnResize, when
  3204. background_image == null. So, resizing a toolbar when the
  3205. layout doesn't change results in no drawing.
  3206. 2006-08-12 Chris Toshok <[email protected]>
  3207. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  3208. the VScrollBar and HScrollbar reversed. oops.
  3209. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  3210. scrollbars. we were assigning them twice (once in
  3211. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  3212. therefore causing two scrollbar resizes (and redraws?) to happen
  3213. per grid resize.
  3214. 2006-08-12 Chris Toshok <[email protected]>
  3215. * ToolBarButton.cs: redraw the entire button if the theme tells us
  3216. to.
  3217. * Theme.cs: add ToolBarInvalidateEntireButton.
  3218. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  3219. buttons, just the border.
  3220. * ThemeNice.cs: redraw the entire toolbar button since we need to
  3221. draw the highlight image.
  3222. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  3223. we need to redraw the entire button (not just the border).
  3224. 2006-08-11 Peter Dennis Bartok <[email protected]>
  3225. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  3226. for vertical bars. Fixes the mismatches shown by #78513
  3227. 2006-08-11 Alexander Olk <[email protected]>
  3228. * FileDialog.cs: If a saved/remembered path doesn't exist
  3229. anymore, fall back to "Desktop".
  3230. 2006-08-11 Peter Dennis Bartok <[email protected]>
  3231. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  3232. parent. It's apparently legal to not have one
  3233. * XplatUIX11.cs:
  3234. - SetZOrder: Don't try to set Z-Order on an unmapped window
  3235. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  3236. it unless the coordinates are negative
  3237. 2006-08-10 Mike Kestner <[email protected]>
  3238. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  3239. when setting to null per msdn docs. Fixes #78854.
  3240. 2006-08-10 Chris Toshok <[email protected]>
  3241. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  3242. flickering by setting a clip rectangle on the Graphics when we
  3243. need to redraw just a particular menuitem. Also, rename "OnClick"
  3244. to "OnMouseDown" to reflect what it actually is.
  3245. * Form.cs: track the OnMouseDown change.
  3246. 2006-08-10 Peter Dennis Bartok <[email protected]>
  3247. * CommonDialog.cs: Properly inherit the CreateParams from the form
  3248. and only change what we need. Fixes #78865
  3249. 2006-08-10 Chris Toshok <[email protected]>
  3250. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  3251. flickering in flat mode (and most of the flickering in general) by
  3252. only invalidating the button border (and not the entire rectangle)
  3253. when the state changes. A couple of cases still flicker:
  3254. ToggleButtons, and the dropdown arrow case when the user mouse
  3255. ups.
  3256. 2006-08-10 Alexander Olk <[email protected]>
  3257. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  3258. for german keyboards. Numlock state shouldn't affect the behaviour
  3259. of the Del key. Fixes bug #78291.
  3260. 2006-08-10 Chris Toshok <[email protected]>
  3261. * ListControl.cs: remove the items.Clear line from BindDataItems,
  3262. as this is the first thing done by both subclasses in their
  3263. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  3264. passed -1, refresh the list. This gets databinding working when
  3265. the datasource is set on the list before the datasource is
  3266. populated (as in wf-apps/ReportBuilder.)
  3267. * ComboBox.cs: remove the argument to BindDataItems. This call
  3268. should really go away, and be initiated by the ListControl code.
  3269. * ListBox.cs: same.
  3270. 2006-08-09 Peter Dennis Bartok <[email protected]>
  3271. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  3272. if no data is in the document when the control is displayed
  3273. 2006-08-09 Peter Dennis Bartok <[email protected]>
  3274. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  3275. yes (fixes #78806)
  3276. * TextControl.cs:
  3277. - PositionCaret: Allow positioning of caret but don't call methods
  3278. requiring a handle if the window isn't created yet
  3279. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  3280. - owner_HandleCreated: Don't position the caret, just update it's
  3281. location. User might have already set a different position
  3282. 2006-08-09 Peter Dennis Bartok <[email protected]>
  3283. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  3284. windows. Screws up the returned coordinates for child windows.
  3285. Fixes #78825. I'm hoping this doesn't break something, since the
  3286. code was explicitly put in 8 months ago, but no bug was attached.
  3287. Menus still seem to work properly.
  3288. 2006-08-08 Chris Toshok <[email protected]>
  3289. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  3290. supposed to do - delay data binding until the EndInit call. Also,
  3291. make the table style collection's CollectionChangeAction.Refresh
  3292. work properly.
  3293. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  3294. (with action = Refresh) when a consituent table's MappingName is
  3295. changed.
  3296. 2006-08-08 Chris Toshok <[email protected]>
  3297. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  3298. Invalidate, since changing the text can change the size of the all
  3299. toolbar buttons.
  3300. 2006-08-08 Peter Dennis Bartok <[email protected]>
  3301. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  3302. we don't have it yet
  3303. 2006-08-08 Chris Toshok <[email protected]>
  3304. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  3305. dialog, as this causes X errors later on, since we actually
  3306. destroy the window. Instead, .Hide() it.
  3307. 2006-08-08 Peter Dennis Bartok <[email protected]>
  3308. * ComboBox.cs: Added focus reflection for popup window
  3309. * XplatUIX11.cs:
  3310. - Removed transient setting for non-app windows for now, not sure it
  3311. was needed
  3312. - Fixed logic checking if we have captions when deciding
  3313. override_redirect, WS_CAPTION is two bits and a 0 check was not
  3314. sufficient
  3315. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  3316. complicated
  3317. * Form.cs:
  3318. - AddOwnedForm: Don't just add the form to the list, call the property
  3319. to ensure the driver is informed about the ownership as well
  3320. - CreateHandle: Set the TopMost status in the driver if we have an owner
  3321. * XplatUI.cs: Fixed debug statement
  3322. 2006-08-08 Jonathan Pobst <[email protected]>
  3323. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  3324. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  3325. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  3326. TrackBarRenderer.cs: Make constructor private.
  3327. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  3328. * ProfessionalColorTable.cs: Make properties virtual.
  3329. 2006-08-06 Duncan Mak <[email protected]>
  3330. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  3331. is not changing.
  3332. 2006-08-04 Jonathan Pobst <[email protected]>
  3333. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  3334. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  3335. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  3336. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  3337. Initial import of new 2.0 classes.
  3338. 2006-08-04 Jonathan Pobst <[email protected]>
  3339. * Application.cs: Add 2.0 VisualStyles properties.
  3340. 2006-08-04 Jonathan Pobst <[email protected]>
  3341. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  3342. XplatUIX11.cs: Create property to allow access to existing private
  3343. variable "themes_enabled"
  3344. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  3345. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  3346. file size, as otherwise our class libraries fail using windows. Fixes
  3347. bug #78759.
  3348. 2006-08-04 Jackson Harper <[email protected]>
  3349. * Form.cs:
  3350. * XplatUIX11.cs: Move the toolwindow window manager creation into
  3351. the X11 driver, this way on win32 we can let windows create/handle
  3352. the toolwindows.
  3353. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  3354. * PrintDialog.cs: Remove some redundant checks, add some others,
  3355. clean some code, and move the focus to the text boxes when the
  3356. values are incorrect.
  3357. 2006-08-04 Alexander Olk <[email protected]>
  3358. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  3359. 2006-08-03 Alexander Olk <[email protected]>
  3360. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  3361. handled correctly. Fixes bug #79001.
  3362. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  3363. * PrintDialog.cs: The "Copies" numeric up down must have
  3364. set the Minimum property to 1; only if the value is bigger
  3365. than 1, activate "Collate" check box. This is the behaviour of .Net.
  3366. Also modify the Document elements only if it is not null.
  3367. 2006-08-03 Jackson Harper <[email protected]>
  3368. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  3369. length. (We have a larger array then actual node count).
  3370. 2006-08-03 Jackson Harper <[email protected]>
  3371. * ComboBox.cs: Don't show selection by default.
  3372. - The SelectAll isn't needed here, since the focus code should do
  3373. that
  3374. - DDL style lists to manual selection drawing, so when they
  3375. get/lose focus they have to invalidate.
  3376. 2006-08-03 Peter Dennis Bartok <[email protected]>
  3377. * TextBoxBase.cs: Don't always show all selections by default.
  3378. 2006-08-03 Jonathan Pobst <[email protected]>
  3379. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  3380. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  3381. Fixed various typos.
  3382. 2006-08-03 Alexander Olk <[email protected]>
  3383. * Control.cs: Removing the controls in a ControlCollection with
  3384. Clear now hides the controls as expected. Fixes bug #78804.
  3385. 2006-08-03 Jackson Harper <[email protected]>
  3386. * Control.cs: Revert previous focus patch, it breaks reflector.
  3387. 2006-08-03 Jackson Harper <[email protected]>
  3388. * ComboBox.cs: Cleanup selection and focus with the combobox.
  3389. This also eliminates some duplicated keyboard code, since now
  3390. everything is handled by the main class.
  3391. - Make list selection work on mouse up instead of down, to match
  3392. MS.
  3393. 2006-08-02 Jackson Harper <[email protected]>
  3394. * Control.cs: Setting focus needs to go through the whole
  3395. selection mechanism.
  3396. 2006-08-02 Chris Toshok <[email protected]>
  3397. * PrintPreviewDialog.cs: change MinimumSize to use
  3398. base.MinimumSize so it works.
  3399. 2006-08-02 Peter Dennis Bartok <[email protected]>
  3400. * TextControl.cs:
  3401. - UpdateCaret: Added sanity check in case caret isn't defined yet
  3402. - Line.Delete: Now updating selection and caret markers if we're
  3403. transfering a node (Properly fixes #78323)
  3404. - SetSelectionEnd: Added sanity check
  3405. * TextBoxBase.cs: Removed broken attempt to fix #78323
  3406. 2006-08-01 Chris Toshok <[email protected]>
  3407. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  3408. Close() call is handled in Form, not here.
  3409. 2006-08-01 Chris Toshok <[email protected]>
  3410. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  3411. layout/rendering.
  3412. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  3413. for sizes < 100% zoom. The code now aggressively attempts to keep
  3414. from calling document.Print (), and tries not to use the scaling
  3415. g.DrawImage whenever possible (it still does if you scale to >
  3416. 100%, since usually that involves huge images).
  3417. * PrintPreviewControl.cs: hook up the close button.
  3418. 2006-08-01 Jonathan Pobst <[email protected]>
  3419. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  3420. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  3421. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  3422. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  3423. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  3424. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  3425. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  3426. Removed [Serializable] for 2.0 Event Handlers.
  3427. 2006-07-31 Jackson Harper <[email protected]>
  3428. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  3429. * TextControl.cs: Uncomment out the body of this method.
  3430. 2006-07-31 Alexander Olk <[email protected]>
  3431. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  3432. standard cursors.
  3433. 2006-07-31 Peter Dennis Bartok <[email protected]>
  3434. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  3435. that embed TextBox and need selections visible even if textbox is not
  3436. focused to enforce that behaviour.
  3437. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  3438. selection drawing
  3439. 2006-07-31 Peter Dennis Bartok <[email protected]>
  3440. * TextControl.cs:
  3441. - Added new SetSelectionStart/SetSelectionEnd overloads
  3442. - Fixed viewport width assignment to be accurate
  3443. - Adjusted alignment line shift calculations to allow cursor on right
  3444. aligned lines to be always visible at the right border (like MS)
  3445. * TextBoxBase.cs:
  3446. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  3447. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  3448. - CalculateScrollBars: Use ViewPort size instead of window size, to
  3449. properly consider space occupied by the border and scrollbars
  3450. (Fixes #78661)
  3451. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  3452. calculations; no longer leaves artifacts
  3453. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  3454. calculation bugs (Still missing right/center align calculations)
  3455. 2006-07-31 Peter Dennis Bartok <[email protected]>
  3456. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  3457. use of both scroll rect and clip rect, as they do the same.
  3458. 2006-07-31 Peter Dennis Bartok <[email protected]>
  3459. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  3460. in the event handler (fixes #78912)
  3461. 2006-07-31 Chris Toshok <[email protected]>
  3462. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  3463. grid.ListManager.Count, since grid.ListManager might be null.
  3464. This of course begs the question "why are we drawing rows for a
  3465. grid with no list manager (and therefor no rows)?" Fixes the
  3466. crash in bug #78929.
  3467. 2006-07-31 Chris Toshok <[email protected]>
  3468. * RelatedPropertyManager.cs: Don't always chain up to the parent
  3469. ctor. instead, call SetDataSource if the parent's position is !=
  3470. -1. Fixes the crash in #78822.
  3471. 2006-07-31 Chris Toshok <[email protected]>
  3472. * DataGrid.cs (get_ListManager): use field instead of property
  3473. accessors for datasource and datamember.
  3474. (RowsCount): make internal again.
  3475. (OnMouseDown): end edits before resizing columns/rows.
  3476. (OnMouseUp): restart edits after resizing columns/rows.
  3477. 2006-07-30 Peter Dennis Bartok <[email protected]>
  3478. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  3479. This fixes the situation where the last set cursor is displayed
  3480. whenever the mouse is over scrollbars.
  3481. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  3482. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  3483. Document properties, as well as initial values.
  3484. 2006-07-29 Peter Dennis Bartok <[email protected]>
  3485. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  3486. and ClientEdge results in a 3-pixel border, which is
  3487. wrong.
  3488. 2006-07-28 Jackson Harper <[email protected]>
  3489. * TreeNodeCollection.cs: Fix the clear method.
  3490. - Fix the Shrink also
  3491. 2006-07-27 Jackson Harper <[email protected]>
  3492. * TreeView.cs: Make sure the visible order is computed when we
  3493. attempt to size the scrollbars (for trees that mess with the
  3494. scrolling when they shouldn't.
  3495. - Make sure to give the scrollbars valid values.
  3496. 2006-07-26 Peter Dennis Bartok <[email protected]>
  3497. * XplatUIX11.cs: Move motion compression code to where it
  3498. has less performance impact
  3499. 2006-07-26 Jackson Harper <[email protected]>
  3500. * UpDownBase.cs: When the control is selected make the child
  3501. controls non selectable, so that a click on them won't do a
  3502. focus/unfocus cycle.
  3503. - Don't give focus to the text box when the spinner is selected.
  3504. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  3505. 2006-07-26 Chris Toshok <[email protected]>
  3506. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  3507. satisfied with this solution. If the bitmaps are small, we should
  3508. just cache them in the PrintPreviewDialog and draw them here.
  3509. Also, the layout is broken for the 2-up and 3-up cases.
  3510. * Theme.cs: add PrintPReviewControlPaint.
  3511. * PrintPreviewDialog.cs: first pass implementation.
  3512. * PrintPreviewControl.cs: first pass implementation. No
  3513. scrollbars yet.
  3514. * PrintDialog.cs: only validate fields if that particular portion
  3515. of the UI is enabled. Also, set the document's controller to a
  3516. PrintControllerWithStatusDialog wrapping the document's print
  3517. controller.
  3518. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  3519. bring up a SaveFileDialog (i hope we don't want to match the
  3520. behavior of the crappy windows file entry) and set the
  3521. PrinterSettings.PrintFileName accordingly.
  3522. 2006-07-26 Jackson Harper <[email protected]>
  3523. * ContainerControl.cs: Add a field that disables auto selecting
  3524. the next control in a container when the container is activated.
  3525. * UpDownBase.cs: Don't select the text box when the up down is
  3526. selected.
  3527. 2006-07-26 Peter Dennis Bartok <[email protected]>
  3528. * XEventQueue.cs: Added methods for peeking (used for compression
  3529. of successive events)
  3530. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  3531. mouse move events (fixes #78732)
  3532. 2006-07-25 Jackson Harper <[email protected]>
  3533. * UpDownBase.cs: Use an internal class for the textbox so that we
  3534. can control focus. the updown control should always have focus,
  3535. if either the text area or the buttons are clicked.
  3536. - Send the key messages to the textbox, since it never actually
  3537. has focus
  3538. - Activate and decativate the textbox caret.
  3539. 2006-07-24 Jackson Harper <[email protected]>
  3540. * Control.cs: Use the directed select when selecting a control,
  3541. this way the container controls override will get called and the
  3542. whole ActiveControl chain will get triggered. TODO: probably need
  3543. to make sure this gets done everywhere instead of the old
  3544. Select(Control).
  3545. * ContainerControl.cs: Implement the directed Select method to
  3546. find and activate the correct child control.
  3547. 2006-07-22 Mike Kestner <[email protected]>
  3548. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  3549. menu handling code so that clicks without a grab work too.
  3550. [Fixes #78914]
  3551. 2006-07-22 Alexander Olk <[email protected]>
  3552. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  3553. Added some small optimizations.
  3554. 2006-07-21 Matt Hargett <[email protected]>
  3555. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  3556. 2006-07-21 Peter Dennis Bartok <[email protected]>
  3557. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  3558. tests pass and match MS in some strange border cases.
  3559. 2006-07-21 Chris Toshok <[email protected]>
  3560. * ThemeWin32Classic.cs: handle drawing of the relation links and
  3561. parent row buttons.
  3562. * Theme.cs: change args to DataGridPaintParentRow.
  3563. * DataGrid.cs: Don't use controls for the relation links and
  3564. parent buttons, so we have to handle all their interactions in
  3565. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  3566. when we're navigating through child tables, so we can reinstate
  3567. selection, expanded state, current cell, etc.
  3568. 2006-07-20 Chris Toshok <[email protected]>
  3569. * ToolBar.cs: When we redraw a button, for whatever reason,
  3570. there's no reason to redraw the entire toolbar. Also, don't call
  3571. Control.Refresh from within Redraw, as it's much heavier than
  3572. Invalidate (which is really what we want).
  3573. 2006-07-20 Chris Toshok <[email protected]>
  3574. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  3575. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  3576. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  3577. traces from within a debug IBindingList datasource
  3578. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  3579. to work in a similar fashion.
  3580. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  3581. * ListBox.cs: Don't call Sort () when setting
  3582. the Sorted property to false (avoid an unnecessary sort).
  3583. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  3584. * ListControl.cs: DataSource should throw an ArgumentException
  3585. instead of a normal exception when the argument is not of the
  3586. correct type.
  3587. 2006-07-20 Mike Kestner <[email protected]>
  3588. * Control.cs: add InternalPreProcessMessage to allow us to steal
  3589. key events before MWF gets its paws on them. Adapted from a
  3590. suggestion by eno.
  3591. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  3592. up/down/left/right navigation. Override the new internal control
  3593. method to steal the events since they never make it to WndProc.
  3594. * ToolBarButton.cs: don't worry about pushed when setting hilight
  3595. since the drawing code prefers pushed to hilight. Invalidate on
  3596. Hilight changes. Fixes #78547 and #78525.
  3597. 2006-07-20 Peter Dennis Bartok <[email protected]>
  3598. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  3599. the canvas size. Fixes #78868
  3600. 2006-07-20 Peter Dennis Bartok <[email protected]>
  3601. * Splitter.cs: Track requested split position until first layout
  3602. is performed. Fixes #78871
  3603. 2006-07-20 Peter Dennis Bartok <[email protected]>
  3604. * Application.cs: Removed code that forces 1.x for the version
  3605. number if the version started with 0. Not sure why that code was
  3606. there and I couldn't find any bugs that indicated we needed it.
  3607. Fixes #78869
  3608. 2006-07-20 Alexander Olk <[email protected]>
  3609. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  3610. ResetDefaults(), just write some output to the console until it's
  3611. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  3612. 2006-07-19 Jonathan Chambers <[email protected]>
  3613. * PropertyGridView.cs: set StartPosition of drop down forms
  3614. so they appear in correct initial spot. Fixes #78190.
  3615. 2006-07-19 Mike Kestner <[email protected]>
  3616. * ThemeWin32Classic.cs: use parent background color when drawing
  3617. flat toolbars. Restructure the conditionals to make sure non-flat
  3618. non-Divider toolbars are filled too. Fixes #78837.
  3619. 2006-07-19 Mike Kestner <[email protected]>
  3620. * ListBox.cs: Sort on collection changes even if the handle
  3621. isn't created yet. Fixes #78813.
  3622. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  3623. * ListControl.cs: DisplayMember should never be null,
  3624. and now we assign String.Empty when null is passed to it (this
  3625. is the .Net way).
  3626. 2006-07-17 Mike Kestner <[email protected]>
  3627. * ListViewItem.cs: restructure Font and subitem Font handling
  3628. to hold a specific font and refer back to owner on null.
  3629. Fixes #78761.
  3630. 2006-07-17 Mike Kestner <[email protected]>
  3631. * ToolBar.cs: bandaid for side-effect of previous patch which was
  3632. discarding explicit heights for non-AutoSize toolbars. Need to
  3633. extend my format tester to deal with AutoSize=false. Fixes #78864.
  3634. 2006-07-15 Jackson Harper <[email protected]>
  3635. * LabelEditTextBox.cs:
  3636. * TreeView.cs: Use a new LabelEdit class for node editing, this
  3637. class automatically 'closes' itself when it gets the enter key or
  3638. loses focus.
  3639. - Use the client rectangle when setting the trees scrollbars, so
  3640. border style is taken into account.
  3641. 2006-07-14 Jackson Harper <[email protected]>
  3642. * TreeNode.cs:
  3643. * TreeView.cs: Make the editing work similar to MSs, firing the
  3644. events correctly and ending edits correctly.
  3645. 2006-07-14 Mike Kestner <[email protected]>
  3646. * ToolBarButton.cs:
  3647. * ToolBar.cs: layout restructuring and redraw enhancements to support
  3648. formatting changes gracefully, like setting TextAlign, ImageList,
  3649. ButtonSize, and Appearance. Handles explicit button sizing quirks
  3650. of the MS controls. Things like flat toolbars ignoring button size
  3651. but becoming constant sized at the largest button's size. Normal
  3652. toolbars with an image set cannot be shrunk smaller than the image,
  3653. but text can be clipped/ignored.
  3654. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  3655. is zero. Seems like DrawString should be smart enough to not put
  3656. anything on screen though. Also trim labels and ellipsize at the char
  3657. boundary, not word.
  3658. Fixes #78711 and #78483.
  3659. 2006-07-14 Alexander Olk <[email protected]>
  3660. * FolderBrowserDialog.cs: Disable "New Folder" button and
  3661. "New Folder" contextmenu menuitem if a folder like "My Computer"
  3662. is selected.
  3663. 2006-07-14 Alexander Olk <[email protected]>
  3664. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  3665. * FolderBrowserDialog.cs:
  3666. - Use MWFConfig to store and read size and position settings
  3667. - Added code to create a new folder (button or context menu).
  3668. Use TreeView labeledit to change the name of the new folder.
  3669. 2006-07-14 Jackson Harper <[email protected]>
  3670. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  3671. when the tree is scrolled we end editing.
  3672. 2006-07-14 Alexander Olk <[email protected]>
  3673. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  3674. Down arrows
  3675. 2006-07-14 Jonathan Pobst <[email protected]>
  3676. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  3677. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  3678. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  3679. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  3680. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  3681. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  3682. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  3683. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  3684. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  3685. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  3686. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  3687. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  3688. ListViewItemSelectionChangedEventHandler.cs,
  3689. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  3690. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  3691. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  3692. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  3693. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  3694. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  3695. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  3696. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  3697. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  3698. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  3699. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  3700. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  3701. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  3702. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  3703. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  3704. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  3705. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  3706. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  3707. WebBrowserNavigatingEventHandler.cs,
  3708. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  3709. 2006-07-14 Jonathan Pobst <[email protected]>
  3710. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  3711. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  3712. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  3713. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  3714. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  3715. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  3716. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  3717. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  3718. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  3719. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  3720. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  3721. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  3722. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  3723. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  3724. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  3725. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  3726. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  3727. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  3728. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  3729. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  3730. ListViewItemStates.cs, MaskFormat.cs: Added
  3731. 2006-07-13 Jonathan Chambers <[email protected]>
  3732. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  3733. Patch from eno for bug 78558.
  3734. 2006-07-13 Jackson Harper <[email protected]>
  3735. * TreeView.cs: When an edit is finished make sure that the
  3736. selected node is visible.
  3737. - When setting the top/bottom use the scrollbars is_visible, so
  3738. everything will be set correctly even if the tree isn't visible
  3739. yet.
  3740. 2006-07-13 Jackson Harper <[email protected]>
  3741. * ComboBox.cs: Revert the item->index part of my previous patch.
  3742. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  3743. the edit box has lost focus (duh).
  3744. - Just make the edit box not visible when we get return, that will
  3745. take the focus, which will call EndEdit
  3746. * TreeNode.cs When we start editing, notify the treeview.
  3747. 2006-07-12 Jackson Harper <[email protected]>
  3748. * ComboBox.cs: Clear out old items before setting the item list.
  3749. This prevents databound controls from having their items added
  3750. twice.
  3751. - Switch the combobox to use indices whereever possible instead of
  3752. using Item's. This allows usto navigate through lists that have
  3753. more then one item with the same string value (ie a, b, b, a).
  3754. - Scroll the listboxes scrollbar when a non visible item is
  3755. highlighted
  3756. - Allow keypress to cycle through all the possible values. For
  3757. example if you have b1, b2, b3 and hold down the B key all the
  3758. values will be cycled through.
  3759. 2006-07-12 Jackson Harper <[email protected]>
  3760. * TextBoxBase.cs:
  3761. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  3762. this using the internal methods.
  3763. * Control.cs: Add OnGotFocusInternal. A new method that allows
  3764. controls to "override" OnGotFocus and change focus behavior if
  3765. needed.
  3766. - Same thing for LostFocus
  3767. * ComboBox.cs: Pass off focus to the text control properly.
  3768. 2006-07-12 Alexander Olk <[email protected]>
  3769. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  3770. * FolderBrowserDialog.cs: Almost a complete rewrite.
  3771. - Better support for Environment.Specialfolders
  3772. - Added support for MWFVFS
  3773. - Made setting SelectedPath work
  3774. 2006-07-12 Jackson Harper <[email protected]>
  3775. * Control.cs: Optimze getting all the controls.
  3776. 2006-07-11 Jackson Harper <[email protected]>
  3777. * ContainerControl.cs: Override SETFOCUS in the container control,
  3778. so that it is not selected on mouse click.
  3779. 2006-07-11 Peter Dennis Bartok <[email protected]>
  3780. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  3781. Hopefully we will have a better way once all of focus is complete.
  3782. 2006-07-11 Peter Dennis Bartok <[email protected]>
  3783. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  3784. a compile error with csc.
  3785. 2006-07-11 Jackson Harper <[email protected]>
  3786. * Control.cs: When hiding a control only select the next control
  3787. if the current control was focused.
  3788. - Don't handle enter/leave when setting/killing focus, this is
  3789. done by the container control.
  3790. - Remove is_selected, it's not needed anymore.
  3791. - Add utility methods for selecting a child control, and for
  3792. firing the Enter/Leave events.
  3793. * ContainerControl.cs: When a control is activated fire the
  3794. enter/leave events.
  3795. - Don't wrap when processing the tab key, so that focus can be
  3796. moved outside of the container.
  3797. - Use the correct active control
  3798. 2006-07-11 Jackson Harper <[email protected]>
  3799. * ComboBox.cs: Remove some debug code that was blinding me.
  3800. * UpDownBase.cs: These controls actually aren't implicit, they are
  3801. visible to the user.
  3802. 2006-07-10 Chris Toshok <[email protected]>
  3803. * DataGrid.cs: move back to the is_adding boolean field. god i
  3804. hate this is_editing/is_adding/is_changing stuff.
  3805. 2006-07-10 Chris Toshok <[email protected]>
  3806. * DataGridTableStyle.cs: just check if the property type is bool.
  3807. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  3808. Don't use CanRenderType.
  3809. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  3810. if our text == NullText. Remove CanRenderType.
  3811. * DataGridBoolColumn.cs: nuke CanRenderType.
  3812. * DataGrid.cs: reenable some code to end the current edit inside
  3813. of set_CurrentCell. This fixes the other 1.1.16 regression.
  3814. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  3815. Also, remove the visible_row_count arg from CalcRowHeaders, since
  3816. we don't need to worry about the actual height of the area.
  3817. 2006-07-10 Chris Toshok <[email protected]>
  3818. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  3819. mode, just return.
  3820. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  3821. the real sense of the IsInEditOrNavigateMode property (true =
  3822. navigate, false = edit). Also, update OnKeyPress to reflect this.
  3823. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  3824. column style exists, we still need to set its property descriptor
  3825. to match up with our list manager.
  3826. 2006-07-10 Chris Toshok <[email protected]>
  3827. * ThemeWin32Classic.cs: implement the new row/header painting
  3828. approach. The parent row painting will likely go away and
  3829. replaced with label controls, but the rest seems to work ok (and
  3830. efficiently).
  3831. * Theme.cs: change the way we draw datagrid rows. we don't draw
  3832. the row headers as a block now. Instead we draw them in the
  3833. normal draw-row loop. Add some calls for drawing parent rows and
  3834. relation rows.
  3835. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  3836. a default table style. Set the defaults from ThemeEngine.Current,
  3837. not SystemColors. Fix lots of misc issues with property setters.
  3838. * DataGrid.cs: move loads of style information out of this class
  3839. as it's being duplicated with DataGridTableStyle. keep track of a
  3840. special DataGridTableStyle for the properties we used to mirror
  3841. here. Switch all the style properties to access this table style
  3842. instead of instance fields of this class. Also add a internal
  3843. class to represent parent rows (more needs to be stored here, like
  3844. the selection state from the parent table, as well as the
  3845. expansion state.) Also, for datasources with relations, do the
  3846. right thing for collapse/expand, and add support for the
  3847. navigation/parent row buttons.
  3848. Lastly, fix the crash in the 1.1.16 build.
  3849. * GridTableStylesCollection.cs: make the explicit interface
  3850. implementations call the class's methods as opposed to duplicating
  3851. them.
  3852. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  3853. 0 so the text doesn't jump around when we move the cursor.
  3854. 2006-07-10 Jackson Harper <[email protected]>
  3855. * TextBoxBase.cs:
  3856. * ListBox.cs: Match MS's ToString (this makes debugging focus
  3857. stuff infinitely easier).
  3858. 2006-07-10 Jackson Harper <[email protected]>
  3859. * Control.cs (SelectNextControl): When checking the control's
  3860. parent use this instead of ctrl.parent so that null can be passed
  3861. to SelectNextControl. (I have unit tests for this).
  3862. - Remove unused var.
  3863. 2006-07-10 Chris Toshok <[email protected]>
  3864. * CurrencyManager.cs: correct one regression, the removal of the
  3865. finalType field. Also, add a MonoTODO on CanAddRows, implement
  3866. Refresh() correctly, and fix some event emission in
  3867. ListChangedHandler.
  3868. 2006-07-07 Alexander Olk <[email protected]>
  3869. * FileDialog.cs: Don't use brackets for new folders if they exist
  3870. under *nix. Instead use -(number of existing folders +1).
  3871. 2006-07-07 Alexander Olk <[email protected]>
  3872. * FileDialog.cs:
  3873. - Fixed really nasty bug #78771
  3874. - Don't block the whole GUI when reading directories with a lot of
  3875. entries. Use an other thread instead and call BeginInvoke to
  3876. update the ListView in MWFFileView
  3877. 2006-07-07 Chris Toshok <[email protected]>
  3878. * Control.cs (Dispose): release any Capture when disposing.
  3879. 2006-07-07 Chris Toshok <[email protected]>
  3880. * LinkLabel.cs (Select): if we chain up to the parent, set
  3881. focused_index to -1 so we'll search for the first available link
  3882. the next time the user tabs into us. Also, if the direction is
  3883. backward and focused_index == -1, start the search from the last
  3884. element.
  3885. 2006-07-07 Chris Toshok <[email protected]>
  3886. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  3887. is beyond the end of the text, don't do anything.
  3888. (CreateLinkPieces): set our ControlStyles.Selectable based on
  3889. whether or not we have any links.
  3890. (Link.Invalidate): use a loop instead of foreach.
  3891. (Link.set_Start): null out owner.sorted_links so it'll be
  3892. recreated by CreateLinkPieces.
  3893. 2006-07-06 Chris Toshok <[email protected]>
  3894. * LinkLabel.cs: revert the SetStyle change.
  3895. 2006-07-06 Chris Toshok <[email protected]>
  3896. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  3897. (OnEnableChanged): s/Refresh/Invalidate
  3898. (OnGotFocus): if we have a focused index already, refocus it (so
  3899. if we mouse out/in to the window it'll focus the right link).
  3900. (OnKeyDown): move the tab handling out of here.
  3901. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  3902. when we lose focus.
  3903. (OnMouseDown): don't Capture here - Control handles it. Also,
  3904. focus the active link.
  3905. (OnMouseUp): don't deal with Capture.
  3906. (OnPaintBackgroundInternal): remove.
  3907. (OnTextAlignChanged): CreateLinkPieces before calling the
  3908. superclass's method.
  3909. (OnTextChanged): call CreateLinkPieces before calling superclass's
  3910. method.
  3911. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  3912. move around.
  3913. (Select): implement this, moving the selection between different
  3914. links, and call parent.SelectNextControl if we don't have another
  3915. link to focus in the given direction.
  3916. (CreateLinkPieces): call Invalidate instead of Refresh.
  3917. 2006-07-06 Chris Toshok <[email protected]>
  3918. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  3919. new LinkLabel internals.
  3920. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  3921. over pieces looking for active/focused/etc links. also, deal with
  3922. runs of text (and links) with embedded \n's in them, and use
  3923. MeasureCharacterRanges instead of MeasureString to figure out the
  3924. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  3925. two-step.
  3926. 2006-07-04 Jackson Harper <[email protected]>
  3927. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  3928. XKB or key auto repeat, do it manually. Without key auto repeat,
  3929. when a key is held down we get key press, key release, key press,
  3930. key release, ... with auto repeat we get key press, key press, key
  3931. press ..., and then a release when the key is actually released.
  3932. 2006-07-03 Jackson Harper <[email protected]>
  3933. * TabControl.cs:
  3934. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  3935. rules, they are always control color regardless of the background
  3936. color.
  3937. 2006-07-02 Alexander Olk <[email protected]>
  3938. * FileDialog.cs: Added internal class MWFConfig.
  3939. Removed Registry support and replaced it with support for the new
  3940. MWFConfig class. See MWFConfig comments for more information.
  3941. 2006-06-30 Alexander Olk <[email protected]>
  3942. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  3943. rectangle. Added some patches from eno from bug #78490 and fixed
  3944. the arrow position for small up and down CPDrawScrollButtons.
  3945. 2006-06-30 Jackson Harper <[email protected]>
  3946. * InternalWindowManager.cs: Remove some debug code.
  3947. * Form.cs: When an MdiParent is set to null, the window is
  3948. "detatched" and becomes a normal window.
  3949. * MdiClient.cs: Don't bring the new child form to the front until
  3950. it is activated (setting it as active does this), this makes the
  3951. previously active forms titlebar get redrawn as inactive.
  3952. 2006-06-29 Peter Dennis Bartok <[email protected]>
  3953. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  3954. with later controls
  3955. 2006-06-29 Mike Kestner <[email protected]>
  3956. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  3957. arrow in keynav state. Fixes #78682.
  3958. 2006-06-28 Atsushi Enomoto <[email protected]>
  3959. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  3960. order (fixes #78393)
  3961. 2006-06-28 Jonathan Pobst <[email protected]>
  3962. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  3963. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  3964. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  3965. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  3966. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  3967. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  3968. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  3969. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  3970. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  3971. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  3972. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  3973. values)
  3974. 2006-06-28 Mike Kestner <[email protected]>
  3975. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  3976. 2006-06-28 Atsushi Enomoto <[email protected]>
  3977. * PropertyGrid.cs,
  3978. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  3979. item lines from other area (It also makes BackColor consistent and
  3980. compatible with .NET). Fixed bug #78564.
  3981. 2006-06-28 Jonathan Chambers <[email protected]>
  3982. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  3983. Patch from Eno for #78555.
  3984. 2006-06-27 Chris Toshok <[email protected]>
  3985. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  3986. * DataGridColumnStyle.cs: same.
  3987. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  3988. * DataGridDrawingLogic.cs: nuke.
  3989. 2006-06-27 Chris Toshok <[email protected]>
  3990. * DataGridTableStyle.cs: clean up the constructors, and build the
  3991. list of child relations for this table. I have no idea if this is
  3992. where we should be doing it (it probably isn't), but since we're
  3993. already iterating over the properties..
  3994. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  3995. struct and array for keeping track of row information, similar to
  3996. what's shown in a hack on
  3997. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  3998. * Theme.cs: be consistent about the naming of DataGrid methods,
  3999. prefering ColumnWidths and RowHeights over columnsWidths and
  4000. RowsHeights.
  4001. * ThemeWin32Classic.cs: same, and also add support for variable
  4002. sized rows (and the +/- expansion icons for related rows).
  4003. 2006-06-27 Peter Dennis Bartok <[email protected]>
  4004. * TextBoxBase.cs: Applied Eno's patch from #78660
  4005. 2006-06-27 Peter Dennis Bartok <[email protected]>
  4006. * Form.cs (ScaleCore): We don't want to scale our form if it's
  4007. state is minimized or maximized, but we still need to scale our
  4008. child windows. Also, added try/finally block to ensure layout
  4009. gets reset (Fixes #78697)
  4010. 2006-06-27 Peter Dennis Bartok <[email protected]>
  4011. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  4012. 2006-06-27 Peter Dennis Bartok <[email protected]>
  4013. * Form.cs: Fixed c+p error and added check to resize form if minimum
  4014. size is bigger than current size (Fixes #78709)
  4015. 2006-06-26 Peter Dennis Bartok <[email protected]>
  4016. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  4017. 2006-06-26 Mike Kestner <[email protected]>
  4018. * ComboBox.cs: only do Keypress handling in the combo when there
  4019. are items in the collection. Fixes #78710.
  4020. 2006-06-26 Chris Toshok <[email protected]>
  4021. * Binding.cs: make this work bi-directionally. also, clear up
  4022. other mixups between Push/Pull Data (e.g. we're supposed to pull
  4023. data when validating).
  4024. * BindingManagerBase.cs: trim some fully qualified collection
  4025. types.
  4026. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  4027. 2006-06-23 Chris Toshok <[email protected]>
  4028. * PropertyManager.cs: It appears (according to the unit tests)
  4029. that PropertyManager doesn't use
  4030. PropertyDescriptor.AddValueChanged to track propery value changes
  4031. in its datasource, but uses the same scheme as Binding, where it
  4032. looks for a <Property>Changed event and binds to it.
  4033. Also, according to the docs, IsSuspended always returns false for
  4034. a property manager with a non-null datasource.
  4035. 2006-06-22 Peter Dennis Bartok <[email protected]>
  4036. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  4037. need to update the actual DialogResult. (Fixes #78613)
  4038. 2006-06-22 Peter Dennis Bartok <[email protected]>
  4039. * Form.cs (ShowDialog): Release any captures before running the
  4040. new message pump (fixes #78680)
  4041. 2006-06-22 Mike Kestner <[email protected]>
  4042. * ListView.cs: Layout column widths properly in details mode even
  4043. if HeaderStyle.None is set. Fixes #78691.
  4044. 2006-06-21 Peter Dennis Bartok <[email protected]>
  4045. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  4046. 2006-06-21 Peter Dennis Bartok <[email protected]>
  4047. * Control.cs (ContainsFocus): Using new driver method to get focused
  4048. window, instead of trying to use internal tracking var, which can
  4049. recursion issues (Fixes #78685)
  4050. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  4051. XplatUIWin32.cs: Added GetFocus method to return focused window
  4052. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  4053. * ColorDialog.cs: when the mouse button is pressed inside the color
  4054. matrix, don't let the cursor move out of it until the button is
  4055. released, which is the behavior on windows. Changed 'colours' by
  4056. 'colors' to use the same word consistently.
  4057. 2006-06-21 Chris Toshok <[email protected]>
  4058. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  4059. child relation and back, using a stack). Also, remove
  4060. GetDataSource and the code that calls it - it's not needed. Also,
  4061. track CurrencyManager.ListName's removal.
  4062. 2006-06-21 Chris Toshok <[email protected]>
  4063. * CurrencyManager.cs: push some of the original type checking from
  4064. BindingContext.CreateBindingManager to here, and remove some of
  4065. the finalType stuff. Need more tests to make sure I've got the
  4066. ListName part right, and we might need more in SetDataSource.
  4067. * PropertyManager.cs: add a ctor that takes just the datasource,
  4068. and no property name. Make SetDataSource work with a null
  4069. property_name, and make Current return the data_source if the
  4070. property descriptor is null. this makes 'string foo = "hi";
  4071. BindingContext[foo].Current' return "hi" as it should.
  4072. * RelatedCurrencyManager.cs: make this code more generic - there's
  4073. no reason the parent manager has to be CurrencyManager, and
  4074. there's no reason to pass the DataRelation. It suffices to use a
  4075. BindingManagerBase and PropetyDescriptor.
  4076. * RelatedPropertyManager.cs: make a similar change here.
  4077. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  4078. flower I knew it could be.
  4079. 2006-06-20 Chris Toshok <[email protected]>
  4080. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  4081. data in the source has changed and we need to update the control,
  4082. so s/PullData/PushData.
  4083. * CurrencyManager.cs: Refresh is meant to update the control from
  4084. data in the datasource. So, s/PullData/PushData.
  4085. * BindingContext.cs: add more ugliness (we weren't handling the
  4086. case where data_source = DataTable and data_member = column_name).
  4087. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  4088. from the perspective of the datasource. PullData pulls from the
  4089. control, PushData pushes to the control.
  4090. 2006-06-20 Chris Toshok <[email protected]>
  4091. * BindingContext.cs: rewrite the CreateBindingManager code to
  4092. handle navigation paths more or less properly. This could
  4093. definitely stand some more work, in particular to push the
  4094. recursion up to the toplevel. But that relies on fixes in other
  4095. places (System.Data comes to mind).
  4096. Also, move to a flat hashtable (and encode the twolevel nature of
  4097. the dictionary into the hash key). This lets us implement the
  4098. IEnumerable.GetEnumerator method.
  4099. * RelatedCurrencyManager.cs: new class. Update our view based on
  4100. our relation and our parent CurrencyManager's position.
  4101. * CurrencyManager.cs: split out some logic from the ctor into
  4102. SetView, so it can be called from the new RelatedCurrencyManager
  4103. subclass.
  4104. * RelatedPropertyManager.cs: new class. Update our datasource
  4105. based on the position of our parent CurrencyManager.
  4106. * PropertyManager.cs: split out some logic from the ctor into
  4107. SetDataSource, so it can be called from the new RelatedDataSource
  4108. subclass. Also, make the Current getter return the value
  4109. of the PropertyDescriptor, not the data_source.
  4110. * Binding.cs: no need to duplicate the string splitting code here.
  4111. 2006-06-19 Peter Dennis Bartok <[email protected]>
  4112. * Control.cs:
  4113. - set_Enabled: OnEnabledChanged is not called if the inherited state
  4114. of the control is not altered, even though we might be changing the
  4115. internal state of the control (#78458)
  4116. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  4117. OnEnabledChanged, to allow easy altering of any child window state
  4118. - OnEnabledChanged: Added code to enable/disable driver window state
  4119. - OnParentEnabledChanged: Instead of firing the event, call
  4120. OnEnabledChanged, which will fire the event and also a) set driver
  4121. window state and pass the enabled state to any grandchildren (#78458)
  4122. 2006-06-19 Jackson Harper <[email protected]>
  4123. * InternalWindowManager.cs: We don't set the cursor explicitly
  4124. thats done via the response to NCHITTESTs.
  4125. - Don't need to adjust for titlebar heights anymore, the
  4126. coordinates are coming in the correct coordinates now (see peters
  4127. last patch).
  4128. 2006-06-19 Peter Dennis Bartok <[email protected]>
  4129. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  4130. being translated relative to whole window, instead of client window.
  4131. That caused broken offsets on mouseclick (and caused gas for our
  4132. InternalWindowManager)
  4133. 2006-06-15 Peter Dennis Bartok <[email protected]>
  4134. * TextControl.cs:
  4135. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  4136. - Undo(): Added replay of cursor move on DeleteChars action; added
  4137. calling Undo() again if a recorded cursor move is invalid (to
  4138. ensure that some action is performed on Undo)
  4139. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  4140. 2006-06-16 Jackson Harper <[email protected]>
  4141. * MdiClient.cs: Instead of just sizing maximized windows when
  4142. there is a resize we also have to adjust the Y of minimized
  4143. windows, so they stay pinned to the bottom of the mdi container.
  4144. - Eliminate separate tracking of the active control, we can just
  4145. get this from the controls collection.
  4146. - Paint the decorations for the newly activated titlebar so we get
  4147. a pretty blue bar.
  4148. * InternalWindowManager.cs:
  4149. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  4150. even if they are a tool window.
  4151. 2006-06-15 Peter Dennis Bartok <[email protected]>
  4152. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  4153. undo buffer, these can happen when text was deleted and the cursor
  4154. was recorded first. Since we will also have a recorded cursor
  4155. after the delete this is not an issue. (Fixes #78651)
  4156. 2006-06-14 Peter Dennis Bartok <[email protected]>
  4157. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  4158. instead properly track control states internally (allows us to
  4159. remove is_selected from Control)
  4160. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  4161. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  4162. whose width is not a multiple of 8.
  4163. 2006-06-13 Jackson Harper <[email protected]>
  4164. * MdiClient.cs: Only maximize the next child if the current one
  4165. is maximized.
  4166. 2006-06-13 Chris Toshok <[email protected]>
  4167. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  4168. modified. Also, guard against grid or grid_drawing being null in
  4169. Invalidate.
  4170. * DataGrid.cs: Reformat tons of getters/setters. In the
  4171. DataMember setter, just call SetNewDataSource instead of
  4172. duplicating some of its functionality. In SetNewDataSource, don't
  4173. check ListManager for null, since the property getter creates the
  4174. object if needed.
  4175. * DataGridTableStyle.cs: don't set TableStyle or call
  4176. SetDataGridInternal on the column here, it's done in
  4177. GridColumnStylesCollection.Add.
  4178. * GridColumnStylesCollection.cs: fix all the explicit interface
  4179. implementations to just call our methods. Nuke AddInternal() and
  4180. move the body of it to Add(). Also, add a call to
  4181. column.SetDataGridInternal to Add().
  4182. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  4183. base()+duplicate code. Also, use the Format property instead of
  4184. format to generate an Invalidate ala MS. Lastly, create the
  4185. textbox here, unconditionally.
  4186. (set_Format): call Invalidate.
  4187. (get_TextBox): no need to call EnsureTextBox.
  4188. (Commit): remove the message box.
  4189. (Edit) remove the call to EnsureTextBox.
  4190. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  4191. (EnterNullValue): no need to check textbox for null.
  4192. (HideEditBox): no need to check textbox for null.
  4193. (SetDataGridInColumn): add the textbox to the grid's controls.
  4194. (EnsureTextBox): nuke.
  4195. 2006-06-13 Jackson Harper <[email protected]>
  4196. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  4197. and redraw the buttons when needed. Unhook when the window is
  4198. unmaximized.
  4199. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  4200. needs this so that it can redraw its buttons when the menu is
  4201. repainted.
  4202. * InternalWindowManager.cs:
  4203. * Form.cs: The method order has changed for DrawMaximizedButtons,
  4204. so that it can be a PaintEventHandler.
  4205. 2006-06-13 Jackson Harper <[email protected]>
  4206. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  4207. window is activated and maximized, even if it wasn't before.
  4208. - When a new window is activated repaint the decorations of the
  4209. old one, so that it no longer has the Active "look" (the blue
  4210. titlebar).
  4211. * InternalWindowManager.cs: Open up CreateButtons to base classes
  4212. so they can recreate the buttons on state changes.
  4213. - If a window is maximized give it all three buttons
  4214. * MdiWindowManager.cs: Create the titlebar buttons when the state
  4215. is changed, this is needed because a toolwindow will not have all
  4216. three buttons until it is maximized.
  4217. 2006-06-13 Atsushi Enomoto <[email protected]>
  4218. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  4219. Fixed bug #78609.
  4220. 2006-06-12 Jackson Harper <[email protected]>
  4221. * KeysConverter.cs: Make sure we handle the Ctrl special case
  4222. if its the only key.
  4223. 2006-06-12 Jackson Harper <[email protected]>
  4224. * Theme.cs: Add a method to get the size of a managed window
  4225. toolbar button.
  4226. * InternalWindowManager.cs: Remove the ButtonSize property, this
  4227. should be retrieved from the theme.
  4228. * MdiWindowManager.cs: Get the button size from the theme
  4229. * ThemeWin32Classic.cs: Make the method to get the managed window
  4230. titlebar button size public.
  4231. - Handle the different button sizes of maximized toolwindows
  4232. (should match any maximized window).
  4233. - Get the titlebar height from the theme, not the WM (which gets
  4234. it from the theme).
  4235. 2006-06-12 Jackson Harper <[email protected]>
  4236. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  4237. event down to the mdi window manager.
  4238. - Expose some extra stuff to base classes
  4239. - Make sure to end the Capture on an NC Mouse up, so that we can
  4240. get double clicks properly, and the sizing doens't stick.
  4241. - When doing PointToClient contain it in the workable desktop
  4242. area, this prevents windows from changing size when the cursor is
  4243. pulled outside of the working area while sizing.
  4244. * MdiWindowManager.cs: When we get a double click maximize the
  4245. window.
  4246. - Reset the cursor after handling mode changes.
  4247. 2006-06-12 Peter Dennis Bartok <[email protected]>
  4248. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  4249. current desktop, instead of just assuming a 0, 0 origin. This
  4250. is needed for our internal window manager, to know the top
  4251. margin of the desktop
  4252. 2006-06-12 Chris Toshok <[email protected]>
  4253. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  4254. we need this to get rid of the selected background in the bool
  4255. column.
  4256. (CancelEditing): move the ConcedeFocus call to above the Abort
  4257. call. Also, set is_changing to false and invalidate the row
  4258. header if we were changing before.
  4259. (ProcessKeyPreviewInternal): remove, since noone outside this
  4260. class calls it anymore. Roll the code into ProcessKeyPreview.
  4261. (EndEdit): remove the internal version.
  4262. (InvalidateCurrentRowHeader): make private.
  4263. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  4264. Keys.Escape handling (and with it the last call to
  4265. DataGrid.EndEdit from outside the class.)
  4266. 2006-06-12 Chris Toshok <[email protected]>
  4267. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  4268. (OnKeyPress): set isedit to true.
  4269. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  4270. already handled by the grid.
  4271. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  4272. right. ugh.
  4273. (set_DataSource): SetDataSource always returns true, so stop
  4274. putting it in an if statement.
  4275. (EndEdit): get rid of some {}'s
  4276. (ProcessGridKey): return true in case Keys.Escape.
  4277. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  4278. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  4279. PositionChanged, stopped connecting to CurrentChanged.
  4280. (GetDataSource): simplify this a bunch.
  4281. (SetDataSource): change return type from bool to void.
  4282. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  4283. to this, and make sure we don't set ListManager.Position inside
  4284. set_CurrentCell.
  4285. (OnListManagerItemChanged): if we're passed an actual index,
  4286. redraw that row.
  4287. * CurrencyManager.cs (set_Position): don't call PullData here.
  4288. 2006-06-09 Jackson Harper <[email protected]>
  4289. * TreeNode.cs: Recalculate the visible order before doing the
  4290. Expand/Collapse Below calls, because those calls generate an
  4291. expose.
  4292. - Reduce calls to the TreeView property, which is mildly expensive
  4293. by using a local var.
  4294. * Form.cs: Layout the MDI child windows when creating the parent
  4295. form.
  4296. - Don't use the internal constructor anymore
  4297. * MdiClient.cs: use the parent form width/height (if available)
  4298. when laying out the child windows, we do this because the
  4299. mdiclient isn't docked yet when the initial layout is done.
  4300. - Don't need an internal constructor anymore.
  4301. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  4302. * FileDialog.cs: handle access errors when trying to create a folder
  4303. or changing to a directory. No need to initialize out parameters.
  4304. 2006-06-08 Alexander Olk <[email protected]>
  4305. * FileDialog.cs: Append a number when creating a new folder if the
  4306. folder already exists (use parenthesis instead of square brackets)
  4307. 2006-06-08 Alexander Olk <[email protected]>
  4308. * FileDialog.cs:
  4309. - Disabled registry support for windows and added better registry
  4310. error checking for other systems (need to investigate why it
  4311. works perfectly on my system)
  4312. - If a folder already exist show an error MessageBox instead of
  4313. trying to create an indexed name.
  4314. - Fixed a non intentional typo.
  4315. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  4316. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  4317. 2006-06-08 Alexander Olk <[email protected]>
  4318. * FileDialog.cs: When creating a new folder don't crash if the
  4319. folder already exists.
  4320. 2006-06-08 Alexander Olk <[email protected]>
  4321. * FileDialog.cs: Allmost a complete rewrite.
  4322. - added a "virtual" file system that handles the differences
  4323. between unix and windows file systems (especially the directory
  4324. structure). Moved most of the directory and file handling code
  4325. into the vfs.
  4326. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  4327. UnixFileSystem and FSEntry.
  4328. - Recently used folder/directory, size, location and used file names
  4329. (file name ComboBox) are now stored in the registry and get read
  4330. before the dialog shows up (fixes part 6 of bug #78446).
  4331. - Creation of new folders/directories is now possible (context menu
  4332. or ToolBar). Added TextEntryDialog for this that fills in the gap
  4333. until ListView.LabelEdit works.
  4334. - Fixed cursor handling (bug #78527) and focus handling for
  4335. PopupButtonPanel
  4336. - Various "Search in" ComboBox enhancements. The content of the
  4337. dropdown listbox now almost matches ms.
  4338. - Changed the behaviour when the user switches to SpecialFolder
  4339. Recent to show the ListView in View.Details.
  4340. - Beside using the ToolBar to change the View property of the
  4341. file ListView it is now possible to use the context menu too.
  4342. 2006-06-08 Alexander Olk <[email protected]>
  4343. * ComboBox.cs: Don't create a new ObjectCollection when an item
  4344. gets inserted. Just insert the item in the existing object_items
  4345. ArrayList.
  4346. 2006-06-08 Jackson Harper <[email protected]>
  4347. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  4348. that the treeview and root node checks are done also, this fixes a
  4349. regression i caused in the unit tests.
  4350. 2006-06-07 Wade Berrier <[email protected]>
  4351. * RichTextBox.cs: More ISO8859-1 -> unicode
  4352. 2006-06-07 Mike Kestner <[email protected]>
  4353. * ComboBox.cs : use items to hold highlight/selection so that
  4354. collection insertions don't require synchronization.
  4355. 2006-06-07 Jackson Harper <[email protected]>
  4356. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  4357. routine. We now always keep the sized edge at the cursor instead
  4358. of computing movement and adjusting rects. There is one buglet
  4359. with this method though when the cursor is moved over area that
  4360. the window can not expand too (such as the toolbars on the desktop).
  4361. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  4362. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  4363. here. Fixes crash on startup in AlbumSurfer.
  4364. 2006-06-07 Peter Dennis Bartok <[email protected]>
  4365. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  4366. values
  4367. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  4368. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  4369. statement to avoid calling XNextEvent which will block if another thread
  4370. took the event that we were expecting. Fixes bug #78605.
  4371. 2006-06-07 Mike Kestner <[email protected]>
  4372. * ListView.cs : isolated checkbox clicking from the selection logic.
  4373. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  4374. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  4375. * Form.cs: Check that the value passed to Form.DialogResult
  4376. is a valid enum value.
  4377. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  4378. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  4379. Computer'. Clicking it in the network view goes to 'My Computer'.
  4380. Added CIFS filesystem type. Display the mount point of filesystems.
  4381. Avoid duplicate mount points (happens for me with CIFS);
  4382. 2006-06-06 Jackson Harper <[email protected]>
  4383. * InternalWindowManager.cs: Draw the maximized windows buttons
  4384. when resizing.
  4385. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  4386. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  4387. all other dialogs. Fixes bug #78585.
  4388. 2006-06-06 Mike Kestner <[email protected]>
  4389. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  4390. Only invalidate checkbox on checkstate changes to avoid flicker.
  4391. * ListBox.cs : avoid unselect/select when clicking selected item.
  4392. avoid reselection flicker for already multiselected items.
  4393. Fixes #78382.
  4394. 2006-06-06 Jackson Harper <[email protected]>
  4395. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  4396. the parent form so that the menu is removed if needed.
  4397. 2006-06-06 Mike Kestner <[email protected]>
  4398. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  4399. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  4400. 2006-06-06 Mike Kestner <[email protected]>
  4401. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  4402. 2006-06-06 Jackson Harper <[email protected]>
  4403. * Control.cs: Use the property (instead of the field) to get the
  4404. default cursor so it is instantiated correctly.
  4405. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  4406. resizes so we need to manually repaint the window decorations here.
  4407. - Set the titlebar button locations as soon as they are created,
  4408. otherwise they are not set correctly on win32.
  4409. 2006-06-06 Chris Toshok <[email protected]>
  4410. * CurrencyManager.cs (set_Position): call PullData before
  4411. OnCurrentChanged.
  4412. (AddNew): after calling IBindingList.AddNew, update our
  4413. listposition, and call OnCurrentChanged/OnPositionChanged (without
  4414. calling PullData).
  4415. (OnCurrentChanged): remove the call to PullData from here.
  4416. (OnItemChanged): remove the call to PushData from here.
  4417. (OnPositionChanged): change the test from == null to != null to
  4418. match the other methods.
  4419. (ListChangedHandler): the grossest part of the patch. Implement
  4420. this such that it passes the unit tests in CurrencyManagerTest and
  4421. the output more or less matches that of MS's implementation.
  4422. 2006-06-06 Mike Kestner <[email protected]>
  4423. * ListView.cs : only update check state on single click.
  4424. * ThemeWin32Classic.cs : fix focus drawing for details view without
  4425. fullrowselect. Fixes #78454.
  4426. * XplatUIX11.cs : fix for double click emission.
  4427. 2006-06-05 Jonathan Chambers <[email protected]>
  4428. * PropertyGridView.cs : Applied Atsushi's patch to fix
  4429. font dialog bug (#78197).
  4430. 2006-06-05 Jackson Harper <[email protected]>
  4431. * TreeNode.cs: Compute the next node for expanding/collapsing
  4432. correctly. We now factor in nodes without a NextNode
  4433. correctly. (Fixes somes cases in nunit-gui).
  4434. * InternalWindowManager.cs: Set the bounds when updating the
  4435. virtual position of a tool window.
  4436. 2006-06-05 Chris Toshok <[email protected]>
  4437. * DataGrid.cs: rename cached_currencymgr to list_manager.
  4438. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  4439. some.
  4440. (CurrentRow, CurrentColumn): single accessors so we can make the
  4441. cursor movement code a lot easier to understand.
  4442. (CurrentRowIndex): implement this in terms of CurrentRow.
  4443. (BeginEdit): clean this up a bit.
  4444. (CancelEditing): sort out the is_editing/is_changing/is_adding
  4445. stuff a little.
  4446. (EndEdit): minor changes.
  4447. (OnKeyDown): add a comment about a (most likely) unnecessary
  4448. check.
  4449. (OnMouseDown): cancel editing when we click on a row header. And
  4450. use the CurrentRow setter, not CurrentCell.
  4451. (ProcessDialogKey): directly call ProcessGridKey.
  4452. (UpdateSelectionAfterCursorMove): factor out this common block of
  4453. code (it's used everywhere that we move the cursor by updating row
  4454. or column).
  4455. (ProcessGridKey): pretty substantial overhaul. Use the
  4456. CurrentRow/CurrentColumn properties to make the code a lot more
  4457. readable. Only use the CurrentCell property when we have to
  4458. modify both row and column at once. Tab behavior is still broken,
  4459. and Delete is untested.
  4460. (Select): if we have no selected rows, set selection_start to
  4461. @row.
  4462. (EditCurrentCell): rename EditCell this. It was only ever invoked
  4463. with CurrentCell as the arg, so drop the arg and rename it.
  4464. * DataGridColumnStyle.cs: clean up the constructors a little, and
  4465. drop CommonConstructor().
  4466. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  4467. actually get notified when the user hits it.
  4468. (ProcessKeyMessage): *substantially* simplify this method.
  4469. There's no reason (that I can see) for the textbox to be making
  4470. calls into the datagrid at all. Remove all of them but the ones
  4471. for Enter handling. those will take some more work.
  4472. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  4473. calling HideEditBox.
  4474. (HideEditBox): if we have an active textbox, render it invisible
  4475. without causing a re-layout of the datagrid.
  4476. 2006-06-05 Mike Kestner <[email protected]>
  4477. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  4478. collection changes by resetting it to Items[0]. Fixes #78587.
  4479. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  4480. * MessageBox.cs: if the height of the text is larger than the icon_size,
  4481. use that. Fixes bug #78575.
  4482. 2006-06-05 Jackson Harper <[email protected]>
  4483. * TreeView.cs: Fix line drawing when scrolling. To do this each
  4484. node is basically responsible for drawing its entire horizontal
  4485. area. When drawing a node it draws its parent node lines if
  4486. needed.
  4487. - Adjust the clip area to the viewport rectangle
  4488. - Fix Left/Right key handling to match MS. (It expand/collapses
  4489. and moves to parents/first child but does not move selection to
  4490. sibling nodes).
  4491. - Fix SetTop to work with new bound calculation code
  4492. - When scrollbars are no longer needed we need to reset scrolling
  4493. vars and recalculate the visible order so the redraw is correct
  4494. * TreeNode.cs: We can't expand/collapse nodes with no children.
  4495. 2006-06-03 John Luke <[email protected]>
  4496. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  4497. so the colors work without dev packages
  4498. 2006-06-02 Peter Dennis Bartok <[email protected]>
  4499. * Control.cs
  4500. - Select: Implemented to just use activate. Seems to match MS
  4501. behaviour closest. Documented to only do actual control walking
  4502. based on it's parameters if in a container control so I moved
  4503. the code there.
  4504. - Removed selection check logic from our internal Select() method
  4505. * ContainerControl.cs:
  4506. - Select: Moved selection logic from Control here, since MS documents
  4507. that containers obey the bool arguments. No longer calling base
  4508. 2006-06-02 Jackson Harper <[email protected]>
  4509. * TreeView.cs: If the selected node isn't changed when we get
  4510. focus update the previously selected node so that we see the
  4511. selection box.
  4512. 2006-06-02 Mike Kestner <[email protected]>
  4513. * ComboBox.cs: restructure grab and general mouse event handling.
  4514. Make the composite control raise mouse events like it was a single
  4515. control for leaves/enters/motion/up/down events. fix dropdown list
  4516. coordinate mangling and refactor it into the scrollbar subclass to
  4517. reduce code duplication. Fixes #78282 #78361 and #78457.
  4518. 2006-06-02 Mike Kestner <[email protected]>
  4519. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  4520. automatically in the Control.WndProc.
  4521. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  4522. * FileDialog.cs: fix crash when running SharpChess, which sets the
  4523. FilterIndex to 2 with only one Filter.
  4524. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  4525. * ToolBar.cs: add SizeSpecified property.
  4526. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  4527. try to figure out our real size, otherwise fallback to what the
  4528. container says.
  4529. 2006-06-01 Peter Dennis Bartok <[email protected]>
  4530. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  4531. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  4532. up the event
  4533. 2006-06-01 Mike Kestner <[email protected]>
  4534. * ListView.cs: revamp the focus management in ListView. It still
  4535. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  4536. better than not handling focus at all. Will revisit when pdb feels
  4537. the general focus handling is solid. Fixes #78526.
  4538. 2006-06-01 Jackson Harper <[email protected]>
  4539. * TreeView.cs: Set the default border style in the constructor.
  4540. - Move painting to use OnPaintInternal instead of capturing
  4541. WM_PAINT, this is the correct way of doing things
  4542. - UpdateBelow shouldn't invalidate the scrollbar area
  4543. - Cap the top on update below in case the node was above the top
  4544. of the viewport rectangle.
  4545. - ExpandBelow and Collapse below need to obey Begin/End Update.
  4546. * TreeNode.cs: Make is_expanded internal so the treenode
  4547. collection can change it without firing the whole event chain.
  4548. * TreeNodeCollection.cs: When clearing all the child nodes make
  4549. sure to recalc the visible order.
  4550. - Improve algo for remove the top node
  4551. 2006-06-01 Peter Dennis Bartok <[email protected]>
  4552. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  4553. SendMessage directly calling window procedures, which in turn might
  4554. call SetFocus()
  4555. 2006-06-01 Peter Dennis Bartok <[email protected]>
  4556. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  4557. has focus (works around X11 sending a FocusIn after our SetFocus)
  4558. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  4559. 2006-06-01 Alexander Olk <[email protected]>
  4560. * Mime.cs: Fix for the NET_2_0 build.
  4561. NameValueCollection needs StringComparer now.
  4562. 2006-05-31 Chris Toshok <[email protected]>
  4563. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  4564. return (via an out parameter) the starting X of the column.
  4565. (UpdateVisibleColumn): track change to FromPixelToColumn.
  4566. (HitTest): add a ColumnResize case here.
  4567. (DrawResizeLine): new function, probably poorly named.
  4568. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  4569. only need to keep one reference.
  4570. (set_ListManager): same.
  4571. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  4572. Also, add support for HitTestType.ColumnResize.
  4573. (OnMouseMove): add column resize behavior here, and change the
  4574. cursor to the correct one as we move around the datagrid.
  4575. (OnMouseUp): terminate the column resize if we're resizing.
  4576. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  4577. for the current cell.
  4578. (ConnectListManagerEvents): use cached_currencymgr.
  4579. (DisconnectListManagerEvents): fill this in, using
  4580. cached_currencymgr.
  4581. (SetCurrentCell): remove cached_currencymgr_events handling.
  4582. (SetDataMember): only call DisconnectListManagerEvents if
  4583. cached_currencymgr is != null.
  4584. (SetDataSource): same.
  4585. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  4586. cached_currencymgr.
  4587. 2006-05-31 Jackson Harper <[email protected]>
  4588. * BindingManagerBase.cs: Remove somedebug code that creeped into
  4589. SVN.
  4590. * TreeNode.cs: We get the indent level dynamically right now, so
  4591. don't track it as a member.
  4592. * TreeNodeCollection.cs: Make sure all nodes added to the list
  4593. have parents, treeviews/topnodes setup properly.
  4594. - Don't attempt to track indent level.
  4595. 2006-05-30 Jackson Harper <[email protected]>
  4596. * BindingContext.cs: Create the currency manager tables here.
  4597. This allows us to more easily create null tables (when bad data
  4598. members are used), and more easily create related currency
  4599. managers.
  4600. * CurrencyManager.cs: All the table creation stuff is done by the
  4601. binding context now.
  4602. - Current should throw an exception if listposition is -1.
  4603. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  4604. been bound yet.
  4605. 2006-05-30 Mike Kestner <[email protected]>
  4606. * ListView.cs: allow reexpansion of zero-width column headers.
  4607. Fixes #78528.
  4608. 2006-05-28 Chris Toshok <[email protected]>
  4609. * CurrencyManager.cs (get_Current): after the late binding
  4610. listposition = -1 fix, we need to guard against it here and return
  4611. null, otherwise we raise an exception (which is swallowed
  4612. elsewhere, and breaks datagrid databinding.)
  4613. 2006-05-26 Peter Dennis Bartok <[email protected]>
  4614. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  4615. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  4616. 2006-05-26 Jackson Harper <[email protected]>
  4617. * ControlPaint.cs:
  4618. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  4619. values, it's faster and it's all we care about (we don't care if
  4620. the names aren't equal).
  4621. * KeyboardLayouts.cs: Eliminate some dead code.
  4622. - Lazy init things
  4623. * X11Keyboard.cs: Lazy init keyboard detection.
  4624. - Cleanup access modifiers a little.
  4625. 2006-05-26 Peter Dennis Bartok <[email protected]>
  4626. * XplatUIX11.cs: Once again, attempting to get layout just right.
  4627. 2006-05-26 Peter Dennis Bartok <[email protected]>
  4628. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  4629. the sizes of each link section, that will result in sizes that
  4630. match DrawString's layout (Fixes #78391)
  4631. 2006-05-27 Alexander Olk <[email protected]>
  4632. * FileDialog.cs: If AddExtension property is true autocomplete the
  4633. extensions in SaveFileDialog correctly. Fixes bug #78453.
  4634. Set MyNetwork and MyComputer to "C:\" for windows. This should
  4635. fix part 8 of bug #78446 for now.
  4636. 2006-05-26 Chris Toshok <[email protected]>
  4637. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  4638. invalidate the current row header if we need to, but presumably
  4639. we'll invalidate the row corrsponding to the bounds or
  4640. editingControl.
  4641. (GridHScrolled): switch back to this method, as it's part of the
  4642. public api. *sigh*.
  4643. (GridVScrolled): same.
  4644. (OnMouseWheel): hack up something that more or less works. Call
  4645. GridHScrolled/GridVScrolled directly, instead of duplicating much
  4646. of their code here.
  4647. (EnsureCellVisibility): reinstate a bunch of this code, since we
  4648. can't just set the scrollbar Value and expect to do all the work
  4649. in the ValueChanged handler. Also, Call Update() after scrolling
  4650. in one direction so the other XplatX11.ScrollWindow call has the
  4651. proper stuff in the proper places.
  4652. (EditCell): set is_editing to true before calling .Edit.
  4653. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  4654. don't bother comparing first.
  4655. (OnKeyPress): call grid.ColumnStartedEditing before calling
  4656. base.OnKeyPress. this will set is_changing and invalidate the row
  4657. header if necessary.
  4658. (ProcessKeyMessage): for WM_CHAR messages, call
  4659. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  4660. and WM_KEYDOWN.
  4661. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  4662. it's done in the DataGrid.
  4663. (NextState): call grid.ColumnStartedEditing, which takes care of
  4664. invalidating the row header (and setting is_changing).
  4665. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  4666. here. it's done in the DataGrid.
  4667. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  4668. * Control.cs: allow changing the cursor when the mouse position is
  4669. out of bounds but Capture is set.
  4670. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  4671. linklabel but released somewhere else.
  4672. 2006-05-25 Jackson Harper <[email protected]>
  4673. * TreeView.cs: When we get focus if there is no selected node make
  4674. it the top node
  4675. - Remove some uneeded setup code from Draw.
  4676. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  4677. a new node is inserted make the new node the top.
  4678. * XplatUIX11.cs:
  4679. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  4680. be used (should be faster).
  4681. 2006-05-25 Chris Toshok <[email protected]>
  4682. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  4683. problem with the last commit.
  4684. 2006-05-25 Chris Toshok <[email protected]>
  4685. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  4686. need the invalidate call here, while scrolling right-to-left via
  4687. the left arrow key (i.e. moving the editing cell while scrolling).
  4688. * DataGrid.cs (.ctor): remove the initialization of
  4689. ctrl_pressed/shift_pressed. We no longer track them using key
  4690. up/down handlers, but by using Control.ModifierKeys. Also, switch
  4691. to using ValueChanged handlers on the scrollbars instead of
  4692. Scrolled event handlers. This simplifies a bunch of the scrolling
  4693. code.
  4694. (GridHValueChanged): rename from GridHScrolled, and change it to
  4695. work with the new event args.
  4696. (GridVValueChanged): same.
  4697. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  4698. (OnMouseWheel): actually scroll the datagrid. Don't change the
  4699. selected cell.
  4700. (ProcessGridKey): correct all the keyboard navigation stuff I
  4701. could find. Ctrl up/down/left/right/home/end work now.
  4702. (EnsureCellVisibility): correct method name spelling. Also,
  4703. simplify this a touch by not explicitly calling the
  4704. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  4705. scrollbar value.
  4706. (OnKeyUpDG): no need for this method now.
  4707. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  4708. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  4709. Fixes bug #78392.
  4710. 2006-05-25 Chris Toshok <[email protected]>
  4711. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  4712. r61019.
  4713. 2006-05-25 Peter Dennis Bartok <[email protected]>
  4714. * Application.cs: Moved setting of is_modal and closing to before
  4715. we create the control, to allow the event handlers called as a
  4716. result of creation affect closing. Also removed Gonzalo's previous
  4717. change to setting DialogResult, the behaviour has been moved to
  4718. Form.ShowDialog()
  4719. * Form.cs:
  4720. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  4721. handle it instead
  4722. - ShowDialog(): If no dialog result is set, we need to return Cancel
  4723. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  4724. the close is cancelled
  4725. 2006-05-25 Jackson Harper <[email protected]>
  4726. * StatusBar.cs: We only need to update the sizes of the other
  4727. panels when we have auto size contents. Also we are only updating
  4728. the contents of the panel, not the borders, so compensate for the
  4729. border width (TODO: get this width from the theme somehow).
  4730. * TreeView.cs: Scrollable is true by default
  4731. - Use invalidate instead of refresh where needed
  4732. - Factor the scrollable value into scrollbar updating
  4733. - Update the scrollbars if the Scrollable property is altered
  4734. - Update the selected node if its ImageIndex is changed
  4735. - Handle null nodes in UpdateNode (mainly so we don't have to
  4736. check if selected is null when updating it
  4737. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  4738. are factored into the visible count
  4739. - Use VisibleCount for clarity in the code
  4740. - When the font is changed we need to recurse through all the
  4741. nodes and invalidate their sizes
  4742. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  4743. * Application.cs: set the DialogResult to fixed when the main form is
  4744. hidden or destroyed while being modal.
  4745. 2006-05-25 Miguel de Icaza <[email protected]>
  4746. * Theme.cs: Use Tangoified messagebox icons.
  4747. (GetSizedResourceImage): Also cope with width = 0 and do not
  4748. trigger a warning in that case (0 means "give me your icon from
  4749. the resouce, no special size needed).
  4750. 2006-05-25 Peter Dennis Bartok <[email protected]>
  4751. * Application.cs: Leave runloop if the the main modal form is
  4752. hidden (fixes #78484)
  4753. 2006-05-25 Atsushi Enomoto <[email protected]>
  4754. * BindingContext.cs : reject null datasource in Contains() and
  4755. Item[].
  4756. * CurrencyManager.cs : check data_member validity when data_source
  4757. is dataset. When it is late binding, the initial position is -1.
  4758. 2006-05-24 Jackson Harper <[email protected]>
  4759. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  4760. inserted nodes that aren't visible. This changes the
  4761. max_visible_order which confuses scrollbar settings.
  4762. - Use the enumerator to get the prev node instead of duplicating
  4763. code.
  4764. * TreeView.cs: Use new method for setting scrollbar values
  4765. - Don't set the bounds every time the scrollbar is updated
  4766. - When updating below the root node use an invalidate instead of a
  4767. refresh to prevent the child controls (scrollbars) from being
  4768. refreshed. (UpdateBelow still needs to be reworked anyways).
  4769. - Reenable SetBottom now that visible orders are set correctly,
  4770. added some debug code incase we ever get bad values there again.
  4771. - Set the scrollbar max to 2 less then the max value, this
  4772. compensates for the max value being one above the node count, and
  4773. for scrollbars adding one extra "notch".
  4774. - When drawing image nodes if there is an imagelist we draw the
  4775. first image in the list if the supplied image index is out of the
  4776. image list's bounds.
  4777. 2006-05-24 Peter Dennis Bartok <[email protected]>
  4778. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  4779. we receive a size change from the WM (Fixes #78503)
  4780. 2006-05-24 Peter Dennis Bartok <[email protected]>
  4781. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  4782. rectangle (Fixes #78501)
  4783. 2006-05-24 Peter Dennis Bartok <[email protected]>
  4784. * ButtonBase.cs:
  4785. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  4786. as a bitfield.
  4787. - Fixed MouseMove to no longer switch pressed state unless the left
  4788. mouse button is pressed. Atsushi provided the original patch (#78485)
  4789. 2006-05-24 Jackson Harper <[email protected]>
  4790. * ScrollBar.cs: New internal methods that allow us to change a
  4791. couple values on the scrollbar (the most common case is maximum
  4792. and large change) without getting multiple invalidates.
  4793. 2006-05-24 Chris Toshok <[email protected]>
  4794. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  4795. (Edit): save off the original state in oldState, and set
  4796. grid.is_editing to true.
  4797. (OnKeyDown): abort editing if escape is pressed. also, call
  4798. NextState if space is pressed.
  4799. (OnMouseDown): call NextState.
  4800. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  4801. here. Also, only invalidate the row header once (on the initial
  4802. is_changing switch) to save on redraws.
  4803. 2006-05-24 Chris Toshok <[email protected]>
  4804. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  4805. if the value in the cell is different than it was before. This
  4806. keeps us from triggering a layout when we move around a datarid
  4807. with a highlighted cell.
  4808. (Edit): suspend layout when creating/positining the text box, and
  4809. resume passing false so we don't ever actually re-layout.
  4810. (ReleaseHostedControl): same.
  4811. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  4812. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  4813. control-key sequences should go to the datagrid - remove that
  4814. lock. Also, modify the conditions under which we move between
  4815. cells when moving the cursor within a cell, and remove the "this"
  4816. and "base" from field accesses. We weren't even consistent, given
  4817. they all were in the base class.
  4818. 2006-05-24 Atsushi Enomoto <[email protected]>
  4819. * Binding.cs : (.ctor)
  4820. An obvious NRE fix for BindingTest.CtorNullTest().
  4821. 2006-05-23 Chris Toshok <[email protected]>
  4822. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  4823. them between lines. This fixes some quirks editing cells in the
  4824. datagrid.
  4825. 2006-05-23 Jackson Harper <[email protected]>
  4826. * TreeView.cs: Use begin/end update when doing expand/collapse all
  4827. so that we don't get flicker on the scrollbar.
  4828. 2006-05-23 Jackson Harper <[email protected]>
  4829. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  4830. treenode calculations to be independant of the painting code. To
  4831. do this nodes track a visible order which is calculated by the
  4832. treeview.
  4833. - Call new methods for expanding/collapsing nodes. These methods
  4834. use scrollwindow so we don't have to update everything below the
  4835. node.
  4836. * TreeView.cs: Refactored drawing and scrolling code. We don't
  4837. need to update nodes when drawing anymore or calculate scrollbar
  4838. stuff.
  4839. - Added new methods for expanding/collapsing nodes. These methods
  4840. use ScrollWindow so as to not have to redraw all the nodes below.
  4841. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  4842. we add/remove nodes or sort.
  4843. - Handle removing the selected and the top node properly.
  4844. 2006-05-23 Chris Toshok <[email protected]>
  4845. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  4846. maybe this should actually happen in the datagrid code?
  4847. (EndEdit): no need to invalidate anything, given that
  4848. ReleaseHostedControl causes the datagrid to relayout, which
  4849. invalidates everything anyway.
  4850. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  4851. in SetCurrentCell).
  4852. (set_SelectionBackColor): call InvalidateSelection instead of
  4853. Refresh.
  4854. (set_SelectionForeColor): same.
  4855. (BeginEdit): Flesh this out a bit.
  4856. (CancelEditing): only do any of this if we're editing/adding.
  4857. (EndEdit): same.
  4858. (OnMouseDown): there's no need to cancel editing here, it's done
  4859. in SetCurrentCell.
  4860. (SetCurrentCell): only invalidate the current row header if it's a
  4861. different row than the new one.
  4862. (ShiftSelection): fix this to work like MS does.
  4863. (ResetSelection): factor out the invalidation of selected_rows to
  4864. InvalidateSelection.
  4865. (SetDataSource): cancel any editing that's going on.
  4866. * DataGridColumnStyle.cs
  4867. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  4868. call the non-interface version.
  4869. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  4870. header rectangle with the clip rectangle so we don't redraw the
  4871. entire header for just a small area. Gets rid of the last flicker
  4872. when horizontally scrolling.
  4873. (DataGridPaintRow): same.
  4874. 2006-05-23 Mike Kestner <[email protected]>
  4875. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  4876. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  4877. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  4878. Critical bug report.
  4879. 2006-05-23 Peter Dennis Bartok <[email protected]>
  4880. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  4881. and this fixes #78493
  4882. 2006-05-23 Miguel de Icaza <[email protected]>
  4883. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  4884. size is not found.
  4885. * FileDialog.cs: Do not change the background for the side bar as
  4886. it wont work nicely with the theme, and also reduces the artifacts
  4887. in rendering the icons (which I want to fix too).
  4888. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  4889. resources, not resgen resources.
  4890. (PlatformDefaultHandler): Pull images using the new API.
  4891. 2006-05-23 Peter Dennis Bartok <[email protected]>
  4892. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  4893. a reference to the hwnd and will not remove it unless there are
  4894. no pending exposures (fixes #78341)
  4895. * XplatUI.cs: Improved debug
  4896. 2006-05-23 Atsushi Enomoto <[email protected]>
  4897. * MenuAPI.cs : don't handle OnClick event when it was not the left
  4898. button. Fixed bug #78487.
  4899. 2006-05-23 Mike Kestner <[email protected]>
  4900. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  4901. prefer submenus to the top menu for item lookup, to avoid popping down
  4902. top-row items.
  4903. 2006-05-23 Alexander Olk <[email protected]>
  4904. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  4905. Graphics.FillRectangle as the visual results are really bad (even
  4906. on win). We now draw perfect arrows (and perfect shadows when the
  4907. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  4908. Pen.DashPattern to draw the dots of each line.
  4909. 2006-05-22 Alexander Olk <[email protected]>
  4910. * FileDialog.cs: Update the filename combobox when navigating through
  4911. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  4912. 2006-05-22 Mike Kestner <[email protected]>
  4913. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  4914. Fixes #78463.
  4915. 2006-05-22 Mike Kestner <[email protected]>
  4916. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  4917. requests. Fix a misspelled parameter and a copy paste exception error
  4918. in Select.
  4919. 2006-05-22 Peter Dennis Bartok <[email protected]>
  4920. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  4921. to get the same width/height (5/13) on X11 as the default font has on
  4922. win32. This means that our DefaultFont emSize is smaller than the
  4923. the MS SWF equivalent (even thought the width/height stays the same)
  4924. 2006-05-20 Jackson Harper <[email protected]>
  4925. * MdiClient.cs:
  4926. * MdiWindowManager.cs:
  4927. * InternalWindowManager.cs: Make sure to use the border width from
  4928. the theme.
  4929. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  4930. * PrintDialog.cs: Implements printer details
  4931. 2006-05-19 Alexander Olk <[email protected]>
  4932. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  4933. Fixes part 1 and 2 of bug #78446
  4934. 2006-05-19 Peter Dennis Bartok <[email protected]>
  4935. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  4936. instead of sticking to the first ever calculated value
  4937. 2006-05-19 Mike Kestner <[email protected]>
  4938. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  4939. PointToClient, since Capture is set. Fixes #78344.
  4940. 2006-05-19 Mike Kestner <[email protected]>
  4941. * ListView.cs: match MS behavior in Details view where items are not
  4942. drawn if Columns.Count == 0.
  4943. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  4944. Use a separate pen to draw the check, since changing the width affects
  4945. the box as well. Fixes #78454.
  4946. 2006-05-18 Miguel de Icaza <[email protected]>
  4947. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  4948. exception should throw the name of the invalid argument.
  4949. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  4950. there are no files listed.
  4951. 2006-05-18 Jackson Harper <[email protected]>
  4952. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  4953. up.
  4954. 2006-05-18 Peter Dennis Bartok <[email protected]>
  4955. * Control.cs: Brought back our old UpdateZOrder method as a private
  4956. function and switched our calls from UpdateZOrder to the new one.
  4957. This fixes the Paint.Net canvas disappearing bug.
  4958. 2006-05-18 Jackson Harper <[email protected]>
  4959. * Theme.cs:
  4960. * ThemeWin32Classic.cs:
  4961. * InternalWindowManager.cs: Move the drawing into the theme,
  4962. expose everything the theme should need from the window manager.
  4963. 2006-05-18 Peter Dennis Bartok <[email protected]>
  4964. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  4965. from the call to NativeWindow to avoid walking up the parent chain
  4966. further than needed (speeds up setting cursors and avoids setting
  4967. the wrong cursor if a parent has another cursor defined)
  4968. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  4969. the icon as hotspot, not what's contained as hotspot in the icon
  4970. file. This fixes the perceived drawing offset seen with Paint.Net
  4971. 2006-05-18 Peter Dennis Bartok <[email protected]>
  4972. * XplatUIX11.cs:
  4973. - Store the calculated rectangle in Hwnd object and use it when
  4974. setting the client size
  4975. - Force Toolwindows to always be type Dock, to ensure they're on top
  4976. 2006-05-18 Mike Kestner <[email protected]>
  4977. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  4978. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  4979. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  4980. Substantial refactoring to remove confusing nested classes. Coding
  4981. standard and Get+Set->property refactorings. Shift to index based
  4982. highlighting in ComboListBox instead of constantly using IndexOf and
  4983. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  4984. in FileDialog growth. Draw borders manually since Simple mode needs
  4985. to look like two independent controls. Make listbox border
  4986. conditional to DropDownStyle. Improved OwnerDraw support.
  4987. 2006-05-18 Sebastien Pouliot <[email protected]>
  4988. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  4989. Don't set the disposed graphics to null, so we can throw the "right"
  4990. exception if the graphics is reused later (added a flag to avoid
  4991. double disposing). Some behaviours are different under 2.0 and are
  4992. filled under bug #78448.
  4993. 2006-05-18 Peter Dennis Bartok <[email protected]>
  4994. * Control.cs: When double-buffering is enabled, we need to reset
  4995. our graphics context between paint calls. Otherwise, any
  4996. transformations and other alterations on the context will
  4997. become cumulative (#77734)
  4998. 2006-05-18 Mike Kestner <[email protected]>
  4999. * ListView.cs: do focused item selection like MS on clicks.
  5000. Rework focus handling for ItemControl so LostFocus invalidates as
  5001. well.
  5002. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  5003. the ListView ItemControl has focus.
  5004. 2006-05-17 Peter Dennis Bartok <[email protected]>
  5005. * XplatUIX11.cs: If client_window ends up being width or height zero
  5006. due to border settings, move it off window inside whole_window (#78433)
  5007. 2006-05-17 Alexander Olk <[email protected]>
  5008. * Mime.cs: Shrink the mime file cache correctly.
  5009. 2006-05-17 Alexander Olk <[email protected]>
  5010. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  5011. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5012. * XplatUIX11.cs (AddExpose): More sanity checks
  5013. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5014. * XplatUIX11.cs:
  5015. - AddExpose: Don't add expose ranges outside the size of our
  5016. window
  5017. - Cast opacity values to Int32 to avoid crashes with certain
  5018. values
  5019. - Added disabled code paths that protect against illegal cross-
  5020. thread painting (Developers.exe)
  5021. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5022. * ProgressBar.cs: Invalidate the control when it's resized
  5023. since block size is based on control size. (#78388)
  5024. 2006-05-16 Miguel de Icaza <[email protected]>
  5025. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  5026. of setting the incoming argument to the "reset" value, we set the
  5027. this.datamember to string.empty (before we were invalidating the
  5028. incoming data).
  5029. Fixes 78420
  5030. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5031. * Form.cs: Only apply transparency settings after the form
  5032. is created. (Fixes #77800)
  5033. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5034. * ApplicationContext.cs: Grab the HandleDestroyed event so
  5035. we know when to fire OnMainFormClosed
  5036. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5037. * Application.cs: Introduced sub-class to allow tracking of
  5038. threads and centralized triggering of the event mess for
  5039. ThreadExit, AppExit, etc.. (#76156)
  5040. 2006-05-16 Alexander Olk <[email protected]>
  5041. * MimeIcon.cs:
  5042. - Do not return a null icon index value for a mime subclass.
  5043. Instead try the main mime type class too.
  5044. - Seems that some newer distributions don't have a link to some
  5045. gnome default icons anymore. So check the default gnome dir too.
  5046. 2006-05-16 Jackson Harper <[email protected]>
  5047. * MdiClient.cs: Don't paint the parent background image if we have
  5048. our own background image.
  5049. 2006-05-16 Peter Dennis Bartok <[email protected]>
  5050. * Control.cs:
  5051. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  5052. controls, all filled controls are supposed to overlap (#78080)
  5053. - UpdateZOrder is supposed to update the control's z-order in the
  5054. parent's z-order chain. Fixed to behave like that
  5055. - BringToFront: Removed obsolete code
  5056. - SendToBack: Simplyfied
  5057. - SetChildIndex: Trigger layout calculations when Z-order changes
  5058. since layout is done by z-order
  5059. 2006-05-16 Chris Toshok <[email protected]>
  5060. [ fixes bug #78410 ]
  5061. * DataGrid.cs (set_AlternatingBackColor): use
  5062. grid_drawing.InvalidateCells instead of Refresh().
  5063. (set_BackColor): call grid_drawing.InvalidateCells.
  5064. (set_BackgroundColor): use Invalidate instead of Refresh.
  5065. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  5066. invalidate the cell area.
  5067. 2006-05-15 Chris Toshok <[email protected]>
  5068. [ fixes bug #78011 ]
  5069. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  5070. on to DataGridPaintRow.
  5071. (DataGridPaintRow): take a clip argument, and only draw the cells
  5072. which intersect it. same with the not_usedarea.
  5073. * Theme.cs (DataGridPaintRow) add @clip parameter.
  5074. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  5075. XplatUI.ScrollWindow.
  5076. (ScrollToRow): same.
  5077. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  5078. with last column which was causing a gray swath to appear with the
  5079. XplatUI.ScrollWindow code.
  5080. 2006-05-15 Chris Toshok <[email protected]>
  5081. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  5082. use XplatUI.ScrollWindow.
  5083. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  5084. 2006-05-15 Peter Dennis Bartok <[email protected]>
  5085. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  5086. 2006-05-15 Peter Dennis Bartok <[email protected]>
  5087. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  5088. file since there are no equivalent X11 cursors
  5089. 2006-05-15 Atsushi Enomoto <[email protected]>
  5090. * MonthCalendar.cs : DateTimePicker should reflect selected date
  5091. on mouse*up*, not mouse*down*. Fixed originally reported part of
  5092. bug #76474.
  5093. 2006-05-15 Atsushi Enomoto <[email protected]>
  5094. * TabControl.cs : When argument index is equal or more than tab
  5095. count, just ignore. Fixed bug #78395.
  5096. 2006-05-15 Peter Dennis Bartok <[email protected]>
  5097. * Control.cs: Dispose all child controls when control is diposed (#78394)
  5098. 2006-05-14 Alexander Olk <[email protected]>
  5099. * ColorDialog.cs: Finally it is possible to select the color with
  5100. the text boxes
  5101. 2006-05-14 Alexander Olk <[email protected]>
  5102. * PrintDialog.cs: Fix typo
  5103. 2006-05-14 Alexander Olk <[email protected]>
  5104. * PrintDialog.cs: PrintDialog is not resizable
  5105. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  5106. color. Made some ToolBar drawing methods protected virtual.
  5107. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  5108. * PrintDialog.cs: Implementation of the PrintDialog
  5109. 2006-05-12 Chris Toshok <[email protected]>
  5110. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  5111. thumb, instead use MoveThumb. This has the side effect of making
  5112. most of the other thumb moving machinery use MoveThumb as well.
  5113. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  5114. need to actually invalidate the rectangle where the new thumb will
  5115. go.
  5116. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  5117. We force an Update() after, so it's not as fast as it could be,
  5118. but at least there's zero flicker and no droppings.
  5119. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  5120. (UpdateThumbPos): add another argument (dirty), which says whether
  5121. or not to calculate/add dirty regions which we later invalidate.
  5122. For cases where we know we're going to use MoveThumb, we pass
  5123. false for this. Otherwise, pass true.
  5124. 2006-05-12 Jackson Harper <[email protected]>
  5125. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  5126. the status bar.
  5127. 2006-05-12 Peter Dennis Bartok <[email protected]>
  5128. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  5129. and GetClipRegion methods and UserClipWontExposeParent property.
  5130. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  5131. overriding UserClipWontExposeParent property, setting to false, since
  5132. Win32 handles the required expose messages to draw our clipped parent
  5133. areas internally
  5134. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  5135. PaintEventStart to set the user clip region if set.
  5136. * Control.cs:
  5137. - Now internally tracking the Region for the control since we need to
  5138. store it if the handle is not yet created and only set it when it
  5139. becomes created. Before setting the region forced handle creation
  5140. - Added code to draw the parents underneath a user-clipped region
  5141. * Hwnd.cs: Added UserClip property
  5142. 2006-05-12 Chris Toshok <[email protected]>
  5143. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  5144. (set_Maximum): same.
  5145. (set_Minimum): same.
  5146. (set_SmallChange): same.
  5147. (OnMouseUpSB): remove the call to refresh when releasing the
  5148. thumb. We shouldn't need it.
  5149. 2006-05-12 Miguel de Icaza <[email protected]>
  5150. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  5151. AutoSize set to None, we do not need to relayout everything, we
  5152. just need to invalidate the current region.
  5153. (Draw): Do not draw the entire ClientArea, just redraw the
  5154. clip area being passed.
  5155. * MdiClient.cs: Make MdiClient constructor with the Form argument
  5156. internal.
  5157. 2006-05-12 Jackson Harper <[email protected]>
  5158. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  5159. parents background image, but strangely not their own.
  5160. - (DrawStatusBarPanel): Take into account horizontal alignment
  5161. when drawing the strings and icons.
  5162. 2006-05-12 Mike Kestner <[email protected]>
  5163. * ListBox.cs: avoid invalidations for focus when the collection is
  5164. empty.
  5165. 2006-05-12 Chris Toshok <[email protected]>
  5166. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  5167. invalidate the entire thumb area. Call InvalidateDirty which
  5168. limits the redraw to the thumb itself and surrounding pixels.
  5169. * XplatUIX11.cs (ScrollWindow): optimize copying.
  5170. 2006-05-12 Chris Toshok <[email protected]>
  5171. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  5172. Figure out the positioning/layout in a single pass instead of
  5173. multiple recursive invocations. Speeds up the initial display of
  5174. the data grid. Also, make many things private that were
  5175. originally public but unused outside this class.
  5176. 2006-05-11 Jackson Harper <[email protected]>
  5177. * MdiClient.cs: Improved layout code.
  5178. 2006-05-11 Jonathan Chambers <[email protected]>
  5179. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  5180. not SelectedObject.
  5181. 2006-05-11 Chris Toshok <[email protected]>
  5182. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  5183. union of that will always be {0,0,width,height}.
  5184. 2006-05-11 Jackson Harper <[email protected]>
  5185. * Form.cs: Match MS's DefaultSize for forms (they must have
  5186. changed the size in sp2).
  5187. 2006-05-11 Atsushi Enomoto <[email protected]>
  5188. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  5189. 2006-05-11 Atsushi Enomoto <[email protected]>
  5190. * TextControl.cs : Fixed bug #78109. This incorrect position
  5191. comparison caused crash on automatic line split.
  5192. * TextBoxBase.cs : reduce duplicate code.
  5193. 2006-05-10 Jackson Harper <[email protected]>
  5194. * MdiClient.cs: Active form is only sent to the back when using
  5195. the Next form functionality, when a form is clicked the current
  5196. active shouldn't be sent to the back.
  5197. - Layout the mdi windows when the container is first made visible.
  5198. * Form.cs: Give the MdiClient a ref to the containing form when we
  5199. create it.
  5200. 2006-05-10 Atsushi Enomoto <[email protected]>
  5201. * LinkLabel.cs : link_font could be uninitialized, so populate one
  5202. before actual use. Fixed bug #78340.
  5203. 2006-05-10 Atsushi Enomoto <[email protected]>
  5204. * XplatUIX11.cs : clipboard format native value is IntPtr.
  5205. Fixed bug #78283.
  5206. 2006-05-10 Peter Dennis Bartok <[email protected]>
  5207. * Control.cs:
  5208. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  5209. which is passed up the parent chain by DefWndProc
  5210. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  5211. to DefWndProc (#77956)
  5212. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  5213. 2006-05-10 Jackson Harper <[email protected]>
  5214. * MdiClient.cs: We need to remove the controls from the mdi
  5215. collection, when we close the window.
  5216. * MdiWindowManager.cs: Special handling of closing mdi windows.
  5217. * InternalWindowManager.cs: Make the close method virtual so the
  5218. mdi window manager can handle it specially.
  5219. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  5220. * DataGrid.cs:
  5221. - Recalculate grid when the data source has changed
  5222. - Matches styles provided by user from all data sources types
  5223. * DataGridTableStyle.cs: For columns that provided by the user set the
  5224. with the preferred value is there was unassigned.
  5225. * CurrencyManager.cs: throw OnItemChanged event
  5226. 2006-05-10 Peter Dennis Bartok <[email protected]>
  5227. * PictureBox.cs: Don't animate until handle is created. Start animation
  5228. when handle is created.
  5229. 2006-05-10 Peter Dennis Bartok <[email protected]>
  5230. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  5231. current codebase.
  5232. * XEventQueue.cs: We don't need to provide the extra info
  5233. 2006-05-10 Jackson Harper <[email protected]>
  5234. * MdiClient.cs: If the mdi clients parent form has a background
  5235. image set, we draw that background image for the mdi area's
  5236. background.
  5237. 2006-05-10 Peter Dennis Bartok <[email protected]>
  5238. * TextBoxBase.cs: Set IBeam cursor (#78347)
  5239. 2006-05-10 Mike Kestner <[email protected]>
  5240. * ToolBar.cs: fix some text padding issues with ButtonSize
  5241. calculation. Update the default size to match MS documentation.
  5242. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  5243. button size. Fixes #78296.
  5244. 2006-05-10 Mike Kestner <[email protected]>
  5245. * ListBox.cs: use is_visible for scrollbar positioning in case the
  5246. control isn't on screen yet. Fix off by one with Right vs Width
  5247. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  5248. 2006-05-10 Jackson Harper <[email protected]>
  5249. * X11Dnd.cs: Drop to a control with another control on top of it.
  5250. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  5251. be modified in click handlers. TODO: Look for similar problems in
  5252. other controls.
  5253. 2006-05-09 Jackson Harper <[email protected]>
  5254. * Form.cs: Window managers need the old window state when setting
  5255. window state now.
  5256. * InternalWindowManager.cs: Allow the base mdi window manager to
  5257. handle more of the MDI only stuff (like maximize buttons).
  5258. * MdiWindowManager.cs: Fix some snafus in changing the window
  5259. state. Add all the menu functionality, for both popup and
  5260. maximized menus.
  5261. * MdiClient.cs: When a new form is selected the currently
  5262. activated form is sent to the back, this matches MS.
  5263. - Implement a new method to activate the next mdi child window.
  5264. 2006-05-08 Peter Dennis Bartok <[email protected]>
  5265. * Control.cs:
  5266. - Added new InternalCapture method to allow controls to prevent
  5267. the capture behaviour on the click handlers
  5268. - Switched to use InternalCapture
  5269. * ComboBox.cs:
  5270. - Using InternalCapture to prevent mouse captures from being released
  5271. on mouse button release (Fixes #78100)
  5272. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  5273. returns Form borders if a caption is present. (Fixes #78310)
  5274. 2006-05-08 Peter Dennis Bartok <[email protected]>
  5275. * TreeNode.cs: Changed serialization .ctor to not require every field
  5276. to be present. (#78265)
  5277. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  5278. 2006-05-05 Alexander Olk <[email protected]>
  5279. * MimeIcon.cs: for is faster than foreach for strings.
  5280. 2006-05-05 Mike Kestner <[email protected]>
  5281. * CheckedListBox.cs: update check handling code to not use selected.
  5282. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  5283. behavior for visual feedback, motion response, shift/ctrl handling,
  5284. and properly deal with all 4 selection modes. Updates to bounds
  5285. handling logic. Add scroll wheel support. [Fixes #77842]
  5286. 2006-05-05 Peter Dennis Bartok <[email protected]>
  5287. * ListView.cs:
  5288. - Moved adding of Implicit controls into .ctor. That way, subsequent
  5289. creation of the controls will not cause them to think they are
  5290. toplevel windows (fixes #78200 header problem)
  5291. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  5292. - Switched visibility setting of header control to use internal field
  5293. to avoid triggering handle creation
  5294. - Now checking if handle is created before causing a refresh when items
  5295. are added (This makes us now match handle creation time with MS)
  5296. * Splitter.cs: Removed loading of private splitter cursor, switched to
  5297. Cursors version now that that is loading the right ones
  5298. * Cursors.cs: Load proper splitter cursors from resources
  5299. * Cursor.cs: Added second method of loading resource cursors for the
  5300. VS.Net users amongst us
  5301. 2006-05-05 Mike Kestner <[email protected]>
  5302. * ListView.cs: give header_control a minimum size based on the
  5303. ListView size.
  5304. 2006-05-05 Peter Dennis Bartok <[email protected]>
  5305. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  5306. window seems to do that with metacity, so set that type. (#78120)
  5307. 2006-05-05 Mike Kestner <[email protected]>
  5308. * ListViewItem.cs: fix Details mode checkbox layout bug.
  5309. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  5310. at the end of the header, if it exists. [Fixes for #78200]
  5311. 2006-05-04 Jackson Harper <[email protected]>
  5312. * MdiClient.cs: Add a helper property to get the container form.
  5313. * MdiWindowManager.cs: We have to make sure to use the menu origin
  5314. when drawing the icons and buttons, this fixes maximized window
  5315. icons/buttons on win32.
  5316. * InternalWindowManager.cs: Reset the restore captions when a
  5317. window goes from Maximized to Minimized and vice versa. Move the
  5318. DrawMaximizedButtons into the MdiWindowManager source, tool
  5319. windows can't be maximized. NOTE: This could use a little
  5320. refactoring if time ever permits.
  5321. 2006-05-03 Jonathan Chambers <[email protected]>
  5322. * TextBox.cs: Add MWFCategoryAttributes
  5323. * TextBoxBase.cs: Add MWFCategoryAttributes
  5324. * Form.cs: Add MWFCategoryAttributes
  5325. 2006-05-03 Jonathan Chambers <[email protected]>
  5326. * Control.cs: Add MWFCategoryAttributes
  5327. * ScrollableControl.cs: Add MWFCategoryAttributes
  5328. 2006-05-03 Alexander Olk <[email protected]>
  5329. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  5330. Divider is true. Fix a little glitch in PropertyToolBar
  5331. drawing code
  5332. 2006-05-02 Peter Dennis Bartok <[email protected]>
  5333. * Control.cs:
  5334. - Dispose: Call base.Dispose, this causes the disposed event
  5335. to be fired (and probably other, more important stuff)
  5336. - SetVisibleCore: Set is_visible to true after creating the
  5337. window so that the window still gets created invisible (if
  5338. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  5339. to generate a WM_ACTIVE message
  5340. * Form.cs: Call Dispose when we want to destroy the window, instead of
  5341. just destroying the handle (Dispose will do that for us)
  5342. * XplatUIX11.cs:
  5343. - RootWindow also needs a queue, so we can properly process the
  5344. property change events from RootWindow (like Activate)
  5345. - Generatic synthetic WM_ACTIVE message when the active window is
  5346. being destroyed
  5347. 2006-05-01 Peter Dennis Bartok <[email protected]>
  5348. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  5349. bounds are changed
  5350. 2006-05-01 Peter Dennis Bartok <[email protected]>
  5351. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  5352. for determining width and height (image might not be assigned if
  5353. we're drawing an imagelist)
  5354. 2006-05-01 Peter Dennis Bartok <[email protected]>
  5355. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  5356. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  5357. height from system
  5358. * Theme.cs: No longer returns hardcoded menu height, instead calls
  5359. new driver method
  5360. * Form.cs (OnLoad): Scaling happens before triggering Load events
  5361. on MS (# 78257)
  5362. 2006-05-01 Mike Kestner <[email protected]>
  5363. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  5364. 2006-04-30 Peter Dennis Bartok <[email protected]>
  5365. * TextBoxBase.cs: Removed Fixme
  5366. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  5367. 2006-04-30 Peter Dennis Bartok <[email protected]>
  5368. * XplatUIX11.cs:
  5369. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  5370. the rectangle relative to the parent, considering borders. We
  5371. don't really want that.
  5372. - ScrollWindow: Fixed warning to be more understandable
  5373. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  5374. scrollbars and scroll only the visible area
  5375. * RichTextBox.cs: Removed debug output
  5376. 2006-04-29 Peter Dennis Bartok <[email protected]>
  5377. * NumericUpDown.cs (Text): Just use base
  5378. * UpDownBase.cs: Ensure txtView is created before using it
  5379. 2006-04-29 Peter Dennis Bartok <[email protected]>
  5380. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  5381. casting to IntPtr to avoid 64bit overflow errors
  5382. 2006-04-29 Peter Dennis Bartok <[email protected]>
  5383. * Control.cs:
  5384. - AllowDrop: Don't force handle creation.
  5385. - CreateHandle: Added call to tell driver if we're allowed to drop
  5386. 2006-04-27 Alexander Olk <[email protected]>
  5387. * FileDialog.cs: Remember the last directory not only for the
  5388. current instance but also for new FileDialog instances.
  5389. 2006-04-29 Peter Dennis Bartok <[email protected]>
  5390. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  5391. broke sending async messages
  5392. 2006-04-29 Peter Dennis Bartok <[email protected]>
  5393. * XplatUIX11.cs:
  5394. - ScrollWindow: Fixed method. We finally generate expose events again
  5395. for scrolled areas. This was causing 'garbage' when scrolling
  5396. textbox and other controls that used ScrollWindow
  5397. - Switched from using the regular queue for paint events to the MS
  5398. model of 'generating' paint events when the queue is empty.
  5399. We use the new XQueueEvent.Paint subclass to store which windows
  5400. need painting.
  5401. - AddExpose now takes the x/y/width/height of the exposed area
  5402. and inserts the window into the paint queue if not already there
  5403. - InvalidateWholeWindow: Switched to use new AddExpose method
  5404. - UpdateMessageQueue: Added which queue to monitor for paint events
  5405. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  5406. the unlikely case nothing above handles it. We reset the expose
  5407. pending states to get them off the queue.
  5408. - GetMessage: Now pulls a paint event if no other events are in the
  5409. queue
  5410. - Invalidate: Switched to new AddExpose method
  5411. - PeekMessage: Updated to understand pending paint events
  5412. - UpdateWindow: Fixed logic bug. We were only updating if the window
  5413. didn't need updating. Also switched to sending WM_PAINT directly,
  5414. like MS does.
  5415. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  5416. and random access Remove(). The random access is needed to handle
  5417. UpdateWindow() where a WM_PAINT is sent directly without accessing
  5418. the queue.
  5419. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  5420. allow for better feedback when scrolling. Scrollbars are small and
  5421. the immediate update should make it 'feel' more responsive without
  5422. slowing things down. ScrollBar still needs it's invaliate logic
  5423. updated to not always invalidate the whole bar on certain changes.
  5424. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  5425. * Control.cs:
  5426. (BackColor): if the control does not support a transparent background,
  5427. return the default backcolor when the parent backcolor is transparent.
  5428. 2006-04-28 Peter Dennis Bartok <[email protected]>
  5429. * Application.cs: Updated to new StartLoop/GetMessage API
  5430. * RichTextBox.cs: Provide some output on RTF parsing errors
  5431. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  5432. new queue_id argument to GetMessage and PeekMessage to allow faster
  5433. handling of per-thread queues in drivers.
  5434. * Hwnd.cs: Added Queue tracking and property
  5435. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  5436. * XEventQueue.cs: Added thread trackingA
  5437. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  5438. * XplatUIX11.cs:
  5439. - Implemented new per-thread queue
  5440. - GetMessage: Fixed return/break behaviour on several cases. We were
  5441. returning stale messages in some cases, instead of just processing
  5442. the next message
  5443. 2006-04-27 Jonathan Chambers <[email protected]>
  5444. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  5445. 2006-04-27 Peter Dennis Bartok <[email protected]>
  5446. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  5447. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  5448. 2006-04-27 Jonathan Chambers <[email protected]>
  5449. * PropertyGridView.cs: Fix drop down width.
  5450. 2006-04-27 Alexander Olk <[email protected]>
  5451. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  5452. a mess in DrawToolBar, so I removed one of them.
  5453. 2006-04-27 Alexander Olk <[email protected]>
  5454. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  5455. needed (clip). Otherwise we get artifacts.
  5456. 2006-04-26 Peter Dennis Bartok <[email protected]>
  5457. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  5458. dimension is fixed
  5459. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  5460. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  5461. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  5462. if it matches the scale base font (avoids unneeded scaling)
  5463. 2006-04-26 Alexander Olk <[email protected]>
  5464. * X11DesktopColors.cs: One gtk_init_check should be enough
  5465. 2006-04-26 Peter Dennis Bartok <[email protected]>
  5466. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  5467. match MS behaviour
  5468. 2006-04-26 Peter Dennis Bartok <[email protected]>
  5469. * TextBoxBase.cs:
  5470. - Generate OnTextChanged for Backspace even if we're only deleting
  5471. the current selection
  5472. - When setting the Text property, only select all text if the
  5473. control does not have focus when it is being set. Otherwise
  5474. just place the cursor at the beginning of the control
  5475. 2006-04-26 Alexander Olk <[email protected]>
  5476. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  5477. Added a little helper to draw PropertyGrid ToolBar with a different
  5478. border and a different BackColor.
  5479. * PropertyGrid.cs: Some background parts didn't get painted with the
  5480. correct background color. Added a class that helps us to draw the
  5481. correct border for PropertyGridView and a class that helps us to
  5482. draw ToolBars with a different backcolor
  5483. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  5484. 2006-04-25 Jonathan Chambers <[email protected]>
  5485. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  5486. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  5487. 2006-04-25 Peter Dennis Bartok <[email protected]>
  5488. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  5489. into the palette entries. Also, since we're working on a copy
  5490. we needed to copy the palette back onto the bitmap.
  5491. * Cursor.cs: Same fix as XplatUIWin32.cs.
  5492. 2006-04-25 Peter Dennis Bartok <[email protected]>
  5493. * ImageListStreamer.cs: Need to read the var (or we're off)
  5494. 2006-04-25 Peter Dennis Bartok <[email protected]>
  5495. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  5496. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  5497. TextBoxBase.cs: Unused var fixes
  5498. * AxHost.cs: Small 2.0 fix
  5499. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  5500. as it seems that is what at least Metacity expects. This will make
  5501. icons show up on 64bit platforms. We still have some 64bit size
  5502. issues, though, since the startup app window size still won't match.
  5503. 2006-04-25 Mike Kestner <[email protected]>
  5504. * *.cs: cleanup newly reported exception var unused warnings.
  5505. 2006-04-25 Alexander Olk <[email protected]>
  5506. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  5507. ms
  5508. 2006-04-25 Alexander Olk <[email protected]>
  5509. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  5510. image. The image position is always the same, no matter if the
  5511. button is pressed or not.
  5512. 2006-04-25 Alexander Olk <[email protected]>
  5513. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  5514. selection and set the correct filename for SaveFileDialog.
  5515. Patch by Emery Conrad.
  5516. 2006-04-24 Mike Kestner <[email protected]>
  5517. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  5518. check for item.X outside the ClientRect instead of item.Y. Fixes
  5519. #78151.
  5520. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  5521. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  5522. trust that value blindly and do some sanity check. Fixes bug #77814.
  5523. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  5524. * ImageListStreamer.cs: save the mask as a 1bpp image.
  5525. 2006-04-21 Mike Kestner <[email protected]>
  5526. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  5527. pass Checked and Indeterminate to the Theme Engine. Improve
  5528. encapsulation with ListBox.
  5529. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  5530. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  5531. nested types. Move all CheckState functionality to CheckedListBox.
  5532. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  5533. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  5534. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  5535. single base list. Fix scrollbar sizing and placement to mirror MS.
  5536. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  5537. used.
  5538. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  5539. for CheckedListBox by using new DrawItemState info. Center the
  5540. checkboxes on the items. Use new StringFormat property.
  5541. 2006-04-18 Jackson Harper <[email protected]>
  5542. * Form.cs: MdiChildren don't do default locations the same way as
  5543. regular forms. This prevents a crash when trying to position the
  5544. mdi windows.
  5545. 2006-04-17 Jonathan Chambers <[email protected]>
  5546. * PropertyGridTextBox.cs: Formatting, copyright
  5547. * PropertiesTab.cs: Formatting
  5548. * PropertyGrid.cs: Formatting
  5549. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  5550. click toggling of values
  5551. 2006-04-17 Peter Dennis Bartok <[email protected]>
  5552. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  5553. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  5554. every time a control is created
  5555. * Application.cs: Removed obsolete EnableRTLMirroring method
  5556. 2006-04-18 Gert Driesen <[email protected]>
  5557. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  5558. SelectedIndex to -1. Fixes bug #78121.
  5559. 2006-04-17 Jackson Harper <[email protected]>
  5560. * Binding.cs: Handle null values for Current and BindingContext.
  5561. This occurs when binding is a little delayed.
  5562. * CurrencyManager.cs: return null for Current when there are no
  5563. items in the list.
  5564. - Hookup to the listchanged event on the DataView and update
  5565. bindings when the list is changed. This fixes late binding of
  5566. controls.
  5567. 2006-04-17 Jackson Harper <[email protected]>
  5568. * X11Dnd.cs:
  5569. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  5570. Ringenbach.
  5571. 2006-04-15 Alexander Olk <[email protected]>
  5572. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  5573. place
  5574. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  5575. with the correct ButtonState
  5576. 2006-04-14 Peter Dennis Bartok <[email protected]>
  5577. * XplatUIX11.cs: Improved distinguishing between window types to
  5578. tell the WM a type closer to what the app wants (Fixes #78107)
  5579. 2006-04-14 Alexander Olk <[email protected]>
  5580. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  5581. GrabHandle
  5582. 2006-04-14 Alexander Olk <[email protected]>
  5583. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  5584. drawing code to reflect the size grip changes
  5585. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  5586. * ImageListStreamer.cs: fix handling of the mask that follows the main
  5587. bitmap when deserializing and serialize it properly. The generated mask
  5588. should better be a 1bpp image, but I'll do that later.
  5589. 2006-04-13 Alexander Olk <[email protected]>
  5590. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  5591. path doesn't fit into some of our Current.Places
  5592. 2006-04-13 Jackson Harper <[email protected]>
  5593. * ComboBox.cs: Use borders instead of drawing our own decorations,
  5594. try to obey correct rules for heights.
  5595. * Theme.cs:
  5596. * ThemeNice.cs:
  5597. * ThemeClearLooks.cs:
  5598. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  5599. this is now handled by borders.
  5600. - Remove unused DrawListBoxDecorationSize method.
  5601. 2006-04-13 Mike Kestner <[email protected]>
  5602. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  5603. reported by Alex.
  5604. 2006-04-13 Alexander Olk <[email protected]>
  5605. * ThemeWin32Classic.cs:
  5606. - Fixed CPDrawStringDisabled
  5607. - Corrected drawing of disabled menu items
  5608. - Fixed drawing of disabled radio buttons (bug #78095)
  5609. - Draw check in a disabled CheckBox with color ControlDark
  5610. 2006-04-12 Peter Dennis Bartok <[email protected]>
  5611. * Form.cs: Use the provided width when calculating the menu size;
  5612. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  5613. and ClientSize.Width won't be updated yet
  5614. * Application.cs: Use Visible instead of Show() to make form visible,
  5615. this way we create the handle later and menusize is considered
  5616. 2006-04-12 Mike Kestner <[email protected]>
  5617. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  5618. reporting.
  5619. 2006-04-12 Peter Dennis Bartok <[email protected]>
  5620. * TextBox.cs: Implemented context menu
  5621. 2006-04-12 Mike Kestner <[email protected]>
  5622. * ListView.cs: implement box selection. fixes #77838.
  5623. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  5624. 2006-04-12 Peter Dennis Bartok <[email protected]>
  5625. * XplatUIX11.cs: Added setting of window type when transient window
  5626. is created (metacity would move it otherwise)
  5627. * X11Structs.cs: Added WINDOW_TYPE atoms
  5628. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  5629. background (the control is Opaque but still wants transparent
  5630. backgrounds)
  5631. 2006-04-12 Peter Dennis Bartok <[email protected]>
  5632. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  5633. that set Opaque but don't mean it (like all ButtonBase-derived
  5634. controls) to still draw their background
  5635. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  5636. the background
  5637. 2006-04-12 Peter Dennis Bartok <[email protected]>
  5638. * Control.cs (PaintControlBackground): Set the graphics object
  5639. on our PaintEvent to null to prevent it from being disposed
  5640. when the PaintEvent gets disposed
  5641. 2006-04-12 Alexander Olk <[email protected]>
  5642. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  5643. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  5644. 2006-04-12 Peter Dennis Bartok <[email protected]>
  5645. * Control.cs:
  5646. - Added transparency check to BackColor property. Transparent
  5647. backgrounds are only allowed if the control styles permit it
  5648. - Added recursive painting of parent control background and
  5649. foreground if a control with a transparent backcolor is drawn
  5650. (Thanks to Tim Ringenback for providing his 'hack' as a base
  5651. for this patch) Fixes #77985 and #78026.
  5652. - Added Opaque style check before calling OnPaintBackground, no
  5653. need to draw the background if the control is opaque
  5654. - Removed ControlAccessibleObject owner variable (inherited from
  5655. base, no need to define again)
  5656. - Added some documentation links explaining the drawing events
  5657. and styles
  5658. 2006-04-11 Peter Dennis Bartok <[email protected]>
  5659. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  5660. that the affected control is the located at the left border of our
  5661. parent (Fixes #77936)
  5662. 2006-04-11 Peter Dennis Bartok <[email protected]>
  5663. * TextBoxBase.cs: When rendering disabled or readonly controls,
  5664. draw the background with 'Control' instead of 'Window' color as
  5665. long as the user hasn't specifically set a color
  5666. 2006-04-11 Peter Dennis Bartok <[email protected]>
  5667. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  5668. since that won't be updated if the user types text (only if it's
  5669. programatically set)
  5670. 2006-04-11 Peter Dennis Bartok <[email protected]>
  5671. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  5672. layout changes do to app-triggered resizes will have the proper
  5673. display rectangle for layout
  5674. 2006-04-11 Alexander Olk <[email protected]>
  5675. * ThemeWin32Classic.cs:
  5676. - Make use of the SystemBrushes and SystemPens wherever possible
  5677. - Corrected some highlight colors
  5678. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  5679. drawing
  5680. * Theme.cs: Added Empty field to CPColor struct
  5681. 2006-04-11 Peter Dennis Bartok <[email protected]>
  5682. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  5683. is displayed when calculating the display rectangle. Thanks to Mike
  5684. for teaching me the err of my ways.
  5685. 2006-04-10 Peter Dennis Bartok <[email protected]>
  5686. * ScrollableControl.cs:
  5687. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  5688. (instead of 0,0) and we now return the real width/height instead of
  5689. just the clientrectangle, adjusted for padding. The rectangle is
  5690. now cached and created by the new CalculateDisplayRectangle method.
  5691. - Created new CalculateDisplayRectange method, which basically does
  5692. what get_DisplayRectangle() did originally, but now using the
  5693. right edge instead of DisplayRectangle to determine the size of
  5694. our scrollbars
  5695. - get_Canvas(): Fixed it to properly calculate canvas for
  5696. right/bottom controls which seem to be placed to the right/bottom
  5697. of any controls that have a fixed location
  5698. - Removed TODO that's taken care of
  5699. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  5700. and SetDisplayRectLocation according to new MSDN2 docs
  5701. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  5702. event when that is called, this is added for compatibility
  5703. - ScrollControlIntoView(): Implemented.
  5704. - Switched scrollbars to be implicit, they shouldn't be selectable
  5705. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  5706. call it when the active control is set/changed
  5707. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  5708. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  5709. implicit_control variable (used for native Win32 message generation)
  5710. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  5711. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  5712. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  5713. * XplatUIStructs.cs: Added ScrollBarCommands enum
  5714. 2006-04-10 Jackson Harper <[email protected]>
  5715. * ButtonBase.cs:
  5716. * CheckedListBox.cs:
  5717. * ComboBox.cs:
  5718. * DataGrid.cs:
  5719. * DataGridView.cs:
  5720. * Form.cs:
  5721. * GroupBox.cs:
  5722. * ListBox.cs:
  5723. * PrintPreviewControl.cs:
  5724. * ProgressBar.cs:
  5725. * PropertyGrid.cs:
  5726. * Splitter.cs:
  5727. * StatusBar.cs:
  5728. * TrackBar.cs:
  5729. * UpDownBase.cs: Fixup base event overrides.
  5730. 2006-04-06 Mike Kestner <[email protected]>
  5731. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  5732. all user-initiated value changes to min <= value <= max-thumbsz+1.
  5733. (set_Value): check for vert/horiz when calculating new thumb position.
  5734. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  5735. like MS does.
  5736. (OnMouseMoveSB): refactor the thumb dragging code and refine
  5737. invalidation logic to reduce flicker.
  5738. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  5739. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  5740. (UpdateThumbPosition): small code readability cleanup
  5741. 2006-04-10 Alexander Olk <[email protected]>
  5742. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  5743. different
  5744. 2006-04-08 Alexander Olk <[email protected]>
  5745. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  5746. 2006-04-08 Alexander Olk <[email protected]>
  5747. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  5748. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  5749. This dramatically reduces the number of Pen.Dispose calls.
  5750. Where possible call ResPool methods only once instead of calling it
  5751. over and over again (for example for the same color).
  5752. 2006-04-06 Mike Kestner <[email protected]>
  5753. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  5754. Also remove an unused private field on the collection. Fixes #77972.
  5755. 2006-04-06 Alexander Olk <[email protected]>
  5756. * ThemeNice.cs: Added ToolBar drawing code
  5757. 2006-04-06 Mike Kestner <[email protected]>
  5758. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  5759. I'm assuming that means we need to look up the toplevel for the
  5760. provided control. Fixes the crash trace in #77911 but exposes another
  5761. crash in some strange reflection usage in NDocGui.
  5762. 2006-04-06 Alexander Olk <[email protected]>
  5763. * ThemeNice.cs: Gave it a little silver touch and added Images
  5764. method
  5765. * FontDialog.cs: FontDialog is not resizable
  5766. * FileDialg.cs: Added SizeGripStyle.Show
  5767. 2006-04-05 Jackson Harper <[email protected]>
  5768. * KeyboardLayouts.cs: Remove warning.
  5769. 2006-04-05 Jackson Harper <[email protected]>
  5770. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  5771. all of our controls instead of Paint +=.
  5772. * ListBox.cs:
  5773. * ListView.cs:
  5774. * MenuAPI.cs:
  5775. * MessageBox.cs:
  5776. * NotifyIcon.cs:
  5777. * ProgressBar.cs:
  5778. * ScrollBar.cs:
  5779. * Splitter.cs:
  5780. * StatusBar.cs:
  5781. * TabControl.cs:
  5782. * TextBoxBase.cs:
  5783. * ToolBar.cs:
  5784. * TrackBar.cs:
  5785. * UpDownBase.cs:
  5786. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  5787. use OnPaintInternal. Remove Width/Height and Visible checks in
  5788. paint handler, this is done at a higher level now.
  5789. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  5790. * PaintEventArgs.cs: Add a handled flag so controls that don't
  5791. want anymore painting after OnPaintInternal can make sure OnPaint
  5792. isn't called.
  5793. 2006-04-05 Mike Kestner <[email protected]>
  5794. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  5795. state of the form, so that we don't process events when Modal dialogs
  5796. are up. Fixes #77922.
  5797. 2006-04-05 Alexander Olk <[email protected]>
  5798. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  5799. checking is done.
  5800. 2006-04-05 Mike Kestner <[email protected]>
  5801. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  5802. 2006-04-05 Mike Kestner <[email protected]>
  5803. * ListView.cs (HeaderMouseMove): null guarding for the over column
  5804. when setting up the drag_to_index. Fixes #78015.
  5805. 2006-04-04 Peter Dennis Bartok <[email protected]>
  5806. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  5807. in the taskbar. Transient windows seem to accomplish that.
  5808. 2006-04-04 Peter Dennis Bartok <[email protected]>
  5809. * Form.cs:
  5810. - Re-enabled CreateParams.X/Y code for FormStartPosition
  5811. - Added code for manual placement when creating the Control
  5812. - Incomplete patch to treat MDI forms differently when
  5813. setting the ClientSizeCore. (Still need to figure out handling
  5814. x/y coords there)
  5815. * XplatUIX11.cs:
  5816. - When we're explicitly setting the X/Y position of a non-Child
  5817. window, let the WM know. Metacity really wants this.
  5818. 2006-04-04 Alexander Olk <[email protected]>
  5819. * ThemeNice.cs: Added CPDrawButton
  5820. 2006-04-04 Alexander Olk <[email protected]>
  5821. * ThemeNice.cs: Changed the color for focused buttons and activated
  5822. the arrows for small scroll buttons.
  5823. 2006-04-04 Alexander Olk <[email protected]>
  5824. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  5825. anymore. Changed some method modifiers to protected (virtual)
  5826. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  5827. changes
  5828. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  5829. Updated drawing of menus, buttons and progressbars; added
  5830. CPDrawBorder3D
  5831. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  5832. * ImageListStreamer.cs: implemented serialization/deserialization
  5833. of the images.
  5834. 2006-04-03 Alexander Olk <[email protected]>
  5835. * ThemeWin32Classic.cs:
  5836. - Removed all the DrawFrameControl stuff; CPDrawButton,
  5837. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  5838. inside the methods
  5839. - Updated and corrected the drawing code of CPDrawButton,
  5840. CPDrawCheckBox and CPDrawRadioButton to better match ms
  5841. - Updated theme checkbox and radiobutton code to use the CP*
  5842. methods
  5843. 2006-03-31 Peter Dennis Bartok <[email protected]>
  5844. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  5845. bug is fixed
  5846. 2006-03-31 Jackson Harper <[email protected]>
  5847. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  5848. sometimes.
  5849. * UpDownBase.cs: Don't CreateGraphics manually, use a
  5850. Refresh. Ideally we would invalidate the correct areas here.
  5851. 2006-03-31 Peter Dennis Bartok <[email protected]>
  5852. * XplatUIX11.cs:
  5853. - We now track the mapping state of windows. If a window (or
  5854. one of it's parents) is not mapped we no longer permit
  5855. WM_PAINT messages to be generated since we'd otherwise get
  5856. lots of BadMatch X errors. Jackson did all the work figuring
  5857. out the problem.
  5858. - Destroying the caret if the window it's contained in is
  5859. destroyed. Can't use regular DestroyCaret method since it
  5860. might fall into a drawing function (trying to remove the
  5861. caret) and with that generate new BadMatch errors. Again,
  5862. Jackson tracked this down.
  5863. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  5864. make sure we send the messages to all windows. (The old code
  5865. would send the WM_DESTROY to the window, and then all child
  5866. windows would be 'gone' because the WM_DESTROY handle lookup
  5867. would no longer find the destroyed window)
  5868. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  5869. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  5870. 2006-03-31 Jackson Harper <[email protected]>
  5871. * ScrollableControl.cs: Dont recalc if we are not visible.
  5872. 2006-03-31 Mike Kestner <[email protected]>
  5873. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  5874. the visibility branch.
  5875. 2006-03-31 Jackson Harper <[email protected]>
  5876. * ScrollBar.cs: Cap values when incrementing/decrementing.
  5877. 2006-03-31 Mike Kestner <[email protected]>
  5878. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  5879. * ToolTip.cs: guard against timer expirations with no active control.
  5880. Not sure why it happened.
  5881. 2006-03-31 Mike Kestner <[email protected]>
  5882. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  5883. text.
  5884. * ToolTip.cs: Position the tooltip based on where the cursor is at
  5885. popup time, not at MouseEnter time. Add a Down state so that we don't
  5886. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  5887. positioning offset. Lookup DisplaySize at positioning time, since it
  5888. can theoretically change during invocation.
  5889. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  5890. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  5891. 2006-03-31 Alexander Olk <[email protected]>
  5892. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  5893. Fixes behaviour when the Text property of the box is String.Empty
  5894. 2006-03-31 Peter Dennis Bartok <[email protected]>
  5895. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  5896. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  5897. a window)
  5898. 2006-03-31 Alexander Olk <[email protected]>
  5899. * FileDialog.cs: Visual enhancement for the popup buttons in
  5900. PopupButtonPanel
  5901. 2006-03-31 Alexander Olk <[email protected]>
  5902. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  5903. code
  5904. 2006-03-30 Alexander Olk <[email protected]>
  5905. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  5906. highlighted menu items to match ms
  5907. 2006-03-30 Peter Dennis Bartok <[email protected]>
  5908. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  5909. 2006-03-30 Mike Kestner <[email protected]>
  5910. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  5911. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  5912. go active to account for HotLight to Selected transition.
  5913. * MenuItem.cs: add internal Selected prop. Fill out the Status
  5914. property by calculating it from item info. Add HotLight,
  5915. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  5916. 2006-03-30 Mike Kestner <[email protected]>
  5917. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  5918. 2006-03-29 Jackson Harper <[email protected]>
  5919. * Form.cs: Implement TODO.
  5920. 2006-03-29 Peter Dennis Bartok <[email protected]>
  5921. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  5922. missing proper dialog setup in the constructor
  5923. 2006-03-29 Peter Dennis Bartok <[email protected]>
  5924. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  5925. * Control.cs:
  5926. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  5927. - Fixed ResetBindings and removed TODO
  5928. - Added check for cross-thread calls to get_Handle()
  5929. - Added Marshaller attribute for set_Font to satisfy class status
  5930. * FontDialog.cs: Removed TODOs that seemed implemented
  5931. * UpDownBase.cs: Removed unneeded TODO and Fixme
  5932. * MessageBox.cs: Implemented support for Default button and removed TODO
  5933. * FileDialog.cs: Removed obsolete TODO
  5934. * DomainUpDown.cs: Removed obsolete TODO
  5935. * ButtonBase.cs: Removed obsolete TODO
  5936. * XplatUIWin32.cs: Removed obsolete TODO
  5937. * Form.cs:
  5938. - Removed obsolete TODO
  5939. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  5940. internal status updates
  5941. - Making sure the active control is selected when the control is created
  5942. * CurrencyManager.cs: Removed obsolete TODO
  5943. 2006-03-29 Mike Kestner <[email protected]>
  5944. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  5945. of PrintPreviewDialog and RichTextBox.
  5946. 2006-03-29 Alexander Olk <[email protected]>
  5947. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  5948. DarkDark, Light and LightLight colors for a specific color
  5949. * ThemeWin32Classic.cs:
  5950. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  5951. Appearance = Button
  5952. - Make use of the new ResPool helper CPColor
  5953. - Draw ProgressBar and StatusBar with correct 3D borders
  5954. 2006-03-29 Alexander Olk <[email protected]>
  5955. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  5956. 2006-03-28 Mike Kestner <[email protected]>
  5957. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  5958. calculating col/row counts.
  5959. 2006-03-28 Mike Kestner <[email protected]>
  5960. * ColumnHeader.cs:
  5961. * ListView.cs:
  5962. * ListViewItem.cs:
  5963. * Menu.cs:
  5964. switch to explicit interface method implementation for some methods
  5965. corcompare identifies as inconsistent with MS.
  5966. 2006-03-28 Mike Kestner <[email protected]>
  5967. * MainMenu.cs:
  5968. * Menu.cs:
  5969. add a few missing methods from the class status output.
  5970. 2006-03-28 Alexander Olk <[email protected]>
  5971. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  5972. correct.
  5973. 2006-03-28 Mike Kestner <[email protected]>
  5974. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  5975. 2006-03-27 Mike Kestner <[email protected]>
  5976. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  5977. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  5978. 2006-03-27 Alexander Olk <[email protected]>
  5979. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  5980. 2006-03-25 Alexander Olk <[email protected]>
  5981. * ThemeWin32Classic.cs:
  5982. - GroupBox: Inserted a little gap between the text and the lines
  5983. on the right side
  5984. - Made the code in CPDrawBorder3D more readable
  5985. - Corrected the drawing location of the up and down arrows in
  5986. CPDrawScrollButton
  5987. 2006-03-25 Alexander Olk <[email protected]>
  5988. * ControlPaint.cs: Corrected line widths in DrawBorder for
  5989. ButtonBorderStyle Inset and Outset
  5990. 2006-03-25 Alexander Olk <[email protected]>
  5991. * ThemeWin32Classic.cs:
  5992. - Rewrote the totally broken CPDrawBorder3D method. That was
  5993. one of the main problems for the terrific ThemeWin32Classic
  5994. look
  5995. - Updated and corrected Button drawing
  5996. - Correct the dimensions of the SizeGrip to match ms ones
  5997. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  5998. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  5999. Border3DStyle.Sunken to match ms.
  6000. 2006-03-25 Alexander Olk <[email protected]>
  6001. * ThemeWin32Classic.cs: First small part of the "de-uglify
  6002. ThemeWin32Classic" effort, SizeGrip
  6003. 2006-03-24 Jackson Harper <[email protected]>
  6004. * XplatUIX11.cs: Give a max idle time of one second, this matches
  6005. MS and forces an Idle event every second when there are no other
  6006. events in the queue.
  6007. 2006-03-24 Mike Kestner <[email protected]>
  6008. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  6009. * ListView.Item.cs: fix layout issues with null image lists and images
  6010. smaller than checkbox size.
  6011. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  6012. mode like MS does. It's weird, but consistent. ;-)
  6013. Fixes #77890.
  6014. 2006-03-24 Mike Kestner <[email protected]>
  6015. * ListView.cs: Scroll wheel support for the item control. Fixes
  6016. #77839.
  6017. 2006-03-23 Jackson Harper <[email protected]>
  6018. * ScrollableControl.cs: Special case negative sized areas, not
  6019. zero.
  6020. * MonthCalendar.cs: Save the rect of the clicked date so we can
  6021. use it for invalidation.
  6022. - Try to cut down on the number of invalidates
  6023. - Invalidate the rect the mouse is over and was over when moving
  6024. the mouse, so we get the focus box following the cursor.
  6025. 2006-03-23 Mike Kestner <[email protected]>
  6026. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  6027. focus rectangle drawing. Fixes #77835.
  6028. 2006-03-23 Mike Kestner <[email protected]>
  6029. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  6030. the if and else if and reverting back to the original == check on the
  6031. None conditional.
  6032. 2006-03-23 Alexander Olk <[email protected]>
  6033. * FontDialog.cs: Update the example panel if the selected index of
  6034. the fontListBox changes.
  6035. 2006-03-23 Alexander Olk <[email protected]>
  6036. * FileDialog.cs: Make FileDialog remember which directory it was in
  6037. last in the same execution.
  6038. 2006-03-22 Mike Kestner <[email protected]>
  6039. * FileDialog.cs: make the DropDownMenu on the toolbar display
  6040. RadioChecks since they are mutually exclusive and that's what MS does.
  6041. 2006-03-22 Mike Kestner <[email protected]>
  6042. * Theme.cs: add Color param to CPDrawMenuGlyph.
  6043. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  6044. checks and radio marks and arrows are visible on highlighted items.
  6045. * ControlPaint.cs: update to use new Theme signature.
  6046. 2006-03-22 Mike Kestner <[email protected]>
  6047. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  6048. is active. Fixes #77870.
  6049. 2006-03-22 Alexander Olk <[email protected]>
  6050. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  6051. to be focused/selected after startup
  6052. 2006-03-22 Alexander Olk <[email protected]>
  6053. * ColorDialog.cs:
  6054. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  6055. CustomColors and ShowHelp properties
  6056. - Some internal rewrites to get better results when using the
  6057. ColorMatrix
  6058. 2006-03-22 Mike Kestner <[email protected]>
  6059. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  6060. HoverSelection. Fixes #77836.
  6061. 2006-03-22 Mike Kestner <[email protected]>
  6062. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  6063. ToggleButtons. (De)Sensitize the Back button around a stack count of
  6064. 1, not 0. Update ButtonSize based on a pixel count of the win32
  6065. control. Adjust the toolbar size/location for new button size.
  6066. 2006-03-22 Jackson Harper <[email protected]>
  6067. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  6068. true.
  6069. * ScrollBar.cs: When doing increments and decrements we need to
  6070. set the Value property so that ValueChanged gets raised. A
  6071. possible optimization here would be to make an internal SetValue
  6072. that doesn't invalidate immediately.
  6073. * ToolTip.cs: Tooltips get added to their container (when
  6074. supplied) so they get disposed when the container is disposed.
  6075. - Don't create tooltips for String.Empty. This prevents all these
  6076. little 2-3 pixel windows from showing up when running nunit-gui
  6077. and driving me mad.
  6078. * Form.cs: Don't set topmost when setting the owner if the handles
  6079. haven't been created yet. The topmost set will happen when the
  6080. handles are created.
  6081. 2006-03-22 Peter Dennis Bartok <[email protected]>
  6082. * XplatUIX11.cs:
  6083. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  6084. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  6085. visible (to allow them to recalculate their sizes)
  6086. 2006-03-21 Mike Kestner <[email protected]>
  6087. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  6088. methods. Removed a ton of redundant code. Still not really happy with
  6089. the border rendering, but I think that's mainly because of the
  6090. ControlDarkDark being black instead of a dark grey. Depending on how
  6091. close we want to be, we might want to revisit those color choices.
  6092. Among the new features added during the refactor were DropDownArrow
  6093. pressed rendering, Disabled image rendering. Proper flat appearance
  6094. boundary rendering. Removed the Divider and Wrapping dividers since I
  6095. can't figure out any combination of themes and conditions to make the
  6096. MS control draw a horizontal line on a toolbar despite what the
  6097. Divider property docs indicate.
  6098. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  6099. conditions and incorrect layout. Updated to coding standard.
  6100. * ToolBarButton.cs: refactored layout and positioning code from
  6101. ToolBar to here. Invalidate wherever possible instead of forcing
  6102. redraws of the whole toolbar.
  6103. (Known remaining issues: explicit ButtonSize smaller than provided
  6104. images.)
  6105. 2006-03-21 Mike Kestner <[email protected]>
  6106. * ContextMenu.cs (Show): use the position parameter instead of just
  6107. showing at the MousePosition.
  6108. 2006-03-21 Jackson Harper <[email protected]>
  6109. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  6110. control handle this.
  6111. * TreeNodeCollection.cs: If we are clearing the root node we need
  6112. to reset top_node so calcs can still happen.
  6113. * ThemeWin32Classic.cs: This is a Flags so we need to check
  6114. properly.
  6115. 2006-03-21 Jackson Harper <[email protected]>
  6116. * DataGrid.cs: Create columns when the binding context has been
  6117. changed.
  6118. * X11Structs.cs: Keysyms are uints.
  6119. - Add size to fix build.
  6120. 2006-03-21 Peter Dennis Bartok <[email protected]>
  6121. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6122. XplatUIOSX.cs:
  6123. - Added ResetMouseHover method to allow controls to retrigger
  6124. hovering if they need it more than once
  6125. - Implemented MouseHoverTime and MouseHoverSize properties
  6126. * Timer.cs: Start() must reset the interval
  6127. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  6128. properties
  6129. 2006-03-21 Jackson Harper <[email protected]>
  6130. * X11Keyboard.cs: improved layout detection. Move the nonchar
  6131. tables into this file.
  6132. * KeyboardLayouts.cs: Move the tables into resource files.
  6133. 2006-03-21 Mike Kestner <[email protected]>
  6134. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  6135. 2006-03-21 Alexander Olk <[email protected]>
  6136. * Mime.cs: Various speed optimizations. Looking up mime types
  6137. is now 2 times faster than before
  6138. 2006-03-17 Peter Dennis Bartok <[email protected]>
  6139. * CreateParams.cs: Added internal menu field
  6140. * Control.cs:
  6141. - Switched call order for UpdateBounds; now we always call
  6142. the one that also takes ClientSize, and we're calculating the
  6143. client size via driver method in the others. The previous
  6144. method of tracking client size by difference wasn't working
  6145. for forms where even the starting client size wouldn't match
  6146. the overall form size (due to borders) (Part of fix for #77729)
  6147. - CreateParams(): Do not use parent.Handle unless the handle is
  6148. already created. Causes havoc with Nexxia and throws off our
  6149. creation of controls
  6150. * XplatUIX11.cs:
  6151. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  6152. - Switched handling of ConfigureNotify over to new PerformNCCalc
  6153. method (consolidates code)
  6154. - Changed RequestNCRecalc to use new PerformNCCalc method
  6155. - Added calls to RequestNCRecalc when menus and borders are changed
  6156. to allow app to set NC size. (Part of fix for #77729) This matches
  6157. when MS send a WM_NCRECALC on Win32 windows.
  6158. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  6159. (Part of fix for #77729). This matches what MS does, they also
  6160. send that message when the form is made visible.
  6161. - XException.GetMessage: Improved usability of X errors by including
  6162. a translation of the window into Hwnd and Control class
  6163. - Improved debug info for window creation, reparenting and destruction
  6164. - Created helper method WindowIsMapped() [Currently not used]
  6165. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  6166. * Form.cs:
  6167. - CreateParams: Now setting our menu on the new internal menu field
  6168. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  6169. avoid calculating the same property twice
  6170. * Hwnd.cs:
  6171. - Improved usability of ToString() for debugging purposes
  6172. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  6173. determine the height of the menu, instead of just the font. This
  6174. required to also create a graphics context and to keep a bmp
  6175. around (for performance reasons)
  6176. 2006-03-17 Peter Dennis Bartok <[email protected]>
  6177. * MenuAPI.cs: Added OnMouseUp method
  6178. * Form.cs:
  6179. - Now remembering the requested client size, avoids size errors
  6180. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  6181. instead of base if the menu is active. This is required due to
  6182. control now capturing and releasing on down/up and it would
  6183. prematurely release our menu capture
  6184. 2006-03-17 Jackson Harper <[email protected]>
  6185. * KeyboardLayouts.cs: Add the czech layouts.
  6186. 2006-03-16 Jackson Harper <[email protected]>
  6187. * Control.cs: Use the viewport space when sizing not the controls
  6188. client size, so things like ScrollableControl that effect the
  6189. viewport size (when scrollbars are added) are computed correctly.
  6190. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  6191. of ManagerEntrys.
  6192. - Handle creating BindingManagers for null data sources.
  6193. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  6194. source, otherwise when rows are added they are added to the 'fake'
  6195. datasource and we will crash when trying to set the position in
  6196. those rows.
  6197. - Use Implicit scrollbars on the datagrid so they arent
  6198. selectable.
  6199. 2006-03-16 Jackson Harper <[email protected]>
  6200. * Binding.cs:
  6201. * InternalWindowManager.cs:
  6202. * MdiWindowManager.cs:
  6203. * X11Keyboard.cs: I really want Mike to love me again (fix
  6204. compiler warnings).
  6205. 2006-03-16 Peter Dennis Bartok <[email protected]>
  6206. * DataGrid.cs:
  6207. - OnMouseDown: Switch to editing mode when clicking on the cell
  6208. even if we're clicking on the cell that's currently
  6209. selected
  6210. - ProcessGridKey: Left/Right now wrap like MS.Net does
  6211. - ProcessGridKey: Tab now knows to add a new row when tab is
  6212. pressed in the cell of the last column of the
  6213. last row
  6214. - ProcessGridKey: Enter now adds another row if pressed in the last
  6215. row and selectes the new row, same column cell
  6216. - ProcessGridKey: Home/End navigate columns, not rows, like
  6217. originally implemented
  6218. - Broke ProcessKeyPreview code out into an extra Internal method
  6219. so it can be called from the edit code
  6220. * DataGridTextBox.cs (ProcessKeyMessage):
  6221. - Switched to accept Tab keypresses
  6222. - Added F2 handling to allow jumping to the end of the edited cell
  6223. - Added logic to allow moving caret left/right inside edited cell
  6224. and making the edited cell jump when the caret hits cell borders
  6225. - Tab and Enter are now passed to the datagrid after being handled
  6226. * TextBoxBase.cs:
  6227. - Removed capture code now that Control handles it
  6228. - set_SelectionStart now ensures caret is visible
  6229. 2006-03-16 Jackson Harper <[email protected]>
  6230. * TrackBar.cs: Debackwards the increment/decrement for handling
  6231. mouse clicks on the bar with vertical trackbars.
  6232. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  6233. bottom to match MS.
  6234. 2006-03-16 Mike Kestner <[email protected]>
  6235. * ListView.cs: make shift/ctrl keyboard and mouse selection
  6236. consistent with the MS control. Fix a bug in
  6237. SelectedListViewItemCollection.Clear that was pissing me off for the
  6238. better part of a day because the collection was being altered
  6239. underneath us as we walked the list.
  6240. 2006-03-16 Peter Dennis Bartok <[email protected]>
  6241. * Control.cs: Not sure how we could miss this so long, but it seems
  6242. that MS.Net has Capture set all the way from before calling
  6243. OnMouseDown through sending the mouse events until after
  6244. OnMouseUp. This will fix DataGrid's selection being set to end
  6245. at the location of the MouseUp.
  6246. 2006-03-15 Jackson Harper <[email protected]>
  6247. * BindingContext.cs: Check the binding after its added so that it
  6248. can initialize the binding managers and hookup to events.
  6249. * Binding.cs: Data members seem to sometimes include rows/cols in
  6250. the format Row.Column we now take this into account.
  6251. - Hookup to the position changed event so we can update the
  6252. control when the position has changed in the data set.
  6253. * CurrencyManager.cs: Take into account the row/col naming
  6254. convention when creating dataset tables.
  6255. * BindingContext.cs: Using a newer better way of storing
  6256. datasource/datamember pairs. Hopefully this better matches MS for
  6257. looking up binding managers.
  6258. 2006-03-15 Jackson Harper <[email protected]>
  6259. * BindingContext.cs: The currency manager needs the data member
  6260. name, if the member is a data set we use the name to find the
  6261. correct table.
  6262. * CurrencyManager.cs: When creating the list prefer an IList over
  6263. an IListSource.
  6264. - Attempt to create a DataTable from a DataSet (TODO: might need
  6265. some better error checking here, although MS doesn't seem to have much)
  6266. - If we have a DataTable create a view and use it as our list.
  6267. 2006-03-15 Mike Kestner <[email protected]>
  6268. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  6269. keyboard navigation. Support Up/Down/Left/Right selection correctly
  6270. for all 4 View modes.
  6271. * ListViewItem.cs: add internal row/col fields for icon layouts.
  6272. 2006-03-15 Jackson Harper <[email protected]>
  6273. * TabControl.cs: Redraw the tabs when we resize so their newly
  6274. calculated sizes are drawn on screen.
  6275. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  6276. composite characters.
  6277. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  6278. - filter events so that composite characters can be created
  6279. patches by peter
  6280. * X11Structs.cs: Add XIMProperties enum.
  6281. 2006-03-14 Peter Dennis Bartok <[email protected]>
  6282. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  6283. unless it's created
  6284. 2006-03-14 Peter Dennis Bartok <[email protected]>
  6285. * Control.cs (PerformLayout): We don't need to consider visiblity
  6286. for anchoring, only for docking. This fixes 'whacky' alignment
  6287. in listbox and other controls that use implicit scrollbars after
  6288. the previous PerformLayout patch
  6289. * ListBox.cs: Switched to use implicit scrollbars
  6290. 2006-03-14 Mike Kestner <[email protected]>
  6291. * ToolBar.cs:
  6292. * VScrollBar.cs:
  6293. - chain up the "new event" overrides to base and use
  6294. OnEvent to raise them. Part of fix for bug #76509.
  6295. 2006-03-14 Alexander Olk <[email protected]>
  6296. * FileDialog.cs: Do not select an item in the parent directory
  6297. on backspace
  6298. 2006-03-14 Peter Dennis Bartok <[email protected]>
  6299. * Control.cs (PerformLayout): It would seem that we considered
  6300. invisible windows for our layout. Not quite the right thing
  6301. to do. Now we don't any longer, thereby fixing bug #76889.
  6302. 2006-03-14 Peter Dennis Bartok <[email protected]>
  6303. * Control.cs (CanFocus): I goofed. A control can have focus
  6304. even though it's not selectable. Made it match MS docs.
  6305. 2006-03-13 Peter Dennis Bartok <[email protected]>
  6306. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  6307. center by default (fixes #76895)
  6308. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  6309. all uses of Border3DSides.All with the explicit ORd together
  6310. Left|Right|Top|Bottom because I assume that nobody was aware
  6311. that All also implies a center fill. Most places I checked had
  6312. a fill right above.
  6313. * ProgressBarStyle.cs: Added
  6314. 2006-03-13 Mike Kestner <[email protected]>
  6315. * ListView.cs: fix breakage in drag shadow header positioning
  6316. from Peter's csc compilation fix.
  6317. 2006-03-13 Mike Kestner <[email protected]>
  6318. * ListView.cs: fix NRE produced by backspacing twice in a focused
  6319. FileDialog.
  6320. 2006-03-13 Mike Kestner <[email protected]>
  6321. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  6322. 2006-03-13 Peter Dennis Bartok <[email protected]>
  6323. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  6324. be changed
  6325. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  6326. the allowed size before making programmatic size changes
  6327. 2006-03-13 Peter Dennis Bartok <[email protected]>
  6328. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  6329. set, metacity is broken and will still use the emty sizes in
  6330. the struct. (Fix for #77089)
  6331. 2006-03-13 Peter Dennis Bartok <[email protected]>
  6332. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  6333. WindowExStyles and marked both enums as Flags
  6334. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  6335. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  6336. to match WindowStyles split
  6337. * XplatUIX11.cs:
  6338. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  6339. - Updated to match WindowStyles split
  6340. * XplatUIWin32.cs:
  6341. - Fixed FosterParent creation, was using ExStyle on the Style field
  6342. (This should help with Popup focus issues)
  6343. - Updated to match WindowStyles split
  6344. 2006-03-13 Jackson Harper <[email protected]>
  6345. * MdiWindowManager.cs: Use the system menu height. Fixes some
  6346. strange sizing issues.
  6347. 2006-03-12 Peter Dennis Bartok <[email protected]>
  6348. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  6349. * TextBoxBase.cs:
  6350. - Scroll to caret after inserting text (#77672)
  6351. - Make scroll range one pixel higher, fixes off-by-one error (and
  6352. makes underlines visible on the last line)
  6353. 2006-03-12 Peter Dennis Bartok <[email protected]>
  6354. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  6355. the keyboard state from being stuck with keys in 'pressed' state when
  6356. focus is switched away via keyboard
  6357. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  6358. reset the keyboard if no X11 KeyUp events are expected to come
  6359. * X11Structs.cs: Switched type of Visible to bool to match driver
  6360. 2006-03-12 Peter Dennis Bartok <[email protected]>
  6361. * TextControl.cs:
  6362. - Switched caret to be just 1 pixel wide, matches MS and looks less
  6363. clunky
  6364. - Moved caret display 1 pixel down from the top of the control
  6365. to improve view
  6366. - InsertCharAtCharet: Update the selection start if moving the caret
  6367. (fixes bug #77696; based on patch suggested by [email protected])
  6368. - No longer always creating the caret when the caret methods are
  6369. called. Only the actual ShowCaret/HideCaret will do that now
  6370. - Only setting caret visible if the owner control has focus
  6371. - UpdateView: Added invalidation-shortcut logic for center and right
  6372. aligned text. Previously we'd update all according to the left
  6373. logic which caused drawing errors. Also fixed height of invalidated
  6374. areas, now properly invalidating the whole area (was off-by-one)
  6375. - owner_HandleCreated: Always generate the document when the
  6376. handle is created; this ensures that
  6377. * TextBoxBase.cs:
  6378. - Fixed situation where caret would disappear under the right
  6379. window border, also improved scrolling behaviour on left-
  6380. aligned textboxes
  6381. - Fixed right-aligned textboxes to have a border to the
  6382. right instead of the caret being under the right border
  6383. * XplatUIX11.cs:
  6384. - Switched from 'nested' to simple visible/not visible tracking
  6385. for caret (part of fix for #77671)
  6386. - No longer passing through translated FocusIn/FocusOut messages
  6387. since we were notifying too often and the wrong windows. Instead
  6388. we just notify our focussed window of receiving or loosing focus
  6389. * XplatUIWin32.cs: Switched from 'nested' show/hide
  6390. counting for caret to simple visible yes/no behaviour (part of
  6391. fix for #77671)
  6392. 2006-03-11 Alexander Olk <[email protected]>
  6393. * Mime.cs: Remove debug code...
  6394. 2006-03-11 Alexander Olk <[email protected]>
  6395. * MimeGenerated.cs: Removed
  6396. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  6397. and subclasses) from /usr/(local/)share/mime and
  6398. $HOME/.local/share/mime.
  6399. 2006-03-10 Jackson Harper <[email protected]>
  6400. * MdiWindowManager.cs: Recalc the NC area when a window is
  6401. maximized/restored so that the menu area is drawn on forms that
  6402. don't have a menu.
  6403. 2006-03-10 Peter Dennis Bartok <[email protected]>
  6404. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  6405. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  6406. us to force a WM_NCCALCRESIZE message being sent. This is needed
  6407. for MDI maximizing.
  6408. 2006-03-10 Jackson Harper <[email protected]>
  6409. * Form.cs: We need to use the ActiveMenu when calculating menu
  6410. height.
  6411. - Fix nullref when the window manager hasn't been created yet.
  6412. * Control.cs: Fix nullref when we try to bring a control to the
  6413. front that has no parent.
  6414. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  6415. height.
  6416. - Add a dummy item to the maximized menu so it always has the
  6417. correct height. Otherwise when there are no menus we don't get our
  6418. icon and buttons.
  6419. 2006-03-10 Jackson Harper <[email protected]>
  6420. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  6421. stuff.
  6422. * Form.cs: Make the window_state internal so the window managers
  6423. can track it.
  6424. - When an MDI child is maximized let its window manager create the
  6425. main menu (so it can add its icon).
  6426. - Notify the window managers of state changes
  6427. - Let the window manager paint its buttons and handle button
  6428. clicks on the menu when it is maximized.
  6429. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  6430. window manager, since tool windows don't use it, only mdi windows.
  6431. - Tell the main form that we don't want it to handle NCPAINT
  6432. itself to avoid extra painting.
  6433. - Handle clicks on a maximized windows menu.
  6434. - Handle window state changes
  6435. - Handle minimize/maximize clicks correctly by setting the window state.
  6436. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  6437. when clicking on the forms icon).
  6438. - New method to create a forms maximized menu. This is its normal
  6439. menu + an icon.
  6440. - Handle window state changes.
  6441. - Handle sizing of maximized windows. Maximized windows are just
  6442. drawn bigger then the parent visible area. All controls are still
  6443. there, they are just outside the visible area (this matches windows).
  6444. * MdiClient.cs: No scrollbars when a child window is maximized.
  6445. - Let the children windows figure out how big they should be when
  6446. sizing maximized windows.
  6447. - Implement a version of ArrangeIconicWindows somewhat similar to
  6448. Windows version. There are some little differences, but I don't
  6449. think any app will rely on the layout of minimized mdi windows.
  6450. 2006-03-10 Peter Dennis Bartok <[email protected]>
  6451. * Padding.cs: Several fixes to allow compiling with csc 2.0
  6452. 2006-03-09 Jackson Harper <[email protected]>
  6453. * Menu.cs:
  6454. * MenuItem.cs: Cheap hack so we can add items to the list without
  6455. the events being raised. This allows adding mdi items during
  6456. drawing. TODO: Should probably find a better time to add the items.
  6457. 2006-03-10 Peter Dennis Bartok <[email protected]>
  6458. * ThemeWin32Classic.cs:
  6459. - CheckBox_DrawText: Added logic to not wrap if not enough space
  6460. is available (Fix for bug #77727)
  6461. - RadioButton_DrawText: Added logic not to wrap if not enough
  6462. space is available (Fix for bug #77727). Also removed some
  6463. duplicate code, DrawString always drawing the regular text
  6464. before hitting the if statement.
  6465. 2006-03-10 Peter Dennis Bartok <[email protected]>
  6466. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  6467. 2006-03-10 Peter Dennis Bartok <[email protected]>
  6468. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  6469. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  6470. methods. Moved the new 2.0 properties into alphabetical order with
  6471. other properties and added MonoTODO tags
  6472. 2006-03-09 Peter Dennis Bartok <[email protected]>
  6473. * AutoScaleMode.cs: Added. Fix build.
  6474. 2006-03-09 Peter Dennis Bartok <[email protected]>
  6475. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6476. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  6477. and was requiring premature handle creation for calls from above
  6478. * Form.cs, Control.cs: Removed handle arguments from calls to
  6479. CalculateClientRect()
  6480. 2006-03-09 Peter Dennis Bartok <[email protected]>
  6481. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  6482. drag_column.column_rect is MarshalByRef and can't be used that way
  6483. 2006-03-09 Peter Dennis Bartok <[email protected]>
  6484. * AxHost.cs: Added deserialization constructor for
  6485. AxHost+State (fixes 77743)
  6486. 2006-03-09 Mike Kestner <[email protected]>
  6487. * ListView.cs:
  6488. - Added column drag reordering for details view.
  6489. - fixed behavior when mouse is dragged off column and
  6490. AllowColumnReorder is false.
  6491. * ColumnHeader.cs: clone the format too in Clone.
  6492. * Theme.cs: add DrawListViewHeaderDragDetails method.
  6493. * ThemeWin32Classic.cs:
  6494. - impl new method for drawing drag column shadows and targets.
  6495. - support column offset for details mode in DrawListViewItem.
  6496. 2006-03-09 Peter Dennis Bartok <[email protected]>
  6497. * TextControl.cs: Reset the char_count when the document is cleared
  6498. (Fixes bug reported on mono-winforms mailing list)
  6499. 2006-03-09 Peter Dennis Bartok <[email protected]>
  6500. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  6501. of calling base we simply process the key ourselves, since both
  6502. DefWindowProc and the handled method would set m.Result.
  6503. (Fixes #77732)
  6504. 2006-03-09 Peter Dennis Bartok <[email protected]>
  6505. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  6506. method also moves the window; instead implemented a copy of
  6507. Control.ScaleCore (Part of fix for #77456)
  6508. * TextBoxBase.cs:
  6509. - Created new CreateGraphicsInternal method to allow providing
  6510. a graphics context when no handle is created without triggering
  6511. handle creation. (Part of fix for #77456)
  6512. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  6513. * TextControl.cs:
  6514. - Switched Constructor to require TextBoxBase instead of Control (to
  6515. allow uncast access to CreateGraphicsInternal)
  6516. - Safeguarded use of owner.Handle property. No longer accessing it
  6517. unless the handle is already created.
  6518. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  6519. - Now triggering a recalc when owning control becomes visible
  6520. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  6521. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  6522. premature handle creation (Part of fix for #77456)
  6523. * Control.cs:
  6524. - We now only destroy our double-buffering buffers when the
  6525. control is resized or disposed, but not when visibility
  6526. changes. (The code even re-created them twice every time)
  6527. - Now requiring a redraw of the buffer on visibility changes
  6528. (fixes bug 77654 part 2)
  6529. - Not passing OnParentVisibleChanged up unless the control
  6530. is visible
  6531. - CanFocus: Fixed to match MS documentation
  6532. - Focus: Fixed to return actual focus state and to check if
  6533. setting focus is legal before setting it
  6534. 2006-03-08 Peter Dennis Bartok <[email protected]>
  6535. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  6536. when to draw focus rectangle by looking at parent focus and
  6537. selected state instead. This fixes TabPages on Linux sometimes
  6538. having none or multiple focus rectangles.
  6539. * XplatUIX11.cs (SetFocus):
  6540. - Don't set the focus if the same window already has focus
  6541. - Use SendMessage instead of PostMessage (like it's Win32
  6542. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  6543. to match MS behaviour
  6544. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  6545. are not selectable.
  6546. 2006-03-07 Jackson Harper <[email protected]>
  6547. * PictureBox.cs: Revert line I accidently committed last week.
  6548. 2006-03-07 Peter Dennis Bartok <[email protected]>
  6549. * Control.cs:
  6550. - Added new IsRecreating and ParentIsRecreating properties to
  6551. allow testing if RecreateHandle has been called on ourselves
  6552. or one of our parents
  6553. - WndProc(WM_DESTROY): If our control handle is being recreated
  6554. we immediately need to create the handle when receiving the
  6555. destroy, that way our child windows find a valid parent handle
  6556. when they themselves are being recreated upon WM_DESTROY receipt
  6557. (fix for bug #77654 part 1)
  6558. * XplatUIX11.cs:
  6559. - DestroyWindow: WM_DESTROY must be sent to our own window before
  6560. notifying any child windows. MS documents that child windows
  6561. are still valid when WM_DESTROY is received. (Control now relies on
  6562. this behaviour)
  6563. - Added some fine-grain debug options
  6564. 2006-03-06 Jackson Harper <[email protected]>
  6565. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  6566. box and base calculations off this.
  6567. * MdiChildContext.cs:
  6568. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  6569. anymore.
  6570. 2006-03-06 Peter Dennis Bartok <[email protected]>
  6571. * Splitter.cs: In situations where the affected control is added
  6572. to the parent's control list after the splitter, we would not
  6573. populate affected. Now we try populating it on mousedown, if
  6574. it's not already set, and force it to be re-set whenever our
  6575. parent changes.
  6576. 2006-03-03 Matt Hargett <[email protected]>
  6577. * Control.cs: implement Control.Padding
  6578. * Padding.cs: -Padding.All returns -1 when constructing with the
  6579. implicit default ctor
  6580. -Padding.ToString() matches MS.NET
  6581. * ContainerControl.cs: implement
  6582. ContainerControl.AutoScaleDimensions
  6583. * ListControl.cs: implement ListControl.FormattingEnabled
  6584. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  6585. * ButtonBase.cs:
  6586. * TabPage.cs: Implement UseVisualStyleBackColor.
  6587. * PictureBox.cs: Implement PictureBox.InitialImage.
  6588. 2006-03-03 Mike Kestner <[email protected]>
  6589. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  6590. event declarations to proxy to base event.
  6591. * ListViewItem.cs: update to use ItemControl.
  6592. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  6593. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  6594. column header label rendering for 0 width columns.
  6595. 2006-03-03 Peter Dennis Bartok <[email protected]>
  6596. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  6597. that causes the control to be created. Fixes #77476.
  6598. 2006-03-02 Jackson Harper <[email protected]>
  6599. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  6600. expose_pending.
  6601. 2006-03-02 Peter Dennis Bartok <[email protected]>
  6602. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  6603. passed in for the EventArgs (fixes #77690)
  6604. 2006-03-01 Jackson Harper <[email protected]>
  6605. * ScrollBar.cs: Refresh afterbeing resized.
  6606. 2006-02-28 Mike Kestner <[email protected]>
  6607. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  6608. Clean up a tracker compile warning.
  6609. * MenuItem.cs: add internal PerformPopup method.
  6610. [Fixes #77457]
  6611. 2006-02-28 Peter Dennis Bartok <[email protected]>
  6612. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  6613. implicit expose) when the text is set to null
  6614. 2006-02-28 Peter Dennis Bartok <[email protected]>
  6615. * RichTextBox.cs (FlushText): When newline is true, we always
  6616. need to split the line, even if no text is on it and we may
  6617. never eat newlines. (Fixes #77669)
  6618. 2006-02-28 Mike Kestner <[email protected]>
  6619. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  6620. and set Selected instead.
  6621. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  6622. collections.
  6623. 2006-02-28 Peter Dennis Bartok <[email protected]>
  6624. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  6625. 2006-02-28 Alexander Olk <[email protected]>
  6626. * FontDialog.cs:
  6627. - Got rid of the panel. All controls are now directly added to
  6628. the dialog form
  6629. - It is now possible to set a font with the Font property
  6630. - MinSize and MaxSize property do now what they should
  6631. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  6632. - Searching and selecting a font with the font textbox works now,
  6633. the same applies to the style and size textbox
  6634. - Draw the correct 3D border in the example panel
  6635. - Fixed a little mem leak (unused fonts didn't get disposed)
  6636. - Many other internal updates/rewrites...
  6637. - Fix typo
  6638. 2006-02-27 Peter Dennis Bartok <[email protected]>
  6639. * TextControl.cs:
  6640. - InsertRTFFromStream: Added 'number of characters inserted' argument
  6641. - set_SelectedRTF: Now using the number of characters to calculate
  6642. the new location for the selection and cursor (x/y cannot be used
  6643. due to potentially already wrapped text)
  6644. 2006-02-27 Peter Dennis Bartok <[email protected]>
  6645. * TextControl.cs: Added property and implemented means to allow
  6646. disabling recalculation of a document (can be used to speed up
  6647. multiple inserts and is needed to make RTF inserts predictable, see
  6648. bug #77659)
  6649. * RichTextBox.cs: Using the new NoRecalc property of Document to
  6650. keep x/y insert locations predictable. Also makes it faster inserting
  6651. large chunks of RTF
  6652. 2006-02-27 Peter Dennis Bartok <[email protected]>
  6653. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  6654. it's easier for a child control to handle the other messages without
  6655. having to duplicate the special functionality
  6656. * TextBoxBase.cs
  6657. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  6658. code to handle processing the key ourselves, in order to get
  6659. access to the result of KeyEventArgs.Handled. We now only call
  6660. ProcessKey if they key hasn't been handled already. Fixes #77526.
  6661. - set_Text: If null or empty string is given, just clear the
  6662. document. Fixes part of #77526
  6663. 2006-02-27 Jackson Harper <[email protected]>
  6664. * SizeGrip.cs: Paint the background color before painting the grip
  6665. so things look right.
  6666. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  6667. 2006-02-27 Mike Kestner <[email protected]>
  6668. * ListView.cs:
  6669. - Restructure layout and invalidation model to remove a ton of
  6670. flicker from the control and speed up performance in general.
  6671. - Add manual column resize, flickers like crazy, but I already have
  6672. some ideas on how I'll fix that. (#76822)
  6673. - Merge the three Icon-based views into a single layout method.
  6674. - Move item selection interaction logic from the item since
  6675. interaction with the collections is more appropriate to the view.
  6676. - Deselection on non-item clicks.
  6677. * ListViewItem.cs:
  6678. - Encapsulate most of the layout. Add some internal props to trigger
  6679. layout. Move to a model where Items invalidate themselves instead
  6680. of just invalidating the whole control every time something changes.
  6681. - Invalidate on Text/Caption changes.
  6682. - switch to an offset based layout model to avoid having to absolute
  6683. position every element on item moves.
  6684. - correct checkbox layout to conform to MS layout.
  6685. * ThemeWin32Classic.cs:
  6686. - refactor some column header drawing code.
  6687. - fix string justification for column headers (#76821)
  6688. - make SmallIcon labels top justified for compat with MS impl.
  6689. * ThemeClearlooks.cs:
  6690. - adjust to new ListViewItem internal checkbox bounds api.
  6691. 2006-02-27 Jackson Harper <[email protected]>
  6692. * Control.cs: Change where implicit controls fall in the zorder.
  6693. They are now on top of all children.
  6694. - Synced AddImplicit code with Add
  6695. - Removed unused enumerator.
  6696. * SizeGrip.cs: Remove the TODO as its been TODONE.
  6697. 2006-02-26 Peter Dennis Bartok <[email protected]>
  6698. * TextControl.cs(Insert): Combine the last lines unless the insertion
  6699. string ends with \n\n, otherwise we leave one line too many (Fixes
  6700. something I noticed with the testapp for #77526; the bug itself was
  6701. already fixed in the previous checkin)
  6702. 2006-02-26 Peter Dennis Bartok <[email protected]>
  6703. * RichTextBox.cs:
  6704. - SelectionColor and SelectionFont methods no longer set absolute
  6705. styles. Instead, the keep font or color respectively (This
  6706. resolves a long-standing FIXME in the code)
  6707. - When flushing RTF text, the insert code now considers text trailing
  6708. behind the insertion point (Fixes the bug where when replacing
  6709. the selected text via SelectedRTF the remainder of the line behind
  6710. the selection would stay on the first insertion line)
  6711. * TextBoxBase.cs:
  6712. - AppendText now updates the selection points after inserting text
  6713. - AppendText now ensures that the last tag (sometimes 0-length) of
  6714. the document is used for the style information (Fixes part of
  6715. bug #77220)
  6716. * TextControl.cs:
  6717. - Created new FontDefiniton class to allow describing partial style
  6718. changes
  6719. - StreamLine() now takes a lines argument, to allow it to decide
  6720. whether an encountered zero-length tag is the last in the document
  6721. (which must be kept to not loose the font/color contained in it,
  6722. for later appends)
  6723. - Created Combine() and Split() methods for Marker structs, to
  6724. support marker updates due to reformatted documents (soft line
  6725. wraps)
  6726. - Implemented Document.CaretTag setter
  6727. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  6728. of the last line (Not the cause, but also exposed by bug #77220)
  6729. - Added LineTag argument to InsertString method, to allow callers
  6730. to force a certain tag to be used (required to force use of the
  6731. trailing zero-length tag of a document)
  6732. - Now updating markers in Combine(), to avoid stale tag markers
  6733. - Added some method descriptions to aid maintenance
  6734. - Implemented new FormatText concept, allowing additive/subtractive
  6735. formatting by only specifying the components that are to be
  6736. changed. This was needed for resolving the RTB.SelectedColor/
  6737. RTB.SelectedFont fixmes
  6738. - Added Break() support method to allow breaking up linetags (used
  6739. for partial formatting)
  6740. - Added GenerateTextFormat() method. It is used for partial
  6741. formatting and allows to generate a full font/color from given
  6742. attributes and an existing tag.
  6743. 2006-02-26 Jackson Harper <[email protected]>
  6744. * XplatUIX11.cs: Use the correct caption height.
  6745. - Translate hittest coordinates to screen coords to match MS.
  6746. * XplatUIWin32.cs: When we create MDI windows we need to reset
  6747. some of the style flags, so we get a nice blank window, and can
  6748. draw all the decorations ourselves.
  6749. - Set a clipping rectangle on the non client paint event, the
  6750. window manager drawing code needs one.
  6751. * Form.cs: The window manager needs to know when the window state
  6752. has been updated.
  6753. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  6754. don't need to factor in border and title sizes in these
  6755. methods. TODO: Remove the args and fix the call points.
  6756. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  6757. properly.
  6758. - Let the driver set the cursors.
  6759. - Improve active window handling
  6760. - Correct sizes for title bars and buttons.
  6761. - Match MS drawing better
  6762. * MdiWindowManager.cs: We don't need to handle border style
  6763. updates specially anymore.
  6764. - Check for scrollbars when windows are done moving
  6765. - Handle Active properly.
  6766. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  6767. correctly. I am spewing the exception though, so we don't hide the
  6768. bugs.
  6769. 2006-02-26 Pedro Martinez Julia <[email protected]>
  6770. * DataGridViewRowPostPaintEventArgs.cs,
  6771. DataGridViewCellPaintingEventArgs.cs,
  6772. DataGridViewRowCollection.cs,
  6773. DataGridViewRowPrePaintEventArgs.cs,
  6774. DataGridViewCell.cs: Clear a few warnings and implement a few
  6775. exceptions that should be thrown.
  6776. 2006-02-22 Peter Dennis Bartok <[email protected]>
  6777. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  6778. 'inheriting' our parent's (non-default) cursor. (Part of
  6779. the fix for #77479)
  6780. 2006-02-22 Peter Dennis Bartok <[email protected]>
  6781. * XplatUIX11.cs: Fixed cast to make csc happy
  6782. 2006-02-22 Peter Dennis Bartok <[email protected]>
  6783. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  6784. it's for the client area (part of fix for #77479 and needed
  6785. for MDI window cursor handling)
  6786. * XplatUIX11.cs
  6787. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  6788. the appropriate default cursors and also passing the message
  6789. up the parent chain
  6790. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  6791. for non-client areas
  6792. 2006-02-15 Jackson Harper <[email protected]>
  6793. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  6794. is a real MDI window
  6795. 2006-02-14 Alexander Olk <[email protected]>
  6796. * X11DesktopColors.cs: Instead of checking the desktop session
  6797. string for "KDE" check if it starts with "KDE"
  6798. 2006-02-10 Jackson Harper <[email protected]>
  6799. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  6800. systems).
  6801. 2006-02-10 Alexander Olk <[email protected]>
  6802. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  6803. errors
  6804. * ColorDialog.cs:
  6805. - Got rid of the panel. All controls are now directly added to
  6806. the dialog form
  6807. - Changed to mono coding style
  6808. 2006-02-10 Jackson Harper <[email protected]>
  6809. * InternalWindowManager.cs: We don't need the set visibility to
  6810. false hack anymore now that peter has written beautiful shutdown
  6811. code.
  6812. 2006-02-10 Peter Dennis Bartok <[email protected]>
  6813. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  6814. where already explicitly destroyed
  6815. 2006-02-10 Jackson Harper <[email protected]>
  6816. * MdiClient.cs: Handle the case where windows are too high or to
  6817. the left and we need scrollbars.
  6818. 2006-02-10 Alexander Olk <[email protected]>
  6819. * MimeIcon.cs: Added some icons
  6820. * FileDialog.cs:
  6821. - Fixed bug #77477
  6822. - Got rid of the panel. All controls are now directly added to
  6823. the dialog form
  6824. - Changed to mono coding style
  6825. - On Linux "My Computer" and "My Network" will now show some
  6826. more usefull information. A new class, MasterMount, gathers
  6827. this information from /proc/mount. Updated MWFFileView to make
  6828. use of this information
  6829. - Fixed a bug that caused FileDialog to crash when
  6830. ".recently_used" file had a zero size
  6831. - FilterIndex does now what it should
  6832. - Some Refactoring
  6833. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  6834. FileDialog changes
  6835. 2006-02-09 Jackson Harper <[email protected]>
  6836. * ComboBox.cs: Don't touch if null.
  6837. 2006-02-09 Peter Dennis Bartok <[email protected]>
  6838. * Cursor.cs: 64bit safeness fix
  6839. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  6840. 2006-02-09 Jackson Harper <[email protected]>
  6841. * Form.cs: If a form is made into an MDI form update the styles so
  6842. all the props can get set correctly.
  6843. - Kill the mdi_container when we dont need it anymore.
  6844. * InternalWindowManager.cs: Add missing NOT
  6845. 2006-02-08 Jackson Harper <[email protected]>
  6846. * InternalWindowManager.cs: Respek clipping when drawing MDi
  6847. decorations.
  6848. 2006-02-08 Jackson Harper <[email protected]>
  6849. * Hwnd.cs: Add bits to track non client expose events.
  6850. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  6851. gives us a proper invalid rect and will allow for some nice
  6852. optimizations with NC client drawing
  6853. - MDI windows are children windows, so move their style handling
  6854. into the child window block.
  6855. * InternalWindowManager.cs: Remove a state reset that was
  6856. getting invoked at the wrong time. Fixes managed windows getting
  6857. into a 'stuck' captured state.
  6858. 2006-02-07 Peter Dennis Bartok <[email protected]>
  6859. * TextControl.cs (Document.ctor): Now initializing
  6860. selection_anchor. Fixes #77493
  6861. 2006-02-07 Jackson Harper <[email protected]>
  6862. * TrackBar.cs: The increment/decrements were backwards.
  6863. 2006-02-07 Mike Kestner <[email protected]>
  6864. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  6865. to the instance itself.
  6866. 2006-02-07 Peter Dennis Bartok <[email protected]>
  6867. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  6868. on ulongs and pointers, the size differs between 32bit and 64bit
  6869. systems.
  6870. 2006-02-07 Mike Kestner <[email protected]>
  6871. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  6872. for 64 bit platforms to work around a metacity bug.
  6873. 2006-02-07 Jackson Harper <[email protected]>
  6874. * TrackBar.cs: Process the input keys we need, and hookup to
  6875. KeyDown instead of using WndProc, so we get key messages.
  6876. 2006-02-06 Peter Dennis Bartok <[email protected]>
  6877. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  6878. machine we're on.
  6879. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  6880. we need to translate the XdndVersion atoms array before sending it
  6881. 2006-02-06 Peter Dennis Bartok <[email protected]>
  6882. * XplatUIX11.cs:
  6883. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  6884. number of bits for the property, not the number of bytes. The
  6885. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  6886. but would not crash since it specified 8 bits instead of 4 bits)
  6887. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  6888. defined as XID -> long in the C headers)
  6889. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  6890. references since those are now IntPtr to begin with
  6891. - Switched all Atom.XXX 'int' casts to IntPtr casts
  6892. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  6893. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  6894. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  6895. * X11Structs.cs:
  6896. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  6897. - Changed atom in HoverStruct to be IntPtr
  6898. * X11DnD.cs:
  6899. - Removed local DllImports, switched code to use those from XplatUIX11
  6900. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  6901. 2006-02-06 Mike Kestner <[email protected]>
  6902. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  6903. method signatures in the import region. There may still be some
  6904. lingering struct marshaling issues, as I didn't drill down into those.
  6905. Yet.
  6906. 2006-02-06 Jackson Harper <[email protected]>
  6907. * ComboBox.cs: Dont manually set the top_item, this is computed
  6908. when the scrollbar position is set.
  6909. 2006-02-06 Mike Kestner <[email protected]>
  6910. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  6911. startup crashes on amd64. There's other fixes needed. All pinvoke
  6912. usage of Atom needs to be mapped to IntPtr for example. And there are
  6913. likely other int/long issues to be addressed.
  6914. 2006-02-04 Alexander Olk <[email protected]>
  6915. * FileDialog.cs: One more...
  6916. 2006-02-03 Alexander Olk <[email protected]>
  6917. * FileDialog.cs: Next try
  6918. 2006-02-03 Alexander Olk <[email protected]>
  6919. * FileDialog.cs: First part of fix for #77464
  6920. 2006-02-03 Alexander Olk <[email protected]>
  6921. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  6922. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  6923. AcceptButton border drawing.
  6924. 2006-02-03 Peter Dennis Bartok <[email protected]>
  6925. * Form.cs: Moved positioning of form after auto scaling is applied,
  6926. otherwise it would possibly use wrong form size.
  6927. 2006-02-03 Peter Dennis Bartok <[email protected]>
  6928. * Control.cs (RecreateHandle): No need to re-create any child
  6929. controls, the child windows will get destroyed automatically by
  6930. the windowing system or driver, and re-created when the handle
  6931. is being accessed the first time. Fixes #77456
  6932. * Form.cs: No longer setting the form to closing if the handle is
  6933. being recreated. This seems like the right thing to do, don't
  6934. have a bug or testcase for this, though.
  6935. 2006-02-02 Peter Dennis Bartok <[email protected]>
  6936. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  6937. controls to avoid unwanted side effects
  6938. 2006-02-02 Peter Dennis Bartok <[email protected]>
  6939. * Control.cs:
  6940. - ScaleCore needs to scale the bounds, not the ClientSize of the
  6941. control. Fixes #77416.
  6942. - DefaultSize is 0,0 for control
  6943. * TextBoxBase.cs:
  6944. - DefaultSize is 100, 20
  6945. - SetBoundsCore: Now enforcing the height, no matter if the provided
  6946. height is more or less than the preferred one, as long as AutoSize
  6947. is on
  6948. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  6949. 2006-02-02 Peter Dennis Bartok <[email protected]>
  6950. * Control.cs:
  6951. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  6952. call unless both performLayout is true *and* we have a pending
  6953. layout change
  6954. - ResumeLayout: MS does not completely nest Suspend and Resume,
  6955. they bottom out at 0, fixed our code to match that.
  6956. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  6957. SetBoundsCore, we were updating even when we shouldn't. This fixes
  6958. swf-anchors mis-anchoring when resizing the app fast and lots.
  6959. - UpdateDistances: Now only setting the left and top distance if
  6960. we have a parent and are not suspended, this is based on
  6961. a suggestion by Don Edvaldson in bug #77355.
  6962. - OnVisibleChanged: Fixed logic when to create the control. We may
  6963. not create the control if we have no parent or if it's not visible;
  6964. switched to using Visible property instead of is_visible field
  6965. since the property also considers parent states. This fixes a bug
  6966. when starting Paint.Net
  6967. 2006-02-02 Jackson Harper <[email protected]>
  6968. * Form.cs: If the forms handle hasn't been created yet don't call
  6969. into xplatui to make it top most, just set the topmost flag on the
  6970. form in CreateParams
  6971. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  6972. 2006-02-01 Jackson Harper <[email protected]>
  6973. * ScrollableControl.cs: Refactored the Recalculate method a
  6974. little, this wasn't handling all the variants of bottom and right
  6975. bars needed to be added and added/removed based on their
  6976. counterparts being added/removed (which changes the drawable
  6977. size). Also we special case client widths and heights of 0 and
  6978. don't add the scrollbar for those.
  6979. 2006-02-01 Peter Dennis Bartok <[email protected]>
  6980. * XplatUIX11.cs:
  6981. - Added method to get AbsoluteGeometry(); currently unused, but might
  6982. be used in the future, if we try again to figure out toplevel
  6983. coordinates with some more crappy window managers
  6984. - Added FrameExtents() method to retrieve the WM set decoration size
  6985. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  6986. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  6987. * Hwnd.cs:
  6988. - Added whacky_wm tracking var for metacity
  6989. - Added logic to have default menu height if the actual menu height
  6990. has not yet been calculated (part of fix for #77426)
  6991. * Form.cs: Keep track whether client size has been set and re-set
  6992. it if a menu is added/removed afterwards (Fixes #77426)
  6993. 2006-01-31 Jackson Harper <[email protected]>
  6994. * Control.cs: When a new Site is set on the component attempt to
  6995. pull the AmbientProperties from it.
  6996. 2006-01-31 Peter Dennis Bartok <[email protected]>
  6997. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  6998. in the background of the owning form. Fixes #77332
  6999. 2006-01-31 Alexander Olk <[email protected]>
  7000. * MimeIcon.cs: Fix for #77409
  7001. 2006-01-31 Alexander Olk <[email protected]>
  7002. * XplatUIX11GTK.cs: Initial import
  7003. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  7004. * FixedSizeTextBox: fixes class signature
  7005. 2006-01-30 Jackson Harper <[email protected]>
  7006. * FixedSizeTextBox.cs: New internal class that represents a
  7007. textBox that will not be scaled.
  7008. * TreeView.cs:
  7009. * ComboBox.cs:
  7010. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  7011. standard TextBox.
  7012. 2006-01-30 Peter Dennis Bartok <[email protected]>
  7013. * XplatUIX11.cs: Retrieve default screen number instead of
  7014. assuming 0. Attempted fix for #77318
  7015. 2006-01-30 Peter Dennis Bartok <[email protected]>
  7016. * XplatUIWin32.cs:
  7017. - GetWindowPos: When a window is parented by FosterParent, use
  7018. the desktop instead of FosterParent as the base to get coordinates
  7019. - CreateWindow: Don't make FosterParent the parent window for Popups
  7020. if we don't want a taskbar entry, Popups automatically don't get one
  7021. * Hwnd.cs: Need to call remove to actually remove the key from the
  7022. hash table
  7023. 2006-01-30 Mike Kestner <[email protected]>
  7024. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  7025. 2006-01-30 Jackson Harper <[email protected]>
  7026. * TreeView.cs:
  7027. * TreeNode.cs: Raise events no matter how the treenode is
  7028. checked. Patch by Don Edvalson.
  7029. 2006-01-30 Jackson Harper <[email protected]>
  7030. * TreeNode.cs: Signature fix.
  7031. 2006-01-29 Alexander Olk <[email protected]>
  7032. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  7033. 2006-01-20 Mike Kestner <[email protected]>
  7034. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  7035. event forwarding when menus are active.
  7036. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  7037. Most of the patch is pdb's with a little rework.
  7038. 2006-01-26 Peter Dennis Bartok <[email protected]>
  7039. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  7040. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  7041. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  7042. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  7043. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  7044. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  7045. the PaintWindowDecorations method
  7046. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  7047. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  7048. * MenuAPI.cs: Made tracker window invisible
  7049. * XplatUIWin32.cs:
  7050. - Removed GetMenuDC and ReleaseMenuDC methods
  7051. - Implemented the client=false path for PaintEventStart and
  7052. PaintEventEnd
  7053. 2006-01-26 Peter Dennis Bartok <[email protected]>
  7054. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  7055. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  7056. styles
  7057. * Form.cs:
  7058. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  7059. the style
  7060. - CreateParams: Reworked the styles to match MS look'n'feel,
  7061. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  7062. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  7063. 2006-01-26 Peter Dennis Bartok <[email protected]>
  7064. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  7065. window is not mapped, since otherwise every form that's being
  7066. created is considered minimized, which is wrong.
  7067. * Form.cs: Catching the exception and returning our internal value
  7068. instead
  7069. 2006-01-26 Peter Dennis Bartok <[email protected]>
  7070. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  7071. SetWindowMinMax() to have means to tell the driver about the minimum,
  7072. maximum and maximized state window sizes. (Part of the fix for #76485)
  7073. * Form.cs:
  7074. - Implemented tracking of minimum and maximum window size, now calling
  7075. new SetWindowMinMax() driver method to tell the driver (Part of the
  7076. fix for #76485)
  7077. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  7078. (Completes fix for #76485)
  7079. - Calling new SetWindowMinMax driver method when the handle for a
  7080. form is created, to make sure the driver knows about it even if
  7081. the values have been set before the window was created
  7082. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  7083. to avoid messing up our anchoring calculations (partial fix
  7084. for #77355)
  7085. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  7086. * XplatUIX11.cs:
  7087. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  7088. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  7089. (and presumably other freedesktop.org compliant WMs). Left the
  7090. assumption unmapped=minimized, needed for SetVisible to work.
  7091. - Now setting the window state when creating windows
  7092. - Fixed SetVisible to consider/set the window state when mapping
  7093. a Form. We cannot set the state before it's mapped, and we cannot
  7094. use Form.WindowState once it's mapped (since it would ask the
  7095. driver and get 'normal'. Therefore, we grab the state before
  7096. mapping, map, and then set state.
  7097. - Implmemented SetWindowMinMax method; Metacity does not seem to
  7098. honor the ZoomHints, though.
  7099. * XplatUIWin32.cs:
  7100. - Removed MINMAXINFO (moved to XplatUIStructs)
  7101. - Added SetWindowMinMax stub (on Win32 the only way to set that
  7102. information is in response to the WM_GETMINMAXINFO message, which
  7103. is handled in Form.cs)
  7104. - Added logic to SetVisible to set the proper window state when a
  7105. form is made visible (fixes #75720)
  7106. 2006-01-26 Jackson Harper <[email protected]>
  7107. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  7108. same way we handle them with Invoke.
  7109. 2006-01-25 Peter Dennis Bartok <[email protected]>
  7110. * Form.cs:
  7111. - Added tracking of window state so CreateParams can return
  7112. the appropriate style
  7113. - Moved setting of WS_CAPTION style in CreateParams to allow
  7114. styles without caption
  7115. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  7116. control if the TextBox property is accessed. Fixes #77345
  7117. * Control.cs:
  7118. - get_Created: now uses is_disposed and is_created to determine
  7119. return value (suggested by Jackson)
  7120. - CreateHandle: No longer exits if the handle is being recreated
  7121. - RecreateHandle: If the handle is not yet created call the
  7122. appropriate method to create either control or handle. If the
  7123. control is already created CreateHandle will simply exit instead
  7124. of just creating the handle
  7125. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  7126. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  7127. is called.
  7128. * XplatUIX11.cs:
  7129. - When DestroyWindow is called, instead of waiting for the
  7130. DestroyNotification from X11, we directly post it to the WndProc
  7131. and immediately dispose the hwnd object.
  7132. Same applies to DestroyChildWindows, and this obsoletes the
  7133. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  7134. child windows before our own, to avoid X11 errors.
  7135. - Removed the direct sending of WM_PAINT on UpdateWindow
  7136. * XplatUIWin32.cs:
  7137. - Reworked DoEvents and GetMessage to allow access to internal queue
  7138. even when trying non-blocking access to the queue. Fixes #77335.
  7139. Based on a patch suggestion by Don Edvalson. The new private
  7140. GetMessage can now also be used as a backend for a PeekMessage
  7141. frontend version.
  7142. * XplatUI.cs: Improved debug output for CreateWindow
  7143. 2006-01-25 Jackson Harper <[email protected]>
  7144. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  7145. 2006-01-24 Jackson Harper <[email protected]>
  7146. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  7147. when we have a MaxDropItems lower then the selected index.
  7148. 2006-01-24 Jackson Harper <[email protected]>
  7149. * Control.cs: Don't allow selection of non visible controls, allow
  7150. selection of controls without parents.
  7151. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  7152. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  7153. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  7154. 2006-01-23 Jackson Harper <[email protected]>
  7155. * UpDownBase.cs: Make the textbox handle all the selection and
  7156. tabbing. This fixes tabing to updown controls.
  7157. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  7158. * TextBoxBase.cs: fixes exception thown the object was null
  7159. 2006-01-23 Jackson Harper <[email protected]>
  7160. * ButtonBase.cs: Just use the base CreateParams. They set
  7161. visibility and enabled correctly.
  7162. * ComboBox.cs:
  7163. * TrackBar.cs:
  7164. * MonthCalendar.cs: Lets let the base set as much of the
  7165. createparams as possible so we don't have duplicate code all over
  7166. the place.
  7167. 2006-01-22 Alexander Olk <[email protected]>
  7168. * ThemeGtk.cs: Added TrackBar and some experimental code to
  7169. get double buffering back
  7170. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  7171. * DataGrid.cs: Allows row number set internally higher than the last
  7172. when creating a new row. Restores the editing functionality.
  7173. 2006-01-20 Mike Kestner <[email protected]>
  7174. * MimeIcon.cs: delay Image creation until the icons are accessed
  7175. instead of creating 190 scaled images on GnomeHandler startup.
  7176. 2006-01-19 Peter Dennis Bartok <[email protected]>
  7177. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  7178. first call base before processing the event. Fixes #77279
  7179. 2006-01-19 Peter Dennis Bartok <[email protected]>
  7180. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  7181. that the stride for the GDI bitmap would match the stride of
  7182. a DIB or a Cursor.
  7183. 2006-01-19 Alexander Olk <[email protected]>
  7184. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  7185. 2006-01-19 Jackson Harper <[email protected]>
  7186. * ComboBox.cs: Hookup the text controls keydown event so we get
  7187. those when the text control has the focus.
  7188. 2006-01-18 Peter Dennis Bartok <[email protected]>
  7189. * Label.cs: Now using the base events instead of defining new ones;
  7190. this allows us to just call the base properties without having to
  7191. duplicate all base property logic
  7192. 2006-01-18 Peter Dennis Bartok <[email protected]>
  7193. * Label.cs: A label by default is not a tabstop (Fixes one of our
  7194. failing nunit tests)
  7195. 2006-01-18 Peter Dennis Bartok <[email protected]>
  7196. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  7197. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  7198. 2006-01-18 Peter Dennis Bartok <[email protected]>
  7199. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  7200. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  7201. This fixes #77218
  7202. * XplatUIWin32.cs:
  7203. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  7204. constructor creates images that can't be saved. Part of the fix
  7205. for #76103
  7206. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  7207. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  7208. bug fix for handling window state in forms properly)
  7209. 2006-01-18 Alexander Olk <[email protected]>
  7210. * ThemeGtk.cs: Simplify ScrollBar drawing
  7211. 2006-01-18 Jackson Harper <[email protected]>
  7212. * Splitter.cs: Set the default dock style for the splitter control
  7213. in the constructor.
  7214. 2006-01-18 Alexander Olk <[email protected]>
  7215. * ThemeGtk.cs: Corrected StateType and ShadowType for
  7216. gtk_paint_box
  7217. 2006-01-18 Alexander Olk <[email protected]>
  7218. * Control.cs: Make use of Theme.DoubleBufferingSupported
  7219. * ThemeGtk.cs:
  7220. - Added drawing for flat style buttons
  7221. - Added ScrollBar drawing
  7222. 2006-01-18 Alexander Olk <[email protected]>
  7223. * ThemeClearlooks.cs: Removed some unneeded code.
  7224. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  7225. 2006-01-17 Peter Dennis Bartok <[email protected]>
  7226. * LinkLabel.cs: We need to update the hover drawing when
  7227. leaving the control as well.
  7228. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  7229. * DataGrid.cs: Clicking on non empty areas in the columns
  7230. area was giving an exception
  7231. 2006-01-17 Jackson Harper <[email protected]>
  7232. * ThemeWin32Classic.cs:
  7233. * ListView.cs: Do not draw/clip the headers when the header style
  7234. is None.
  7235. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  7236. * DataGrid.cs: Fixes 77260
  7237. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  7238. * DataGrid.cs: Clicking on a column on a empty grid was giving
  7239. an exception
  7240. 2006-01-17 Peter Dennis Bartok <[email protected]>
  7241. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  7242. or any keypress will crash the grid.
  7243. 2006-01-17 Mike Kestner <[email protected]>
  7244. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  7245. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  7246. invisible/previously-visible items.
  7247. [Fixes #76909]
  7248. 2006-01-17 Alexander Olk <[email protected]>
  7249. * ThemeClearlooks.cs:
  7250. - Added CL_Draw_Button method; now other theme controls that are
  7251. not derived from button or do not have a button can draw buttons
  7252. too
  7253. - Updated ComboBox drawing
  7254. - Beautified RadioButton drawing
  7255. - Corrected drawing of bottom and left tabs
  7256. - Beautified DateTimePicker and MonthCalendar
  7257. - Added CPDrawButton and CPDrawRadioButton
  7258. 2006-01-16 Jackson Harper <[email protected]>
  7259. * ComboBox.cs: Set the initial value of the scrollbar to the
  7260. current index. Reduce the numbers of refreshs and IndexOfs called.
  7261. 2006-01-14 Alexander Olk <[email protected]>
  7262. * FileDialog.cs: When the file listview is focused hitting the
  7263. backspace key moves the fileview to the parent directory
  7264. 2006-01-13 Peter Dennis Bartok <[email protected]>
  7265. * Form.cs:
  7266. - Added RecreateHandle call when changing taskbar visibility to
  7267. trigger reparenting in Win32 driver (Fixes #75719)
  7268. - If a window has minimize or maximize buttons, it cannot have
  7269. a help button
  7270. * XplatUIWin32.cs:
  7271. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  7272. the toplevel form with FosterParent (A toolwindow not on the
  7273. taskbar) (Fixes #75719)
  7274. - Made FosterParent a toolwindow
  7275. 2006-01-13 Alexander Olk <[email protected]>
  7276. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  7277. 2006-01-13 Alexander Olk <[email protected]>
  7278. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  7279. is currently over that control, make sure that tooltip_window.Text
  7280. gets updated
  7281. 2006-01-13 Mike Kestner <[email protected]>
  7282. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  7283. 2006-01-13 Jackson Harper <[email protected]>
  7284. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  7285. value passed. Also redraw the selected node when we recieve
  7286. focus, so tabbing between trees works correctly.
  7287. 2006-01-13 Alexander Olk <[email protected]>
  7288. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  7289. ~/.gconf/%gconf-tree.xml, so use
  7290. .gconf/desktop/gnome/interface/%gconf.xml
  7291. 2006-01-13 Peter Dennis Bartok <[email protected]>
  7292. * TextControl.cs: Draw text in gray if control is disabled
  7293. 2006-01-13 Peter Dennis Bartok <[email protected]>
  7294. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  7295. make sure it's always visible. Fixes #76680.
  7296. 2006-01-13 Peter Dennis Bartok <[email protected]>
  7297. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  7298. 2006-01-13 Jonathan Chambers <[email protected]>
  7299. * PageSetupDialog.cs: Added.
  7300. * PrintDialog.cs: Attributes.
  7301. * PrintPreviewControl.cs: Updates.
  7302. * PrintPreviewDialog.cs: Updates.
  7303. 2006-01-12 Peter Dennis Bartok <[email protected]>
  7304. * Control.cs: Undid my selection check fix, since it's not needed
  7305. * TextBoxBase.cs:
  7306. - Now considering the presence of hscroll/vscroll when sizing
  7307. vscroll/hscroll respectively. Fixed bug #77077
  7308. - Added Left/Up/Down/Right to IsInputKey list to prevent
  7309. ContainerControl from stealing them. This fixes what I broke
  7310. with my last checkin.
  7311. 2006-01-12 Peter Dennis Bartok <[email protected]>
  7312. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  7313. I finally understand how the property can be set without a setter :-)
  7314. 2006-01-12 Peter Dennis Bartok <[email protected]>
  7315. * Application.cs:
  7316. - Switched RunLoop to use static Message.Create to create a
  7317. Message object
  7318. - Added PreProcessMessage call in runloop for keyboard events; this
  7319. is part of the fix for #77219, I overlooked this originally in the
  7320. MSDN doc for PreProcessMessage
  7321. * Control.cs:
  7322. - Removed call to PreProcessMessage from handling of keyboard
  7323. messages; it's supposed to be done in the message pump
  7324. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  7325. per MSDN documentation.
  7326. - IsInputChar: All chars are input chars by default; removed the
  7327. parent calling chain, MS does not document that
  7328. - PreProcessMessage: If IsInputChar is true, we want to return false
  7329. to allow dispatching of the message
  7330. - When selecting the next control, now also check that we're not
  7331. selecting ourselves again and therefore return a false positive.
  7332. * TextBoxBase.cs:
  7333. - Tried to match return values for IsInputKey and ProcessDialogKey
  7334. to what MS returns; moved processing of our special keys outside
  7335. ProcessDialogKey since MS does not seem to return true on those.
  7336. - Moved code that previously was in ProcessDialogKey into new private
  7337. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  7338. - Reworked handling of WM_CHAR to not have to duplicate code from
  7339. Control.cs anymore, instead we simply call down to base.
  7340. 2006-01-12 Jackson Harper <[email protected]>
  7341. * ComboBox.cs: We always need to refresh the text area when
  7342. EndUpdate is called. Fixes the combobox in the file dialog.
  7343. * Control.cs: Don't create the creator_thread until the controls
  7344. handle is created. Also in InvokeRequired we check if the
  7345. creator_thread is null. This gives the effect of InvokeRequired
  7346. returning true if the controls handle is not created yet, and
  7347. matches MS.
  7348. 2006-01-12 Peter Dennis Bartok <[email protected]>
  7349. * XplatUI.cs:
  7350. - Added StartLoop() driver method. This is used to allow drivers to
  7351. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  7352. loop for a particular thread
  7353. - Added EndLoop() driver method. This is called once the message
  7354. pump for the thread is shut down
  7355. - Added SupportsTransparency method to allow the driver to indicate
  7356. opacity support for windows
  7357. * Form.cs:
  7358. - Removed TODO attribute, completed AllowTransparency property
  7359. - Added documented logic to Opacity
  7360. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  7361. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  7362. versions of CompatibleTextRendering
  7363. * X11Structs.cs: Added opacity atom to our atom enumeration
  7364. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  7365. of a form might be set before it's reparented by the WM, and we need
  7366. the opacity value without calling up to Form)
  7367. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  7368. SupportsTransparency() driver methods
  7369. * Application.cs: Now calling StartLoop and EndLoop driver methods
  7370. * XplatUIX11.cs:
  7371. - Added opacity atom registration
  7372. - Added StartLoop()/EndLoop() methods. They're empty right now but
  7373. will need to get implemented when we switch to a per-thread queue
  7374. - Implemented SupportsTransparency() method
  7375. - Implemented SetWindowTransparency() method
  7376. - Added support for setting the opacity value when a window is
  7377. reparented (since the opacity needs to be set on the WM frame)
  7378. * XplatUIOSX.cs, XplatUIWin32.cs:
  7379. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  7380. 2006-01-12 Alexander Olk <[email protected]>
  7381. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  7382. 2006-01-12 Alexander Olk <[email protected]>
  7383. * FileDialog.cs: Added ToolTip for MWFFileView
  7384. * MimeIcon.cs: Rewrote GnomeHandler.
  7385. - Get currently used gnome icon theme from
  7386. ($HOME)/.gconf/%gconf-tree.xml
  7387. - Make use of inherited icon themes
  7388. - Support SVG icon themes like Tango via librsvg
  7389. 2006-01-12 Miguel de Icaza <[email protected]>
  7390. Revert's Jackson's revert which broke 2.0 builds. Fix both
  7391. builds.
  7392. * Application.cs: Move the use_compatible_text_rendering outside
  7393. the NET_2_0 define. If we ever need to use the
  7394. use_compatible_text_rendering on the individual controls they will
  7395. access the variable from the common shared code paths.
  7396. 2006-01-12 Peter Dennis Bartok <[email protected]>
  7397. * XplatUI.cs:
  7398. - Added more granular debug options
  7399. - Added method to print both window text and id
  7400. - Switched debug output to use new Window() debug method
  7401. - Added IsEnabled() driver method
  7402. - Added EnableWindow() driver method
  7403. * Form.cs:
  7404. - Removed end_modal; no longer needed, new loop handles termination
  7405. via 'closing' variable
  7406. - If form is modal, setting DialogResult will now initiate loop
  7407. termination via 'closing' variable
  7408. - Added support for is_enabled/WS_DISABLED to CreateParams
  7409. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  7410. does all the work
  7411. - Removed code that's now in RunLoop from ShowDialog()
  7412. - Added various documented sanity checks to ShowDialog()
  7413. - Added handling of WM_DESTROY message; we set 'closing' on getting
  7414. the message to indicate the message pump to terminate
  7415. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  7416. send by the Application.ExitThread method. (We send the message
  7417. to destroy the window after all other events have been
  7418. processed through the queue, instead of destroying the handle
  7419. directly)
  7420. - Moved code from Close() method to WM_CLOSE handler; added logic
  7421. to only send close-related events if the form is not displayed
  7422. modal
  7423. * Splitter.cs (..ctor): Fixed typo in resource name
  7424. * Control.cs:
  7425. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  7426. brush now
  7427. - set_Cursor: Now only setting calling into XplatUI if the handle for
  7428. the control is already created; this avoids implict handle creation
  7429. or crashes if it's not created
  7430. - set_Enabled: Now setting the enabled state via the new driver method
  7431. instead of just tracking it
  7432. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  7433. - CreateControl: Reordered event firing and method calls to more
  7434. closely fire events in the order MS does. Now setting the
  7435. enabled state in the driver when creating the control.
  7436. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  7437. match MS order
  7438. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  7439. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  7440. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  7441. * Hwnd.cs:
  7442. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  7443. - Added EnabledHwnd property to easily allow a driver to find the
  7444. handle of the first enabled window in the parent chain (this is
  7445. used by drivers to pass up input events of disabled windows)
  7446. * XplatUIDriver.cs: Added IsEnabled() method
  7447. * Application.cs:
  7448. - Removed crude and obsolete exiting tracking variable
  7449. - Removed internal ModalRun(); replaced by RunLoop()
  7450. - Implemented private CloseForms() method to allow closing all
  7451. windows owned by a particular (or all) threads
  7452. - Exit() now properly closes all windows without forcing the message
  7453. pump to quit
  7454. - Removed obsolete InternalExit() method
  7455. - Changed Run() methods to use new RunLoop() message pump
  7456. - Implemented new RunLoop() method for both modal and non-modal forms
  7457. * CommonDialog.cs:
  7458. - get_CreateParams: Added setting of WS_DISABLED
  7459. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  7460. invoked via Form.ShowDialog()
  7461. * NativeWindow.cs: We don't remove the window from the collection when
  7462. the handle is destroyed; there might still be messages for it in the
  7463. queue (mainly the resulting WM_DESTROY); instead it will be removed
  7464. when Control calls InvalidateHandle in the WM_DESTROY handler
  7465. * XplatUIX11.cs:
  7466. - CreateWindow: Added logic to handle the WS_DISABLED window style
  7467. - EnableWindow: Implemented based on Hwnd.Enabled
  7468. - GetMessage: Reset PostQuitState so the method can be called again
  7469. - Implemented support for disabled windows (passing messages to the
  7470. first enabled parent) in handling all input messages
  7471. - Added optimizations for handling Expose events
  7472. - Implemeted new driver method IsEnabled()
  7473. - Now always resetting paint pending tracking vars when we start paint
  7474. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  7475. * XplatUIOSX.cs: Added IsEnabled method stub
  7476. * XplatUIWin32.cs: Implemented new IsEnabled() method
  7477. 2006-01-11 Jackson Harper <[email protected]>
  7478. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  7479. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  7480. variables a little.
  7481. * ColorDialog.cs: Clear out the old form before adding the new
  7482. panel.
  7483. 2006-01-11 Jackson Harper <[email protected]>
  7484. * X11Dnd.cs: Make sure to add all the text formats when adding
  7485. strings to the data object.
  7486. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  7487. do some redrawing too. Also change the UpdateNode to an
  7488. UpdateBelow so the newly added node gets painted.
  7489. 2006-01-11 Miguel de Icaza <[email protected]>
  7490. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  7491. LinkLabel.cs, PropertyGrid.cs: Implement the
  7492. UseCompatibleTextRendering property for 2.x
  7493. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  7494. 2006-01-11 Jackson Harper <[email protected]>
  7495. * TreeView.cs: Use the property for setting the selected node so
  7496. the correct events get raised.
  7497. * TreeNode.cs: Update the tree when the fore/back colours of a
  7498. node are set.
  7499. 2006-01-10 Jackson Harper <[email protected]>
  7500. * TreeView.cs: Allow setting SelectedNode to null.
  7501. 2006-01-9 Jonathan Chambers <[email protected]>
  7502. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  7503. 2006-01-9 Jonathan Chambers <[email protected]>
  7504. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  7505. 2006-01-9 Jonathan Chambers <[email protected]>
  7506. * PrintDialog.cs: Added attributes and set default property values.
  7507. 2006-01-9 Jonathan Chambers <[email protected]>
  7508. * PrintControllerWithStatusDialog.cs:
  7509. Added PrintControllerWithStatusDialog.
  7510. 2006-01-9 Jonathan Chambers <[email protected]>
  7511. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  7512. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  7513. 2006-01-9 Jonathan Chambers <[email protected]>
  7514. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  7515. 2006-01-09 Jonathan Chambers <[email protected]>
  7516. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  7517. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  7518. 2006-01-08 Alexander Olk <[email protected]>
  7519. * MimeIcon.cs: Added internal class SVGUtil.
  7520. 2006-01-08 Alexander Olk <[email protected]>
  7521. * FileDialog.cs: Don't crash if there are two files with the
  7522. same name but different locations.
  7523. 2006-01-08 John BouAntoun <[email protected]>
  7524. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  7525. dates across multiple month grids. Used to not highlight entire
  7526. month, but does now.
  7527. 2006-01-06 Jackson Harper <[email protected]>
  7528. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  7529. message loop. Change timer intervals to numbers that seem more
  7530. natural.
  7531. 2006-01-06 John BouAntoun <[email protected]>
  7532. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  7533. object for location info since screen object is now implemented.
  7534. 2006-01-05 Jackson Harper <[email protected]>
  7535. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  7536. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  7537. AsyncMethodResult, this is because we ALWAYS want the
  7538. ManualResetEvent to get set.
  7539. * Control.cs: When disposing use an async invoke to call shutdown
  7540. code, so that thigns don't block on the finalizer thread. Also
  7541. check if we even have a message loop before trying to send
  7542. messages, if we don't then don't bother sending messages.
  7543. - No more weak references for async methods
  7544. * XplatUIDriver.cs: No more weak references for async methods.
  7545. 2006-01-04 Alexander Olk <[email protected]>
  7546. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  7547. returns two FontFamily with the same name
  7548. 2006-01-04 Peter Dennis Bartok <[email protected]>
  7549. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  7550. drawing disabled text. Instead using the ColorGrayText color
  7551. 2006-01-04 Jackson Harper <[email protected]>
  7552. * TreeNode.cs: redraw the node when its image index is changed.
  7553. 2006-01-04 Peter Dennis Bartok <[email protected]>
  7554. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  7555. time I checked there are no others like it.
  7556. 2006-01-04 Jackson Harper <[email protected]>
  7557. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  7558. this gives the behavoir I was looking for.
  7559. * Control.cs: Special case Invoking EventHandlers, this matches MS
  7560. and fixes part of bug #76326.
  7561. 2006-01-04 Alexander Olk <[email protected]>
  7562. * ThemeClearlooks.cs, FileDialog.cs:
  7563. - Reflect the latest Theme class changes
  7564. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  7565. with DateTime
  7566. 2006-01-04 Alexander Olk <[email protected]>
  7567. * Theme.cs: Cache UI resource images and resize them if needed
  7568. 2006-01-03 Peter Dennis Bartok <[email protected]>
  7569. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  7570. is called. This fixes the crash in Nexxia when setting the font
  7571. attributes in the chat. [However, RTF needs a look-over to make sure
  7572. that all SelectionXXX methods handle the special case that selection
  7573. is empty and therefore the change must be applied to all text starting
  7574. at the cursor/selection start]
  7575. 2006-01-03 Peter Dennis Bartok <[email protected]>
  7576. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  7577. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  7578. * X11Keyboard.cs: Switched to new way of calling PostMessage
  7579. 2006-01-03 Peter Dennis Bartok <[email protected]>
  7580. * Theme.cs: Added theme interface for images to allow the theme to
  7581. control what images are used for things like FileDialog, MessageBox
  7582. icons, etc.
  7583. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  7584. 2006-01-03 Alexander Olk <[email protected]>
  7585. * FileDialog.cs:
  7586. - Removed some dead code
  7587. - Opening a recently used file does work now
  7588. - Small UI enhancements
  7589. - Refactoring
  7590. 2006-01-02 Alexander Olk <[email protected]>
  7591. * FileDialog.cs: Forgot too add __MonoCS__
  7592. 2006-01-02 Alexander Olk <[email protected]>
  7593. * FileDialog.cs: We are able to read recently used files now let's
  7594. go on and write them.
  7595. 2006-01-01 Alexander Olk <[email protected]>
  7596. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  7597. button
  7598. * MimeIcon.cs: Do a check for the top level media type also
  7599. 2005-12-31 Alexander Olk <[email protected]>
  7600. * ThemeClearlooks.cs:
  7601. - Added CPDrawStringDisabled
  7602. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  7603. some chars if the text doesn't fit into text_rect
  7604. - DrawListViewItem: If View = View.LargeIcon center the image;
  7605. rewrote the drawing of ListViewItem.Text if View =
  7606. View.LargeIcon
  7607. 2005-12-31 Alexander Olk <[email protected]>
  7608. * MimeIcon.cs: Use default KDE icon theme if there is no
  7609. "48x48" directory for the current icon theme, fixes #77114
  7610. * Mime.cs: Disable not working and actually not used code.
  7611. * ThemeWin32Classic.cs:
  7612. - Replace "new SolidBrush" in GetControlBackBrush and
  7613. GetControlForeBrush with ResPool.GetSolidBrush
  7614. - Changed DrawListViewItem from private to protected virtual
  7615. * FileDialog.cs:
  7616. - Added form.MaximizeBox = true
  7617. - Don't throw an exception if there is a broken symbolic link
  7618. 2005-12-23 Jackson Harper <[email protected]>
  7619. * TabControl.cs: Give the panels focus, keyboard navigation is
  7620. fixed so this works correctly now.
  7621. - We need these key events also.
  7622. * ToolBar.cs: Remove some of the poor mans double buffering.
  7623. 2005-12-24 Alexander Olk <[email protected]>
  7624. * ComboBox.cs: The internal TextBox now returns the focus.
  7625. 2005-12-23 Jackson Harper <[email protected]>
  7626. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  7627. 2005-12-23 Peter Dennis Bartok <[email protected]>
  7628. * Control.cs: Removed debug code
  7629. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  7630. implicit children
  7631. 2005-12-23 Peter Dennis Bartok <[email protected]>
  7632. * Control.cs: When creating the control, update the Z-order after
  7633. all it's children are created, too. (Fixes nexxia not showing
  7634. picturebox bug)
  7635. 2005-12-23 Peter Dennis Bartok <[email protected]>
  7636. * Control.cs: Do not update the anchoring distances if layout is
  7637. suspended, instead do it once layout is resumed
  7638. 2005-12-22 Peter Dennis Bartok <[email protected]>
  7639. * Control.cs:
  7640. - After many hours of debugging, for both Jackson and
  7641. myself, it turns out that it helps to set the parent of a control
  7642. if you want to actually see it onscreen. In the spirit of that
  7643. discovery, we're now setting the parent of the control and
  7644. it's children when the control's handle is created. This fix
  7645. will make Lutz Roeder's Reflector run happily.
  7646. - now just creating the handle instead of the whole control when
  7647. getting a graphics context for the control.
  7648. 2005-12-22 Peter Dennis Bartok <[email protected]>
  7649. * ScrollableControl.cs: When calculating the canvas, don't consider
  7650. the scrollbar widths. Instead, predict if horizontal scrollbar
  7651. will affect canvas when deciding on vertical display and vice versa.
  7652. 2005-12-22 Peter Dennis Bartok <[email protected]>
  7653. * RichTextBox.cs: Set default RTF font for documents that don't
  7654. have a font table (Fixes #77076)
  7655. 2005-12-22 Jackson Harper <[email protected]>
  7656. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  7657. clipboard. This prevents a NullRef in that case.
  7658. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  7659. clipboard. PRIMARY is for the currently selected text only. (We
  7660. should implement PRIMARY at some point.
  7661. 2005-12-21 Peter Dennis Bartok <[email protected]>
  7662. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  7663. a Unicode function with a structure that was defined in Ansi way.
  7664. This fixes #76942.
  7665. 2005-12-21 Jackson Harper <[email protected]>
  7666. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  7667. on. Because thats how it rolls. (and this avoids it using ambient
  7668. colours).
  7669. * ThemeWin32Classic.cs: Use the proper back color for filling.
  7670. * Menu.cs: Use the system menu bar color for drawing menu
  7671. bars. Using the window back color will bring ambient colours into
  7672. the picture.
  7673. 2005-12-21 Alexander Olk <[email protected]>
  7674. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  7675. Bitmaps were created and not disposed.
  7676. 2005-12-21 Peter Dennis Bartok <[email protected]>
  7677. * Control.cs (CreateControl): Don't do anything if the control is
  7678. already created, otherwise we'd fire the OnCreated event more than
  7679. once
  7680. 2005-12-21 Peter Dennis Bartok <[email protected]>
  7681. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  7682. will always match. Instead return -1. Fixes #76464.
  7683. 2005-12-21 Peter Dennis Bartok <[email protected]>
  7684. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  7685. neither the beginning nor the end of the line (Fixes bug #76479)
  7686. 2005-12-21 Peter Dennis Bartok <[email protected]>
  7687. * Control.cs:
  7688. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  7689. where handle is invalid
  7690. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  7691. instead of slower linear search
  7692. * NativeWindow.cs: Don't remove the window from the hashtable until
  7693. after the driver has destroyed it (since the driver might use
  7694. Control.FromHandle to lookup the control object
  7695. * Hwnd.cs: Added DestroyPending property to track if a window is
  7696. already destroyed as far as the driver is concerned and only hasn't
  7697. yet notified the control
  7698. * XplatUIX11.cs:
  7699. - Activate(): Check if the window is still valid before using the
  7700. handle
  7701. - Implemented DestroyChildWindow() method to mark child windows as
  7702. destroyed when a window is destroyed. This prevents situations
  7703. where we might call an X method based on queued events for a
  7704. window that already has been destroyed but we haven't yet pulled
  7705. the destroy method from the queue.
  7706. - Added a call to the new DestroyChildWindow() method to the drivers
  7707. DestroyWindow code. Also now marking the destroyed window itself
  7708. as pending
  7709. 2005-12-20 Jackson Harper <[email protected]>
  7710. * StatusBar.cs:
  7711. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  7712. anymore. Just do them when needed, also track the rects of panels
  7713. so that we can optimize refreshing more in the future.
  7714. 2005-12-20 Alexander Olk <[email protected]>
  7715. * ColorDialog.cs: Fixed focus drawing in small color controls
  7716. 2005-12-19 Jackson Harper <[email protected]>
  7717. * InternalWindowManager.cs:
  7718. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  7719. moving windows works properly.
  7720. 2005-12-19 Peter Dennis Bartok <[email protected]>
  7721. * Control.cs:
  7722. - Removed call to InitLayout() from SetBoundsCore(); doc says
  7723. it's only called when a control is added to a container
  7724. - Split InitLayout logic, moved to separate UpdateDistances() method
  7725. since we need to perform those calculations more often than just
  7726. when adding the control to a container. (Needed to fix #77022)
  7727. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  7728. - Reduced the OnBindingContextChanged events count, don't send them
  7729. unless the control is created, we still aren't totally matching
  7730. MS, but I can't quite figure out some of their rules
  7731. 2005-12-18 Alexander Olk <[email protected]>
  7732. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  7733. stripes
  7734. 2005-12-18 Alexander Olk <[email protected]>
  7735. * ThemeClearlooks.cs:
  7736. - Updated ProgressBar drawing
  7737. - Corrected drawing of ScrollBars and scroll buttons
  7738. - Some temporary fixes for minor pixel artefacts
  7739. 2005-12-18 Peter Dennis Bartok <[email protected]>
  7740. * Control.cs:
  7741. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  7742. cause events to be sent in the same order as MS does.
  7743. - Added ChangeParent() method to trigger various OnXXXChanged events
  7744. that need to be fired when a parent changes (This is a reworking
  7745. of the patch from r54254, with the X11 errors fixed)
  7746. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  7747. since on MS we get OnLayoutChanged events when calling Clear()
  7748. - Changed Enabled property to consider parent state as well, if a
  7749. parent is not enabled, the control will not be either
  7750. - Changed Parent property to simply call Controls.Add() since that
  7751. now does all the work required, this way we avoid code duplication
  7752. - Threw in a few OnBindingsContextChanged calls to try and match
  7753. when MS sends them. We seem to send a few too many, though.
  7754. - Added call to CreateControl when adding the control to a parent.
  7755. We were never calling CreateControl. Still needs some work, in
  7756. some places we treat HandleCreated and ControlCreated as equal,
  7757. which is wrong
  7758. - Removed obsolete commented out code from UpdateZOrder()
  7759. 2005-12-18 Alexander Olk <[email protected]>
  7760. * ThemeClearlooks.cs: Updated TrackBar drawing.
  7761. 2005-12-17 Alexander Olk <[email protected]>
  7762. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  7763. 2005-12-17 Alexander Olk <[email protected]>
  7764. * FileDialog.cs: Add the Help button and the open readonly
  7765. checkbox only if needed
  7766. 2005-12-16 Jackson Harper <[email protected]>
  7767. * Control.cs: Make sure we have an active menu before trying to
  7768. process commands on it. Prevents menu-less forms from crashing
  7769. when Alt is pressed.
  7770. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  7771. Dieter Bremes.
  7772. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  7773. 2.0 build.
  7774. 2005-12-16 Jackson Harper <[email protected]>
  7775. * InternalWindowManager.cs: Don't translate tool windows screen
  7776. coordinates. This fixes windows 'bouncing' around when being moved.
  7777. 2005-12-15 Peter Dennis Bartok <[email protected]>
  7778. * TextBoxBase.cs:
  7779. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  7780. not quite MS compatible, MS uses that number only for single line
  7781. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  7782. the limit at 2GB)
  7783. - Now enforcing the MaxLength limit when entering characters
  7784. - Added argument to internal Paste() method to track if it's called
  7785. from programatically or via keyboard, since keyboard driven pastes
  7786. need to enforce max-length
  7787. - Added logic to Paste to only paste as many chars as MaxLength
  7788. allows
  7789. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  7790. * TextControl.cs:
  7791. - Added Length property to return number of characters in document
  7792. - Added private CharCount property which only tracks actual chars
  7793. in the document (no linefeeds) and fires event when CharCount
  7794. changes
  7795. - Added tracking of character count to all methods that alter it
  7796. - Added LengthChanged event to allow applications to subscribe
  7797. to any changes to the document
  7798. 2005-12-15 Peter Dennis Bartok <[email protected]>
  7799. * TextBox.cs:
  7800. - Removed local password_char field (moved to TextBoxBase)
  7801. - Now setting the document's password var when password is
  7802. set
  7803. * TextBoxBase.cs:
  7804. - Added password_char field (needed here so MultiLine can
  7805. access it)
  7806. - Added logic to MultiLine property setter to set the document's
  7807. variable when password display is allowed
  7808. - Removed debug code and made some debug code conditional
  7809. * TextControl.cs:
  7810. - Added RecalculatePasswordLine() method to handle special password
  7811. char only lines
  7812. - Added PasswordChar property, also added related tracking vars
  7813. - Draw() method now uses local text var for grabbing text to draw,
  7814. this var is set to line.text unless we're doing password display,
  7815. then it is set to the pre-generated all-password-chars line
  7816. - Added calling RecalculatePasswordLine() method for password lines
  7817. 2005-12-14 Peter Dennis Bartok <[email protected]>
  7818. * Hwnd.cs:
  7819. - Added Reparented property to allow tracking of Window Manager
  7820. reparenting actions (which affect X/Y calculations of toplevel
  7821. windows)
  7822. - Made ToString() print window handles in hex
  7823. * XplatUIX11.cs:
  7824. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  7825. determine if X/Y needs offsetting
  7826. - AddConfigureNotify(): Fixed offset calculations
  7827. - Now adds ReparentNotify messages into the queue
  7828. - Now processes ReparentNotify messages and causes a
  7829. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  7830. is reparented (as most likely it's X/Y coordinates are changed
  7831. due to that)
  7832. 2005-12-14 Jackson Harper <[email protected]>
  7833. * XplatUIX11.cs: Tool windows still need to respek focus.
  7834. 2005-12-14 Peter Dennis Bartok <[email protected]>
  7835. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  7836. have a working release
  7837. 2005-12-13 Jackson Harper <[email protected]>
  7838. * Form.cs: Update styles after setting the border style regardless
  7839. of whether or not the window is using a window manager.
  7840. 2005-12-13 Jackson Harper <[email protected]>
  7841. * Form.cs: We now hook into an internal window manager instead of just an
  7842. MDI subsystem, this is so we can have properly behaving tool windows.
  7843. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  7844. * InternalWindowManager.cs: New internal class that acts as a
  7845. window manager for tool windows and as a base for mdi windows.
  7846. * MdiWindowManager.cs: New class that acts as a window manager for
  7847. mdi windows.
  7848. 2005-12-12 Jackson Harper <[email protected]>
  7849. * Control.cs: Updates so we match behavoir for for implicit
  7850. controls. Fixes explosions in MDI.
  7851. 2005-12-12 Jackson Harper <[email protected]>
  7852. * Control.cs: Implement Invalidate (Region).
  7853. 2005-12-12 Peter Dennis Bartok <[email protected]>
  7854. * Control.cs:
  7855. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  7856. the same events as MS does. MS fires events for each property
  7857. except, for unknown reasons, Cursor, when the control is reparented.
  7858. I can't seem to totally match add/remove since MS also fires some
  7859. VisibleChanged events, which makes no sense. Consolidated the
  7860. parenting code into a separate method so it can be called from
  7861. both Add and Remove. set_Parent no longer needs any special logic
  7862. as it calls the parent's add method which implicitly fires
  7863. all events
  7864. - Removed some obsolete code and debug output
  7865. - Enabled state is inherited from parents, if this is enabled
  7866. 2005-12-08 Peter Dennis Bartok <[email protected]>
  7867. * Form.cs: Removed commented out code
  7868. 2005-12-08 Peter Dennis Bartok <[email protected]>
  7869. * Control.cs:
  7870. - Added internal version of Invoke, with additional argument
  7871. indicating if we're calling it from a Dispose() handler. That
  7872. way we can avoid BeginInvoke throwing an exception if we're
  7873. calling for an already destroyed window.
  7874. - Added a dispose argument to BeginInvokeInternal, and made the
  7875. check if a valid window handle chain exists conditional on
  7876. it not being a dispose call
  7877. - Removed code in DestroyHandle to destroy our children. Since we
  7878. now handle the WM_DESTROY message we will catch all our children
  7879. being destroyed.
  7880. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  7881. * Form.cs:
  7882. - Added a field to track the application context of the form.
  7883. - No need to set closing variable as response to WM_CLOSE, instead
  7884. we destroy the window. We also call PostQuitMessage if the form
  7885. has an application context (which makes it the main app form,
  7886. which, when closed terminates the app)
  7887. * XplatUI.cs:
  7888. - Dropped Exit() method, it's naming was confusing
  7889. - Added PostQuitMessage() which causes GetMessage to return false
  7890. once the message queue is empty
  7891. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  7892. PostQuitMessage()
  7893. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  7894. no longer a valid XplatUI method, but left it in since it's used
  7895. internally. Added empty PostQuitMessage() method.
  7896. * MenuAPI.cs: Replaced call to Exit() with call to
  7897. PostQuitMessage, even though this is probably no longer needed.
  7898. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  7899. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  7900. * Application.cs:
  7901. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  7902. - Removed old debug code that would call XplatUI for exception
  7903. display, enabled standard exception handling (Still not enabled
  7904. though, until NativeWindow's ExternalExceptionHandler define
  7905. is removed
  7906. * NativeWindow.cs:
  7907. - Added internal method to allow control to update NativeWindow
  7908. after a window has been destroyed
  7909. - Added handling of already destroyed windows when calling i
  7910. DestroyWindow
  7911. - Added removal of handle from list on ReleaseHandle
  7912. * XplatUIX11.cs:
  7913. - Dropped GetMessageResult var and related code
  7914. - Added PostQuitState to field to track if PostQuitMessage has been
  7915. called
  7916. - Dropped Exit() method
  7917. - Added PostQuitMessage() method
  7918. - GetMessage now will return false if PostQuitState is set and no
  7919. more messages are in the queue.
  7920. - Expose handler will no longer generate WM_PAINT messages if we are
  7921. in PostQuitState since it's very likely any windows have already
  7922. been destroyed, and since Hwnd won't get updated until we have
  7923. processed the DestroyNotify we'd be causing X errors.
  7924. 2005-12-07 Peter Dennis Bartok <[email protected]>
  7925. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  7926. Thanks to Mike for pointing out the err of my ways.
  7927. 2005-12-07 Peter Dennis Bartok <[email protected]>
  7928. * Control.cs(PreProcessMessage): Moved menu handling back, but
  7929. after all other key handling, to match MS (who handles Menu in
  7930. DefWndProc)
  7931. * Menu.cs (WndProc): Removed my brainfart
  7932. 2005-12-07 Peter Dennis Bartok <[email protected]>
  7933. * Control.cs(PreProcessMessage): Removed special menu handling
  7934. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  7935. 2005-12-07 Mike Kestner <[email protected]>
  7936. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  7937. state according in tracker.
  7938. * Menu.cs : promote tracker field to base class and provide a tracker
  7939. lookup capability. Add/Remove shortcuts dynamically if the top menu
  7940. has a tracker. Unparent items that are removed from the collection.
  7941. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  7942. * Theme*.cs: add always_show_hotkeys field to support configurability
  7943. of mnemonic display. win32 doesn't show mnemonics until Alt is
  7944. pressed.
  7945. 2005-12-07 Jackson Harper <[email protected]>
  7946. * MdiChildContext.cs: Use Control.ResetCursor.
  7947. * Control.cs: ResetCursor needs to set the property so that the
  7948. correct XplatUI call gets made.
  7949. 2005-12-07 Peter Dennis Bartok <[email protected]>
  7950. * Control.cs: More fixes to make our key events match MS. We
  7951. were not setting the modifier state on KeyData, and we were
  7952. not generating any events when Alt was pressed with a key
  7953. since handling of WM_SYSxxx was missing for the OnKey methods.
  7954. 2005-12-07 Jackson Harper <[email protected]>
  7955. * MdiChildContext.cs: reenable the sizing code.
  7956. - When the mouse leaves a window reset its cursor.
  7957. 2005-12-07 Alexander Olk <[email protected]>
  7958. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  7959. 2005-12-07 Peter Dennis Bartok <[email protected]>
  7960. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  7961. widths of Fixed3D borders
  7962. 2005-12-07 Jackson Harper <[email protected]>
  7963. * MdiClient.cs: Fix warnings. Earn Mike's love.
  7964. 2005-12-07 Alexander Olk <[email protected]>
  7965. * ThemeClearlooks.cs:
  7966. - Adjusted mouse over button color
  7967. - Added first parts of CheckBox drawing
  7968. - Added correct color for selected text background
  7969. - Fixed ComboBox drawing
  7970. - Added CPDrawBorder3D and CPDrawBorder
  7971. 2005-12-06 Peter Dennis Bartok <[email protected]>
  7972. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  7973. 2005-12-06 Peter Dennis Bartok <[email protected]>
  7974. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  7975. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  7976. alert users via sound. We could add an enum arg with different
  7977. types of alerts in the future
  7978. 2005-12-06 Peter Dennis Bartok <[email protected]>
  7979. * Control.cs: Fix behaviour problems pointed out by Mike
  7980. 2005-12-05 Mike Kestner <[email protected]>
  7981. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  7982. prop setters. Calls parent.Refresh for now, but could be maybe be
  7983. optimized with an internal method on StatusBar at some point.
  7984. [Fixes #76513]
  7985. 2005-12-05 Peter Dennis Bartok <[email protected]>
  7986. * RichTextBox.cs: Implemented get_SelectionColor
  7987. 2005-12-05 Alexander Olk <[email protected]>
  7988. * ThemeClearlooks.cs:
  7989. - Removed dead code
  7990. - Draw black button border only if button is Form.AcceptButton
  7991. - Draw correct button color for pressed RadioButton if the mouse
  7992. has entered the button
  7993. - Updated ProgressBar drawing!
  7994. - Updated CPDrawSizeGrip drawing
  7995. - Updated StatusBarPanel drawing
  7996. 2005-12-05 Mike Kestner <[email protected]>
  7997. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  7998. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  7999. 2005-12-04 Alexander Olk <[email protected]>
  8000. * ThemeClearlooks.cs: Initial check-in, activate with
  8001. export MONO_THEME=clearlooks
  8002. * ThemeEngine.cs: Added ThemeClearlooks
  8003. 2005-12-03 Mike Kestner <[email protected]>
  8004. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  8005. [Fixes #76897]
  8006. 2005-12-02 Jackson Harper <[email protected]>
  8007. * Form.cs: If the child form has no menu the default main menu is
  8008. used as the active menu.
  8009. 2005-12-02 Peter Dennis Bartok <[email protected]>
  8010. * ListBox.cs: Check if any items exist before trying to resolve
  8011. coordinates into items
  8012. 2005-12-02 Peter Dennis Bartok <[email protected]>
  8013. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  8014. as the second color for the background hatch
  8015. 2005-12-02 Peter Dennis Bartok <[email protected]>
  8016. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  8017. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  8018. sure that what we pass to FormatText is always 1-based. Fixes #76885
  8019. 2005-11-29 Miguel de Icaza <[email protected]>
  8020. * NumericUpDown.cs (EndInit): When we are done initializing,
  8021. reflect any updates on the UI.
  8022. 2005-12-02 Jackson Harper <[email protected]>
  8023. * ImplicitHScrollBar.cs:
  8024. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  8025. their container controls.
  8026. * TreeView.cs: Use the new implicit scrollbars.
  8027. 2005-12-02 Jackson Harper <[email protected]>
  8028. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  8029. can play with it.
  8030. * TreeNodeCollection.cs: If we remove the topnode we need to
  8031. update topnode to the next node in line.
  8032. - When clearing nodes go through the same process as removing
  8033. them, so they get depareneted and checked if they are top node.
  8034. 2005-12-01 Jackson Harper <[email protected]>
  8035. * TreeView.cs: When imagelists are used the image area is
  8036. selectable as well as the text.
  8037. - If there are no selected nodes select the first one.
  8038. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  8039. so don't do it more then we need to.
  8040. 2005-12-01 Jackson Harper <[email protected]>
  8041. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  8042. that arrows can be scaled.
  8043. 2005-12-01 Jackson Harper <[email protected]>
  8044. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  8045. fail. Patch by Dieter Bremes
  8046. 2005-11-30 Jackson Harper <[email protected]>
  8047. * Form.cs: Property is 2.0 only
  8048. * PrintDialog.cs: Signature fix.
  8049. 2005-11-30 Peter Dennis Bartok <[email protected]>
  8050. * TextControl.cs:
  8051. - No longer artificially moves text 2 pixels down (now that we have
  8052. borders this is no longer needed)
  8053. - Added calcs for left, hanging and right indent
  8054. 2005-11-23 Mike Kestner <[email protected]>
  8055. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  8056. 2005-11-30 Jackson Harper <[email protected]>
  8057. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  8058. get cloned as part of CloneMenu ().
  8059. * Menu.cs: Make sure the parent of the items get set correctly
  8060. when they are added. And the owners are notified of the changes.
  8061. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  8062. we can change the menu being displayed/handled by the form without
  8063. changing the menu assosciated with the form.
  8064. - Don't let Mdi children draw/handle menus.
  8065. 2005-11-30 Jackson Harper <[email protected]>
  8066. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  8067. a MenuChanged event. Just to make the API a little more
  8068. consistent.
  8069. * MainMenu.cs:
  8070. * MenuItem.cs: Use the new OnMenuChanged
  8071. * MdiChildContext.cs: Handle menu merging.
  8072. * Form.cs: Implement MergedMenu.
  8073. 2005-11-30 Jackson Harper <[email protected]>
  8074. * Menu.cs: We were misusing Add. Add goes behind the specified
  8075. index according to the docs, and does not replace the specified
  8076. index. So I added an Insert method.
  8077. 2005-11-30 Peter Dennis Bartok <[email protected]>
  8078. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  8079. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  8080. is for Jackson
  8081. * RichTextBox.cs: Added calls to base for DnD events
  8082. 2005-11-28 Peter Dennis Bartok <[email protected]>
  8083. * TextControl.cs:
  8084. - Fixed drag-selection related crash; style fixes
  8085. - Implemented undo class
  8086. o Implemented method to capture document state for specified
  8087. range in document tree
  8088. o Implemented method to restore captured document state
  8089. o Implemented cursor tracking
  8090. o Implemented basic undo stack
  8091. - Added undo cursor tracking to methods altering cursor location
  8092. - Added undo tracking to selection deletion (still missing
  8093. other text-altering hookups)
  8094. * RichTextBox.cs:
  8095. - Added SelectionLength property
  8096. - Implemented CanPaste()
  8097. - Implemented Paste()
  8098. - Added missing protected methods
  8099. - Fixed RTF->Document conversion; now uses font index 0 and color
  8100. index 0 as the default font for the parsed text
  8101. - Fixed RTF<->Document font size translation
  8102. - Fixed RTF generation, now properly handles cross-tag boundaries
  8103. for single line selection
  8104. - No longer always appends blank line to generated RTF
  8105. - Removed TODOs
  8106. - Added missing attributes
  8107. - Hooked up undo-related methods
  8108. * TextBoxBase.cs:
  8109. - Implemented Copy()
  8110. - Implemented Paste()
  8111. - Implemented Cut()
  8112. - Fixed caret mis-behaviour on backspace across line-boundaries
  8113. 2005-11-29 Jackson Harper <[email protected]>
  8114. * MdiClient.cs: Add a method for activating mdi children. Very
  8115. basic right now. I imagine someday it might need more girth.
  8116. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  8117. children windows names are added to the menu item.
  8118. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  8119. mdilist. This happens regardless of whether or not there are any
  8120. mdi windows to see in the list, and according to my tests happens
  8121. before the items are even added. Also happens if there isn't even
  8122. an mdi client to get windows from.
  8123. 2005-11-29 Alexander Olk <[email protected]>
  8124. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  8125. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  8126. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  8127. * DataGridTableStyle.cs:
  8128. - Create always the styles for the missing columns even if they are
  8129. provided by the user (not default table style)
  8130. * DataGrid.cs:
  8131. - Fixes bug 76770
  8132. - Fixes SetDataBinding (always re-attach source)
  8133. - Fixes SetNewDataSource (only clear styles if they are not for
  8134. this source)
  8135. - Expands OnTableStylesCollectionChanged to handle style refresh
  8136. and remove properly
  8137. 2005-11-29 Jackson Harper <[email protected]>
  8138. * FileDialog.cs: Implement missing bits, remove some dead
  8139. code.
  8140. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  8141. creation of the panel so that the options set on the dialog are
  8142. seen when the panel is created.
  8143. * TreeView.cs: raise a click when items are clicked.
  8144. 2005-11-29 Jackson Harper <[email protected]>
  8145. * MdiClient.cs: Pass some signature methods through to base.
  8146. 2005-11-28 Jackson Harper <[email protected]>
  8147. * ListView.cs: Raise the click event when items are clicked.
  8148. 2005-11-28 Jackson Harper <[email protected]>
  8149. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  8150. a nullref.
  8151. 2005-11-27 Alexander Olk <[email protected]>
  8152. * ThemeNice.cs: - Removed 1 pixel bitmaps
  8153. - Use SmoothingMode.AntiAlias where it makes sense
  8154. (ScrollButton arrow for example)
  8155. - Enhanced Button focus drawing
  8156. - Fixed ComboBox drawing (no artefacts anymore, focus
  8157. rectangle is back again, reduced size of ComboButton, etc.)
  8158. - Fixed RadioButton focus drawing for Appearence.Button
  8159. - Slight ScrollButton redesign
  8160. - Some LinearGradientBrush size fixes
  8161. - GroupBoxes have now rounded edges
  8162. - Fixed StatusBar drawing
  8163. 2005-11-25 Alexander Olk <[email protected]>
  8164. * ThemeNice.cs: - Remove dead code
  8165. - use correct background colors for menus, etc.
  8166. - Fake pixel drawing with 1 pixel bitmaps
  8167. 2005-11-24 Jackson Harper <[email protected]>
  8168. * MdiClient.cs: Size the scrollbars when resizing the window.
  8169. - Resize the maximized windows when the client is resized
  8170. * Form.cs: Make the child context available
  8171. 2005-11-23 Jackson Harper <[email protected]>
  8172. * MdiChildContext.cs: Don't size windows if they are maximized.
  8173. 2005-11-23 Mike Kestner <[email protected]>
  8174. * ContextMenu.cs: use MenuTracker.
  8175. * Control.cs: remove menu handle usage.
  8176. * Form.cs: remove menu handle usage.
  8177. * Hwnd.cs: remove menu handle usage.
  8178. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  8179. motion and clicks to the new Tracker handlers.
  8180. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  8181. and handle usage.
  8182. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  8183. Killed the MENU and MENUITEM data types and associated collections
  8184. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  8185. MenuTracker class that exposes the leftovers from the old MenuAPI
  8186. static methods. Restructured Capture handling so that only one grab is
  8187. done for the entire menu hierarchy instead of handing off grabs to
  8188. submenus. Tracker now has an invisible control to Capture when active.
  8189. * MenuItem.cs: add sizing accessors, kill Create
  8190. and handle usage.
  8191. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  8192. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  8193. MENU(ITEM). remove menu handle usage, use Menu directly.
  8194. * XplatUIDriver.cs: remove menu handle usage.
  8195. * XplatUIOSX.cs: remove menu handle usage.
  8196. * XplatUIWin32.cs: remove menu handle usage.
  8197. * XplatUIX11.cs: remove menu handle usage.
  8198. 2005-11-22 Jackson Harper <[email protected]>
  8199. * Hwnd.cs: Don't compute the menu size for
  8200. DefaultClientRectangle.
  8201. - Reenable menu sizes being computed for GetClienRectangle.
  8202. * Form.cs: Remove comment of trechery
  8203. 2005-11-22 Jackson Harper <[email protected]>
  8204. * Hwnd.cs: The adjustments for the menu bar are made when it is
  8205. attached to the form.
  8206. 2005-11-19 Jackson Harper <[email protected]>
  8207. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  8208. (just like on windows).
  8209. 2005-11-19 Jackson Harper <[email protected]>
  8210. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  8211. use real buttons anymore because they are in non client area. The
  8212. one TODO here is that I need to somehow invalidate a section of
  8213. the non client area.
  8214. 2005-11-18 Jackson Harper <[email protected]>
  8215. * Control.cs: Put the enum check back in now that MDI doesnt have
  8216. to use this to set border styles.
  8217. * Form.cs: Only set mdi child windows borders if the handle has
  8218. been created.
  8219. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  8220. this directly on to the driver.
  8221. - Get the move start position before adjusting for the titlebar
  8222. height, this fixes the windows "skipping" when they are first
  8223. moved.
  8224. 2005-11-18 Jackson Harper <[email protected]>
  8225. * XplatUIX11.cs: Just compute the mdi borders separately as they
  8226. don't totally match up with normal form borders.
  8227. 2005-11-18 Jackson Harper <[email protected]>
  8228. * Control.cs: Set WS_ styles for borders, so that the driver does
  8229. not have to retrieve the control instance to figure out what kind
  8230. of borders it should have.
  8231. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  8232. driver can know its an mdi child easily.
  8233. * XplatUIX11.cs: Get the border styles and whether the window is
  8234. MDI from the Styles and ExStyles params instead of having to get a
  8235. control. This prevents a chicken and egg problem.
  8236. 2005-11-18 Jackson Harper <[email protected]>
  8237. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  8238. 2005-11-18 Jackson Harper <[email protected]>
  8239. * MdiClient.cs: Calculate when to add and remove scrollbars
  8240. correctly.
  8241. * MdiChildContext.cs: Adjust the y position to take the titlebar
  8242. into account.
  8243. - No height for FormBorderStyle.None
  8244. 2005-11-18 Jackson Harper <[email protected]>
  8245. * Control.cs: Allow non enum values to be used for
  8246. InternalBorderStyle. MDI does this to set a special border style.
  8247. - New utility methods for converting points to/from client coords
  8248. - Add the newly created control to the Controls collection before
  8249. updating its style. This way UpdateStyle can walk the control
  8250. heirarchy to find the control if needed.
  8251. so I don't need to create a new Point object all the time.
  8252. * Form.cs: Let MDI windows handle their border styles.
  8253. - Set styles on MDI windows so the correct title style is derived.
  8254. * MdiChildContext.cs: Move all the painting and window handling
  8255. into the non client area.
  8256. - Use correct sizing and put correct buttons on frames based on
  8257. the FormBorderStyle.
  8258. - Notify the mdi client about scrolling
  8259. - Need to handle the buttons ourselves now, because they are all
  8260. in non client areas and we can't add controls there.
  8261. * MdiClient.cs: Halfway to scrolling, this implementation is
  8262. somewhat broken though, we need to check to make sure other
  8263. windows aren't causing scrolling before removing the bars. Also
  8264. the bars need to be drawn on top, maybe I can switch implicit
  8265. controls to be on top.
  8266. * Hwnd.cs: caption_height and tool_caption_height are now
  8267. properties of an hwnd, this way they can be set by the driver
  8268. based on the type of window they are. In X11 the window manager
  8269. handles the decorations so caption_height is zero unless its an
  8270. MDI window.
  8271. - Add 3 pixel borders for MDI windows (0xFFFF).
  8272. - Get rid of some code duplication, have DefaultClientRectanle
  8273. just call GetClientRectangle.
  8274. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  8275. Hwnd now.
  8276. - Set border styles differently for mdi windows.
  8277. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  8278. Hwnd now.
  8279. 2005-11-15 Mike Kestner <[email protected]>
  8280. * Menu.cs: when adding an item to the collection, if item is already
  8281. parented, remove it from the parent.
  8282. 2005-11-13 Alexander Olk <[email protected]>
  8283. * X11DesktopColors.cs: Added KDE support
  8284. 2005-11-11 Peter Dennis Bartok <[email protected]>
  8285. * XplatUIWin32.cs:
  8286. - Clipboard methods now can translate Rtf format
  8287. - No longer removes clipboard contents whenever a new format is added
  8288. to allow placing multiple formats on the clipboard
  8289. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  8290. will place all formats contained in it onto the clipboard. Also
  8291. now cleans the clipboard before placing a new object onto it
  8292. * RichTextBox.cs:
  8293. - Implemented set_Rtf
  8294. - Implemented set_SelectedRtf
  8295. - Created InsertRTFFromStream() method to allow single code base
  8296. for all properties and methods that insert RTF into document
  8297. - Removed debug output
  8298. * TextControl.cs:
  8299. - Fixed Delete(int) to fix up line numbers
  8300. - Fixed ReplaceSelection to combine start and end line
  8301. - Fixed serious DeleteChars bug that would leave the document tree
  8302. broken
  8303. - Improved DumpTree with several logic checks to detect broken
  8304. document trees
  8305. - Removed debug lines
  8306. - Fixed Caret.WordForward/WordBack moving code, now always also
  8307. updates caret.tag (fixes crash when word-selecting across tag
  8308. boundaries via keyboard)
  8309. - Added Insert() method for inserting multiline text into documents
  8310. - Fixed DeleteChars() calculation errors that would cause a broken
  8311. tag chain with multiple tag lines
  8312. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  8313. - Split() no longer moves caret if split is at caret location
  8314. - ReplaceSelection() now updates the cursor and re-displays it
  8315. - ReplaceSelection() now uses new Insert() method to avoid code
  8316. duplication
  8317. - FormatText() can now handle formatting partial lines
  8318. * TextBoxBase.cs:
  8319. - Append now uses new TextControl.Insert() method (this avoids
  8320. duplicate code)
  8321. - Implemented Ctrl-X (Cut) (
  8322. - Implemented Ctrl-C (Copy)
  8323. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  8324. regeneration when pasting text; roundtripping Copy&Paste within
  8325. edit control still fails due to some calculation bugs in GenerateRTF)
  8326. - The Delete key will now remove the current selection if it is visible
  8327. * TextBox.cs: Removed debug lines
  8328. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  8329. driver to be initialized and can't therefore be done via a static ctor)
  8330. 2005-11-10 Peter Dennis Bartok <[email protected]>
  8331. * TextControl.cs: Added backend code for finding char arrays and strings
  8332. * TextBoxBase.cs:
  8333. - Added mouse wheel scroll support
  8334. - Added support for VScroll and HScroll events
  8335. * RichTextBox.cs:
  8336. - Implemented all seven Find() variants
  8337. - Implemented GetCharFromPosition()
  8338. - Implemented GetCharIndexFromPosition()
  8339. - Implemented GetLineFromIndex()
  8340. - Implemented GetPositionFromCharIndex();
  8341. - Implemented SaveFile for PlainText and UnicodeText
  8342. - Fixed set_Font, now setting a new font applies that font to
  8343. the whole document
  8344. - Implemented generic Document to RTF converter
  8345. - Implemented SaveFile for RichText format (still missing unicode
  8346. conversion for non-ansi chars)
  8347. - Implemented get_Rtf
  8348. - Implemented get_SelectedRtf
  8349. 2005-11-09 Peter Dennis Bartok <[email protected]>
  8350. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  8351. to allow any captures to be released before triggering OnClick. This
  8352. way a click handler may capture the mouse without interference.
  8353. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  8354. This way we send them even though X may not allow a grab (if the window
  8355. isn't visible, for example)
  8356. 2005-11-08 Pedro Martinez Julia <[email protected]>
  8357. * DataGridViewRowEventArgs.cs: DataGridView implementation
  8358. * DataGridViewElement.cs: DataGridView implementation
  8359. * DataGridViewComboBoxCell.cs: DataGridView implementation
  8360. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  8361. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  8362. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  8363. * ImageLayout.cs: DataGridView implementation
  8364. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  8365. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  8366. * DataGridViewSelectionMode.cs: DataGridView implementation
  8367. * IDataGridViewEditingControl.cs: DataGridView implementation
  8368. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  8369. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  8370. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  8371. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  8372. * DataGridViewColumnSortMode.cs: DataGridView implementation
  8373. * DataGridView.cs: DataGridView implementation
  8374. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  8375. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  8376. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  8377. * Padding.cs: DataGridView implementation
  8378. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  8379. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  8380. * DataGridViewRowEventHandler.cs: DataGridView implementation
  8381. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  8382. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  8383. * DataGridViewButtonCell.cs: DataGridView implementation
  8384. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  8385. * DataGridViewEditMode.cs: DataGridView implementation
  8386. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  8387. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  8388. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  8389. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  8390. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  8391. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  8392. * DataGridViewCellEventHandler.cs: DataGridView implementation
  8393. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  8394. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  8395. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  8396. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  8397. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  8398. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  8399. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  8400. * QuestionEventArgs.cs: DataGridView implementation
  8401. * IDataGridViewEditingCell.cs: DataGridView implementation
  8402. * DataGridViewTriState.cs: DataGridView implementation
  8403. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  8404. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  8405. * DataGridViewColumnCollection.cs: DataGridView implementation
  8406. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  8407. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  8408. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  8409. * DataGridViewColumn.cs: DataGridView implementation
  8410. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  8411. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  8412. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  8413. * DataGridViewRow.cs: DataGridView implementation
  8414. * DataGridViewImageCellLayout.cs: DataGridView implementation
  8415. * DataGridViewImageCell.cs: DataGridView implementation
  8416. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  8417. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  8418. * DataGridViewHeaderCell.cs: DataGridView implementation
  8419. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  8420. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  8421. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  8422. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  8423. * QuestionEventHandler.cs: DataGridView implementation
  8424. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  8425. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  8426. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  8427. * DataGridViewCell.cs: DataGridView implementation
  8428. * DataGridViewCellEventArgs.cs: DataGridView implementation
  8429. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  8430. * DataGridViewCellStyle.cs: DataGridView implementation
  8431. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  8432. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  8433. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  8434. * TextFormatFlags.cs: DataGridView implementation
  8435. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  8436. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  8437. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  8438. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  8439. * DataGridViewButtonColumn.cs: DataGridView implementation
  8440. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  8441. * HandledMouseEventArgs.cs: DataGridView implementation
  8442. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  8443. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  8444. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  8445. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  8446. * DataGridViewRowCollection.cs: DataGridView implementation
  8447. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  8448. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  8449. * DataGridViewHitTestType.cs: DataGridView implementation
  8450. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  8451. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  8452. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  8453. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  8454. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  8455. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  8456. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  8457. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  8458. * DataGridViewContentAlignment.cs: DataGridView implementation
  8459. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  8460. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  8461. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  8462. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  8463. * DataGridViewPaintParts.cs: DataGridView implementation
  8464. * DataGridViewCellCollection.cs: DataGridView implementation
  8465. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  8466. * DataGridViewImageColumn.cs: DataGridView implementation
  8467. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  8468. * DataGridViewElementStates.cs: DataGridView implementation
  8469. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  8470. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  8471. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  8472. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  8473. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  8474. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  8475. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  8476. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  8477. * DataGridViewTextBoxCell.cs: DataGridView implementation
  8478. * DataGridViewBand.cs: DataGridView implementation
  8479. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  8480. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  8481. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  8482. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  8483. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  8484. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  8485. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  8486. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  8487. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  8488. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  8489. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  8490. 2005-11-08 Peter Dennis Bartok <[email protected]>
  8491. * ThemeWin32Classic.cs:
  8492. - Draw the outside focus rectangle around buttons
  8493. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  8494. doesn't use end caps for every dash of a line anymore. This
  8495. workaround ignores the forecolor.
  8496. 2005-11-08 Kornél Pál <[email protected]>
  8497. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  8498. endian safe.
  8499. 2005-11-07 Jackson Harper <[email protected]>
  8500. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  8501. 2005-11-07 Jackson Harper <[email protected]>
  8502. * ScrollableControl.cs: Calculate the maximum and change vars
  8503. (more) correctly so that scrollbars appear as a sensible size.
  8504. 2005-11-04 Jackson Harper <[email protected]>
  8505. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  8506. collection.
  8507. * TreeView.cs: When the tree is sorted null out the top_node so
  8508. that it is recalculated.
  8509. - Use dotted lines instead of dashed lines to match MS better.
  8510. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  8511. * ListView.cs:
  8512. - Implements key search for items. Useful when browsing files with FileDialog
  8513. - When changing view mode or when clear the items reset scrollbar positions
  8514. 2005-11-04 Jackson Harper <[email protected]>
  8515. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  8516. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  8517. as to what the method may do as there is no real way of creating a
  8518. derived CurrencyManager and calling the method.
  8519. 2005-11-03 Jackson Harper <[email protected]>
  8520. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  8521. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  8522. method which seems to just be used internally to refresh the tabs.
  8523. 2005-11-03 Jackson Harper <[email protected]>
  8524. * TabControl.cs: Implement the remove method. Fix some broken
  8525. comments.
  8526. 2005-11-03 Peter Dennis Bartok <[email protected]>
  8527. * DateTimePicker.cs:
  8528. - Added missing DateTimePickerAccessibleObject class
  8529. - Added missing events
  8530. - Added OnFontChanged method
  8531. * Form.cs: Added missing attributes
  8532. * TreeView.cs: Added missing attributes
  8533. 2005-11-03 Peter Dennis Bartok <[email protected]>
  8534. * GridItemCollection.cs: Fix signatures
  8535. 2005-11-03 Peter Dennis Bartok <[email protected]>
  8536. * XplatUI.cs: Updated build rev/date
  8537. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  8538. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  8539. * Application.cs: Trigger context-specific ExitThread events
  8540. 2005-11-03 Jackson Harper <[email protected]>
  8541. * Menu.cs:
  8542. * MainMenu.cs:
  8543. * GridTableStylesCollection.cs:
  8544. * Timer.cs:
  8545. * TabPage.cs:
  8546. * HelpProvider.cs:
  8547. * StatusBar.cs:
  8548. * MonthCalendar.cs: Signature fixes
  8549. 2005-11-03 Jackson Harper <[email protected]>
  8550. * TreeNodeCollection.cs: Remove should not be virtual.
  8551. * TreeView.cs: Implement the last of the missing methods.
  8552. 2005-11-03 Jackson Harper <[email protected]>
  8553. * TreeNodeConverter.cs: Implement to get off my class-status back.
  8554. 2005-11-03 Jackson Harper <[email protected]>
  8555. * TreeView.cs: Hookup the bits for drag and drop.
  8556. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  8557. that nodes can be moved from tree to tree easily this just causes
  8558. all sorts of problems.
  8559. * TreeNodeCollection: Don't need to give treenodes an index and
  8560. treeview anymore when they are added, these are computed on the
  8561. fly. Also make sure to remove a node before its added.
  8562. 2005-11-03 Peter Dennis Bartok <[email protected]>
  8563. * TextControl.cs:
  8564. - Added CaretSelection enum
  8565. - Added comparison methods to Marker struct, makes selection code
  8566. more readable
  8567. - Added SelectionStart and SelectionEnd as 'moveable' location for
  8568. the CaretDirection enum and handler
  8569. - Added selection_prev variable to track optimized invalidation for
  8570. word and line selection
  8571. - Added SelectionVisible property (returns true if there is a valid
  8572. selection)
  8573. - Switched CaretHasFocus to only display the caret if there is no
  8574. visible selection
  8575. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  8576. using the direct character index; should be much faster
  8577. - Added various conditional debug statements
  8578. - Fixed invalidation calculation for selection ranges
  8579. - Added ExpandSelection() method to support word and line selection
  8580. - Switched SetSelectionToCaret to use new Marker compare overloads
  8581. - Added central IsWordSeparator() method to determine word
  8582. separators/whitespace and FindWordSeparator() to streamline common
  8583. usage of IsWordSeparator()
  8584. * TextBoxBase.cs:
  8585. - Removed unneeded grabbed variable, it was just mirroring
  8586. Control.Capture
  8587. - No longer firing OnTextChanged event when Text setter is called,
  8588. since the base will fire the event for us
  8589. - Added handling of Ctrl-Up/Down selection
  8590. - Added handling of Shift-Cursorkey selection
  8591. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  8592. words
  8593. - Added handling of Shift and Ctrl-Shift-Home/End selection
  8594. - Removed some debug output
  8595. - Added handling for single/double/tripple-click to place caret/
  8596. select word/select line respectively (Fixes bug #76031)
  8597. - Added support for drag expansion of word/line selection
  8598. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  8599. current selection
  8600. 2005-11-02 Jackson Harper <[email protected]>
  8601. * X11Dnd.cs: If the drag is going to and from a MWF window just
  8602. copy the data instead of sending it out through the X Selection
  8603. mechanism.
  8604. 2005-11-02 Jackson Harper <[email protected]>
  8605. * X11Dnd.cs:
  8606. * XplatUIX11.cs: When in a drag we don't want motion notify
  8607. messages to get passed on to the other controls. This prevents
  8608. mouse move messages from showing up in the drag source.
  8609. 2005-11-02 Jackson Harper <[email protected]>
  8610. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  8611. the correct button is release to end a drag.
  8612. * XplatUIX11.cs: Make the button state internal so the drag system
  8613. can access it. Dragging needs to know about all button releases,
  8614. not just left button.
  8615. 2005-11-02 Miguel de Icaza <[email protected]>
  8616. * Form.cs (Icon): If the icon is null, reset the icon to the
  8617. default value.
  8618. * Cursor.cs: When writing the AND-mask bitmap do not include the
  8619. number of colors, but hardcode those to two (black and white),
  8620. fixes the loading of color cursors (Paint Dot Net).
  8621. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  8622. turn off autoscaling.
  8623. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  8624. 2005-11-02 Jackson Harper <[email protected]>
  8625. * X11Dnd.cs: Make sure to send a status message if the pointer
  8626. enters a control that can not accept a drop, otherwise the cursor
  8627. isn't updated correctly. Also tried to compress the lines of code
  8628. a bit.
  8629. 2005-11-02 Jackson Harper <[email protected]>
  8630. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  8631. set actions correctly. This isn't perfect as XDND and win32 have
  8632. some differences on how you allow actions. I'll clear this up by
  8633. adding a path for drag from MWF to MWF windows.
  8634. * XplatUIX11.cs: Hook into the dnd system.
  8635. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  8636. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  8637. previously shown but they are no longer need it. Very obvious when
  8638. browsing files with FileDialog.
  8639. 2005-11-01 Peter Dennis Bartok <[email protected]>
  8640. * Control.cs: We always need to call OnPaintBackground. We pretty much
  8641. ignore AllPaintingInWmPaint and always do the painting there, whether
  8642. it's set or not, since we always ignore the WM_ERASEBKGND message
  8643. (which we don't generate on X11). This fixes #76616.
  8644. * Panel.cs: Removed unneeded background painting. This happens properly
  8645. in Control.cs already
  8646. 2005-10-31 Mike Kestner <[email protected]>
  8647. * Menu.cs: Add items to collection before setting their index.
  8648. * MenuItem.cs : add range checking with ArgumentException like MS.
  8649. [Fixes #76510]
  8650. 2005-10-31 Jackson Harper <[email protected]>
  8651. * ListBox.cs: Invalidate if the area is visible at all not just
  8652. contained in the visible rect. Fixes unselection of semi visible
  8653. items.
  8654. 2005-10-31 Jackson Harper <[email protected]>
  8655. * Control.cs: Consistently name the dnd methods. Make them
  8656. internal so we can override them to match some MS behavoir
  8657. internally.
  8658. * Win32DnD.cs: Use the new consistent names.
  8659. 2005-10-31 Jackson Harper <[email protected]>
  8660. * TreeView.cs: Don't draw the selected node when we lose focus.
  8661. 2005-10-31 Jackson Harper <[email protected]>
  8662. * X11Dnd.cs: We still need to reset the state even though a full
  8663. reset isn't being done, otherwise status's still get sent all over
  8664. the place.
  8665. 2005-10-31 Jackson Harper <[email protected]>
  8666. * Control.cs: Make the dnd_aware flag internal so the dnd
  8667. subsystem can check it. Catch exceptions thrown in dnd handlers to
  8668. match MS behavoir.
  8669. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  8670. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  8671. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  8672. flags to reduce the number of dnd enters/status's sent.
  8673. 2005-10-31 Jackson Harper <[email protected]>
  8674. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  8675. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  8676. * PictureBox.cs: Fixes 76512
  8677. 2005-10-28 Jackson Harper <[email protected]>
  8678. * X11Dnd.cs: Early implementation to support winforms being a drag
  8679. source for data on X11. Also restructured the converters so they
  8680. can go both ways now.
  8681. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  8682. 2005-10-27 Peter Dennis Bartok <[email protected]>
  8683. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  8684. clipboard requests
  8685. 2005-10-27 Jackson Harper <[email protected]>
  8686. * TreeNode.cs: Implement serialization so my DnD examples will work.
  8687. 2005-10-24 Kornél Pál <[email protected]>
  8688. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  8689. TreeView.cs: Don't dispose objects that are not owned.
  8690. 2005-10-24 Peter Dennis Bartok <[email protected]>
  8691. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  8692. should retrieve the current cursor and report that, but XplatUI
  8693. doesn't (yet) have an interface for that (and I'm not sure I even
  8694. can, on X11)
  8695. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  8696. until any message loop processing is done (and the WM_SETCURSOR
  8697. replaces the cursor to the proper one)
  8698. * XplatUIX11.cs:
  8699. - Fixed override behaviour, we can't set the cursor globally on X11,
  8700. just for our windows.
  8701. - Invalidating the System.Drawing X11 display handle when we are
  8702. shutting down
  8703. * Control.cs: Fix to make csc happy
  8704. 2005-10-23 Peter Dennis Bartok <[email protected]>
  8705. * TextBoxBase.cs:
  8706. - get_Text: Add last line (without trailing newline) to returned
  8707. value (Fixes 76212)
  8708. - get_TextLength: Count last line in returned length
  8709. - ToString: Call Text property instead of duplicating code
  8710. 2005-10-23 Kornél Pál <[email protected]>
  8711. * ImageList.cs: Dispose ImageAttributes objects.
  8712. 2005-10-22 Kornél Pál <[email protected]>
  8713. * ImageList.cs: Use attribute constructors with less arguments where
  8714. possible.
  8715. 2005-10-22 Kornél Pál <[email protected]>
  8716. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  8717. Use typeof instead of strings when assembly is referenced. Added
  8718. some more comments.
  8719. 2005-10-21 Jackson Harper <[email protected]>
  8720. * ListView.cs: Raise a double click event. Also tried to somewhat
  8721. fix when the selectedindexchanged event is raised. Its still
  8722. broken though.
  8723. 2005-10-21 Jackson Harper <[email protected]>
  8724. * TreeView.cs: New method to invalidate the plus minus area of a
  8725. node without invalidating the whole node (maybe this can be used
  8726. in some more places).
  8727. * TreeNodeCollection.cs: When adding to an empty node we need to
  8728. invalidate its plus minus area so the little block shows up.
  8729. 2005-10-21 Jackson Harper <[email protected]>
  8730. * TreeView.cs: Make sure that when we invalidate a node the bounds
  8731. are big enough to cover the selected box and the focus
  8732. rectangle. Use a different colour for the lines connecting nodes
  8733. so they show up with all themes.
  8734. 2005-10-21 Peter Dennis Bartok <[email protected]>
  8735. * NativeWindow.cs: Don't call anything that could call into the driver,
  8736. we might be on a different thread.
  8737. 2005-10-21 Peter Dennis Bartok <[email protected]>
  8738. * Control.cs(Dispose): Since Dispose might run on a different thread,
  8739. make sure that we call methods that could call into the driver via
  8740. invoke, to avoid thread issues
  8741. 2005-10-21 Peter Dennis Bartok <[email protected]>
  8742. * XplatUI.cs: Removed finalizer
  8743. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  8744. not allowing to be called on the finalizer thread.
  8745. 2005-10-21 Kornél Pál <[email protected]>
  8746. * ImageList.cs:
  8747. - Reverted r51889 and r51891.
  8748. - Added ImageListItem class that stores unmodified image items and image
  8749. properties required to create list images until handle is created.
  8750. - Added AddItem and moved image creation logic to AddItemInternal.
  8751. - Added CreateHandle method that creates images based on unmodified items.
  8752. - Added DestroyHandle that changes state to store unmodified items.
  8753. - Add and AddStrip methods no more create handle.
  8754. - ReduceColorDepth has no return value.
  8755. - Dispose destroys handle.
  8756. - Modified other methods to reflect the above changes.
  8757. - Implemented key support.
  8758. - Added profile 2.0 members and attributes.
  8759. - Added private Reset and ShouldSerialize methods that provide the same
  8760. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  8761. them as they are private.
  8762. - Added some more comments about implementation details.
  8763. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  8764. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  8765. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  8766. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  8767. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  8768. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  8769. * DataGridColumnStyle.cs: Remove debug message
  8770. 2005-10-20 Jackson Harper <[email protected]>
  8771. * TreeView.cs: We can always get input keys regardless of whether
  8772. or not editing is enabled. They are used for navigation.
  8773. 2005-10-20 Jackson Harper <[email protected]>
  8774. * TreeNode.cs: Use the viewport rect for determining if a node
  8775. needs to be moved for visibility. Don't use Begin/End edit. This
  8776. calls a full refresh when its done.
  8777. * TreeView.cs: New SetBottom works correctly. Make the viewport
  8778. rect property internal so the treenodes can see it. When clicking
  8779. on a node we need to ensure that its visible because it might just
  8780. be partly visible when clicked.
  8781. 2005-10-20 Jackson Harper <[email protected]>
  8782. * TreeNodeCollection.cs: Remove debug code.
  8783. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  8784. * Datagrid.cs: Implements column sorting in Datagrid
  8785. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  8786. 2005-10-20 Jackson Harper <[email protected]>
  8787. * TreeNodeCollection.cs: Remove items properly. Update the correct
  8788. area after removing them.
  8789. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  8790. * Datagrid.cs: Should not call base.OnPaintBackground
  8791. 2005-10-20 Peter Dennis Bartok <[email protected]>
  8792. * XplatUIX11.cs (GetMessage):
  8793. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  8794. window instead of client window
  8795. - Now properly calculates NC_xBUTTONUP message coordinates
  8796. - ScreenToMenu now properly calculates it's coordinates of whole
  8797. window, since menus are in the whole window, not in the client
  8798. window
  8799. - Added WholeToScreen coordinate translation method
  8800. 2005-10-20 Peter Dennis Bartok <[email protected]>
  8801. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  8802. want to return a message, loop back to the beginning of the function
  8803. and grab the next real message to process instead.
  8804. 2005-10-20 Peter Dennis Bartok <[email protected]>
  8805. * Splitter.cs: Properly set limits if no filler control is used
  8806. 2005-10-19 Jackson Harper <[email protected]>
  8807. * ColorDialog.cs: Don't show the help button if it is not enabled
  8808. instead of disabling it (this is what MS does). Don't create the
  8809. panel until the dialog is run, otherwise the vars (such as
  8810. ShowHelp) are not set yet.
  8811. 2005-10-19 Jackson Harper <[email protected]>
  8812. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  8813. are reduced when adding nodes.
  8814. * TreeNode.cs:
  8815. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  8816. tree.
  8817. 2005-10-19 Jackson Harper <[email protected]>
  8818. * FolderBrowserDialog.cs: End editing our treeview so the window
  8819. actually gets refreshed.
  8820. 2005-10-18 Peter Dennis Bartok <[email protected]>
  8821. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  8822. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  8823. inside of WM_PAINT
  8824. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  8825. * MenuAPI.cs: Returns after Hidding window
  8826. * XplatUIX11.cs: Added TODO found while debugging menu issues
  8827. 2005-10-18 Peter Dennis Bartok <[email protected]>
  8828. * XplatUIX11.cs: Do not re-map the whole window when it's size
  8829. becomes non-zero unless it's supposed to be actually visible
  8830. 2005-10-18 Jackson Harper <[email protected]>
  8831. * TreeView.cs: We don't need to keep a count anymore.
  8832. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  8833. use the Grow method.
  8834. 2005-10-18 Jackson Harper <[email protected]>
  8835. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  8836. implement it manually here.
  8837. 2005-10-18 Jackson Harper <[email protected]>
  8838. * ImageList.cs: Dont kill the list when the colour depth is
  8839. changed, just change the colour depth of all the images.
  8840. - Same goes for setting the image size. Just resize them all
  8841. instead of killing the list softly.
  8842. 2005-10-18 Jackson Harper <[email protected]>
  8843. * Control.cs: Don't invalidate empty rectangles.
  8844. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  8845. * ListViewItem.cs:
  8846. - Adds checked item to the Checked/Item lists (where empty before)
  8847. - Do not add items to the Selected lists if they are already present
  8848. * ListView.cs:
  8849. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  8850. - When deleting items make sure that we delete them for the Selected
  8851. and Checked list also.
  8852. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  8853. * Label.cs: Dispose objects no longer used
  8854. * ThemeWin32Classic.cs: Dispose objects no longer used
  8855. 2005-10-18 Jackson Harper <[email protected]>
  8856. * TabControl.cs: Don't refresh the whole control when the tabs are
  8857. scrolled, we just need to refresh the tab area.
  8858. 2005-10-17 Jackson Harper <[email protected]>
  8859. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  8860. after handle when we need it.
  8861. 2005-10-17 Peter Dennis Bartok <[email protected]>
  8862. * Control.cs: When the parent size changes, recalculate anchor
  8863. positions. Partial fix for #76462
  8864. 2005-10-17 Peter Dennis Bartok <[email protected]>
  8865. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  8866. drawn. Fixes #76462
  8867. 2005-10-17 Jackson Harper <[email protected]>
  8868. * MonthCalendar.cs: Don't create the numeric up down until our
  8869. handle is created. Otherwise our handle is created in the
  8870. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  8871. yet.
  8872. 2005-10-17 Jackson Harper <[email protected]>
  8873. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  8874. correctly.
  8875. 2005-10-17 Rafael Teixeira <[email protected]>
  8876. * TreeNode.cs : small logical fix (was using local var instead of field)
  8877. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  8878. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  8879. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  8880. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  8881. 2005-10-16 Peter Dennis Bartok <[email protected]>
  8882. * Control.cs:
  8883. - Re-implemented anchoring code. My first version was really broken.
  8884. This fixes bug #76033. Unlike the previous implementation we will
  8885. no longer have round errors since all numbers are calculated from
  8886. scratch every time. Removed various anchor-related obsolete vars.
  8887. - InitLayout no longer causes layout event firing and layout to be
  8888. performed
  8889. 2005-10-16 Jackson Harper <[email protected]>
  8890. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  8891. which was broken).
  8892. 2005-10-16 Jackson Harper <[email protected]>
  8893. * TabControl.cs: Remove debug code.
  8894. 2005-10-16 Jackson Harper <[email protected]>
  8895. * XEventQueue.cs: Increase the default queue size (very simple
  8896. apps needed to grow the queue).
  8897. * Hwnd.cs: No finalizer so we don't need to suppress
  8898. finalization. Compute the invalid area manually so a new rectangle
  8899. does not newto be created.
  8900. * ScrollableControl.cs: Don't set any params (otherwise visibility
  8901. isn't set correctly).
  8902. * MdiChildContext.cs: New constructor takes the mdi parent so it
  8903. doesn't have to be computed and avoids a crash on windows. Draw
  8904. the window icon properly, and allow the text to be seen.
  8905. * Form.cs: Use new MdiChildContext constructor. Make sure the
  8906. child context isn't null in wndproc.
  8907. * TabControl.cs: Don't set focus, this is muddling keyboard
  8908. behavoir. Expand the tab rows when a window size increase will
  8909. allow extra tabs to be seen. Don't allow tabs smaller than the
  8910. width of a window to be scrolled out of view.
  8911. * TreeNode.cs:
  8912. * TreeView.cs: Use measure string to calculate a nodes width, the
  8913. width is cached and only updated when the text or the font is
  8914. changed. Don't check for expand/collapse clicks on the first level
  8915. nodes if root lines are disabled.
  8916. 2005-10-16 Ritvik Mayank <[email protected]>
  8917. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  8918. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  8919. * DataGridBoolColumn.cs: fixes warning
  8920. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  8921. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  8922. to match more to match more precisely the MS Net behavior
  8923. 2005-10-13 Peter Dennis Bartok <[email protected]>
  8924. * Hwnd.cs: Added field to track if window is mapped
  8925. * XplatUIX11.cs:
  8926. - Unmap windows if they become 0-size, re-map when
  8927. they are >0 again; fixes #76035
  8928. - Re-set our error handler after initializing X11Desktop
  8929. to override any error handlers Gtk or whatever was called
  8930. may have set.
  8931. 2005-10-13 Peter Dennis Bartok <[email protected]>
  8932. * CheckedListBox.cs: Removed unused vars
  8933. * ListView.cs: Fixed signatures
  8934. * RichTextBox.cs: Removed unused vars
  8935. * TextBoxBase.cs: Removed unused vars
  8936. * XplatUIWin32.cs: Removed unused vars
  8937. * XplatUIX11.cs: Removed unused vars
  8938. * XplatUI.cs: Updated version and date to latest published
  8939. 2005-10-13 Peter Dennis Bartok <[email protected]>
  8940. * Cursor.cs: Added private .ctor to work around a bug in
  8941. resourceset (Thanks to Geoff Norton for the help on this)
  8942. * SplitterEventArgs.cs: Made fields accessible so we don't
  8943. waste boatloads of objects and can reuse the same one
  8944. in Splitter
  8945. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  8946. any captions and borders when generating screen coordinates
  8947. * Splitter.cs: Reimplemented control, now fully complete, uses
  8948. rubberband drawing, supports and obeys all properties, has
  8949. proper cursors
  8950. 2005-10-13 Miguel de Icaza <[email protected]>
  8951. * Form.cs (Form): Setup default values for autoscale and
  8952. autoscale_base_size; Make these instance variables, not static
  8953. variables.
  8954. (OnLoad): on the first load, adjust the size of the form.
  8955. 2005-10-13 Peter Dennis Bartok <[email protected]>
  8956. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  8957. width argument to DrawReversibleRectangle()
  8958. * XplatUIWin32.cs, XplatUIX11.cs:
  8959. - Implemented width for DrawReversibleRectangle()
  8960. - Added logic to DrawReversibleRectangle that recognizes a zero
  8961. width or height and only draws a line in that situation
  8962. 2005-10-12 Peter Dennis Bartok <[email protected]>
  8963. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  8964. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  8965. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  8966. method (it uses our FosterParent window to get a graphics context)
  8967. 2005-10-12 Peter Dennis Bartok <[email protected]>
  8968. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  8969. and SetWindowBackground methods
  8970. * Control.cs:
  8971. - Setting proper ControlStyles
  8972. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  8973. EraseWindowBackground, instead we draw the window background
  8974. ourselves in PaintControlBackground. This behaviour is
  8975. required to match MS, where, when OnPaintBackground is not
  8976. called, the background is not drawn.
  8977. - Removed unneeded Refresh() in set_Text
  8978. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  8979. * XplatUIX11.cs:
  8980. - Created DeriveStyles method to translate from CreateParams to
  8981. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  8982. matches FormBorderStyle enum values)
  8983. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  8984. style calculations into single DeriveStyles method
  8985. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  8986. from redrawing the whole window on any resize or expose.
  8987. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  8988. all styles were applied to our whole/client window appropriately
  8989. - Removed EraseWindowBackground() and SetWindowBackground() methods
  8990. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  8991. no longer clear/redraw the background through X
  8992. - Removed handling of erase_pending bit, we have no use for it (or
  8993. so it seems)
  8994. * XplatUIOSX.cs:
  8995. - Removed generation and handling of WM_ERASEBKGND message
  8996. - Removed EraseWindowBackground() and SetWindowBackground() methods
  8997. - Removed handling of hwnd.ErasePending flag
  8998. * XplatUIWin32.cs:
  8999. - Removed EraseWindowBackground() and SetWindowBackground() methods
  9000. - We no longer call EraseWindowBackground on PaintEventStart, we
  9001. ignore the fErase flag, erasing is handled in Control in the
  9002. background handler
  9003. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  9004. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  9005. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  9006. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  9007. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  9008. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  9009. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  9010. 2005-10-12 Jonathan Chambers <[email protected]>
  9011. * PropertyGrids.cs: Get sub properties
  9012. * PropertyGridView.cs: Fix drawing code
  9013. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  9014. * ListBox.cs: Fixes 76383
  9015. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  9016. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  9017. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  9018. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  9019. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  9020. * ComboBox.cs: Fixes border drawing
  9021. 2005-10-10 Miguel de Icaza <[email protected]>
  9022. * MimeIcon.cs: Ignore errors if the file can not be read.
  9023. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  9024. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  9025. - Fixed border calculations
  9026. - Fixed horizontal scrolling in single column listboxes
  9027. - Fixed drawing issues
  9028. 2005-10-10 Peter Dennis Bartok <[email protected]>
  9029. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  9030. FormBorderStyle enum
  9031. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  9032. code to determine FormBorderStyles from CreateParams
  9033. * Form.cs:
  9034. - Fixed bug where we'd set the wrong window styles if we were
  9035. not creating an MDI window
  9036. - Added call to XplatUI.SetBorderStyle when form borders are set
  9037. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  9038. * Hwnd.cs:
  9039. - Removed obsolete edge style
  9040. - Switched from BorderStyle to FormBorderStyle
  9041. 2005-10-10 Jackson Harper <[email protected]>
  9042. * Form.cs: Use the property to get the window handle instead of
  9043. accessing it directly. Prevents a null reference exception.
  9044. 2005-10-10 Jackson Harper <[email protected]>
  9045. * TreeView.cs: Don't adjust the rect given to DrawString now that
  9046. our libgdiplus draws correctly.
  9047. 2005-10-08 Jackson Harper <[email protected]>
  9048. * TreeView.cs: Don't try to find the clicked on node if there are
  9049. no nodes in the tree.
  9050. 2005-10-08 Alexander Olk <[email protected]>
  9051. * RichTextBox.cs:
  9052. restore
  9053. 2005-10-08 Alexander Olk <[email protected]>
  9054. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  9055. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  9056. ErrorProvider.cs:
  9057. Use ResPool for brushes and dispose System.Drawing objects that
  9058. are not used anymore.
  9059. 2005-10-07 Jackson Harper <[email protected]>
  9060. * MdiChildContext.cs: Use the new borders instead of drawing them
  9061. ourselves.
  9062. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  9063. * Calling UpdateBounds after changing the window's BorderStyle
  9064. since the style can change the ClientSize
  9065. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9066. * Control.cs: Made PaintControlBackground virtual
  9067. * Panel.cs: Overriding PaintControlBackground instead of using paint
  9068. event; paint event method was interfering with 'real' users of the
  9069. event.
  9070. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  9071. * ThemeWin32Classic.cs: remove border drawing since it is handled
  9072. by the base control class now and was causing double border drawing.
  9073. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9074. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  9075. but it does seem to match MS behaviour. This fixes bug #75324
  9076. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9077. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  9078. somewhat hackish looking
  9079. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9080. * TextBoxBase.cs:
  9081. - We now accept Enter even if AcceptEnter is false, if the containing
  9082. form does not have an AcceptButton configured (fixes bug #76355)
  9083. - Calculations are now fixed to no longer use Width/Height, but
  9084. ClientSize.Width/Height, since we now support borders (this was
  9085. a result of fixing borders and therefore bug #76166)
  9086. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  9087. true (fixes bug #76354)
  9088. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9089. * Control.cs:
  9090. - Defaulting BorderStyle and setting it in XplatUI when our window
  9091. is created
  9092. - Added enum check to InternalBorderStyle setter
  9093. * XplatUIX11.cs:
  9094. - Added drawing of window borders
  9095. - Now properly calculates WM decorations offset for toplevel
  9096. windows (fixes bug #74763)
  9097. * XplatUIWin32.cs:
  9098. - Implemented BorderStyles for windows (we're letting win32 draw
  9099. the border for us)
  9100. - Fixed the signature for SetWindowLong
  9101. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  9102. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  9103. setting borders
  9104. * UpDownBase.cs: Remove drawing of borders, this is handled by
  9105. the driver, outside the client area
  9106. * ListView.cs: Removed bogus border calculations. The control should
  9107. be oblivious to borders, since those are not part of the client
  9108. area.
  9109. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  9110. * ThemeWin32Classic.cs: Removed border calculations from ListView
  9111. drawing code
  9112. 2005-10-06 Jackson Harper <[email protected]>
  9113. * MdiChildContext.cs: Clear out the old virtual position remove
  9114. all the unneeded calls to CreateGraphics.
  9115. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9116. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  9117. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9118. * Form.cs:
  9119. - Added loading and setting of our new default icon
  9120. - Only set icon if window is already created
  9121. 2005-10-06 Peter Dennis Bartok <[email protected]>
  9122. * Label.cs:
  9123. - Do not explicitly set the foreground and background colors, to
  9124. allow inheriting from parents (fixes #76302)
  9125. - Use Control's InternalBorderStyle property to deal with borders
  9126. 2005-10-06 Jackson Harper <[email protected]>
  9127. * MdiChildContext.cs: Use the new xplatui function to draw a
  9128. reversible rect.
  9129. 2005-10-06 Jackson Harper <[email protected]>
  9130. * Form.cs: Add the parent before creating the child context cause
  9131. we need the parent when setting up the child.
  9132. 2005-10-06 Jackson Harper <[email protected]>
  9133. * FolderBrowserDialog.cs: redo the tree population code so a
  9134. second thread isn't used. Should be a lot faster and more stable
  9135. now.
  9136. 2005-10-05 Jackson Harper <[email protected]>
  9137. * TreeView.cs: There are no expand/collapse boxes if the node has
  9138. no children.
  9139. 2005-10-05 Jackson Harper <[email protected]>
  9140. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  9141. 2005-10-05 Alexander Olk <[email protected]>
  9142. * FileDialog.cs: Fix InitialDirectory
  9143. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  9144. * ComboBox.cs:
  9145. - Fixes changing between styles
  9146. - Fixes simple mode
  9147. - Fixes last item crashing when navigating with keyboard
  9148. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  9149. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  9150. 2005-10-05 Jackson Harper <[email protected]>
  9151. * TreeView.cs: If updating the root node do a full refresh.
  9152. * TreeNode.cs: The root node should be expanded by default. Also
  9153. added a utility prop to tell if we are the root node.
  9154. * TreeNodeCollection.cs: Only refresh if the node we are being
  9155. added to is expanded. Also added a comment on a potential
  9156. optimization.
  9157. 2005-10-04 Peter Dennis Bartok <[email protected]>
  9158. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  9159. in dispose method. Fixes #76330
  9160. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  9161. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  9162. - Implements vertical and horizontal scrolling using XplatUI
  9163. - Fixes keyboard navagation
  9164. - Fixes EnsureVisible
  9165. - Drawing fixes
  9166. - Handles and draws focus properly
  9167. 2005-10-04 Kornél Pál <[email protected]>
  9168. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  9169. Create handle. NET_2_0: Destroy handle when value is null.
  9170. 2005-10-03 Jackson Harper <[email protected]>
  9171. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  9172. revert and a new patch to prevent the thumb from refreshing so
  9173. much.
  9174. 2005-10-02 Jackson Harper <[email protected]>
  9175. * ScrollBar.cs: Don't update position if it hasn't actually
  9176. changed. This occurs when you hold down the increment/decrement
  9177. buttons and the thumb gets to the max/min.
  9178. 2005-10-01 Jackson Harper <[email protected]>
  9179. * Form.cs:
  9180. * MdiChildContext.cs:
  9181. * MdiClient.cs: Implement ActiveMdiChild in Form.
  9182. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  9183. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  9184. 2005-10-01 Peter Dennis Bartok <[email protected]>
  9185. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  9186. be found
  9187. 2005-09-30 Jackson Harper <[email protected]>
  9188. * ListBox.cs: Don't do a full refresh unless some data has
  9189. actually changed.
  9190. 2005-09-30 Jackson Harper <[email protected]>
  9191. * TreeView.cs: Make sure that the checkboxes size is factored in
  9192. even when not visible.
  9193. 2005-09-30 Peter Dennis Bartok <[email protected]>
  9194. * FileDialog.cs: Fix Jordi's build break
  9195. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  9196. * FileDialog.cs:
  9197. - Use standard the Windows colours for the combobox as espected
  9198. - Dispose objects that use resouces when no longer need them
  9199. 2005-09-30 Peter Dennis Bartok <[email protected]>
  9200. * X11DesktopColors.cs: Initial incomplete implementation
  9201. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  9202. 2005-09-30 Peter Dennis Bartok <[email protected]>
  9203. * Theme.cs:
  9204. - Switched Theme color names to match the names defined in
  9205. System.Drawing.KnownColors. Life's hard enough, no need to make
  9206. it harder.
  9207. - Added setters to all theme color properties so themes can set
  9208. their color schemes. The setters also propagate the color changes
  9209. to System.Drawing.KnownColors via reflection
  9210. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  9211. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  9212. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  9213. use the new, more logical theme color names
  9214. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  9215. post-NT colors
  9216. * ThemeWin32Classic.cs:
  9217. - Removed code to set the old classic Windows colors. Instead it
  9218. now relies on the colors returned by System.Drawing.KnownColors
  9219. which will be either modern static colors (Unix) or colors
  9220. read from the user's configuration (Win32)
  9221. - Updated to use the new, more logical theme color names
  9222. - Switched DataGrid drawing code to use only Theme colors instead of
  9223. a mix of System.Drawing.KnownColors and Theme colors
  9224. - DrawFrameControl(): Removed code that fills the button area, the
  9225. fill would overwrite any previous fill done by a control. This
  9226. fixes bug #75338
  9227. - Added DrawReversibleRectangle() stub
  9228. * ScrollableControl.cs: Set visible state to false when scrollbars
  9229. are removed (pdn fix)
  9230. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  9231. DrawReversibleRectangle() method to allow drawing primitive
  9232. 'rubber bands'
  9233. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  9234. 2005-09-30 Kornél Pál <[email protected]>
  9235. * ImageList.cs: Add(Icon): Create handle.
  9236. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  9237. * ListView.cs:
  9238. * ThemeWin32Classic.cs:
  9239. - Fixes detail mode
  9240. - Sets clippings
  9241. - Issues with drawing
  9242. 2005-09-30 Kornél Pál <[email protected]>
  9243. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  9244. source has to be the ImageList.
  9245. 2005-09-30 Kornél Pál <[email protected]>
  9246. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  9247. 2005-09-30 Kornél Pál <[email protected]>
  9248. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  9249. 2005-09-30 Kornél Pál <[email protected]>
  9250. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  9251. 2005-09-29 Jonathan Chambers <[email protected]>
  9252. * GridItem.cs: Fixed TODOs
  9253. * GridItemCollection.cs: Added ICollection interface
  9254. 2005-09-30 Kornél Pál <[email protected]>
  9255. * ImageList.cs: Resize icons when needed.
  9256. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  9257. * ListViewItem.cs
  9258. - Fixes GetBounds and returns on screen rects
  9259. * ListView.cs:
  9260. - Fixes vertical and horzintal scrolling of items
  9261. * ThemeWin32Classic.cs:
  9262. - Fixes drawing
  9263. 2005-09-29 Raja R Harinath <[email protected]>
  9264. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  9265. 2005-09-29 Kornél Pál <[email protected]>
  9266. * ImageList.cs: Added comments about handle creation. Moved Handle,
  9267. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  9268. Handle is created in Add methods.
  9269. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  9270. * DataGridDrawingLogic.cs:
  9271. - Takes rows into account on Colum calculations
  9272. - Returns the column when clickig
  9273. * DataGrid.cs:
  9274. - Fixes default HitTestInfo values
  9275. - Fixes HitTestInfo.ToString
  9276. - Fixes ResetBackColor
  9277. 2005-09-28 Jackson Harper <[email protected]>
  9278. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  9279. sizing or cursor changes). Also added some temp code to draw the
  9280. titlebars text (Makes dev a little easier).
  9281. 2005-09-28 Kornél Pál <[email protected]>
  9282. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  9283. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  9284. * ListBox.cs: Fixes bug 76253
  9285. 2005-09-28 Kornél Pál <[email protected]>
  9286. * ImageList.cs: Added comments about the current implementation. Added
  9287. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  9288. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  9289. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  9290. with Bitmap.LockBits for better performance. Revised the whole file to
  9291. match MS.NET behaviour and provide better performance. Non-public
  9292. interface members are calling public members even when they throw
  9293. NotSupportedException for better maintainability. Moved ColorDepth,
  9294. ImageSize, ImageStream and TransparentColor implementations to
  9295. ImageCollection for better performance as these properties are not used
  9296. by ImageList.
  9297. * ImageListStreamer.cs: Added a new internal constructor that takes an
  9298. ImageList.ImageCollection and serializes Images based on
  9299. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  9300. match ImageList property name.
  9301. 2005-09-28 Kazuki Oikawa <[email protected]>
  9302. * ListBox.cs: Fixes IndexFromPoint for last item
  9303. 2005-09-27 Jackson Harper <[email protected]>
  9304. * Form.cs: Set the position of new mdi children correctly.
  9305. 2005-09-27 Jackson Harper <[email protected]>
  9306. * MdiClient.cs: New mdi children need to be added to the back of
  9307. the controls collection so the zorder is set correctly. Also add a
  9308. count of all the child windows that have been created.
  9309. 2005-09-27 Jackson Harper <[email protected]>
  9310. * Form.cs (CreateParams): Setup MDI forms correctly.
  9311. 2005-09-27 Jackson Harper <[email protected]>
  9312. * MdiChildContext.cs:
  9313. * MonthCalendar.cs:
  9314. * UpDownBase.cs:
  9315. * ListBox.cs:
  9316. * ListView.cs:
  9317. * TextBoxBase.cs:
  9318. * TreeView.cs:
  9319. * ScrollableControl.cs:
  9320. * ComboBox.cs: Add implicit controls using the new implict control
  9321. functionality in ControlCollection. Also try to block multiple
  9322. control add in a suspend/resume layout to save some cycles.
  9323. 2005-09-27 Jackson Harper <[email protected]>
  9324. * Control.cs: Add functionality to the controls collection to add
  9325. 'implicit controls' these are controls that are created by the
  9326. containing control but should not be exposed to the user. Such as
  9327. scrollbars in the treeview.
  9328. * Form.cs: The list var of the ControlsCollection is no longer
  9329. available because of the potential of implicit controls getting
  9330. ignored by someone accessing the list directly.
  9331. 2005-09-26 Peter Dennis Bartok <[email protected]>
  9332. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  9333. loose it's parent. (Fixed bug introduced in r49103 when we added
  9334. setting the child parent to null on Remove)
  9335. 2005-09-26 Gert Driesen <[email protected]>
  9336. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  9337. * Splitter.cs: Added missing attributes for BorderStyle property.
  9338. * TextBoxBase.cs: Marked Calculate* methods internal.
  9339. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  9340. MS.NET.
  9341. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  9342. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  9343. 2005-09-25 Jackson Harper <[email protected]>
  9344. * TreeView.cs: Update the node bounds correctly regardless of
  9345. whether the node is visible.
  9346. 2005-09-25 Jackson Harper <[email protected]>
  9347. * ImageList.cs: Don't dispose the image after it is added to the
  9348. image list. Only reformat images that need to be resized.
  9349. 2005-09-25 Jackson Harper <[email protected]>
  9350. * ImageList.cs: Don't set the format when changing the image.
  9351. 2005-09-25 Jackson Harper <[email protected]>
  9352. * TreeView.cs: We can't just assume the node has a font. Use the
  9353. treeviews font if no node font is available.
  9354. 2005-09-25 Jackson Harper <[email protected]>
  9355. * TreeView.cs: Allow the scrollbars to be reset with negative
  9356. values.
  9357. - Don't add scrollbars to negative sized windows.
  9358. 2005-09-23 Jackson Harper <[email protected]>
  9359. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  9360. old Mono.Posix. Also remove some stray code that shouldn't have
  9361. been committed.
  9362. 2005-09-23 Jackson Harper <[email protected]>
  9363. * TreeView.cs: Attempt at proper sizing of the horizontal
  9364. scrollbar. Also don't resize the scrollbars unless they are
  9365. visible.
  9366. 2005-09-23 Jackson Harper <[email protected]>
  9367. * TreeView.cs: We don't need to expand the invalid area when the
  9368. selection changes, as this is all drawn in the node's bounding
  9369. box. The area needs to be expanded (previous typo was contracting
  9370. it) when the focus rect moves.
  9371. 2005-09-23 Jackson Harper <[email protected]>
  9372. * TreeView.cs: Display the selection box under the correct
  9373. circumstances. We were rendering white text with no selection box
  9374. before.
  9375. 2005-09-23 Peter Dennis Bartok <[email protected]>
  9376. * TextControl.cs(Split): Now updates selection start/end if it points
  9377. into a line that's being split. Fixes a FIXME and bug #75258
  9378. 2005-09-23 Jackson Harper <[email protected]>
  9379. * Binding.cs:
  9380. * ListControl.cs: Don't use the path when retrieving binding
  9381. managers from the binding context. My bat sense tells me that the
  9382. path is only used on insertion.
  9383. 2005-09-22 Jackson Harper <[email protected]>
  9384. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  9385. 2005-09-22 Jackson Harper <[email protected]>
  9386. * Splitter.cs: There are special cursors used for splitting.
  9387. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  9388. 2005-09-22 Jackson Harper <[email protected]>
  9389. * Splitter.cs: Change the cursor appropriately when the splitter
  9390. is moused over, so the user actually knows there is a splitter
  9391. there.
  9392. 2005-09-22 Hisham Mardam Bey <[email protected]>
  9393. * Label.cs : Fix ToString method to give same output as MS.NET
  9394. 2005-09-22 Jackson Harper <[email protected]>
  9395. * TreeView.cs: Create the scrollbars when the handle is created
  9396. and add them right away, just make them invisble. Also account for
  9397. the window being shrunk vertically to the point that the vert
  9398. scrollbar needs to be added.
  9399. - Remove some 0.5 adjustments to get around anti aliasing issues.
  9400. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  9401. * MainMenu.cs: Fixes default value
  9402. * MenuItem.cs: Fixes default value
  9403. 2005-09-22 Kazuki Oikawa <[email protected]>
  9404. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  9405. 2005-09-21 Jackson Harper <[email protected]>
  9406. * Control.cs: Don't try to set the border style on the window if
  9407. it hasn't been created. When the window is created the border
  9408. style will be used.
  9409. 2005-09-21 Peter Dennis Bartok <[email protected]>
  9410. * Control.cs (Update): Don't call XplatUI if we don't have a
  9411. window handle yet
  9412. 2005-09-21 Peter Dennis Bartok <[email protected]>
  9413. * ContainerControl.cs: Instead of throwing an exception, print
  9414. a one-time warning about Validate not being implemented
  9415. * XplatUIWin32.cs: Removed debug output
  9416. 2005-09-21 Peter Dennis Bartok <[email protected]>
  9417. * Control.cs: Only set XplatUI background if we expect the windowing
  9418. system to handle the background. This stops controls that draw their
  9419. own background from flickering
  9420. * XplatUIX11.cs: Support custom visuals and colormaps for window
  9421. creation. This allows, amongst other things, using MWF X11 windows
  9422. with OpenGL.
  9423. 2005-09-21 Peter Dennis Bartok <[email protected]>
  9424. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  9425. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  9426. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  9427. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  9428. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  9429. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  9430. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  9431. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  9432. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  9433. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  9434. GridColumnStylesCollection.cs,
  9435. IDataGridColumnStyleEditingNotificationService.cs,
  9436. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  9437. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  9438. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  9439. TreeNodeCollection.cs, AmbientProperties.cs,
  9440. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  9441. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  9442. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  9443. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  9444. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  9445. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  9446. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  9447. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  9448. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  9449. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  9450. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  9451. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  9452. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  9453. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  9454. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  9455. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  9456. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  9457. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  9458. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  9459. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  9460. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  9461. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  9462. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  9463. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  9464. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  9465. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  9466. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  9467. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  9468. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  9469. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  9470. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  9471. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  9472. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  9473. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  9474. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  9475. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  9476. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  9477. 2005-09-21 Jackson Harper <[email protected]>
  9478. * TreeNode.cs: Call Before/After Expand not Collapse when
  9479. expanding.
  9480. 2005-09-20 Jackson Harper <[email protected]>
  9481. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  9482. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  9483. * ListViewItem.cs:
  9484. - Fixes bug 76120
  9485. - Fixes proper storing of subitems
  9486. - Fixes not updated items
  9487. 2005-09-20 Peter Dennis Bartok <[email protected]>
  9488. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  9489. things if our window handle isn't created yet. Also disabled
  9490. debug for TextBoxBase
  9491. 2005-09-20 Peter Dennis Bartok <[email protected]>
  9492. * MenuAPI.cs: Remove filtering of events to allow menu usage
  9493. 2005-09-20 Miguel de Icaza <[email protected]>
  9494. * Cursor.cs: Allow null to be passed to Cursor.Current.
  9495. 2005-09-20 Alexander Olk <[email protected]>
  9496. * ThemeWin32Classic.cs:
  9497. - Change some private methods/fields to protected virtual so that
  9498. they can be accessed and overriden in derived classes
  9499. - First refactoring of some methods. Derived themes now don't
  9500. need to duplicate the complete code from ThemeWin32Classic
  9501. * ThemeNice.cs:
  9502. - Added nice StatusBar
  9503. - Derive from ThemeWin32Classic and not Theme
  9504. - Removed duplicate ThemeWin32Classic code
  9505. 2005-09-20 Miguel de Icaza <[email protected]>
  9506. * Control.cs (ControlCollection.Add): If the value null is passed
  9507. the control is ignored.
  9508. Optimize this loop.
  9509. 2005-09-19 Peter Dennis Bartok <[email protected]>
  9510. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  9511. PostQuitMessage state.
  9512. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  9513. 2005-09-19 Peter Dennis Bartok <[email protected]>
  9514. * Application.cs: Our constructor will never get called, move
  9515. initialization to fields; fixes bug #75933
  9516. 2005-09-19 Hisham Mardam Bey <[email protected]>
  9517. * FileDialog.cs :
  9518. - Allow files to be selected properly using file name
  9519. combo box.
  9520. - Add ability to change diretory (absolute / relative)
  9521. using file name combo box.
  9522. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  9523. * ListBox.cs:
  9524. - Fixes Multicolumn listboxes item wrong calculations
  9525. - Allows to click when only one item is in the listbox
  9526. - Fixes crash when no items using keyboard navigation
  9527. 2005-09-16 Alexander Olk <[email protected]>
  9528. * ComboBox.cs: Reverted almost everything from the latest patch which
  9529. broke ComboBox
  9530. 2005-09-16 Kazuki Oikawa <[email protected]>
  9531. * ToolTip.cs:
  9532. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  9533. * ComboBox.cs:
  9534. - When DropDownStyle is Simple, it does not show scrollbar
  9535. to the last item of the list.
  9536. - When DropDownStyle is Simple, it crashed when the list was
  9537. scrolled down with the down cursor key.
  9538. - Fixed a bug that when DropDownStyle is DropDownList, the
  9539. selected item was not shown.
  9540. - The position of the selected item was not preserved when
  9541. the next dropdown happened.
  9542. * ThemeWin32Classic.cs:
  9543. - Items were wrapped at the right end.
  9544. * CheckedListBox.cs:
  9545. - Fixed Add method
  9546. * ListBox.cs:
  9547. - Items should be fully shown.
  9548. - When resizing and vertical scrollbar disappeared, the item
  9549. of index 0 should be on the top of the list.
  9550. - GetItemRectangle should consider the size of ver. scrollbar
  9551. * StatusBar.cs:
  9552. - SizingGrip area should not be allocated when it is not
  9553. displayed.
  9554. - Now it reflects MinWidth of the containing panel and
  9555. fixed a crash that happens when its width becomes so small.
  9556. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  9557. * CheckedListBox.cs: Fixes bug 76028
  9558. * ListBox.cs: Fixes bug 76028
  9559. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  9560. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  9561. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  9562. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  9563. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  9564. 2005-09-09 Jonathan Chambers <[email protected]>
  9565. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  9566. 2005-09-09 Jonathan Chambers <[email protected]>
  9567. * IRootGridEntry.cs: Added
  9568. * PropertyGridCommands.cs: Added
  9569. * PropertiesTab.cs: Added missing methods and property
  9570. * PropertyGridView.cs: Made class internal
  9571. * PropertyGridTextBox.cs: Made class internal
  9572. 2005-09-09 Alexander Olk <[email protected]>
  9573. * MimeIcon.cs: Try to check some other environment variables
  9574. if "DESKTOP_SESSION" returns "default"
  9575. 2005-09-09 Alexander Olk <[email protected]>
  9576. * ThemeNice.cs: Corrected background colors (e.g. menus)
  9577. * ColorDialog.cs: Use correct background colors for controls
  9578. 2005-09-09 Alexander Olk <[email protected]>
  9579. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  9580. 2005-09-08 Peter Dennis Bartok <[email protected]>
  9581. * RichTextBox.cs: Added initial implementation
  9582. * lang.cs: Removed. Was accidentally checked in long time ago
  9583. * TODO: Removed. Contents were obsolete
  9584. 2005-09-06 Jonathan Chambers <[email protected]>
  9585. * PropertiesTab.cs : Added
  9586. 2005-09-06 Jonathan Chambers <[email protected]>
  9587. * PropertyGrid.cs : Update
  9588. * PropertyGridView.cs : Update
  9589. * System.Windows.Forms.resx : Added images and strings
  9590. 2005-09-06 Peter Dennis Bartok <[email protected]>
  9591. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  9592. 2005-09-06 Peter Dennis Bartok <[email protected]>
  9593. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  9594. a busy loop right after the Ungrab the X11 display is otherwise
  9595. blocked
  9596. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  9597. * ThemeWin32Classic.cs: Optimise the use of clipping
  9598. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  9599. * DataGrid.cs: fixes recursion bug
  9600. 2005-09-03 Alexander Olk <[email protected]>
  9601. * ThemeNice.cs:
  9602. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  9603. - Cleanup
  9604. 2005-09-02 Alexander Olk <[email protected]>
  9605. * ThemeNice.cs: Draw nice ProgressBars
  9606. 2005-09-01 Miguel de Icaza <[email protected]>
  9607. * VScrollBar.cs: Another buglet found by Aaron's tool.
  9608. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  9609. bug finder.
  9610. 2005-08-30 Alexander Olk <[email protected]>
  9611. * ThemeNice.cs:
  9612. - Added nicer menu drawing
  9613. - Updated DrawTab
  9614. - some refactoring
  9615. 2005-08-30 Peter Dennis Bartok <[email protected]>
  9616. * CreateParams.cs (ToString): Made output match MS
  9617. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  9618. handle is already created (to avoid forcing window creation)
  9619. * XplatUIX11.cs: Set window text to caption after creating window,
  9620. in case Text was set before window was created
  9621. * Form.cs: Use this.Text instead of a static string as caption
  9622. 2005-08-30 Peter Dennis Bartok <[email protected]>
  9623. * NotifyIcon.cs: Don't set the window to visible; this screws
  9624. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  9625. OnPaint without a bitmap)
  9626. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  9627. happen very often anyway; we could add the check to the WM_PAINT
  9628. event generation code
  9629. 2005-08-30 Peter Dennis Bartok <[email protected]>
  9630. * NotifyIcon.cs: Fill the icon area with a background color, to
  9631. avoid 'residue' when transparent icons are drawn
  9632. * XplatUIX11.cs:
  9633. - Handle whole_window == client_window when destroying windows
  9634. - SystrayAdd(): Set client_window to whole_window value to
  9635. get mouse and other events passed to NotifyIcon
  9636. 2005-08-30 Peter Dennis Bartok <[email protected]>
  9637. * Form.cs: Set proper default for Opacity property
  9638. * NotifyIcon.cs:
  9639. - ShowSystray(): Don't bother creating telling the OS
  9640. about the systray item if no icon is provided
  9641. - Now handles WM_NCPAINT message to deal with whole/client window
  9642. split
  9643. - Create window as visible to not get caught by Expose optimization
  9644. * Hwnd.cs: Removed debug message
  9645. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  9646. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  9647. PaintEventStart/End to use new client argument
  9648. * TextBoxBase.cs:
  9649. - Commented out debug messages
  9650. - Switched PaintEventStart/End to use new client argument
  9651. * XplatUI.cs: Added client window bool to PaintEventStart()/
  9652. PaintEventEnd() calls, to support drawing in non-client areas
  9653. * XplatUIDriver.cs:
  9654. - Added client window bool to PaintEventStart()/PaintEventEnd()
  9655. calls, to support drawing in non-client areas
  9656. - Added conditional compile to allow using MWF BeginInvoke
  9657. on MS runtime
  9658. * XplatUIX11.cs:
  9659. - Added some conditional debug output
  9660. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  9661. whole/client window split
  9662. - Implemented handling of client argument to PaintEventStart()/End()
  9663. * Control.cs:
  9664. - Throw exception if BeginInvoke() is called and the window handle
  9665. or one of the window's parent handles is not created
  9666. - Added conditional compile to allow using MWF BeginInvoke on
  9667. MS runtime
  9668. - get_Parent(): Only sets parent if handle is created. This avoids
  9669. forcing window handle creation when parent is set.
  9670. - Now fires Layout and Parent changed events in proper order
  9671. - Switched to use Handle instead of window.Handle for Z-Order setting,
  9672. the get_Parent() patch above causes us to possibly get null for 'window'
  9673. - Implemented handling of client argument to PaintEventStart()/End()
  9674. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  9675. default handling)
  9676. - Now sends a Refresh() to all child windows when Refresh() is called
  9677. 2005-08-29 Peter Dennis Bartok <[email protected]>
  9678. * Form.cs: Added (non-functional) Opacity property
  9679. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  9680. 2005-08-29 Alexander Olk <[email protected]>
  9681. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  9682. use export MONO_THEME=nice to activate it.
  9683. Currently supported controls:
  9684. - Button
  9685. - ComboBox
  9686. - ScrollBar
  9687. - TabControl (TabAlignment.Top only, other will follow)
  9688. * ThemeEngine.cs: Add theme nice
  9689. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  9690. if enabled
  9691. 2005-08-25 Jonathan Chambers <[email protected]>
  9692. * Splitter.cs: Resize docked control and its neighbor.
  9693. 2005-08-24 Rafael Teixeira <[email protected]>
  9694. -- Making Windows with Menus layout correctly --
  9695. * Form.cs : The first leg of the fix
  9696. Menu setter - adjust Client Size as needed to make space for the menu
  9697. SetClientSizeCore - doesn't call base version to be able to pass the
  9698. menu handle to XplatUI.CalculateWindowRect
  9699. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  9700. * XplatUIX11.cs: The critical second leg of the fix
  9701. GetWindowPos needs to use a recalculated client_rect
  9702. so that resizing the window doesn't break layout of child controls.
  9703. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  9704. Lots of \t\n killed
  9705. 2005-08-23 Peter Dennis Bartok <[email protected]>
  9706. * Label.cs: Now properly recalculates width and height on Font and Text
  9707. changes if AutoSize is set
  9708. 2005-08-19 Rafael Teixeira <[email protected]>
  9709. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  9710. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  9711. * ImageList.cs: Makes ToString method compatible with MS
  9712. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  9713. * MenuAPI.cs: fixes bug 75716
  9714. 2005-08-11 Umadevi S <[email protected]>
  9715. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  9716. 2005-08-11 Umadevi S <[email protected]>
  9717. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  9718. 2005-08-10 Umadevi S <[email protected]>
  9719. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  9720. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  9721. * Menu.cs: fixes bug 75700
  9722. * MenuAPI.cs: fixes navigation issues
  9723. 2005-08-09 Umadevi S <[email protected]>
  9724. * CheckedListBox.cs - simple fix for GetItemChecked.
  9725. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  9726. * ComboBox.cs: Serveral fixes
  9727. * ListBox.cs: Serveral fixes
  9728. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  9729. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  9730. * ListBox.cs: Fixes FindString methods
  9731. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  9732. * DataGrid.cs: fixes bugs exposed by new tests
  9733. 2005-08-04 Peter Dennis Bartok <[email protected]>
  9734. * Mime.cs: Compile Mono assembly references only if compiling
  9735. with Mono (Allows to build with VS.Net again)
  9736. 2005-07-28 Marek Safar <[email protected]>
  9737. * Control.cs (PaintControlBackground): Draw background image
  9738. corrrectly.
  9739. (CheckForIllegalCrossThreadCalls): Stubbed.
  9740. * Form.cs (OnCreateControl): Center when should be centered.
  9741. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  9742. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  9743. * Binding.cs: Binding to properties should be case unsensitive
  9744. 2005-07-18 [email protected]
  9745. * DataGrid.cs: fixes setmember order
  9746. 2005-07-07 Alexander Olk <[email protected]>
  9747. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  9748. * FileDialog.cs: FileDialog is now resizable and uses the new
  9749. MimeIconEngine
  9750. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  9751. * DataGridTextBoxColumn.cs: default value
  9752. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  9753. * GridTableStylesCollection.cs: fixes checking MappingName
  9754. * DataGridDrawingLogic.cs: fixes drawing logic issues
  9755. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  9756. * DataGrid.cs: fixes
  9757. 2005-07-06 Alexander Olk <[email protected]>
  9758. * MimeGenerated.cs: Use case sensitive comparer for
  9759. NameValueCollections
  9760. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  9761. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  9762. * ThemeWin32Classic.cs: bug fixes, code refactoring
  9763. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  9764. * DataGrid.cs: bug fixes, code refactoring
  9765. * DataGridTextBox.cs: bug fixes, code refactoring
  9766. * DataGridColumnStyle.cs: bug fixes, code refactoring
  9767. * Theme.cs: bug fixes, code refactoring
  9768. 2005-07-01 Peter Bartok <[email protected]>
  9769. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  9770. and other text box usage
  9771. 2005-07-01 Jackson Harper <[email protected]>
  9772. * TabControl.cs: Make sure the bottom of the tab covers the pages
  9773. border.
  9774. 2005-06-30 Peter Bartok <[email protected]>
  9775. * Form.cs (ShowDialog): Assign owner of the dialog
  9776. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  9777. might have been moved to a tag with different height
  9778. 2005-06-30 Jackson Harper <[email protected]>
  9779. * Form.cs: Don't create an infinite loop when setting focus
  9780. * MenuItem.cs: Don't dirty the parents if we don't have any
  9781. 2005-06-29 Ben Maurer <[email protected]>
  9782. * LibSupport.cs: Rename
  9783. 2005-06-29 Peter Bartok <[email protected]>
  9784. * TextBoxBase.cs: Re-align caret after deleting a character
  9785. * TextControl.cs:
  9786. - DeleteChars(): Ensure that tag covers the provided position
  9787. - StreamLine(): Drop reference for dropped tag
  9788. 2005-06-29 Peter Bartok <[email protected]>
  9789. * TextControl.cs:
  9790. - Selections now work properly, anchoring at the initial location
  9791. and properly extending in either direction (SetSelectionToCaret(),
  9792. SetSelectionStart() and SetSelectionEnd())
  9793. - No longer redraws the whole control on selection change, now
  9794. calculates delta between previous and new selection and only
  9795. invalidates/redraws that area
  9796. - Fixed FindPos() math off-by-one errors
  9797. - Changed DeleteChars() to verify the provided tag covers the
  9798. provided position, selections may have a tag that doesn't cover
  9799. the position if the selection is at a tag border
  9800. - Fixed off-by-one errors in DeleteChars()
  9801. - Added missing streamlining check in DeleteChars() to remove
  9802. zero-length tags
  9803. - Implemented Invalidate() method, now properly calculates exposures
  9804. between two given lines/positions
  9805. - Implemented SetSelection()
  9806. - Obsoleted and removed FixupSelection()
  9807. - Improved RecalculateDocument() logic, removing code duplication
  9808. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  9809. * LibSupport.cs: changes to match different input/output arguments.
  9810. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  9811. * LibSupport.cs: added libsupport.so init routine.
  9812. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  9813. * ControlBindingsCollection.cs
  9814. - Throws an exception on null datasource when adding
  9815. - Checks for duplicated bindings when adding
  9816. 2005-06-28 Jackson Harper <[email protected]>
  9817. * TreeView.cs (OnKeyDown): Support left and right properly
  9818. (navigates as well as expanding and collapsing.
  9819. - Add support for Multiply, this expands all the selected nodes
  9820. children.
  9821. - Fix some tabbing.
  9822. 2005-06-28 Jackson Harper <[email protected]>
  9823. * TreeView.cs: Implement keyboard navigation, currently supports,
  9824. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  9825. support for toggling checkboxes with the space bar.
  9826. 2005-06-28 Jackson Harper <[email protected]>
  9827. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  9828. tree.
  9829. 2005-06-28 Jackson Harper <[email protected]>
  9830. * TreeView.cs: Add missing event.
  9831. 2005-06-27 Peter Bartok <[email protected]>
  9832. * TextControl.cs:
  9833. - Made line ending size configurable (now allows for counting
  9834. lineendings as \n or \r\n)
  9835. - Added margin to viewport to keep caret visible on right side
  9836. - Fixed translation routines for line/pos to documentpos to consider
  9837. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  9838. - Fixed some line-endings to be unix style
  9839. - Fixed Document.FormatText to perform it's calculations 1-based
  9840. - Added descriptions for a few methods that might otherwise get
  9841. used wrong
  9842. - Added NOTE section with some basic conventions to remember at
  9843. the top of the file
  9844. - Major fixup for RichTextBox selection drawing:
  9845. * Fixed crashes when multiple tags on a single line were selected
  9846. * fixed selection box drawing not overlaying text
  9847. * fixed bogus offset calculation for tags not starting at index 1
  9848. * Switched behaviour from using multiple Substrings of a
  9849. StringBuilder.ToString() to using multiple
  9850. StringBuilder.ToString(start, length) statements, hoping this is
  9851. faster (kept original version commented out in the code, in case
  9852. original version was faster)
  9853. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  9854. alignment != Left
  9855. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  9856. call it as well
  9857. 2005-06-27 Jackson Harper <[email protected]>
  9858. * TabControl.cs: Move to the left and right with the arrow
  9859. keys. These keys don't cycle beyond first and last like
  9860. tab. Refresh all the tabs when scrolling them to the left or
  9861. right.
  9862. 2005-06-27 Jackson Harper <[email protected]>
  9863. * TabControl.cs:
  9864. - ToString: Added method
  9865. - CreateParams: Remove TODO and comment
  9866. - OnKeyDown: Cycle through bounds properly.
  9867. - SelectedIndex: Scroll to the right or left if we need to
  9868. display the newly selected tab.
  9869. 2005-06-23 Jackson Harper <[email protected]>
  9870. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  9871. set.
  9872. 2005-06-23 Jackson Harper <[email protected]>
  9873. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  9874. CTRL-SHIFT-TAB, and HOME, END are there any others?
  9875. 2005-06-23 Jackson Harper <[email protected]>
  9876. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  9877. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  9878. * DataGridTextBoxColumn.cs: fixes and enhancements
  9879. * ThemeWin32Classic.cs: fixes and enhancements
  9880. * DataGridBoolColumn.cs: fixes and enhancements
  9881. * DataGridDrawingLogic.cs: fixes and enhancements
  9882. * CurrencyManager.cs: fixes and enhancements
  9883. * DataGrid.cs: fixes and enhancements
  9884. * DataGridColumnStyle.cs: fixes and enhancements
  9885. 2005-06-22 Jackson Harper <[email protected]>
  9886. * TabControl.cs: Add some missing methods that just call into the
  9887. base. Make the TabPageCollection's IList interface behave in the
  9888. same manner as the MS implementation.
  9889. 2005-06-22 Peter Bartok <[email protected]>
  9890. * TextControl.cs: Added sanity check
  9891. * TextBoxBase.cs:
  9892. - Fixed wrapping behaviour, don't set wrap on single line controls
  9893. (this fixes the breakage of colordialog introduced in an earlier
  9894. checkin)
  9895. - Added rudimentary support for autoscrolling right-aligned controls
  9896. (still needs fixing, also, center alignment scroll is missing)
  9897. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  9898. * ScrollBar.cs: Fixes thumbpos on Maximum values
  9899. 2005-06-21 Jonathan Chambers <[email protected]>
  9900. * PropertyGridView.cs: Pass context information to UITypeEditors
  9901. 2005-06-21 Peter Bartok <[email protected]>
  9902. * TextBoxBase.cs:
  9903. - Now calling PositionCaret with absolute space coordinates
  9904. - Enabled vertical scrolling
  9905. - Better tracking of scrollbar changes, tied into WidthChange
  9906. event
  9907. - Improved cursor tracking
  9908. - Removed debug output
  9909. * TextControl.cs:
  9910. - PositionCaret coordinates are now works in absolute space, not
  9911. the canvas
  9912. - Improved tracking of document size
  9913. - Added events for width and height changes
  9914. 2005-06-21 Peter Bartok <[email protected]>
  9915. * Form.cs: Set focus to active control when form is activated
  9916. * TextControl.cs:
  9917. - Added word-wrap functionality to RecalculateLine()
  9918. - Added some short function descriptions for VS.Net to aid in
  9919. writing dependent controls
  9920. - Added Caret property, returning the current coords of the caret
  9921. - Added ViewPortWidth and ViewPortHeight properties
  9922. - Added Wrap property
  9923. - Added CaretMoved event
  9924. - Removed some old debug code
  9925. - Split() can now create soft splits
  9926. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  9927. - Added method to format existing text
  9928. - Fixed size/alignment calculations to use viewport
  9929. - RecalculateDocument now can handle changing line-numbers while
  9930. calculating lines
  9931. * TextBox.cs:
  9932. - Added some wrap logic, we don't wrap if alignment is not left
  9933. - Added casts for scrollbar var, base class switched types to
  9934. also support RichTextBoxA
  9935. - Implemented handling of scrollbar visibility flags
  9936. * TextBoxBase.cs:
  9937. - Switched scrollbars type to RichTextBoxScrollBars to support
  9938. RichTextBox
  9939. - Added tracking of canvas width/height
  9940. - Switched scrollbars to be not selectable (to keep focus on text)
  9941. - Added central CalculateDocument() method to handle all redraw
  9942. requirements
  9943. - Added ReadOnly support
  9944. - Added WordWrap support
  9945. - Fixed handling of Enter key (we now treat it as a DialogKey)
  9946. - Fixed caret positioning when h or v scroll is not zero
  9947. - Fixed placing/generation of vertical scrollbar
  9948. - Added CalculateScrollBars() method to allow updating scrollbar
  9949. limits and visibility
  9950. - Fixed handling of horizontal scroll
  9951. - Added handling of vertical scroll
  9952. - Implemented auto-'jump' when caret moves to close to a left or
  9953. right border and there is text to be scrolled into view (currently
  9954. there's the potential for a stack overflow, until a bug in
  9955. scrollbar is fixed)
  9956. 2005-06-21 Geoff Norton <[email protected]>
  9957. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  9958. 2005-06-19 Alexander Olk <[email protected]>
  9959. * Mime.cs:
  9960. - added inodes.
  9961. - return application/x-zerosize for files with size zero
  9962. (if no extension pattern matches).
  9963. - check matches collection for strings too.
  9964. - return only the first mime type if the name value
  9965. collection has more than one mime type.
  9966. 2005-06-18 Jonathan Chambers <[email protected]>
  9967. * PropertyGrid.cs: Cleaned up some TODOs
  9968. * PropertyGridView.cs: Added support for UITypeEditors
  9969. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  9970. * DataGrid.cs: clears cached value
  9971. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  9972. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  9973. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  9974. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  9975. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  9976. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  9977. * ThemeWin32Classic.cs: fixes colour
  9978. 2005-06-15 Peter Bartok <[email protected]>
  9979. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  9980. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  9981. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  9982. * Control.cs: Added some MWFCategory and MWFDescription attributes
  9983. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  9984. 2005-06-15 Alexander Olk <[email protected]>
  9985. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  9986. usage
  9987. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  9988. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  9989. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  9990. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  9991. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  9992. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  9993. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  9994. 2005-06-13 Jackson Harper <[email protected]>
  9995. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  9996. isn't printed when the user enables dropping. (X11 does accept
  9997. drops).
  9998. 2005-06-13 Jackson Harper <[email protected]>
  9999. * TreeView.cs: Remove some TODOS.
  10000. 2005-06-13 Jackson Harper <[email protected]>
  10001. * Form.cs: Hook into the mdi framework.
  10002. * MdiClient.cs: Use the base control collections add method so
  10003. parents get setup correctly. Set the default back colour and dock
  10004. style.
  10005. * MdiChildContext.cs: New class, this bad actor handles an
  10006. instance of an MDI window. Right now there is only basic
  10007. support. You can drag, close, and resize windows. Minimize and
  10008. Maximize are partially implemented.
  10009. 2005-06-13 Jackson Harper <[email protected]>
  10010. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  10011. freaky when both vals are negative. NOTE: There are probably other
  10012. places in XplatUIX11 that this needs to be done.
  10013. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  10014. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  10015. * DataGridColumnStyle.cs: fixes signature
  10016. 2005-06-12 Jackson Harper <[email protected]>
  10017. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  10018. windows.
  10019. 2005-06-11 Jackson Harper <[email protected]>
  10020. * StatusBarPanel.cs: Signature cleanups. Implement
  10021. BeginInit/EndInit.
  10022. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  10023. * DataGridTextBoxColumn.cs: Honors aligment
  10024. * GridColumnStylesCollection.cs: Contains is case unsensitive
  10025. * GridTableStylesCollection.cs: several fixes
  10026. * DataGridTableStyle.cs: default column creation
  10027. * DataGridDrawingLogic.cs: fixes
  10028. * CurrencyManager.cs: ListName property
  10029. * DataGrid.cs: multiple styles support
  10030. * DataGridColumnStyle.cs: fixes
  10031. 2005-06-10 Peter Bartok <[email protected]>
  10032. * Control.cs(Select): Moved SetFocus call to avoid potential
  10033. loops if controls change the active control when getting focus
  10034. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  10035. the up/down buttons
  10036. 2005-06-10 Matthias Felgner <[email protected]>
  10037. * ImageListConverter.cs: Implemented
  10038. 2005-06-10 John BouAntoun <[email protected]>
  10039. * MonthCalendar.cs: Wired in NumericUpDown control for year
  10040. 2005-06-10 John BouAntoun <[email protected]>
  10041. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  10042. DoubleClick events, since they are not meant to be fired.
  10043. 2005-06-09 Peter Bartok <[email protected]>
  10044. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  10045. Jonathan's standalone controls into MWF, implemented missing
  10046. events, attributes and methods; added xxxAccessible classes
  10047. * AccessibleObject.cs: Made fields internal so other classes
  10048. can change them if needed
  10049. 2005-06-09 Jonathan Gilbert <[email protected]>
  10050. * UpDownBase.cs: Complete implementation
  10051. * NumericUpDown.cs: Complete implementation
  10052. * DomainUpDown.cs: Complete implementation
  10053. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  10054. * DataGridTextBoxColumn.cs: drawing fixes
  10055. * DataGridCell.cs: fixes ToString method to match MSNet
  10056. * DataGridTableStyle.cs: fixes
  10057. * DataGridBoolColumn.cs: fixes, drawing
  10058. * DataGridDrawingLogic.cs: fixes, new methods
  10059. * DataGridTextBox.cs: Keyboard and fixes
  10060. * DataGrid.cs:
  10061. - Keyboard navigation
  10062. - Scrolling fixes
  10063. - Row selection (single, multiple, deletion, etc)
  10064. - Lots of fixes
  10065. 2005-06-07 Jackson Harper <[email protected]>
  10066. * ThemeWin32Classic.cs: Clear the background area when drawing
  10067. buttons.
  10068. 2005-06-06 Peter Bartok <[email protected]>
  10069. * ImageListStreamer.cs: Fixed signature for GetData
  10070. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  10071. * ComboBox.cs:
  10072. - Added missing ChildAccessibleObject class
  10073. - Added missing OnXXXFocus overrides, switched to using those
  10074. instead of the event handler
  10075. * Control.cs:
  10076. - Added Parent property for ControlAccessibleObject
  10077. - Fixed signatures
  10078. - Fixed attributes
  10079. - Added ResetBindings()
  10080. * ListBindingConverter.cs: Implemented some methods
  10081. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  10082. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  10083. * ContainerControl.cs: Fixed signature, now subscribing to the
  10084. ControlRemoved event instead of overriding the handler, LAMESPEC
  10085. * CurrencyManager.cs: Added missing attribute
  10086. * MonthCalendar.cs: Added missing properties
  10087. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  10088. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  10089. 2005-06-06 Gaurav Vaish and Ankit Jain
  10090. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  10091. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  10092. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  10093. * Control.cs: fixes CreateParams Width / Height.
  10094. 2005-06-05 Peter Bartok <[email protected]>
  10095. * Win32DnD.cs: Removed compilation warnings
  10096. 2005-06-05 Peter Bartok <[email protected]>
  10097. * Control.cs (CreateParams): Since we don't know if one of the
  10098. properties we use is overridden, lets make sure if we fail accessing
  10099. we continue with a backup plan
  10100. 2005-06-05 Peter Bartok <[email protected]>
  10101. * Win32DnD.cs:
  10102. - Removed debug output
  10103. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  10104. struct
  10105. - Plugged resource leak
  10106. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  10107. MS size
  10108. 2005-06-05 Peter Bartok <[email protected]>
  10109. * XplatUIWin32.cs: Removed DnD code
  10110. * Win32DnD.cs: Implemented drop source and drop target functionality
  10111. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  10112. * UpDownBase.cs: remove duplicate addition of event, enable some code
  10113. that was commented out.
  10114. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  10115. Validate input when a key is pressed. It works fine now for every
  10116. combination of Hexadecimal. Only missing some drawing love when sharing
  10117. space with other controls.
  10118. 2005-06-04 Peter Bartok <[email protected]>
  10119. * Control.cs:
  10120. - We need to pass a window for DragDrop, so enable callback events
  10121. - Added DnD callback events when being a DragSource
  10122. * XplatUI.cs (StartDrag): Added window handle argument
  10123. * XplatUIDriver.cs (StartDrag): Added window handle argument
  10124. * QueryContinueDragEventArgs: Made fields internally accessible so
  10125. drivers can set them
  10126. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  10127. can set them
  10128. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  10129. * DataGridTextBoxColumn.cs: column text editing
  10130. * DataGridTableStyle.cs: Respect columns styles created by the user
  10131. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  10132. * DataGridBoolColumn.cs: bool column editing
  10133. * DataGrid.cs: fixes to scrolling, properties, etc
  10134. * DataGridTextBox.cs: handle keyboard
  10135. * DataGridColumnStyle.cs: fixes
  10136. 2005-06-02 Jackson Harper <[email protected]>
  10137. * ImageListStreamer.cs: Somewhat broken implementation of
  10138. GetObjectData. The RLE needs some work to match MS properly.
  10139. 2005-06-02 Jackson Harper <[email protected]>
  10140. * X11Dnd.cs: Attempting to keep at least one file in MWF
  10141. monostyled.
  10142. 2005-06-02 Peter Bartok <[email protected]>
  10143. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  10144. that way
  10145. 2005-06-02 Peter Bartok <[email protected]>
  10146. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  10147. * XplatUI.cs: Added DoDragDrop() method
  10148. * XplatUIDriver.cs: Added DoDragDrop() method
  10149. 2005-06-02 Jackson Harper <[email protected]>
  10150. * Splitter.cs: Implement BorderStyle.
  10151. 2005-06-02 Jackson Harper <[email protected]>
  10152. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  10153. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  10154. X11 using XDND.
  10155. 2005-06-02 Peter Bartok <[email protected]>
  10156. * DataObject.cs:
  10157. - Added Data setter
  10158. - Fixed broken insertion code for SetData, now also
  10159. overwrites any existing entry of the same format name
  10160. * Hwnd.cs: Added list of pointers that automatically gets
  10161. freed when the window is disposed
  10162. * XplatUI.cs: Call driver initialization method when loading
  10163. a driver
  10164. * Control.cs:
  10165. - OnDragLeave takes EventArgs, not DragEventArgs
  10166. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  10167. supported
  10168. - Forces style update when drop state changes
  10169. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  10170. not perfect since we cannot (yet) call the IDataObject.GetData()
  10171. method, we keep getting 0x80004005 error, dunno why)
  10172. 2005-06-02 Peter Bartok <[email protected]>
  10173. * DragEventArgs.cs: Make fields internal so we can cache the
  10174. object and re-set the fields from XplatUI
  10175. 2005-06-02 Jackson Harper <[email protected]>
  10176. * Control.cs: Add some internal methods so the DnD subsystem can
  10177. raise DnD events. Also call into the driver when AllowDrop is set.
  10178. * XplatUI.cs:
  10179. * XplatUIDriver.cs: New method for setting whether or not a window
  10180. is allowed to accept drag and drop messages.
  10181. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  10182. * ScrollBar.cs: Make sure that values sent in Scroll events
  10183. are always between Maximum and Minimum.
  10184. 2005-06-01 Marek Safar <[email protected]>
  10185. * Menu.cs: Call MenuChanged when menuitem visibility has been
  10186. changed.
  10187. * MenuItem.cs: Rebuild menu when item is (not) visible.
  10188. * MainMenu.cs: MainMenu has special MenuChanged.
  10189. * Theme.cs: Caption and FrameBorderSize are not fixed.
  10190. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  10191. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  10192. * XplatUIX11.cs,
  10193. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  10194. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  10195. 2005-05-30 Jackson Harper <[email protected]>
  10196. * DataFormat.cs: We can't statically initialize this stuff because
  10197. it calls into the xplatui and could create a loop. So we lazy init
  10198. it.
  10199. 2005-05-28 Jackson Harper <[email protected]>
  10200. * Control.cs: Proper implementation of Product(Name/Version).
  10201. 2005-05-27 Jackson Harper <[email protected]>
  10202. * DataObject.cs: Dont crash if no data is found.
  10203. 2005-05-26 Rafael Teixeira <[email protected]>
  10204. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  10205. as per status page, guessing it should be set to true
  10206. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  10207. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  10208. * DataGridTableStyle.cs: set proper formatting text, def header text
  10209. * ThemeWin32Classic.cs: new themable paramaters
  10210. * DataGridBoolColumn.cs: paint check box, get data, fixes
  10211. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  10212. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  10213. * DataGridColumnStyle.cs: fixes
  10214. * Theme.cs: new themable paramaters
  10215. 2005-05-26 Peter Bartok <[email protected]>
  10216. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  10217. 2005-05-24 Jonathan S. Chambers <[email protected]>
  10218. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  10219. 2005-05-24 Peter Bartok <[email protected]>
  10220. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  10221. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  10222. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  10223. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  10224. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  10225. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  10226. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  10227. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  10228. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  10229. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  10230. missing attributes, etc
  10231. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  10232. 2005-05-24 Peter Bartok <[email protected]>
  10233. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  10234. when user tries to get help
  10235. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  10236. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  10237. to suppress warnings
  10238. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  10239. avoid unreachable code warning
  10240. 2005-05-20 Peter Bartok <[email protected]>
  10241. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  10242. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  10243. * DataGridTextBoxColumn.cs: Basic painting methods
  10244. * DataGridTableStyle.cs: Set table style in the column
  10245. * ThemeWin32Classic.cs: Use Theme for colors
  10246. * DataGridDrawingLogic.cs: Implement more drawing
  10247. * DataGrid.cs: drawing, theming, enhacements, fixes
  10248. * DataGridColumnStyle.cs: fixes, drawing
  10249. * Theme.cs: theming for Datagrid
  10250. 2005-05-20 Peter Bartok <[email protected]>
  10251. * Cursor.cs: Implemented GetObjectData() method
  10252. 2005-05-20 Peter Bartok <[email protected]>
  10253. * Cursors.cs: Added setting of cursor name
  10254. * Cursor.cs:
  10255. - Implemented constructors
  10256. - Implemented Draw and DrawStretched
  10257. - Implemented Current property
  10258. - Implemented == and != operators
  10259. - Implemented Dispose()
  10260. - Implemented ToString
  10261. - Added missing attributes
  10262. * XplatUIX11.cs:
  10263. - Added missing reset for OverrideCursor when DoEvents is called
  10264. - Fixed creation of cursor, logic was wrong
  10265. * XplatUIWin32.cs:
  10266. - Added missing reset for OverrideCursor when DoEvents is called
  10267. - Fixed creation of cursor, bit arrays were swapped
  10268. * Clipboard.cs: Removed obsolete MonoTODO attribute
  10269. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  10270. * ComboBox.cs: fixes OnSelectedItemChanged
  10271. * ControlBindingsCollection.cs: fixes item range check
  10272. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  10273. * UpDownBase.cs:
  10274. - Calc preferred height properly
  10275. - Implement missing properties
  10276. * NumericUpDown.cs: Implement missing events
  10277. 2005-05-19 Jackson Harper <[email protected]>
  10278. * TabControl.cs: New method that resizes the tab pages before
  10279. redrawing them. This as needed as the control is double buffered
  10280. and sizing will not be recalculated unless ResizeTabPages is
  10281. called.
  10282. * TabPage.cs: Set base.Text instead of Text in the constructor so
  10283. that UpdateOwner does not get called. Use the new Redraw method of
  10284. TabControl instead of Refresh so the sizing is recalculated.
  10285. * ThemeWin32Classic.cs: Draw the text for button tabs.
  10286. 2005-05-19 Jackson Harper <[email protected]>
  10287. * Control.cs: Paint control background images. Fix typo where
  10288. PaintControlBackground was not getting called correctly.
  10289. 2005-05-19 Peter Bartok <[email protected]>
  10290. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  10291. I can investigate, apparently I broke FileDialog
  10292. 2005-05-19 Marek Safar <[email protected]>
  10293. * AxHost.cs: Some simple properties.
  10294. * Control.cs: window must be accessible after ctor.
  10295. * Form.cs: Added TransparencyKey property.
  10296. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  10297. * XplatUIWin32.cs: SetBorderStyle implemented.
  10298. 2005-05-18 Peter Bartok <[email protected]>
  10299. * DataObject.cs: Entries are not global but particular to the
  10300. DataObject, now it behaves that way
  10301. * XplatUIWin32.cs: Implemented Clipboard methods
  10302. * Clipboard.cs: Implemented
  10303. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  10304. * XplatUIOSX.cs: Updated to final clipboard prototypes
  10305. * XplatUIX11.cs: Implemented Clipboard methods
  10306. * XplatUIDriver.cs: Updated to final clipboard prototypes
  10307. * XplatUIStructs.cs:
  10308. - Added BITMAPINFOHEADER struct
  10309. - Added ClipboardFormats enum
  10310. * X11Structs.cs:
  10311. - Added ClipboardStruct
  10312. - Added Atom enum items for clipboard types
  10313. - Fixed atom types for Selection event structures
  10314. * DataFormats.cs:
  10315. - Added internal properties and methods for drivers to enumerate
  10316. all known formats
  10317. - Switched initialization method to allow drivers to assign their
  10318. own IDs even for the MS predefined clipboard IDs
  10319. * XplatUI.cs: Updated to final clipboard interface
  10320. 2005-05-18 Jonathan S. Chambers <[email protected]>
  10321. * PropertyGridView.cs: Fixed compiler warnings.
  10322. 2005-05-18 Jonathan S. Chambers <[email protected]>
  10323. * PropertyGrid.cs: Added some event calls
  10324. * PropertyGridView.cs: Change drawing code to use double buffering
  10325. * PropertyGridTextBox.cs: Changed Text property name
  10326. * GridItem.cs: Added Bounds property.
  10327. * GridEntry.cs: Added Bounds property.
  10328. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  10329. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  10330. since GetType() may not return the correct type if the object is
  10331. a remoting proxy.
  10332. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  10333. * TreeNodeCollection.cs: fixes get/set item ranges
  10334. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  10335. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  10336. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  10337. * ComboBox.cs: Fix item range comparation
  10338. * ListView.cs: Fix item range comparation
  10339. 2005-05-03 Alexander Olk <[email protected]>
  10340. * FontDialog.cs:
  10341. - Clear example panel when OnPaint is called
  10342. - Better solution for displaying the example panel text
  10343. - Select default indexes in the ListBoxes
  10344. 2005-05-11 Geoff Norton <[email protected]>
  10345. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  10346. 2005-05-11 Peter Bartok <[email protected]>
  10347. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  10348. * SelectionRangeConverter.cs: Implemented
  10349. * PropertyGrid.cs: Fixed attribute value
  10350. * Control.cs:
  10351. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  10352. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  10353. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  10354. that's common to all drivers. First methods to go there are
  10355. Sebastien Pouliot's CAS Stack Propagation helper methods
  10356. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  10357. Sebastien Pouliot for CAS Stack Propagation
  10358. 2005-05-11 Geoff Norton <[email protected]>
  10359. * OSXStructs.cs:
  10360. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  10361. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  10362. * DataGridTextBoxColumn.cs: fixed some members
  10363. * GridColumnStylesCollection.cs: indexed column is case insensitive
  10364. * DataGridTableStyle.cs: fixes
  10365. * ThemeWin32Classic.cs: add new theme parameter
  10366. * Theme.cs: add new theme parameter
  10367. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  10368. * DataGrid.cs: fixes, new internal properties, etc.
  10369. * DataGridColumnStyle.cs: allows to set grid value
  10370. *
  10371. 2005-05-10 Peter Bartok <[email protected]>
  10372. * AccessibleObject.cs:
  10373. - Removed MonoTODO attribute on help, method is correct
  10374. - Fixed Bounds property
  10375. * AxHost.cs: Moved MonoTODO
  10376. * ButtonBase.cs: Now setting AccessibleObject properties
  10377. * RadioButton.cs: Setting proper AccessibleObject role
  10378. * CheckBox.cs: Setting proper AccessibleObject role
  10379. * ControlBindingsCollection.cs: Added properties, methods and attributes
  10380. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  10381. userdefined DataFormats.Format items as well
  10382. * ListControl.cs: Removed data_member from the public eye
  10383. * OpenFileDialog.cs:
  10384. - Made class sealed
  10385. - Added missing attributes
  10386. * SaveFileDialog.cs: Added missing attributes
  10387. * ImageListStreamer.cs: Fixed code that caused warnings
  10388. * LinkLabel.cs: Removed unreachable code
  10389. * TreeView.cs: Fixed code that caused warnings
  10390. * PropertyGridView.cs: Fixed code that caused warnings
  10391. * GridColumnStylesCollection.cs: Added missing attributes
  10392. * GridTableStylesCollection: Added missing attribute
  10393. * PropertyManager: Added .ctor
  10394. * SecurityIDType: Added
  10395. * DataObject.cs: Implemented class
  10396. * LinkArea.cs: Added missing attribute
  10397. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  10398. * RadioButton.cs: call base method to allow to fire OnClick event
  10399. * UpDownBase.cs: OnMouseUp call base method
  10400. * CheckedListBox.cs: call base method before returning
  10401. * TrackBar.cs: call base method before returning
  10402. 2005-05-10 Peter Bartok <[email protected]>
  10403. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  10404. for messages
  10405. 2005-05-10 Peter Bartok <[email protected]>
  10406. * DataFormats.cs: Implemented
  10407. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  10408. XplatUIX11.cs: Added Clipboard APIs
  10409. * XplatUIWin32.cs: Implemented Clipboard APIs
  10410. * FolderBrowserDialog.cs: Added missing event, attributes
  10411. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  10412. * CheckBox.cs: call base method to allow to fire OnClick event
  10413. 2005-05-09 Sebastien Pouliot <[email protected]>
  10414. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  10415. 2005-05-06 Peter Bartok <[email protected]>
  10416. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  10417. * Screen.cs: Implemented
  10418. * HelpNavigator.cs: Added
  10419. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  10420. property
  10421. * HelpProvider.cs: Implemented all we can do until we have a CHM
  10422. help library (which means that "What's This" does work now)
  10423. 2005-05-06 Jackson Harper <[email protected]>
  10424. * XplatUIX11.cs: Fix waking up the main loop.
  10425. 2005-05-05 Peter Bartok <[email protected]>
  10426. * XplatUI.cs: Updated revision
  10427. * Form.cs: Removed enless loop
  10428. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  10429. * Label.cs (OnPaint): Added call to base.OnPaint()
  10430. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  10431. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  10432. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  10433. * AxHost.cs: Added
  10434. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  10435. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  10436. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  10437. reuse of ToolTipWindow by other controls
  10438. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  10439. * XplatUIX11.cs: Now clipping drawing area (experimental)
  10440. * PictureBox.cs: Moved base.OnPaint() call to end of method
  10441. * Theme.cs: Fixed ToolTip abstracts to match new format
  10442. * ErrorProvider.cs: Implemented
  10443. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  10444. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  10445. * LinkLabel.cs:
  10446. - Adds cursors
  10447. - Handles focus
  10448. - Implements LinkBehavior
  10449. - Fixes many issues
  10450. 2005-05-03 Jackson Harper <[email protected]>
  10451. * ListView.cs: Calculate the scrollbar positioning on resize and
  10452. paint, so they get put in the correct place.
  10453. 2005-05-03 Alexander Olk <[email protected]>
  10454. * ColorDialogs.cs: The small color panels are now handled by
  10455. SmallColorControl. This fixes drawing of the focus rectangle
  10456. and adds a 3D border.
  10457. 2005-05-03 Peter Bartok <[email protected]>
  10458. * Control.cs: Modified version of Jonathan Chamber's fix for
  10459. double-buffering
  10460. 2005-05-03 Jackson Harper <[email protected]>
  10461. * ListView.cs: Remove redraw variable. Control now handles whether
  10462. or not a redraw needs to be done, and will only raise the paint
  10463. event if redrawing is needed.
  10464. 2005-05-03 Jackson Harper <[email protected]>
  10465. * Splitter.cs: No decorations for the splitter form. Cache the
  10466. hatch brush.
  10467. 2005-05-03 Jackson Harper <[email protected]>
  10468. * TreeView.cs: Use dashed lines to connect nodes. Use the
  10469. ControlPaint method for drawing the focus rect instead of doing
  10470. that in treeview.
  10471. 2005-05-02 Peter Bartok <[email protected]>
  10472. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  10473. 2005-04-29 Jackson Harper <[email protected]>
  10474. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  10475. entire image buffer. Just clear the clipping rectangle.
  10476. 2005-04-29 Jackson Harper <[email protected]>
  10477. * ThemeWin32Classic.cs: Don't draw list view items that are
  10478. outside the clipping rectangle.
  10479. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  10480. * ListBox.cs: added horizontal item scroll
  10481. 2005-04-29 Jackson Harper <[email protected]>
  10482. * ThemeWin32Classic.cs: Remove some old debug code that was
  10483. causing flicker with the new double buffering code.
  10484. 2005-04-29 John BouAntoun <[email protected]>
  10485. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  10486. behave like combobox and comboboxlist (still not sure if this is
  10487. correct though).
  10488. 2005-04-28 Jackson Harper <[email protected]>
  10489. * ThemeWin32Classic.cs: Don't fill the middle of progress
  10490. bars. This fills areas outside of the clip bounds that don't need
  10491. to be filled.
  10492. 2005-04-28 Jackson Harper <[email protected]>
  10493. * Control.cs: Don't expose functionality to touch the image buffers.
  10494. * ProgressBar.cs:
  10495. * ListView.cs: We do not need to (and no longer can) manipulate
  10496. the image buffers directly. All of this is handled by Control.
  10497. 2005-04-28 Peter Bartok <[email protected]>
  10498. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  10499. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  10500. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  10501. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  10502. * Combobox:
  10503. - Adjust control's height for non-simple comboboxes (bug fix)
  10504. - Remove dead code
  10505. * MenuAPI.cs: remove unused var
  10506. * ScrollBar.cs: remove unsed var
  10507. * ListBox.cs: unselect items when clearing
  10508. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  10509. * ListControl.cs: honors OnPositionChanged and default Selected Item
  10510. * ListBox.cs: unselect items when clearing
  10511. 2005-04-27 Jackson Harper <[email protected]>
  10512. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  10513. if a "correct" keyboard is not found. This will make us not crash,
  10514. but might give some users bad keyboard layouts...seems to be the
  10515. same thing rewind does.
  10516. 2005-04-27 Jackson Harper <[email protected]>
  10517. * BindingManagerBase.cs: Attach the current/position changed
  10518. handlers to their respective events.
  10519. 2005-04-27 Jackson Harper <[email protected]>
  10520. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  10521. not just a blit.
  10522. * ThemeWin32Classic.cs: Don't fill the background for picture
  10523. boxes. This could overright user drawing.
  10524. * ComboBox.cs: Just fill the clipping rect not the entire client
  10525. rect when drawing the background. This prevents pieces of the
  10526. image buffer from getting overwritten and is theoretically faster.
  10527. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  10528. * ComboBox.cs: Databinding support fixes, fire missing events
  10529. * ListControl.cs: implement missing methods and properties, fixes
  10530. * ThemeWin32Classic.cs: Databiding support on Drawing
  10531. * CheckedListBox.cs: Databinding support fixes, fire missing events
  10532. * ListBox.cs: Databinding support fixes, fire missing events
  10533. 2005-04-25 Peter Bartok <[email protected]>
  10534. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  10535. 2005-04-25 Jackson Harper <[email protected]>
  10536. * TreeView.cs: Use the horizontal scrollbars height not width when
  10537. determining how much of the client area is available.
  10538. 2005-04-25 Jackson Harper <[email protected]>
  10539. * Control.cs: Double buffering is handled differently now. As per
  10540. the spec, the extra buffer is created in the WM_PAINT message and
  10541. passed down to the control's drawing code.
  10542. * GroupBox.cs:
  10543. * Label.cs:
  10544. * CheckBox.cs:
  10545. * ProgressBar.cs:
  10546. * RadioButton.cs:
  10547. * ColorDialog.cs:
  10548. * ComboBox.cs:
  10549. * PropertyGridView.cs:
  10550. * UpDownBase.cs:
  10551. * MessageBox.cs:
  10552. * MenuAPI.cs:
  10553. * ListView.cs:
  10554. * ButtonBase.cs:
  10555. * SizeGrip.cs:
  10556. * ScrollBar.cs:
  10557. * ListBox.cs:
  10558. * TrackBar.cs:
  10559. * ToolBar.cs:
  10560. * PictureBox.cs:
  10561. * DateTimePicker.cs:
  10562. * StatusBar.cs:
  10563. * TreeView.cs: Update to new double buffering system.
  10564. * MonthCalendar.cs: Uncomment block, as Capture is now
  10565. working. Update to new double buffering
  10566. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  10567. * PaintEventArgs.cs: New internal method allows us to set the
  10568. graphics object. This is used for double buffering.
  10569. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  10570. rectangle. The internal paint_area var has been removed from
  10571. StatusBar. The clipping rect should be used instead.
  10572. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  10573. * TabPage.cs: The RefreshTabs method was removed, so just call the
  10574. tab controls Refresh method now.
  10575. * TabControl.cs: Update to new double buffering. Make sure the
  10576. handle is created before sizing the tab pages, otherwise we will
  10577. get stuck in a loop.
  10578. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  10579. * LinkLabel.cs: Fix typo, bug #74719; patch
  10580. from Borja Sanchez Zamorano
  10581. 2005-04-22 Jackson Harper <[email protected]>
  10582. * TreeNode.cs: Implement Handle stuff.
  10583. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  10584. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  10585. * DataGridTextBoxColumn.cs: call base constructors, fixes
  10586. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  10587. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  10588. * DataGridTableStyle.cs: implements create default column styles
  10589. * DataGridBoolColumn.cs: which types can handle
  10590. * DataGrid.cs: missing methods, fixes, new functionality
  10591. * DataGridColumnStyle.cs: fixes
  10592. 2005-04-20 Alexander Olk <[email protected]>
  10593. * FolderBrowserDialog.cs:
  10594. - Use a thread to fill the TreeView
  10595. - Adjusted some sizes
  10596. 2005-04-19 Peter Bartok <[email protected]>
  10597. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  10598. property. Fixes #74360.
  10599. 2005-04-19 Jackson Harper <[email protected]>
  10600. * XEventQueue.cs: Lock when getting the lockqueue size.
  10601. * PictureBox.cs: Call base OnPaint
  10602. 2005-04-19 Peter Bartok <[email protected]>
  10603. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  10604. messages were no longer being processed (this broke BeginInvoke)
  10605. 2005-04-18 Jackson Harper <[email protected]>
  10606. * TreeView.cs: buglet that caused node images to get drawn
  10607. regardless of whether or not they were in the clipping rectangle.
  10608. 2005-04-18 Jackson Harper <[email protected]>
  10609. * CurrencyManager.cs: There are four rules for GetItemProperties:
  10610. - If the type is an array use the element type of the array
  10611. - If the type is a typed list, use the type
  10612. - If the list contains an Item property that is not an object, use
  10613. that property
  10614. - use the first element of the list if there are any elements in
  10615. the list.
  10616. 2005-04-17 Jackson Harper <[email protected]>
  10617. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  10618. click. This handles offsets for scrolling properly and reduces
  10619. memory. Also fixed GetNode to not offset now that TopNode works
  10620. properly.
  10621. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  10622. 2005-04-17 Jackson Harper <[email protected]>
  10623. * CursorConverter.cs: Initial implementation.
  10624. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  10625. * ListControl.cs: work towards complex data binding support on ListControl
  10626. * CurrencyManager.cs: work towards complex data binding support on ListControl
  10627. * ListBox.cs: work towards complex data binding support on ListControl
  10628. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  10629. * GridTableStylesCollection.cs: fixes name and constructor
  10630. * DataGridTableStyle.cs: fixes
  10631. * DataGridBoolColumn.cs: fixes names and constructors
  10632. * DataGrid.cs: define methods and properties. Some init implementations
  10633. * DataGridCell.cs: define methods and properties. Some init implementations
  10634. * GridTablesFactory.cs: Define methods and properties
  10635. 2005-04-15 Geoff Norton <[email protected]>
  10636. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  10637. graphics port changes. We still want the coordinates in global screen
  10638. coordinates.
  10639. 2005-04-14 Jackson Harper <[email protected]>
  10640. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  10641. check plus minus or checkbox clicks unless those features are enabled.
  10642. 2005-04-14 Jackson Harper <[email protected]>
  10643. * TreeView.cs: Add methods for setting the top and bottom visible
  10644. nodes. TreeNode::EnsureVisible uses these methods.
  10645. * TreeNode.cs: Implement EnsureVisible
  10646. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  10647. * Form.cs: Pospone menu assignation if the window has not been created yet
  10648. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  10649. size and position
  10650. 2005-04-12 Jackson Harper <[email protected]>
  10651. * TreeView.cs: Set the TopNode properly when scrolling
  10652. occurs. This has the added benifit of reducing the amount of
  10653. walking that needs to be done when drawing. Also removed an old
  10654. misleading TODO.
  10655. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  10656. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  10657. * Timer.cs: fixes interval setting when the timer is already enabled
  10658. 2005-04-10 Alexander Olk <[email protected]>
  10659. * FolderBrowserDialog.cs: First approach
  10660. 2005-04-09 Peter Bartok <[email protected]>
  10661. * FolderBrowserDialog: Added
  10662. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  10663. * LinkLabel.cs: move drawing code into the theme
  10664. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  10665. * Theme.cs: define DrawLinkLabel method
  10666. 2005-04-05 Jackson Harper <[email protected]>
  10667. * BindingContext.cs: Use weak references so these bad actors don't
  10668. stay alive longer then they need to.
  10669. 2005-04-05 Jackson Harper <[email protected]>
  10670. * ListControl.cs: Basic implementation of complex databinding.
  10671. * ComboBox.cs:
  10672. * ListBox.cs: Add calls to ListControl databinding methods.
  10673. 2005-04-05 Alexander Olk <[email protected]>
  10674. * FileDialog.cs:
  10675. - Don't change PopupButtonState to Normal when the
  10676. PopupButton gets pressed several times.
  10677. - Renamed ButtonPanel to PopupButtonPanel
  10678. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  10679. * ColorDialog.cs: Use cached objects instead of creating them
  10680. * LinkLabel.cs: Use cached objects instead of creating them
  10681. * Splitter.cs: Use cached objects instead of creating them
  10682. * FontDialog.cs: Use cached objects instead of creating them
  10683. * PropertyGridView.cs: Use cached objects instead of creating them
  10684. * MessageBox.cs: Use cached objects instead of creating them
  10685. * FileDialog.cs: Use cached objects instead of creating them
  10686. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  10687. * TreeView.cs: Use cached objects instead of creating them
  10688. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  10689. * Control.cs: use Equals to compare the font since no == op
  10690. * ScrollBar.cs: use Equals to compare the font since no == op
  10691. 2005-04-04 Alexander Olk <[email protected]>
  10692. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  10693. 2005-04-01 Jackson Harper <[email protected]>
  10694. * Binding.cs: Implement IsBinding.
  10695. * BindingManagerBase.cs:
  10696. * PropertyManager.cs:
  10697. * CurrencyManager.cs: Add IsSuspended property.
  10698. 2005-04-01 Jackson Harper <[email protected]>
  10699. * Binding.cs: Had some IsAssignableFrom calls backwards.
  10700. 2005-04-01 Jackson Harper <[email protected]>
  10701. * Binding.cs: Handle null data members when pulling data.
  10702. * PropertyManager.cs: Handle the data member being a property that
  10703. does not exist.
  10704. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  10705. * DataGridTextBoxColumn.cs: fixes signature
  10706. * DataGrid.cs: calls right constructor
  10707. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  10708. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  10709. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  10710. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  10711. * DataGridTableStyle.cs: implements DataGridTableStyle
  10712. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  10713. * DataGridTextBox.cs: implements DataGridTextBox
  10714. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  10715. 2005-03-31 Alexander Olk <[email protected]>
  10716. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  10717. 2005-03-29 Peter Bartok <[email protected]>
  10718. * Application.cs:
  10719. - Properly implemented CompanyName property
  10720. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  10721. returns a path that includes CompanyName, ProductName and
  10722. Version (fixes bug #70330)
  10723. 2005-03-29 Stefan Buehler <[email protected]>
  10724. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  10725. fixes bug #72588.
  10726. 2005-03-28 Alexander Olk <[email protected]>
  10727. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  10728. - Added ReadOnly CheckBox
  10729. - Further refactoring: moved some code from Open-/SaveFileDialog
  10730. to FileDialog
  10731. 2005-03-28 Alexander Olk <[email protected]>
  10732. * OpenFileDialog.cs: Fixed CheckFileExists
  10733. * FileDialog.cs:
  10734. Moved FileView and DirComboBox outside FileDialog class.
  10735. They can now be used outside FileDialog
  10736. 2005-03-27 Alexander Olk <[email protected]>
  10737. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  10738. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  10739. 2005-03-27 Alexander Olk <[email protected]>
  10740. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  10741. - Added missing CreatePrompt property in SaveDialog
  10742. - Overall SaveDialog handling should be better now
  10743. - Added non standard ShowHiddenFiles property
  10744. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  10745. - Added InitialDirectory and RestoreDirectory support
  10746. 2005-03-26 Alexander Olk <[email protected]>
  10747. * FileDialog.cs: Made dirComboBox usable
  10748. 2005-03-24 Alexander Olk <[email protected]>
  10749. * FileDialog.cs: Added Filter support (case sensitiv)
  10750. 2005-03-24 Jackson Harper <[email protected]>
  10751. * TabControl.cs: Need a couple more pixels for the lines.
  10752. 2005-03-23 Jackson Harper <[email protected]>
  10753. * TabControl.cs: Give the tab page focus when it is selected.
  10754. 2005-03-23 Jackson Harper <[email protected]>
  10755. * TabControl.cs: Account for the drawing of tabs borders when
  10756. invalidating. If the slider was clicked dont do click detection on
  10757. the tabs.
  10758. 2005-03-23 Jackson Harper <[email protected]>
  10759. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  10760. 2005-03-22 Jonathan Chambers <[email protected]>
  10761. * CategoryGridEntry.cs: Added
  10762. * GridItem.cs: Added helper properties
  10763. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  10764. * GridEntry.cs: Updated code for collection
  10765. * PropertyGrid.cs: Cleaned up some formatting
  10766. * PropertyGridView.cs: Added drop down functionality for enums.
  10767. * GridItemCollection.cs: Added enumerator logic
  10768. * PropertyGridEntry.cs: Added
  10769. 2005-03-19 Alexander Olk <[email protected]>
  10770. * FileDialog.cs:
  10771. - Removed unnecessary commented code
  10772. - Fixed handling for entering the filename manually in the combobox
  10773. 2005-03-19 Alexander Olk <[email protected]>
  10774. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  10775. 2005-03-18 Peter Bartok <[email protected]>
  10776. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  10777. them being touching the border
  10778. 2005-03-18 Peter Bartok <[email protected]>
  10779. * TextControl.cs: Quick hack to center text better
  10780. 2005-03-18 Peter Bartok <[email protected]>
  10781. * ControlPaint.cs:
  10782. - Don't throw NotImplemented exceptions, just print a notice once
  10783. instead (requested by Miguel). This makes running existing SWF
  10784. apps a bit easier
  10785. * Control.cs:
  10786. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  10787. - Added context menu trigger on right click
  10788. * Panel.cs: Trigger invalidate on resize
  10789. * StatusBar.cs:
  10790. - Removed old double-buffer drawing
  10791. - Added ResizeRedraw style to force proper update of statusbar
  10792. * ListView.cs:
  10793. - Removed debug output
  10794. * ThemeWin32Classic.cs:
  10795. - Fixed drawing of status bar, now draws Text property if there
  10796. are no defined panels
  10797. 2005-03-18 Jackson Harper <[email protected]>
  10798. * ImageList.cs: When the image stream is set pull all the images
  10799. from it.
  10800. * ImageListStreamer.cs: Implement reading image list streams.
  10801. 2005-03-18 Peter Bartok <[email protected]>
  10802. * ThemeWin32Classic.cs (DrawPictureBox):
  10803. - Fixed calculations for centered drawing
  10804. - Fixed drawing for normal mode, not scaling the image on normal
  10805. 2005-03-18 Peter Bartok <[email protected]>
  10806. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  10807. textbox
  10808. * FileDialog.cs:
  10809. - Made Open/Save button the accept button for FileDialog
  10810. - Tied the cancel button to the IButtonControl cancel button
  10811. - Save/Open now properly builds the pathname
  10812. - Now handles user-entered text
  10813. - Preventing crash on right-click if no item is selected
  10814. - Fixed Text property, now uses contents of textbox
  10815. - Fixed SelectedText property, now just returns the text part that
  10816. is selected in the text box
  10817. 2005-03-18 Jackson Harper <[email protected]>
  10818. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  10819. rect, make sure to de-adjust the interior rect after drawing the
  10820. tab text.
  10821. 2005-03-18 Peter Bartok <[email protected]>
  10822. * MenuAPI.cs: Remove menu *before* executing selected action to
  10823. prevent the menu from 'hanging around'
  10824. 2005-03-17 Geoff Norton <[email protected]>
  10825. * XplatUIOSX.cs: Implemented WorkingArea property
  10826. 2005-03-17 Peter Bartok <[email protected]>
  10827. * XplatUIX11.cs: Fixed menu coord calculations
  10828. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  10829. for calculating offsets
  10830. 2005-03-17 Peter Bartok <[email protected]>
  10831. * Hwnd.cs: Do not consider menu presence for default client
  10832. rectangle location/size
  10833. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  10834. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  10835. translation functions
  10836. * FileDialog.cs: Fixed (what I presume is a) typo
  10837. 2005-03-17 Jonathan Gilbert <[email protected]>
  10838. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  10839. X access (avoids X-Async errors)
  10840. 2005-03-16 Jackson Harper <[email protected]>
  10841. * TabControl.cs: Raise the SelectedIndexChanged event.
  10842. 2005-03-16 Alexander Olk <[email protected]>
  10843. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  10844. - Removed vertical ToolBar and replaced it with a custom panel
  10845. (desktop and home button already work)
  10846. - Added Help button (some controls get resized or relocated then)
  10847. - Draw correct text depending on Open or Save.
  10848. - Fixed some typos...
  10849. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  10850. * ScrollBar.cs:
  10851. - Only change Maximum and Minimum when need it (bug fix)
  10852. 2005-03-15 Peter Bartok <[email protected]>
  10853. * Form.cs: Use Handle for icon, to trigger creation if
  10854. the window does not yet exist
  10855. * Control.cs:
  10856. - CanSelect: Slight performance improvement
  10857. - Focus(): Preventing possible recursion
  10858. - Invalidate(): Removed ControlStyle based clear flag setting
  10859. - WM_PAINT: fixed logic for calling OnPaintBackground
  10860. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  10861. EraseWindowBackground if the control doesn't paint background
  10862. * XplatUIWin32.cs:
  10863. - Moved EraseWindowBackground() method to internal methods
  10864. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  10865. is sent via SendMessage on BeginPaint call on Win32
  10866. * XplatUIX11.cs:
  10867. - Added EraseWindowBackground() method
  10868. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  10869. PaintEventStart, which more closely matches Win32 behaviour
  10870. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  10871. - Fixed SetFocus() to properly deal with client and whole windows
  10872. * Hwnd.cs: Added ErasePending property
  10873. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  10874. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  10875. 2005-03-12 Geoff Norton <[email protected]>
  10876. * XplatUIOSX.cs:
  10877. - Fix hard loop when timers exist.
  10878. - Fix bugs with middle and right click for 3 button mice.
  10879. 2005-03-11 Peter Bartok <[email protected]>
  10880. * XplatUIX11.cs:
  10881. - get_WorkingArea: Need to call X directly, GetWindowPos only
  10882. returns cached data now
  10883. - Added sanity check to GetWindowPos hwnd usage
  10884. 2005-03-11 Jackson Harper <[email protected]>
  10885. * BindingManagerBase.cs: This method isn't used anymore as
  10886. PullData now updates the data in the control.
  10887. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  10888. * Form.cs: fixes menu drawing on X11
  10889. * MenuAPI.cs: fixes menu drawing on X11
  10890. 2005-03-11 Peter Bartok <[email protected]>
  10891. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  10892. from Jonathan Gilbert; should fix bug #73606
  10893. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  10894. in Screen coordinates. Thanks, Jordi.
  10895. * Form.cs: Added missing attribute
  10896. 2005-03-11 Peter Bartok <[email protected]>
  10897. * Form.cs:
  10898. - Rudimentary Mdi support
  10899. - Removed outdated FormParent code
  10900. - Implemented lots of missing properties and methods, still missing
  10901. transparency support
  10902. - Added missing attributes
  10903. - Implemented support for MaximumBounds
  10904. - Added firing of various events
  10905. * XplatUI.cs: Added SetIcon() method
  10906. * XplatUIDriver.cs: Added SetIcon() abstract
  10907. * XplatUIOSX.cs: Stubbed out SetIcon() method
  10908. * XplatUIX11.cs:
  10909. - Implemented SetIcon() support
  10910. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  10911. - Switched to unix line endings
  10912. * XplatUIWin32.cs:
  10913. - Made POINT internal so for can access it as part of MINMAX
  10914. - Implemented SetIcon() support
  10915. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  10916. native Mdi support again, might have to go managed)
  10917. * Control.cs: Now fires the StyleChanged event
  10918. * MdiClient.cs: Added; still mostly empty
  10919. 2005-03-10 Peter Bartok <[email protected]>
  10920. * SaveFileDialog.cs: Added emtpy file
  10921. 2005-03-08 Peter Bartok <[email protected]>
  10922. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  10923. in turn triggers OnCreateContro) when creating a handle for the
  10924. first time.
  10925. * TextControl.cs: Fixed endless loop in certain cases when
  10926. replacing the current selection
  10927. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  10928. * ScrollBar.cs:
  10929. - Honors NewValue changes in Scroll events allowing apps to change it
  10930. - Adds First and Last Scroll events
  10931. - Fixes Thumb events
  10932. 2005-03-07 Peter Bartok <[email protected]>
  10933. * Hwnd.cs: Added DefaultClientRectangle property
  10934. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  10935. more detailed debug information
  10936. * XplatUIX11.cs:
  10937. - Fixed size-change feedback loop, where we would pull an old size
  10938. off the queue and mistakenly change our window's size to an
  10939. earlier value
  10940. - Now compressing ConfigureNotify events, to reduce looping and
  10941. redraw issues
  10942. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  10943. is called
  10944. 2005-03-07 Jackson Harper <[email protected]>
  10945. * Binding.cs: Push data pushes from data -> property. Check if the
  10946. property is readonly when attempting to set it.
  10947. 2005-03-07 Jackson Harper <[email protected]>
  10948. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  10949. instead of IsSubclassOf. Pulling data now sets the value on the
  10950. control.
  10951. * PropertyManager.cs:
  10952. * CurrencyManager.cs: Just need to pull data when updating now,
  10953. because PullData will set the value on the control.
  10954. 2005-03-04 Jackson Harper <[email protected]>
  10955. * Binding.cs: Implement data type parsing and converting on pulled
  10956. data. TODO: Are there more ways the data can be converted?
  10957. 2005-03-04 Jackson Harper <[email protected]>
  10958. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  10959. controls Validating method so we can repull the data when the
  10960. control loses focus.
  10961. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  10962. * ColumnHeader.cs:
  10963. - Fixes null string format
  10964. * ListView.cs:
  10965. - Adds enum type checks
  10966. - Fixes redrawing and recalc need after changing some properties
  10967. - Fixes on focus_item set after the event
  10968. - Fixes adding columns after the control has been created
  10969. * ThemeWin32Classic.cs:
  10970. - Fixes CheckBox focus rectangle
  10971. - Fixes ColumnHeader drawing
  10972. 2005-03-03 Jackson Harper <[email protected]>
  10973. * Binding.cs: Bind to <Property>Changed events so we can detect
  10974. when properties are changed and update the data.
  10975. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  10976. * ImageList.cs:
  10977. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  10978. - Fixes ImageList constructor with ImageList container
  10979. - Fixes image scaling (wrong parameters at DrawImage)
  10980. 2005-02-02 Jackson Harper <[email protected]>
  10981. * Binding.cs: Make property searches case-insensitive. Eliminate
  10982. some duplicated code.
  10983. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  10984. * ComboBox.cs:
  10985. - Handle focus event
  10986. - Fix scrollbar events
  10987. - Discard highlighted item if remove it
  10988. - Fixes SelectedItem with strings
  10989. 2005-03-01 Peter Bartok <[email protected]>
  10990. * Control.cs:
  10991. - Fixed Visible property, now follows (once again) parent chain
  10992. to return false if any control in the chain is visible=false
  10993. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  10994. - Fixed several places where is_visible instead of Visible was used
  10995. - Implemented FIXME related to focus selection when setting focused
  10996. control to be invisible
  10997. * XplatUIWin32.cs: Now using proper method to find out if window is
  10998. visible. Thanks to Jordi for pointing it out
  10999. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  11000. * ComboBox.cs: show/hide scrollbar instead of creating it
  11001. 2005-02-27 Jackson Harper <[email protected]>
  11002. * CurrencyManager.cs: Add PositionChanged stuff.
  11003. 2005-02-27 Peter Bartok <[email protected]>
  11004. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  11005. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  11006. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  11007. * XplatUIX11.cs:
  11008. - Implemented GetMenuDC()
  11009. - Implemented GetMenuOrigin()
  11010. - Implemented ReleaseMenuDC()
  11011. - Implemented generation of WM_NCPAINT message
  11012. - Implemented generation and handling of WM_NCCALCSIZE message
  11013. * Form.cs: Added debug helper message for Jordi's menu work
  11014. * Hwnd.cs:
  11015. - Modified ClientRect property; added setter, fixed getter to handle
  11016. setting of ClientRect
  11017. - Added MenuOrigin property
  11018. 2005-02-26 Peter Bartok <[email protected]>
  11019. * XplatUIX11.cs:
  11020. - Destroys the caret if a window that's being destroyed contains it
  11021. - Ignores expose events coming from the X11 queue for windows that
  11022. already are destroyed
  11023. - Now uses the proper variable for handling DestroyNotify, before we
  11024. marked the wrong window as destroyed
  11025. - Improved/added some debug output
  11026. 2005-02-26 Peter Bartok <[email protected]>
  11027. * X11Keyboard.cs: Fixes to work on 64bit systems
  11028. 2005-02-26 Peter Bartok <[email protected]>
  11029. * Control.cs:
  11030. - Now calling OnHandleDestroyed from DestroyHandle()
  11031. instead of Dispose()
  11032. - Removed bogus call to controls.Remove() from DestroyHandle()
  11033. 2005-02-26 Peter Bartok <[email protected]>
  11034. * Control.cs: Properly destroy child windows when our handle is
  11035. destroyed
  11036. 2005-02-25 Peter Bartok <[email protected]>
  11037. * XplatUI.cs:
  11038. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  11039. - Alphabetized Static Methods and Subclasses
  11040. * XplatUIX11.cs:
  11041. - Added XException class to allow custom handling of X11 exceptions
  11042. - Created custom X11 error handler, tied into XException class
  11043. - Added support for MONO_XEXCEPTIONS env var to allow the user
  11044. to either throw an exception on X errors or continue running
  11045. after displaying the error
  11046. - Added handling of DestroyNotify message
  11047. - Added handler for CreateNotify message (still disabled)
  11048. - Improved (tried to at least) Where method to provide file and lineno
  11049. * X11Structs.cs:
  11050. - Added XErrorHandler delegate
  11051. - Added XRequest enumeration (to suppor translation of errors)
  11052. 2005-02-25 Jackson Harper <[email protected]>
  11053. * PropertyManager.cs: Implement editing features
  11054. * CurrencyManager.cs:
  11055. * Binding.cs: First attempt at UpdateIsBinding
  11056. * BindingManagerBase.cs: Call UpdateIsBinding before
  11057. pushing/pulling data.
  11058. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  11059. * MenuAPI.cs: Respect disabled items
  11060. * ThemeWin32Classic.cs
  11061. - Caches ImageAttributes creation for DrawImageDisabled
  11062. - Fixes vertical menu line drawing
  11063. - Draws disabled arrows in disable menu items
  11064. 2005-02-24 Peter Bartok <[email protected]>
  11065. * Hwnd.cs:
  11066. - Added UserData property to allow associating arbitrary objects
  11067. with the handle
  11068. - Fixed leak; now removing Hwnd references from static windows array
  11069. * XplatUIWin32.cs:
  11070. - Fixed Graphics leak in PaintEventEnd
  11071. - Removed usage of HandleData, switched over to Hwnd class
  11072. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  11073. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  11074. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  11075. * ScrollBar.cs: Fixes bug
  11076. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  11077. keyboard navigation enhancements
  11078. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  11079. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  11080. * GroupBox.cs: Add control styles
  11081. * Label.cs: Add control styles
  11082. * UpDownBase.cs: Add control styles
  11083. * ListBox.cs: Add control styles
  11084. * XplatUIWin32.cs: Fixes wrong parameter order
  11085. 2005-02-23 Chris Bacon <[email protected]>
  11086. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  11087. 2005-02-23 Jackson Harper <[email protected]>
  11088. * PropertyManager.cs: Implement property binding. This doesn't
  11089. seem to work yet though as (I think) there are some bugs in
  11090. System.ComponentModel.PropertyDescriptor.
  11091. * BindingContext.cs: Use new PropertyManager constructor.
  11092. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  11093. * ProgressBar.cs: use clip region in ProgressBar
  11094. * ThemeWin32Classic.cs: use clip region in ProgressBar
  11095. 2004-02-22 Jackson Harper <[email protected]>
  11096. * BindingsCollection.cs: Remove some debug code.
  11097. 2005-02-22 Jackson Harper <[email protected]>
  11098. * BindingContext.cs:
  11099. * ControlBindingsCollection.cs:
  11100. * CurrencyManager.cs:
  11101. * Binding.cs:
  11102. * BindingManagerBase.cs: Initial implementation
  11103. * BindingsCollection.cs: Add an internal contains method that the
  11104. BindingManagerBase uses to ensure bindings aren't added twice to
  11105. the collection.
  11106. * PropertyManager.cs: Stubbed out.
  11107. * Control.cs:
  11108. * ContainerControl.cs: Hook up databinding
  11109. 2005-02-22 Geoff Norton <[email protected]>
  11110. * XplatUIOSX.cs:
  11111. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  11112. Fixed Invalidate/Update chain.
  11113. Fixed tons of other minor bugs (this is almost a complete rewrite).
  11114. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  11115. * ComboBox.cs: do subcontrol creation when the control is created
  11116. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  11117. * Label.cs: fixes image drawing (image and imagelist)
  11118. * ThemeWin32Classic.cs: cache brushes
  11119. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  11120. * Form.cs: Move menu drawing code to Theme class
  11121. * ComboBox.cs: Move ComboBox drawing code to Theme class
  11122. * MenuItem.cs: Move menu drawing code to Theme class
  11123. * MenuAPI.cs: Move menu drawing code to Theme class
  11124. * ThemeWin32Classic.cs: New methods
  11125. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  11126. * ListBox.cs: Move Listbox drawing code to Theme class
  11127. * Theme.cs: New methods
  11128. 2005-02-20 Peter Bartok <[email protected]>
  11129. * Control.cs:
  11130. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  11131. only process mnemonics on those)
  11132. - Fixed event sequence for key handling; first calling
  11133. ProcessKeyEventArgs now
  11134. * TextBoxBase.cs:
  11135. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  11136. for processing non-character keys
  11137. - Fixed WM_CHAR to generate proper event sequence before processing
  11138. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  11139. generation
  11140. 2005-02-19 Peter Bartok <[email protected]>
  11141. * UserControl.cs: Added TextChanged event; added attributes
  11142. * SizeGrip.cs: Implemented resizing and optional display of grip
  11143. * Form.cs: Fixed attribute
  11144. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  11145. Changed meaning of ScrollWindow bool argument; instead of the
  11146. clear attribute (which will be true usually anyway), it gives the
  11147. option of moving child controls as well.
  11148. * XplatUIX11.cs:
  11149. - Changed to match new ScrollWindow argument
  11150. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  11151. now handles the implicit parent window a WM puts around us
  11152. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  11153. to work)
  11154. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  11155. * TreeView.cs: Adjusted to new ScrollWindow arguments
  11156. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  11157. * Form.cs: Menu integration with non-client area
  11158. * MenuItem.cs: Menu integration with non-client area
  11159. * MenuAPI.cs: Menu integration with non-client area
  11160. 2005-02-18 Peter Bartok <[email protected]>
  11161. * MethodInvoker.cs: Added
  11162. * MdiLayout.cs: Added
  11163. * SendKeys.cs: Started implementation
  11164. * ErrorIconAlignment.cs: Added
  11165. 2005-02-18 Peter Bartok <[email protected]>
  11166. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  11167. * Form.cs: Added handling for Menu-related Non-client messages
  11168. 2005-02-17 Peter Bartok <[email protected]>
  11169. * UpDownBase.cs: Fixed typo, compilation errors
  11170. * DomainUpDown.cs: Fixed attribute value
  11171. 2005-02-16 Miguel de Icaza <[email protected]>
  11172. * UpDownBase.cs: Attach entry events.
  11173. Propagate events.
  11174. Add ForeColor property, Focused, InterceptArrowKeys (interception
  11175. does not work yet).
  11176. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  11177. * Form.cs:
  11178. - Redraw non client are on Setmenu
  11179. - Calc proper menu starting point
  11180. 2005-02-17 Peter Bartok <[email protected]>
  11181. * Application.cs: Fixed message_filter check
  11182. 2005-02-17 Peter Bartok <[email protected]>
  11183. * Application.cs: Now calls registered message filters
  11184. * DockStyle.cs: Fixed attribute
  11185. * Form.cs: Fixed attribute
  11186. * Menu.cs: Fixed attribute
  11187. * ToolTip.cs: Fixed attribute
  11188. * TreeNode.cs: Added missing attributes and arranged in regions
  11189. * PropertyGrid.cs: Fixed signatures
  11190. * TreeNodeCollection.cs: Added attributes
  11191. * Splitter.cs: Added missing attributes; arranged into regions
  11192. * TabPage.cs: Added missing attributes; arranged into regions
  11193. * TextBoxBase.cs: Added missing attributes
  11194. * TextBox.cs: Added missing attributes
  11195. * ArrangeDirection.cs: Added missing attributes
  11196. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  11197. * ToolBarButton.cs: Fixed attributes
  11198. * AnchorStyles.cs: Fixed attribute
  11199. * TrackBar.cs: Fixed attributes
  11200. * TabControl.cs: Added missing attributes and arranged into regions
  11201. * ToolBar.cs: Fixed attribute
  11202. * StatusBar.cs: Fixed signature, organized into regions and added
  11203. attributes
  11204. * StatusBarPanel.cs: Fixed attributes
  11205. * ContentsResizedEventArgs.cs: Implemented
  11206. * ContentsResizedEventHandler.cs: Implemented
  11207. * DateBoldEventArgs.cs: Implemented
  11208. * DateBoldEventHandler.cs: Implemented
  11209. * UpDownEventArgs.cs: Implemented
  11210. * UpDownEventHandler.cs: Implemented
  11211. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  11212. * Form.cs: first Menu NC refactoring
  11213. * MenuAPI.cs: first Menu NC refactoring
  11214. 2005-02-16 Peter Bartok <[email protected]>
  11215. * ImeMode.cs: Added missing attributes
  11216. * Menu.cs: Fixed attribute
  11217. * GroupBox.cs: Fixed attribute
  11218. * Label.cs: Fixed attribute
  11219. * ColorDialog.cs (RunDialog): Removed TODO attribute
  11220. * ComboBox.cs: Fixed attributes
  11221. * ListControl.cs: Added missing attributes
  11222. * PropertyGrid.cs: Fixed attributes
  11223. * Control.cs: Fixed attributes
  11224. * ListViewItem.cs: Added TypeConverter attribute
  11225. * NotifyIcon.cs: Fixed attributes
  11226. * ListView.cs: Fixed attributes
  11227. * ButtonBase.cs: Fixed attribute
  11228. * ImageList.cs: Added missing attributes
  11229. * ContainerControl.cs: Fixed signature
  11230. * CheckedListBox.cs: Fixed attribute; added missing attributes
  11231. * Panel.cs: Fixed attributes
  11232. * PropertyTabChangedEventArgs.cs: Added missing attribute
  11233. * PropertyValueChangedEventArgs.cs: Added missing attribute
  11234. * Binding.cs: Fixed attribute
  11235. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  11236. * ListBox.cs: Fixed attribute; added missing attributes;
  11237. * ScrollableControl.cs: Added missing attributes
  11238. * PictureBox.cs: Added missing attributes; implemented missing property
  11239. * DateTimePicker.cs: Added missing attributes
  11240. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  11241. * MonthCalendar.cs: Fixed attributes
  11242. * StatusBarPanel.cs: Added missing attributes
  11243. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  11244. 2005-02-16 Peter Bartok <[email protected]>
  11245. * TextBoxBase.cs: The previous method to enforce height yet remember
  11246. the requested high was less than ideal, this is an attempt to do
  11247. it better.
  11248. * Control.cs: Added comment about possible problem
  11249. * Copyright: Updated format
  11250. * GridItemType.cs: Fixed swapped values
  11251. 2005-02-15 Jackson Harper <[email protected]>
  11252. * BaseCollection.cs: Use property so we never access an
  11253. uninitialized list. Also initialize the list in the property.
  11254. 2005-02-15 Peter Bartok <[email protected]>
  11255. * GroupBox.cs (ProcessMnemonic): Implemented
  11256. * Label.cs (ProcessMnemonic): Implemented
  11257. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  11258. hotkeys
  11259. 2005-02-15 Peter Bartok <[email protected]>
  11260. * RadioButton.cs (ProcessMnemonic): Implemented
  11261. * CheckBox.cs (ProcessMnemonic): Implemented
  11262. * Control.cs:
  11263. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  11264. handling
  11265. - Added internal method to allow calling ProcessMnemonic from other
  11266. controls
  11267. * ContainerControl.cs:
  11268. - Started support for handling validation chain handling
  11269. - Implemented ProcessMnemonic support
  11270. - Added Select() call to Active, to make sure the active control
  11271. receives focus
  11272. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  11273. FormParent rewrite)
  11274. * ThemeWin32Classic.cs:
  11275. - DrawCheckBox(): Fixed stringformat to show hotkeys
  11276. - DrawRadioButton(): Fixed stringformat to show hotkeys
  11277. * CommonDialog.cs: Removed WndProc override, not needed
  11278. 2005-02-14 Peter Bartok <[email protected]>
  11279. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  11280. missed those in the rewrite
  11281. 2005-02-14 Miguel de Icaza <[email protected]>
  11282. * NumericUpDown.cs (Increment, ToString): Add.
  11283. (DecimalPlaces): implement.
  11284. Add attributes.
  11285. * UpDownBase.cs: Add the designer attributes.
  11286. 2005-02-13 Peter Bartok <[email protected]>
  11287. * Panel.cs: Removed border_style, now in Control
  11288. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  11289. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  11290. 2005-02-13 Peter Bartok <[email protected]>
  11291. * MouseButtons.cs: Added missing attributes
  11292. * XplatUIStructs.cs: Added enumeration for title styles
  11293. * LeftRightAlignment.cs: Added missing attributes
  11294. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  11295. it compatible with Graphics.FromHwnd()
  11296. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  11297. * Keys.cs: Added missing attributes
  11298. * SelectionRange.cs: Added missing attributes
  11299. * SelectionRangeConverter.cs: Added
  11300. * XplatUI.cs:
  11301. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  11302. ReleaseMenuDC methods
  11303. - Renamed ReleaseWindow to UngrabWindow
  11304. - Added proper startup notice to allow version identification
  11305. * Form.cs:
  11306. - Added missing attributes
  11307. - Removed FormParent concept
  11308. * Label.cs: Removed border_style field, now in Control
  11309. * RadioButton.cs: Now properly selects RadioButton when focus is
  11310. received
  11311. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  11312. * Control.cs:
  11313. - Added missing attributes
  11314. - Added borderstyle handling
  11315. - Removed FormParent concept support
  11316. - Fixed calls to XplatUI to match changed APIs
  11317. - Fixed bug that would case us to use disposed Graphics objects
  11318. - Removed unneeded internal methods
  11319. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  11320. - SelectNextControl(): Fixed to properly check common parents
  11321. * TextBoxBase.cs: Removed border_style field (now in Control)
  11322. * MessageBox.cs:
  11323. - Patch by Robert Thompson ([email protected]): Added icon support,
  11324. fixed calculations for form size
  11325. - Added support for localized strings and icons
  11326. - Improved form size calculations, added border
  11327. * ListView.cs: Removed border_style field (now in Control)
  11328. * X11Structs.cs: Moved several structs from X11 driver here
  11329. * X11Keyboard.cs: Changed debug message
  11330. * Application.cs: Removed FormParent concept support
  11331. * CommonDialog.cs:
  11332. - Resetting end_modal flag
  11333. - Removed FormParent concept support
  11334. * NativeWindow.cs: Removed FormParent concept support
  11335. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  11336. Client area and Non-Client whole window to allow support for WM_NC
  11337. messages
  11338. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  11339. prevent using it until it supports Hwnd as per Geoff Norton's request
  11340. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  11341. * PictureBox.cs: Removed border_style field, now in Control
  11342. * XplatUIWin32.cs: Added new driver methods
  11343. 2005-02-12 Peter Bartok <[email protected]>
  11344. * OpacityConverter.cs: Implemented
  11345. * Hwnd.cs: Internal class to support drivers that need to emulate
  11346. client area/non-client area window behaviour
  11347. 2005-02-11 Peter Bartok <[email protected]>
  11348. * KeysConverter.cs: Implemented
  11349. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  11350. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  11351. * LinkLabel: Added missing attributes
  11352. * MainMenu.cs: fixes ToString
  11353. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  11354. * ListBox.cs: fixes event position
  11355. * TrackBar.cs: adds missing attributes and events
  11356. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  11357. * MenuItem.cs: Use SystemInformation and bug fixes
  11358. * MenuAPI.cs: Use SystemInformation and bug fixes
  11359. 2005-02-09 Jackson Harper <[email protected]>
  11360. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  11361. their keystate otherwise things like VK_MENU get stuck "on".
  11362. 2005-02-09 Kazuki Oikawa <[email protected]>
  11363. * ListBox.cs: Fixes AddRange bug
  11364. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  11365. * ProgressBar.cs
  11366. - Add missing attributes
  11367. - Add missing method
  11368. * CheckedListBox.cs: Added missing attributes
  11369. - Add missing attributes
  11370. - Remove extra method
  11371. * ComboBox.cs: Added missing attributes
  11372. * VScrollBar.cs: Added missing attributes
  11373. * ScrollBar.cs: Added missing attributes
  11374. * ListBox.cs: Fixes signature, add missing consts
  11375. * LinkArea.cs: Added missing attributes
  11376. 2005-02-08 Peter Bartok <[email protected]>
  11377. * Menu.cs: Added missing attributes
  11378. * MainMenu.cs: Added missing attributes
  11379. * GroupBox.cs: Added missing attributes
  11380. * Label.cs: Added missing attributes
  11381. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  11382. * ColorDialog.cs:
  11383. - Added Instance and Options properties
  11384. - Added missing attributes
  11385. * Cursor.cs: Made Serializable
  11386. * NotifyIcon: Added missing attributes
  11387. * MenuItem.cs: Added missing attributes
  11388. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  11389. * Panel.cs: Added Missing attributes
  11390. * MonthCalendar.cs: Fixed CreateParams
  11391. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  11392. * LinkLabel.cs:
  11393. - Fixes signature
  11394. - Fixes issues with links
  11395. - Adds the class attributes
  11396. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  11397. * ComboBox.cs:
  11398. - Fixes button when no items available in dropdown
  11399. - Fixes repainting problems
  11400. - Adds the class attributes
  11401. 2005-02-07 Geoff Norton <[email protected]>
  11402. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  11403. the current theme. Cache these on startup.
  11404. 2005-02-07 Jackson Harper <[email protected]>
  11405. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  11406. the scrollbar buttons when they are depressed.
  11407. 2005-02-07 Geoff Norton <[email protected]>
  11408. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  11409. Get the display size from the main displayid. We currently dont
  11410. support multiple display configurations.
  11411. 2005-02-07 Geoff Norton <[email protected]>
  11412. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  11413. 2005-02-07 Miguel de Icaza <[email protected]>
  11414. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  11415. 2005-02-05 Jonathan Chambers <[email protected]>
  11416. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  11417. 2005-02-04 Jackson Harper <[email protected]>
  11418. * ThemeWin32Classic.cs: Respect the clipping rect when
  11419. drawing. Only fill the intersection of clips and rects so there
  11420. isn't a lot of large fills.
  11421. * ScrollBar.cs: Pass the correct clipping rect to the theme
  11422. engine. Remove some debug code.
  11423. 2005-02-05 John BouAntoun <[email protected]>
  11424. * DateTimePicker.cs:
  11425. - Fixed crash on DateTime.Parse, use Constructor instead
  11426. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  11427. * MenuItem.cs:
  11428. * MenuAPI.cs:
  11429. - Owner draw support (MeasureItem and DrawItem)
  11430. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  11431. * Menu.cs:
  11432. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  11433. - Fixes MenuItems.Add range
  11434. * MenuItem.cs:
  11435. - MergeMenu and Clone and CloneMenu functions
  11436. 2005-02-03 Jackson Harper <[email protected]>
  11437. * ScrollBar.cs: Make abstract
  11438. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  11439. is abstract.
  11440. 2005-02-03 Jackson Harper <[email protected]>
  11441. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  11442. all the unneeded refreshes and uses invalidates with properly
  11443. computed rects.
  11444. 2005-02-03 Peter Bartok <[email protected]>
  11445. * ComponentModel.cs: Added
  11446. * IDataGridEditingService.cs: Added
  11447. * Timer.cs: Added missing attributes
  11448. * ToolTip.cs: Added missing attributes
  11449. 2005-02-03 Jonathan Chambers <[email protected]>
  11450. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  11451. 2005-02-03 Peter Bartok <[email protected]>
  11452. * ListBox.cs: Added missing attributes
  11453. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  11454. * ListBox.cs:
  11455. - Fixes font height after font change
  11456. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  11457. 2005-02-02 Peter Bartok <[email protected]>
  11458. * HandleData.cs: Introduced static methods to allow class
  11459. to be more self-contained and track it's own HandleData objects
  11460. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  11461. HandleData to use new static methods
  11462. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  11463. * Combobox.cs:
  11464. - Fixes default size and PreferredHeight
  11465. - Missing events
  11466. - ObjectCollection.Insert implementation
  11467. * ListControl.cs
  11468. - Fixes signature
  11469. * ListBox.cs:
  11470. - Several fixes
  11471. - ObjectCollection.Insert implementation
  11472. - No selection after clean
  11473. - Small fixes
  11474. 2005-01-31 John BouAntoun <[email protected]>
  11475. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  11476. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  11477. * Combobox.cs:
  11478. - Caches ItemHeight calculation for OwnerDrawVariable
  11479. - Handles dropdown properly
  11480. - Fixes several minor bugs
  11481. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  11482. * ListBox.cs:
  11483. - Fixes 71946 and 71950
  11484. - Fixes changing Multicolumn on the fly
  11485. - Fixes keyboard navigation on Multicolumn listboxes
  11486. 2005-01-31 Geoff Norton <[email protected]>
  11487. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  11488. crash reporter log.
  11489. 2005-01-31 Geoff Norton <[email protected]>
  11490. * XplatUIOSX.cs: Allow applications to actually exit.
  11491. 2005-01-31 Geoff Norton <[email protected]>
  11492. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  11493. their parent at creation time rather than lazily later. Fixes a major
  11494. regression we were experiencing.
  11495. 2005-01-31 John BouAntoun <[email protected]>
  11496. * ThemeWin32Classic.cs: more date time picker painting fixes
  11497. * DateTimePicker.cs: more monthcalendar drop down fixes
  11498. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  11499. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  11500. * ScrollBar.cs:
  11501. - When moving the thumb going outside the control should stop the moving
  11502. - Adds the firing of missing events
  11503. - Fixes no button show if Size is not specified
  11504. - End / Home keys for keyboard navigation
  11505. 2005-01-30 Peter Bartok <[email protected]>
  11506. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  11507. sanity check to prevent theoretical loop
  11508. * XplatUIWin32.cs (SetVisible): Removed debug output
  11509. * XplatUIX11.cs (SystrayChange): Added sanity check
  11510. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  11511. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  11512. behaviour, valid until the X11 client window rewrite is done
  11513. * TextBox.cs (ctor): Setting proper default foreground and background
  11514. colors
  11515. 2005-01-30 John BouAntoun <[email protected]>
  11516. * Theme: Added DrawDateTimePicker to interface
  11517. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  11518. * DateTimePicker.cs: Created (still needs keys and painting code)
  11519. * DateTimePickerFormat.cs: added
  11520. * MonthCalendar.cs: fixed CreateParams for popup window mode
  11521. 2005-01-29 Peter Bartok <[email protected]>
  11522. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  11523. this should also the calculations for ligher/darker
  11524. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  11525. 2005-01-29 Peter Bartok <[email protected]>
  11526. * ArrangeDirection.cs: Added
  11527. * ArrangeStartingPositon.cs: Added
  11528. * SystemInformation.cs: Implemented
  11529. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  11530. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  11531. used by SystemInformation class
  11532. * X11Strucs.cs: Added XSizeHints structure
  11533. * MenuAPI.cs:
  11534. - Fixed CreateParams to make sure the menu window is always visible
  11535. - TrackPopupMenu: Added check to make sure we don't draw the
  11536. menu offscreen
  11537. 2005-01-29 Peter Bartok <[email protected]>
  11538. * HandleData.cs: Added method for altering invalid area
  11539. * TextBoxBase.cs: Implemented TextLength
  11540. 2005-01-28 Peter Bartok <[email protected]>
  11541. * XplatUIX11.cs: Improvement over last patch, not sending
  11542. the WM_PAINT directly anymore, instead we scroll any pending
  11543. exposed areas and let the system pick out the WM_PAINT later
  11544. 2005-01-28 Peter Bartok <[email protected]>
  11545. * SWF.csproj: Deleted, no longer used. Instead,
  11546. Managed.Windows.Forms/SWF.csproj should be used
  11547. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  11548. directly, to avoid a potential race condition with the next
  11549. scroll
  11550. 2005-01-28 Peter Bartok <[email protected]>
  11551. * XplatUI.cs: Made class internal
  11552. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  11553. * CheckedListBox.cs:
  11554. - Draw focus
  11555. - Fixed Drawing
  11556. - Missing methods and events
  11557. 2005-01-27 Peter Bartok <[email protected]>
  11558. * Application.cs (Run): Don't use form if we don't have one
  11559. 2005-01-27 Peter Bartok <[email protected]>
  11560. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  11561. 2005-01-27 Peter Bartok <[email protected]>
  11562. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  11563. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  11564. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  11565. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  11566. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  11567. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  11568. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  11569. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  11570. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  11571. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  11572. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  11573. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  11574. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  11575. * Combobox.cs:
  11576. - Draw focus on Simple Combobox
  11577. - Fixes drawing issues
  11578. - fixes 71834
  11579. 2005-01-27 Peter Bartok <[email protected]>
  11580. * Form.cs:
  11581. - Place window in default location, instead of hardcoded 0/0
  11582. - Send initial LocationChanged event
  11583. * Control.cs:
  11584. - UpdateBounds after creation to find out where the WM placed us
  11585. - Make sure that if the ParentForm changes location the Form
  11586. is notified
  11587. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  11588. to the root, but to whatever the WM placed around us.
  11589. Translate to root coordinates before returning toplevel
  11590. coordinates
  11591. * XplatUIWin32.cs: Removed debug output
  11592. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  11593. flag to GetWindowPos, to allow translation of coordinates on X11
  11594. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  11595. * ListBox.cs: connect LostFocus Event
  11596. 2005-01-27 Peter Bartok <[email protected]>
  11597. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  11598. XplatUIX11.cs: Extended the Systray API
  11599. * Form.cs: Removed debug output
  11600. * Application.cs: Fixed focus assignment, always need to call
  11601. XplatUI.Activate() since Form.Activate() has rules that may
  11602. prevent activation
  11603. * NotifyIcon.cs: Should be complete now
  11604. * ToolTip.cs: Worked around possible timer bug
  11605. 2005-01-27 Jackson Harper <[email protected]>
  11606. * TabControl.cs:
  11607. - Only invalidate the effected tabs when the
  11608. selected index changes. This reduces drawing and gets rid of some
  11609. flicker.
  11610. - Only refresh if the tabs need to be shifted, otherwise only
  11611. invalidate the slider button.
  11612. - On windows the tabs are not filled to right if the slider is
  11613. visible.
  11614. 2005-01-27 Jackson Harper <[email protected]>
  11615. * TabControl.cs: Only refresh on mouseup if we are showing the
  11616. slider. Also only invalidate the button whose state has changed.
  11617. 2005-01-26 Peter Bartok <[email protected]>
  11618. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  11619. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  11620. and SystrayRemove() methods
  11621. * XplatUIOSX.cs: Stubbed Systray methods
  11622. * XplatUIX11.cs:
  11623. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  11624. methods
  11625. - Fixed broken XChangeProperty calls (marshalling messed up things)
  11626. * X11Structs.cs: Added enums and structs required for Size hinting
  11627. * NotifyIcon.cs: Added & implemented
  11628. 2005-01-26 Jackson Harper <[email protected]>
  11629. * TabControl.cs: Space vertically layed out tabs properly.
  11630. 2005-01-26 Peter Bartok <[email protected]>
  11631. * Form.cs (CreateClientParams): Always set the location to 0,0
  11632. since we're a child window.
  11633. * Control.cs (SetVisibleCore): Always explicitly setting the location
  11634. of a toplevel window, apparently X11 doesn't like to move windows
  11635. while they're not mapped.
  11636. 2005-01-26 Jackson Harper <[email protected]>
  11637. * TabControl.cs: Implement FillToRight size mode with vertically
  11638. rendered tabs.
  11639. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  11640. * ControlPaint.cs, ThemeWin32Classic.cs
  11641. - Fixes DrawFocusRectangle
  11642. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  11643. * MenuAPI.cs:
  11644. - MenuBar tracking only starts when item is first clicked
  11645. - Fixes menu hidding for multiple subitems
  11646. - Unselect item in MenuBar when item Executed
  11647. - Fixes bug 71495
  11648. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  11649. * ListControl.cs:
  11650. - IsInputKey for ListBox
  11651. * ListBox.cs:
  11652. - Focus item
  11653. - Shift and Control item selection
  11654. - Implement SelectionMode.MultiExtended
  11655. - Fixes RightToLeft
  11656. * ComboBox.cs:
  11657. - IsInputKey implemented
  11658. - Do not generate OnTextChangedEdit on internal txt changes
  11659. 2005-01-23 Peter Bartok <[email protected]>
  11660. * AccessibleObject.cs: Partially implemented Select()
  11661. * MonthCalendar.cs: Added missing attributes and events
  11662. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  11663. form can properly override CreateParams.
  11664. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  11665. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  11666. Control performs Invalidate & Update
  11667. * NativeWindow (CreateHandle): Added special handling for Form
  11668. and Form.FormParent classes to allow overriding of From.CreateParams
  11669. * Control.cs:
  11670. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  11671. name 'owner'
  11672. - ControlNativeWindow: Added Owner property
  11673. - Removed usage of Refresh() on property changes, changed into
  11674. Invalidate(), we need to wait until the queue is processed for
  11675. updates, direct calls might cause problems if not all vars for
  11676. Paint are initialized
  11677. - Added call to UpdateStyles() when creating the window, to set any
  11678. styles that CreateWindow might have ignored.
  11679. - Added support for Form CreateParent overrides to UpdateStyles()
  11680. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  11681. CreateParams are now properly overridable
  11682. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  11683. CreateParams are now properly overridable
  11684. 2005-01-23 Miguel de Icaza <[email protected]>
  11685. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  11686. OnTextBoxChanged.
  11687. Capture LostFocus and OnTextBoxChanged. The later introduces a
  11688. recursive invocation that I have not figured out yet.
  11689. Reset the timer when not using (it was accumulating).
  11690. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  11691. user has made changes that require validation.
  11692. Reset changing to avoid loops.
  11693. 2005-01-22 Miguel de Icaza <[email protected]>
  11694. * NumericUpDown.cs: Display value at startup.
  11695. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  11696. ValidateEditText.
  11697. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  11698. filled in. Added some basic parsing of text.
  11699. Still missing the OnXXX method overrides, and figuring out the
  11700. events that must be emitted.
  11701. * UpDownBase.cs: Handle UserEdit on the Text property.
  11702. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  11703. * ComboBox.cs:
  11704. - Fixes IntegralHeight
  11705. - ToString method
  11706. 2005-01-21 Jackson Harper <[email protected]>
  11707. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  11708. is set so that the page visibility is updated and the tabs are
  11709. sized correctly.
  11710. 2005-01-21 Jackson Harper <[email protected]>
  11711. * TabControl.cs: Use cliping rectangle for blitting. Give the
  11712. theme the clipping rect so we can do clipping while
  11713. drawing. Remove some debug code.
  11714. 2005-01-21 Jackson Harper <[email protected]>
  11715. * TabPage.cs: Add a new method so tab pages can force the tab
  11716. control to recalculate the tab page sizes.
  11717. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  11718. sizes.
  11719. 2005-01-20 Jackson Harper <[email protected]>
  11720. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  11721. 2005-01-20 Jackson Harper <[email protected]>
  11722. * TreeView.cs: Set the bounds for nodes properly. They were
  11723. getting screwed up when checkboxes were not enabled, but images
  11724. were.
  11725. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  11726. * ListBox.cs:
  11727. - Owner draw support
  11728. - Fixes
  11729. 2005-01-20 Jackson Harper <[email protected]>
  11730. * XplatUIStructs.cs: More misc keys
  11731. * X11Keyboard.cs: Ignore some control keys.
  11732. 2005-01-20 Jackson Harper <[email protected]>
  11733. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  11734. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  11735. 2005-01-19 Peter Bartok <[email protected]>
  11736. * Control.cs: Un-selecting the control when it is loosing focus
  11737. 2005-01-19 Jackson Harper <[email protected]>
  11738. * TreeView.cs: Hook up to the text controls leave event so we can
  11739. end editing when the users clicks outside the text box.
  11740. 2005-01-19 Jackson Harper <[email protected]>
  11741. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  11742. get set in the conversion array.
  11743. 2005-01-19 Peter Bartok <[email protected]>
  11744. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  11745. focus is properly set
  11746. * Button.cs:
  11747. - Added missing attributes
  11748. - removed styles, those are already set in the base class
  11749. * ButtonBase.cs:
  11750. - Added missing attributes
  11751. - Added clip window styles
  11752. * CheckBox.cs: Added missing attributes
  11753. * CommonDialog.cs:
  11754. - FormParentWindow.CreateParams: Added required clip styles
  11755. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  11756. also filters modifier keys
  11757. * MessageBox.cs:
  11758. - Added assignment of Accept and Cancel button to enable Enter
  11759. and Esc keys in MessageBox dialogs
  11760. - FormParentWindow.CreateParams: Added required clip styles
  11761. * RadioButton.cs: Added missing attributes
  11762. * TextControl.cs: No longer draws selection if control does not
  11763. have focus
  11764. * TextBoxBase.cs:
  11765. - Now draws simple rectangle around test area to make it obvious
  11766. there's a control. This is a hack until we properly support borders
  11767. - A few simple fixes to support selections better, now erases selected
  11768. text when typing, and resets selection when using movement keys
  11769. 2005-01-19 Miguel de Icaza <[email protected]>
  11770. * UpDownBase.cs: Added some new properties.
  11771. * DomainUpDown.cs: Implement a lot to get my test working.
  11772. 2005-01-19 Geoff Norton <[email protected]>
  11773. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  11774. 2005-01-19 Geoff Norton <[email protected]>
  11775. * OSXStructs (WindowAttributes): Fixed csc complaints
  11776. 2005-01-19 Geoff Norton <[email protected]>
  11777. * XplayUIOSX.cs:
  11778. OSXStructs.cs: Initial refactor to move enums and consts into
  11779. OSXStructs and use them in the driver for greater readability.
  11780. 2005-01-19 Geoff Norton <[email protected]>
  11781. * XplatUIOSX.cs: Initial support for Standard Cursors.
  11782. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  11783. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  11784. * ComboBox.cs: ability to change style when the ctrl is already
  11785. created, missing methods and events, bug fixes, signature fixes
  11786. 2005-01-19 Peter Bartok <[email protected]>
  11787. * Cursors.cs (ctor): Added ctor to fix signature
  11788. 2005-01-18 Peter Bartok <[email protected]>
  11789. * Button.cs: Implemented DoubleClick event
  11790. * ButtonBase.cs:
  11791. - Fixed keyboard handling to behave like MS, where the press of
  11792. Spacebar is equivalent to a mousedown, and the key release is
  11793. equivalent to mouseup. Now a spacebar push will give the same
  11794. visual feedback like a mouse click.
  11795. - Added missing attributes
  11796. - Added ImeModeChanged event
  11797. - Added support for generating DoubleClick event for derived classes
  11798. * CheckBox.cs:
  11799. - Implemented DoubleClick event
  11800. - Added missing attributes
  11801. * CommonDialog.cs: Added missing attribute
  11802. * ContextMenu.cs: Added missing attributes
  11803. * RadioButton.cs:
  11804. - AutoChecked buttons do not allow to be unselected when clicked
  11805. (otherwise we might end up with no selected buttons in a group)
  11806. - Added missing attributes
  11807. - Implemented DoubleClickEvent
  11808. * ThreadExceptionDialog.cs: Enabled TextBox code
  11809. 2005-01-18 Peter Bartok <[email protected]>
  11810. * Form.cs: Removed debug output
  11811. * Button.cs: Added support for DoubleClick method
  11812. 2005-01-18 Peter Bartok <[email protected]>
  11813. * Form.cs:
  11814. - Added method to parent window that allows triggering size
  11815. calculations when a menu is added/removed
  11816. - set_Menu: Cleaned up mess from early days of Form and Control,
  11817. now properly triggers a recalc when a menu is added/removed
  11818. - Added case to select form itself as focused form if no child
  11819. controls exist
  11820. - Added PerformLayout call when showing dialog, to ensure properly
  11821. placed controls
  11822. * Control.cs:
  11823. - Select(): Made internal so Form can access it
  11824. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  11825. status
  11826. * Application.cs (Run): Removed hack and calls PerformLayout instead
  11827. to trigger calculation when Form becomes visible
  11828. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  11829. * ComboBox.cs: fixes for ownerdraw
  11830. 2005-01-18 Peter Bartok <[email protected]>
  11831. * TextControl.cs:
  11832. - Sentinel is no longer static, each Document gets it's own, this
  11833. avoids locking or alternatively overwrite problems when more
  11834. than one text control is used simultaneously.
  11835. - Switched to use Hilight and HilightText brushes for text selection
  11836. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  11837. 2005-01-18 Peter Bartok <[email protected]>
  11838. * Control.cs:
  11839. - Hooked up the following events:
  11840. o ControlAdded
  11841. o ControlRemoved
  11842. o HandleDestroyed
  11843. o ImeModeChanged
  11844. o ParentChanged
  11845. o TabStopChanged
  11846. o Invalidated
  11847. o SystemColorsChanged
  11848. o ParentFontChanged
  11849. o Move
  11850. - Removed debug output
  11851. - Added a call to the current theme's ResetDefaults when a color change
  11852. is detected
  11853. * Form.cs: Now setting the proper ImeMode
  11854. * Theme.cs: Defined a method to force recreation of cached resources
  11855. and rereading of system defaults (ResetDefaults())
  11856. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  11857. 2005-01-17 Peter Bartok <[email protected]>
  11858. * Control.cs: Added missing attributes
  11859. 2005-01-17 Jackson Harper <[email protected]>
  11860. * TreeNode.cs: Implement editing. Add missing properties selected
  11861. and visible.
  11862. * TreeView.cs: Implement node editing. Also some fixes to use
  11863. Invalidate (invalid area) instead of Refresh when selecting.
  11864. 2005-01-17 Peter Bartok <[email protected]>
  11865. * Control.cs:
  11866. - Implemented InvokeGotFocus() method
  11867. - Implemented InvokeLostFocus() method
  11868. - Implemented InvokePaint() method
  11869. - Implemented InvokePaintBackground() method
  11870. - Implemented InvokeClick() method
  11871. - Implemented FindForm() method
  11872. - Implemented RectangleToClient() method
  11873. - Implemented ClientToRectangle() method
  11874. - Implemented ResetBackColor() method
  11875. - Implemented ResetCursor() method
  11876. - Implemented ResetFont() method
  11877. - Implemented ResteForeColor() method
  11878. - Implemented ResetImeMode() method
  11879. - Implemented ResetLeftToRight() method
  11880. - Implemented ResetText() method
  11881. - Implemented Scale() methods
  11882. - Implemented ScaleCore() method
  11883. - Implemented Update() method
  11884. - Removed unused variables
  11885. - Stubbed AccessibilityNotifyClients and
  11886. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  11887. with those yet)
  11888. - Now setting proper default for RightToLeft property
  11889. - Fixed bug in SetClientSizeCore that would cause windows to get
  11890. really big
  11891. - Now sending Click/DoubleClick events
  11892. - Now selecting controls when left mouse button is clicked on
  11893. selectable control
  11894. * AccessibleEvents.cs: Added
  11895. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  11896. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  11897. * XplatUIWin32.cs: Implemented UpdateWindow() method
  11898. * XplatUIX11.cs: Implemented UpdateWindow() method
  11899. * Form.cs: Removed stray semicolon causing CS0162 warning
  11900. * ThemeWin32Classic.cs: Fixed unused variable warnings
  11901. * ScrollableControl.cs: Now calls base method for ScaleCore
  11902. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  11903. style to avoid interference with internal click handler (which is
  11904. different than standard Control click handling)
  11905. * RadioButton.cs:
  11906. - Now unchecks all sibling radio buttons when control is
  11907. selected (Fixes #68756)
  11908. - Removed internal tabstop variable, using the one inherited from
  11909. Control
  11910. 2005-01-17 Jackson Harper <[email protected]>
  11911. * NavigateEventArgs.cs: Fix base type.
  11912. * LinkLabel.cs: Sig fix
  11913. 2005-01-17 Jackson Harper <[email protected]>
  11914. * TreeView.cs: Only invalidate the effected nodes bounds when
  11915. selecting nodes.
  11916. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  11917. * XplatUIWin32.cs: fixes Win32 marshaling
  11918. * XplatUIX11.cs: fixes method signature
  11919. 2005-01-17 Peter Bartok <[email protected]>
  11920. * XplatUIX11.cs: Clean up resources when we no longer need them
  11921. 2005-01-17 Peter Bartok <[email protected]>
  11922. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  11923. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  11924. and DestroyCursor() methods.
  11925. * Cursor.cs: Partially implemented, now supports standard cursors;
  11926. still contains some debug code
  11927. * Cursors.cs: Implemented class
  11928. * Control.cs:
  11929. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  11930. appropriate cursor
  11931. - Implemented Cursor property
  11932. - Replaced break; with return; more straightforwar and possibly
  11933. faster
  11934. - Now properly setting the result for WM_HELP
  11935. * X11Structs.cs: Added CursorFontShape enum
  11936. * XplatUIStructs.cs:
  11937. - Added StdCursor enum (to support DefineStdCursor() method)
  11938. - Added HitTest enum (to support sending WM_SETCURSOR message)
  11939. * XplatUIX11.cs:
  11940. - Now sends the WM_SETCURSOR message
  11941. - Implemented new cursor methods
  11942. * XplatUIOSX.cs: Stubbed new cursor methods
  11943. * XplatUIWin32.cs:
  11944. - Implemented new cursor methods
  11945. - Added GetSystemMetrics function and associated enumeration
  11946. 2005-01-15 Peter Bartok <[email protected]>
  11947. * Control.cs:
  11948. - WndProc(): Now handles EnableNotifyMessage
  11949. - SelectNextControl(): Fixed bug where if no child or sibling
  11950. controls exist we looped endlessly
  11951. 2005-01-14 Jackson Harper <[email protected]>
  11952. * TreeView.cs: Recalculate the tab pages when a new one is added
  11953. so that the proper bounding rects are created.
  11954. 2005-01-14 Jackson Harper <[email protected]>
  11955. * TreeView.cs: Draw a gray box instead of a grip in the lower
  11956. right hand corner when there are both horizontal and vertical
  11957. scroll bars.
  11958. 2005-01-14 Jackson Harper <[email protected]>
  11959. * Control.cs: When erasing backgrounds use FromHwnd instead of
  11960. FromHdc when there is a NULL wparam. This occurs on the X driver.
  11961. * XplatUIX11.cs: Set the wparam to NULL.
  11962. 2005-01-13 Jackson Harper <[email protected]>
  11963. * PictureBox.cs: Implement missing methods (except ToString, need
  11964. to test that on windows) and events. When visibility is changed we
  11965. need to redraw the image because the buffers are killed. When size
  11966. is changed refresh if the sizemode needs it.
  11967. 2005-01-13 Peter Bartok <[email protected]>
  11968. * Control.cs (SelectNextControl): Was using wrong method to select
  11969. a control
  11970. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  11971. * ComboBox.cs: fixes dropstyle
  11972. 2005-01-13 Peter Bartok <[email protected]>
  11973. * Form.cs:
  11974. - Implemented Select() override
  11975. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  11976. - Now sets keyboard focus on startup
  11977. * Control.cs (SelectNextControl): Now properly handles directed=true
  11978. * TextBoxBase.cs:
  11979. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  11980. - Added (really bad) focus rectangle (mostly for testing)
  11981. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  11982. to enforce redraw on focus changes
  11983. * ContainerControl.cs:
  11984. - Fixed detection of Shift-Tab key presses
  11985. - Fixed traversal with arrow keys
  11986. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  11987. gonna keep this or if it's complete yet
  11988. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  11989. * ComboBox.cs: missing properties, fixes
  11990. 2005-01-13 Peter Bartok <[email protected]>
  11991. * Panel.cs (ctor): Setting Selectable window style to off
  11992. * Splitter.cs (ctor): Setting Selectable window style to off
  11993. * GroupBox.cs (ctor): Setting Selectable window style to off
  11994. * Label.cs (ctor): Setting Selectable window style to off
  11995. 2005-01-12 Miguel de Icaza <[email protected]>
  11996. * UpDownBase.cs (InitTimer): If the timer has been already
  11997. created, enable it.
  11998. Use a TextBox instead of a Label.
  11999. 2005-01-12 Jackson Harper <[email protected]>
  12000. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  12001. draw the connecting node lines (when ShowLines is true).
  12002. * TreeNode.cs: The nodes index can now be updated. This is used
  12003. when a node collection is sorted.
  12004. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  12005. insert or an existing unsorted node collection can be sorted.
  12006. 2005-01-12 Peter Bartok <[email protected]>
  12007. * ContainerControl.cs: Implemented ProcessDialogKeys()
  12008. 2005-01-12 Peter Bartok <[email protected]>
  12009. * Control.cs:
  12010. - Implemented SelectNextControl() method
  12011. - Several focus related bug fixes
  12012. - Fixed Docking calculations to match MS documentation and
  12013. behaviour
  12014. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  12015. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  12016. bug fixes
  12017. 2005-01-12 Peter Bartok <[email protected]>
  12018. * Control.cs:
  12019. - Fixed broken Contains() method
  12020. - Implemented GetNextControl() method. Finally. This is the pre-
  12021. requisite for focus handling.
  12022. 2005-01-12 Peter Bartok <[email protected]>
  12023. * OSXStrucs.cs: Added
  12024. 2005-01-12 Peter Bartok <[email protected]>
  12025. * XplatUIWin32.cs:
  12026. - Removed PeekMessageFlags
  12027. - Implemented SetWindowStyle() method
  12028. * XplatUIStructs.cs: Added PeekMessageFlags
  12029. * X11Structs: Added missing border_width field to XWindowChanges struct
  12030. * XplatUIX11.cs:
  12031. - PeekMessage: Now throws exception if flags which are not yet
  12032. supported are passed
  12033. - Implemented SetWindowStyle() method
  12034. - Fixed SetZOrder to handle AfterHwnd properly
  12035. * XplatUI.cs: Added SetWindowStyle() method
  12036. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  12037. * Control.cs:
  12038. - Implemented UpdateStyles() method
  12039. - Implemented UpdateZOrder() method
  12040. * XplatUIOSX.cs: Added SetWindowStyle() stub
  12041. 2005-01-12 Geoff Norton <[email protected]>
  12042. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  12043. button mouse).
  12044. 2005-01-11 Jackson Harper <[email protected]>
  12045. * TreeView.cs: Still need to draw lines to siblings even if out of
  12046. the current node is out of the clip.
  12047. 2005-01-11 Jackson Harper <[email protected]>
  12048. * TreeView.cs: When setting the hbar/vbar/grip position use
  12049. SetBounds so that perform layout is only called once. Also suspend
  12050. and resume layout so layout is only done once for all controls.
  12051. - Removed some debug fluff
  12052. * SizeGrip.cs: Call base implmentation in overriding methods.
  12053. - When visibility is changed the drawing buffers are killed so we
  12054. need to redraw.
  12055. 2005-01-11 Jackson Harper <[email protected]>
  12056. * TreeView.cs: Calculate the open node count while drawing. This
  12057. saves us an entire tree traversal for every paint operation. Use
  12058. a member var for the open node count so less vars are passed around.
  12059. 2005-01-11 John BouAntoun <[email protected]>
  12060. * MonthCalendar.cs:
  12061. - fixed selection to use mousemove, not mouse polling on timer
  12062. * ThemeWin32Classic.cs
  12063. - removed redundant unused variable "no_more_content"
  12064. 2005-01-11 Peter Bartok <[email protected]>
  12065. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  12066. are pending, so it now calls PeekMessage instead of GetMessage;
  12067. implemented a incomplete version of PeekMessage
  12068. 2005-01-11 Peter Bartok <[email protected]>
  12069. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  12070. I18n issues
  12071. * TextBoxBase.cs: Added sending of TextChanged event
  12072. 2005-01-10 Jackson Harper <[email protected]>
  12073. * TreeView.cs: Try not to draw outside the clipping rectangle on
  12074. each node element.
  12075. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  12076. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  12077. 2005-01-10 Jackson Harper <[email protected]>
  12078. * TreeView.cs:
  12079. - Implement fast scrolling. Now only the newly
  12080. exposed nodes are drawn and the old image is moved using the
  12081. XplatUI::ScrollWindow method.
  12082. - Factor in height of nodes when calculating whether or not the
  12083. node is in the clipping rect.
  12084. 2005-01-10 Jackson Harper <[email protected]>
  12085. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  12086. 2005-01-10 Peter Bartok <[email protected]>
  12087. * Application.cs: Added temporary hack to resolve all our resize
  12088. required issues on startup. This will get fixed properly at
  12089. some point in the future
  12090. 2005-01-10 Jackson Harper <[email protected]>
  12091. * SizeGrip.cs: New internal class that is used as a sizing
  12092. grip control...hence the name.
  12093. 2005-01-10 Peter Bartok <[email protected]>
  12094. * Control.cs: Implemented proper TabIndex handling, now assigning
  12095. a tabindex when a control is added to a container
  12096. * GroupBox.cs (ctor): Now sets the Container style bit, required
  12097. for Control.GetNextControl()
  12098. 2005-01-09 Jackson Harper <[email protected]>
  12099. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  12100. 2005-01-09 Peter Bartok <[email protected]>
  12101. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  12102. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  12103. an overload for ScrollWindow to allow only scrolling a rectangle
  12104. 2005-01-09 Peter Bartok <[email protected]>
  12105. * Form.cs:
  12106. - Implemented SetDesktopBounds method
  12107. - Implemented SetDesktopLocation method
  12108. 2005-01-08 Jackson Harper <[email protected]>
  12109. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  12110. the node count has changed, this removes to VScroll::Refresh calls
  12111. when drawing.
  12112. 2005-01-08 Geoff Norton <[email protected]>
  12113. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  12114. 2005-01-07 Jackson Harper <[email protected]>
  12115. * TreeNode.cs: Just update the single node when it is
  12116. checked. Don't refresh after toggling, the Expand/Collapse already
  12117. handles this.
  12118. * TreeView.cs: Respect clipping a little more when drawing. Try
  12119. not to redraw things that don't need to be redrawn. Just hide the
  12120. scrollbars when they are no longer needed instead of removing
  12121. them, so they don't have to be created again and again.
  12122. 2005-01-07 Geoff Norton <[email protected]>
  12123. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  12124. coordinates to window space to place the caret properly, FIXED.
  12125. Implement GetWindowState & SetWindowState
  12126. 2005-01-06 Peter Bartok <[email protected]>
  12127. * Form.cs:
  12128. - Implemented ClientSize property
  12129. - Implemented DesktopBounds property
  12130. - Implemented DesktopLocation property
  12131. - Implemented IsRestrictedWindow property
  12132. - Implemented Size property
  12133. - Implemented TopLevel property
  12134. - Implemented FormWindowState property
  12135. * Control.cs:
  12136. - Implemented GetTopLevel() method
  12137. - Implemented SetTopLevel() method
  12138. * X11Structs.cs (Atom):
  12139. - Added AnyPropertyType definition
  12140. - Added MapState definiton and updated XWindowAttribute struct
  12141. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  12142. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  12143. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  12144. * XplatUIWin32.cs:
  12145. - Implemented GetWindowState() and SetWindowState() methods
  12146. - Fixed Win32GetWindowLong return type
  12147. * XplatUIX11.cs:
  12148. - Introduced central function for sending NET_WM messages
  12149. - Implemented GetWindowState() and SetWindowState() methods
  12150. * TextBoxBase.cs (set_Lines):
  12151. - Now uses Foreground color for text added via Text property (Duh!)
  12152. - Added code to remember programmatically requested size (fixes
  12153. behaviour when Multiline is set after Size)
  12154. - Added AutoSize logic
  12155. 2005-01-06 Jackson Harper <[email protected]>
  12156. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  12157. 2005-01-06 Jackson Harper <[email protected]>
  12158. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  12159. set to less then 0.
  12160. 2005-01-06 Jackson Harper <[email protected]>
  12161. * ScrollableControl.cs: Lazy init the scrollbars.
  12162. 2005-01-06 Jackson Harper <[email protected]>
  12163. * Theme.cs: Speed up getting pens and solid brushes, by using
  12164. their ARGB as a hash instead of tostring and not calling Contains.
  12165. 2005-01-06 Peter Bartok <[email protected]>
  12166. * Form.cs:
  12167. - Implemented OnActivated and OnDeactivate event trigger
  12168. - Implemented Activate() method
  12169. - Fixed ShowDialog() to activate the form that was active before
  12170. the dialog was shown
  12171. * XplatUIX11.cs:
  12172. - Added global active_window var that tracks the currently active
  12173. X11 window
  12174. - Now always grabs Property changes from the root window to always
  12175. catch changes on the active window property
  12176. - Added code to PropertyNotify handler to send Active/Inactive
  12177. messages when state changes. This puts X11 and Win32 en par on
  12178. WM_ACTIVATE notifications (except for double notifications when
  12179. the user clicks away from our modal window to another one of our
  12180. windows)
  12181. 2005-01-05 Jackson Harper <[email protected]>
  12182. * ImageList.cs: Implment ctor
  12183. 2005-01-05 Geoff Norton <[email protected]>
  12184. * XplatUIOSX.cs: Implement Activate/SetTopmost
  12185. 2005-01-05 Geoff Norton <[email protected]>
  12186. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  12187. 2005-01-05 Geoff Norton <[email protected]>
  12188. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  12189. 2005-01-05 Peter Bartok <[email protected]>
  12190. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  12191. XplatUIOSX.cs: Added GetActive method to return the currently
  12192. active window for the application (or null, if none is active)
  12193. * Form.cs:
  12194. - Implemented ActiveForm
  12195. - Commented out owner assignment for modal dialogs (causes problems
  12196. on Win32, since the owner will be disabled)
  12197. - Reworked some Active/Focus handling (still incomplete)
  12198. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  12199. (causes problems on Win32, since the owner will be disabled)
  12200. * IWin32Window: Added ComVisible attribute
  12201. 2005-01-05 Peter Bartok <[email protected]>
  12202. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  12203. required XplatUI functions.
  12204. 2005-01-05 Peter Bartok <[email protected]>
  12205. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  12206. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  12207. to implement focus and activation handling; still incomplete and
  12208. with debug output
  12209. 2005-01-04 Peter Bartok <[email protected]>
  12210. * TextBoxBase.cs: Changed access level for Document property to
  12211. match switch to internal for TextControl
  12212. 2005-01-04 Peter Bartok <[email protected]>
  12213. * AccessibleObject: Added ComVisible attribute
  12214. 2005-01-04 Jackson Harper <[email protected]>
  12215. * X11Keyboard.cs: Remove unneeded var.
  12216. 2005-01-04 Jackson Harper <[email protected]>
  12217. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  12218. but PAINT.
  12219. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  12220. ClientMessage. This makes apps exit cleanly (more often).
  12221. 2005-01-04 Jackson Harper <[email protected]>
  12222. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  12223. handling focus, return correct colors and fonts,
  12224. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  12225. handle selection, horizontal scrolling, and mouse interaction.
  12226. 2005-01-04 Peter Bartok <[email protected]>
  12227. * ICommandExecutor.cs: Added
  12228. * IDataGridColumnStyleEditingNotificationService.cs: Added
  12229. * IFeatureSupport.cs: Added
  12230. * IFileReaderService.cs: Added
  12231. * IDataObject.cs: Added ComVisible attribute
  12232. * AmbientProperties.cs: Added
  12233. * BaseCollection.cs: Added missing attributes
  12234. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  12235. * BaseCollection.cs: Added missing attributes
  12236. * Binding.cs: Added TypeConverter attribute
  12237. * BindingContext.cs: Added DefaultEvent attribute
  12238. * BindingsCollection.cs: Added DefaultEvent attribute
  12239. * Button.cs: Added DefaultValue attribute
  12240. * DragEventArgs.cs: Added ComVisible attribute
  12241. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  12242. * KeyEventArgs.cs: Added ComVisible attribute
  12243. * KeyPressEventArgs.cs: Added ComVisible attribute
  12244. * MouseEventArgs.cs: Added ComVisible attribute
  12245. * NavigateEventArgs.cs: Added
  12246. * NavigateEventHandler.cs: Added
  12247. * FeatureSupport.cs: Added
  12248. * OSFeature.cs: Added
  12249. * Theme.cs: Added abstract Version property to support OSFeature
  12250. * ThemeWin32Classic.cs: Added Version property to
  12251. support OSFeature.Themes
  12252. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  12253. the proper styles to avoid background drawing are set, also doesn't
  12254. match MS signature
  12255. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  12256. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  12257. * ScrollEventArgs.cs: Added ComVisible attribute
  12258. * SplitterEventArgs.cs: Added ComVisible attribute
  12259. * AccessibleSelection.cs: Added Flags attribute
  12260. * Appearance.cs: Added ComVisible attribute
  12261. * Border3DSide.cs: Added ComVisible attribute
  12262. * Border3DStyle.cs: Added ComVisible attribute
  12263. * BorderStyle.cs: Added ComVisible attribute
  12264. * DragAction.cs: Added ComVisible attribute
  12265. * ErrorBlinkStyle.cs: Added
  12266. * ScrollEventType.cs: Added ComVisible attribute
  12267. * AnchorStyles.cs: Added Editor attribute
  12268. * DockStyle.cs: Added Editor attribute
  12269. * HorizontalAlignment.cs: Added ComVisible attribute
  12270. * HelpEventArgs.cs: Added ComVisible attribute
  12271. * PaintEventArgs.cs: Added IDisposable
  12272. 2005-01-04 Peter Bartok <[email protected]>
  12273. * TextControl.cs: Switched Line, LineTag and Document classes to
  12274. internal
  12275. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  12276. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  12277. Simple mode, fixes, IntegralHeight, etc.
  12278. 2005-01-04 Peter Bartok <[email protected]>
  12279. * TextBoxBase.cs: Using proper font variable now
  12280. 2005-01-04 Peter Bartok <[email protected]>
  12281. * Form.cs (ShowDialog): Set parent to owner, if provided
  12282. * GroupBox.cs: Removed unused vars
  12283. * TextControl.cs:
  12284. - Added GetHashCode() for Document and LineTag classes
  12285. - Removed unused variables
  12286. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  12287. to allow translation between continuous char position and line/pos
  12288. * CheckBox.cs: Removed vars that are provided by base class
  12289. * RadioButton.cs: Removed vars that are provided by base class, added
  12290. new keyword where required
  12291. * LinkLabel.cs: Added new keyword where required
  12292. * Control.cs (WndProc): Removed unused variable
  12293. * TextBoxBase.cs:
  12294. - Finished SelectionLength property
  12295. - Implemented SelectionStart property
  12296. - Implemented Text property
  12297. - Removed unused vars
  12298. * MessageBox.cs: Added new keyword where required
  12299. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  12300. WndProc signature
  12301. * MenuAPI.cs: Added new keyword where required
  12302. * ButtonBase.cs: Removed vars that are provided by base class, added
  12303. new keyword where required
  12304. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  12305. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  12306. into this)
  12307. * Application.cs (Run): Now triggers the ThreadExit event
  12308. * CommonDialog.cs: Added new keyword where required; now properly sets
  12309. parent (owner) for dialog
  12310. * XplatUIX11.cs: Commented out unused vars
  12311. * StatusBar.cs: Fixed signature for Text property
  12312. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  12313. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  12314. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  12315. TrackBar.cs, MonthCalendar.cs: remove unused vars
  12316. 2005-01-03 Jackson Harper <[email protected]>
  12317. * ThemeWin32Classic.cs:
  12318. * X11Keyboard.cs: Remove unused vars.
  12319. 2005-01-03 Peter Bartok <[email protected]>
  12320. * TextBox.cs:
  12321. - set_Text: Tied into TextControl
  12322. - set_TextAlignment: Tied into TextControl
  12323. * TextControl.cs:
  12324. - Added alignment properties and implemented alignment handling
  12325. and drawing (still has a bug, not generating proper expose events)
  12326. - Added new Line() constructor to allow passing the line alignment
  12327. - Fixed selection setting, properly handling end<start now
  12328. - Added aligment considerations to RecalculateDocument()
  12329. * TextBoxBase.cs:
  12330. - Now properly enforces control height for single line controls
  12331. - Added support for CharacterCasing
  12332. - Added IsInputKey override
  12333. - Fixed Keys.Enter logic
  12334. - Added SetBoundsCore override
  12335. - Fixed mouse selection handling
  12336. 2005-01-03 Jackson Harper <[email protected]>
  12337. * TreeView.cs:
  12338. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  12339. - Checkboxes are always aligned to the bottom of the node,
  12340. regardless of item height.
  12341. - Use the node bounds to draw the text so we can center it when
  12342. the item height is greater then the font height.
  12343. - Node::Bounds are only the text part of the node.
  12344. * TreeNode.cs: New method to combine collapsing and unchecking all
  12345. nodes recursively.
  12346. 2005-01-02 Jackson Harper <[email protected]>
  12347. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  12348. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  12349. tree when a check is changed. TODO: Only refresh the checked node.
  12350. 2004-12-30 Jackson Harper <[email protected]>
  12351. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  12352. * TreeNode.cs: When collapsing make sure to never collapse the
  12353. root node.
  12354. 2004-12-29 Jackson Harper <[email protected]>
  12355. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  12356. 2004-12-28 Zoltan Varga <[email protected]>
  12357. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  12358. 2004-12-28 Peter Bartok <[email protected]>
  12359. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  12360. not yet assigned
  12361. 2004-12-28 Peter Bartok <[email protected]>
  12362. * Control.cs (WndProc): Added WM_HELP handler, now generates
  12363. HelpRequested event
  12364. * Form.cs: Added HelpButton property and required support code
  12365. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  12366. 2004-12-28 Peter Bartok <[email protected]>
  12367. * CommonDialog.cs:
  12368. - Made DialogForm.owner variable internal
  12369. - Added check to ensure owner form is set before setting
  12370. owner properties in CreateParams
  12371. 2004-12-28 Geoff Norton <[email protected]>
  12372. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  12373. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  12374. GetCursorPos. Fix major visibility issues. Rework the windowing
  12375. system to support borderless/titleless windows (implements menus).
  12376. Fix GetWindowPos. Implement initial background color support for
  12377. views.
  12378. 2004-12-28 Peter Bartok <[email protected]>
  12379. * Form.cs (get_CreateParams): Make sure we have an owner before using
  12380. the owner variable. Implement proper default if no owner exists
  12381. 2004-12-28 Peter Bartok <[email protected]>
  12382. * In preparation for making Managed.Windows.Forms the default build target
  12383. for System.Windows.Forms, the following stubbed files were added.
  12384. Dialogs are currently being implemented by contributors and are only
  12385. short-term place holders.
  12386. * ColorDialog.cs: Initial check-in (minmal stub)
  12387. * DataGrid.cs: Initial check-in (minimal stub)
  12388. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  12389. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  12390. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  12391. * FontDialog.cs: Initial check-in (minimal stub)
  12392. * FileDialog.cs: Initial check-in (minimal stub)
  12393. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  12394. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  12395. * OpenFileDialog: Initial check-in (minimal stub)
  12396. * IComponentEditorPageSite.cs: Initial check-in
  12397. * Splitter.cs: Initial check-in (for Jackson)
  12398. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  12399. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  12400. * TextBox.cs: Initial check-in; still needs some wiring to
  12401. TextControl backend
  12402. * Form.cs: Implemented ControlBox property
  12403. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  12404. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  12405. * TextControl.cs: Added selection functionality; added todo header
  12406. * TextBoxBase.cs:
  12407. - Implemented Lines property
  12408. - Implemented TextHeight property
  12409. - Implemented SelectedText property
  12410. - Implemented SelectionLength property
  12411. - Implemented SelectAll method
  12412. - Implemented ToString method
  12413. - Removed and cleaned up some debug code
  12414. - Implemented (still buggy) mouse text selection
  12415. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  12416. * ComboBox.cs: Complete DropDownList implementation, fixes.
  12417. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  12418. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  12419. * ComboBoxStyle.cs: ComboBoxStyle enum
  12420. * ComboBox.cs: Initial work on ComboBox control
  12421. 2004-12-21 Peter Bartok <[email protected]>
  12422. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  12423. forward so that anything that creates a window gets the default,
  12424. also no longer uses Visible property in CreateParams to avoid
  12425. walking up the parent chain and possibly get the wrong visible
  12426. status. Fixed IsVisible to no longer walk up to the parent.
  12427. 2004-12-21 Peter Bartok <[email protected]>
  12428. * Form.cs (ShowDialog): Unset modality for the proper window
  12429. 2004-12-20 Peter Bartok <[email protected]>
  12430. * CommonDialog.cs: Initial check-in
  12431. 2004-12-20 Peter Bartok <[email protected]>
  12432. * Control.cs (Visible): Now uses the parent window instead of the
  12433. client area window for the property
  12434. * Form.cs
  12435. - ShowDialog(): Now uses the proper window for modality
  12436. - The default visibility state for the form parent is now false. This
  12437. will prevent the user from seeing all the changes to the form and
  12438. its controls before the application hits Application.Run()
  12439. - Removed some stale commented out code
  12440. * NativeWindow.cs:
  12441. - Added FindWindow() method to have a method to check for existence
  12442. of a window handle
  12443. - Added ability to override default exception handling (for example
  12444. when debugging with VS.Net; to do this the ExternalExceptionHandler
  12445. define must be set
  12446. - Removed some useless debug output
  12447. * XplatUIX11.cs:
  12448. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  12449. not working as expected
  12450. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  12451. property to allow switching back to the modal window if focus is
  12452. given to another one of our windows (Application Modal)
  12453. - Now only sets override_redirect if we create a window
  12454. without WS_CAPTION
  12455. - Moved EventMask selection before mapping of newly created window
  12456. so we can catch the map event as well
  12457. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  12458. - Added various Atom related DllImports
  12459. - Implemented Exit() method
  12460. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  12461. in the CreateParams
  12462. * MessageBox.cs: Now properly deals with the FormParent window by
  12463. providing an override the FormParent CreateParams property to
  12464. set as POPUP instead of OVERLAPPED window.
  12465. 2004-12-19 Geoff Norton <[email protected]>
  12466. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  12467. Minor code cleanup.
  12468. 2004-12-19 Geoff Norton <[email protected]>
  12469. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  12470. 2004-12-18 Peter Bartok <[email protected]>
  12471. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  12472. implementing SetModal() method
  12473. 2004-12-18 Peter Bartok <[email protected]>
  12474. * X11Structs.cs (XGCValues): Fixed type of function element
  12475. * XplatUI.cs: Added ScrollWindow() method
  12476. * XplatUIDriver.cs: Added ScrollWindow() abstract
  12477. * XplatUIWin32.cs: Implemented ScrollWindow() method
  12478. * XplatUIX11.cs: Implemented ScrollWindow() method
  12479. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  12480. 2004-12-17 Geoff Norton <[email protected]>
  12481. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  12482. Some more keyboard support (INCOMPLETE)
  12483. 2004-12-17 Peter Bartok <[email protected]>
  12484. * TextControl.cs:
  12485. - Added color attribute to line tags.
  12486. - Added color argument to all functions dealing with tags
  12487. - Added color argument support to various functions
  12488. - Fixed miss-calculation of baseline/shift in certain circumstances
  12489. * TextBoxBase.cs: Added new color option to test code
  12490. 2004-12-17 Jackson Harper <[email protected]>
  12491. * TreeNode.cs:
  12492. * MonthCalendar.cs: Signature fixes
  12493. 2004-12-17 Geoff Norton <[email protected]>
  12494. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  12495. keyboard event moved it. Create a new graphics context for each paint resolves this
  12496. 2004-12-17 Geoff Norton <[email protected]>
  12497. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  12498. Make caret exist and go blink blink. Initial keyboard support.
  12499. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  12500. works.
  12501. 2004-12-17 Jackson Harper <[email protected]>
  12502. * XplatUIStructs.cs: Updated set of virtual keycodes.
  12503. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  12504. 2004-12-17 Jackson Harper <[email protected]>
  12505. * XplatUIX11.cs: Prune old keyboard code.
  12506. 2004-12-17 Jackson Harper <[email protected]>
  12507. * XplatUIX11.cs: When generating mouse wparams get the modifier
  12508. keys from the ModifierKeys property.
  12509. 2004-12-17 Jackson Harper <[email protected]>
  12510. * X11Keyboard.cs: Send up/down input when generating
  12511. messages. Remove some unused vars.
  12512. 2004-12-17 Jackson Harper <[email protected]>
  12513. * TabControl.cs:
  12514. * TreeView.cs: get rid of warnings.
  12515. 2004-12-17 Jackson Harper <[email protected]>
  12516. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  12517. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  12518. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  12519. CheckedListBox.cs: Implementation
  12520. 2004-12-17 Peter Bartok <[email protected]>
  12521. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  12522. 2004-12-16 Peter Bartok <[email protected]>
  12523. * TextControl.cs:
  12524. - InsertCharAtCaret(): Fixed start pos fixup
  12525. - CaretLine_get: No longer derives the line from the tag, the tag
  12526. could be stale if lines in the document have been added or deleted
  12527. - RebalanceAfterDelete(): Fixed bug in balancing code
  12528. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  12529. - Line.Streamline(): Now can also elminate leading empty tags
  12530. - DumpTree(): Added a few more tests and prevented exception on
  12531. uninitialized data
  12532. - Added Debug section for Combining lines
  12533. - Delete(): Now copies all remaining properties of a line
  12534. * TextBoxBase.cs:
  12535. - Left mousebutton now sets the caret (and middle button still acts
  12536. as formatting tester, which must go away soon)
  12537. - Added Debug section for Deleting/Combining lines
  12538. - Fixed calculations for UpdateView after Combining lines
  12539. 2004-12-16 Peter Bartok <[email protected]>
  12540. * TextControl.cs: Now properly aligns text on a baseline, using the
  12541. new XplatUI.GetFontMetrics() method. Simplified several calculations
  12542. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  12543. defined
  12544. 2004-12-16 Peter Bartok <[email protected]>
  12545. * XplatUI.cs: Added GetFontMetrics() method
  12546. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  12547. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  12548. into libgdiplus, our private GetFontMetrics function
  12549. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  12550. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  12551. 2004-12-16 Jackson Harper <[email protected]>
  12552. * XplatUIStruct.cs: Add enum for dead keys
  12553. * X11Keyboard.cs: Map and unmap dead keys.
  12554. 2004-12-16 Jackson Harper <[email protected]>
  12555. * X11Keyboard.cs: Detect and use the num lock mask.
  12556. 2004-12-16 Peter Bartok <[email protected]>
  12557. * Control.cs (CreateGraphics): Added check to make sure the
  12558. handle of the window exists before calling Graphics.FromHwnd()
  12559. 2004-12-16 Peter Bartok <[email protected]>
  12560. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  12561. contains a lot of code that's not supposed to be there for the
  12562. real thing, but required for developing/testing the textbox
  12563. backend.
  12564. 2004-12-16 Peter Bartok <[email protected]>
  12565. * TextControl.cs:
  12566. - Fixed Streamline method
  12567. - Added FindTag method to Line
  12568. - Added DumpTree method for debugging
  12569. - Added DecrementLines() method for deleting lines
  12570. - Fixed UpdateView to update the cursor to end-of-line on single-line
  12571. updates
  12572. - Added PositionCaret() method
  12573. - Fixed MoveCaret(LineDown) to move into the last line, too
  12574. - Added InsertChar overload
  12575. - Fixed InsertChar tag offset calculations
  12576. - Added DeleteChar() method
  12577. - Added Combine() method for folding lines
  12578. - Fixed Delete() method, no longer allocates wasted Line object and
  12579. now copies all properties when swapping nodes
  12580. - Delete() method now updates document line counter
  12581. 2004-12-15 Jackson Harper <[email protected]>
  12582. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  12583. * X11Keyboard.cs: Expose the currently selected modifier keys
  12584. through a property.
  12585. 2004-12-15 Peter Bartok <[email protected]>
  12586. * TextControl.cs: Initial check-in. Still incomplete
  12587. 2004-12-15 Jackson Harper <[email protected]>
  12588. * TreeNode.cs:
  12589. * TreeView.cs: Fix build on csc (second time today ;-))
  12590. 2004-12-15 Jackson Harper <[email protected]>
  12591. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  12592. is calculated and use this for click testing.
  12593. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  12594. 2004-12-15 Jackson Harper <[email protected]>
  12595. * TreeView.cs: Pass the nodes image index to the image list when
  12596. drawing that image.
  12597. 2004-12-15 Jackson Harper <[email protected]>
  12598. * X11Keyboard.cs: Set messages hwnd.
  12599. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  12600. post_message calls.
  12601. 2004-12-15 Jackson Harper <[email protected]>
  12602. * X11Keyboard.cs: Fix to compile with csc.
  12603. 2004-12-15 Jackson Harper <[email protected]>
  12604. * X11Structs.cs: Add key mask values
  12605. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  12606. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  12607. down/up foo into WM_CHAR foo
  12608. * KeyboardLayouts.cs: Common keyboard layouts
  12609. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  12610. post messages into the main queue.
  12611. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  12612. * Button.cs: implement ProcessMnemonic
  12613. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  12614. brushes everytime
  12615. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  12616. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  12617. 2004-12-12 John BouAntoun <[email protected]>
  12618. * MonthCalendar.cs: Implemented click-hold for next/previous month
  12619. and date selection
  12620. 2004-12-11 Peter Bartok <[email protected]>
  12621. * X11Structs.cs:
  12622. - Added XKeyboardState (moved from XplatUIX11.cs)
  12623. - Added XCreateGC related enums and structures
  12624. - Added GXFunction for XSetFunction
  12625. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  12626. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  12627. CaretVisible() calls
  12628. * ToolTip.cs: Added code to prevent stealing focus from app windows
  12629. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  12630. DestroyCaret, SetCaretPos and CaretVisible)
  12631. * XplatUIX11.cs:
  12632. - Added implementation for caret functions
  12633. - Moved hover variables into a struct, to make it a bit easier
  12634. on the eyes and to debug
  12635. - Removed XKeyboardState (moved to XplatUIX11.cs)
  12636. - Moved Keyboard properties into the properties region
  12637. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  12638. call to get a graphics context for our control
  12639. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  12640. * TreeView.cs: Fixed bug. No matter what color was set it would always
  12641. return SystemColors.Window
  12642. * XplatUIWin32.cs: Implemented caret overrides
  12643. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  12644. * ListBox.cs: fire events, implement missing methods and properties,
  12645. sorting.
  12646. 2004-12-10 John BouAntoun <[email protected]>
  12647. * MonthCalendar.cs: invalidation bug fixing
  12648. * ThemeWin32Classic.cs: paint fixing
  12649. 2004-12-09 Geoff Norton <[email protected]>
  12650. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  12651. prepare the CGContextRef there now.
  12652. 2004-12-09 John BouAntoun <[email protected]>
  12653. * MonthCalendar.cs:
  12654. - optimisationL only invalidate areas that have changed
  12655. * ThemeWin32Classic.cs:
  12656. - only paint parts that intersect with clip_area
  12657. 2004-12-09 Peter Bartok <[email protected]>
  12658. * Application.cs: Undid changes from r37004 which cause problems
  12659. on X11
  12660. 2004-12-09 Ravindra <[email protected]>
  12661. * ToolBar.cs: Added support for displaying ContextMenu
  12662. attached to a button on ToolBar.
  12663. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  12664. property.
  12665. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  12666. * Label.cs: autosize works in text change and removes unnecessary
  12667. invalidate
  12668. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  12669. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  12670. remove warnings
  12671. 2004-12-08 Geoff Norton <[email protected]>
  12672. * XplatUIOSX.cs: Added mouse move/click/grab support
  12673. Remove some debugging WriteLines not needed anymore.
  12674. Add window resizing/positioning.
  12675. Fix visibility on reparenting.
  12676. 2004-12-08 Peter Bartok <[email protected]>
  12677. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  12678. 2004-12-07 Geoff Norton <[email protected]>
  12679. * XplatUIOSX.cs: Initial checkin
  12680. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  12681. 2004-12-03 Ravindra <[email protected]>
  12682. * ListView.cs: Added some keybindings and fixed scrolling.
  12683. ScrollBars listen to ValueChanged event instead of Scroll
  12684. Event. This would let us take care of all changes being
  12685. done in the scrollbars' values programmatically or manually.
  12686. * ListView.cs (CanMultiselect): Added a check for shift key.
  12687. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  12688. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  12689. of ListViewSubItemCollection as well.
  12690. 2004-12-06 Peter Bartok <[email protected]>
  12691. * Control.cs (Parent): Added check and exception to prevent
  12692. circular parenting
  12693. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  12694. * ListBox.cs: implemented clipping, selection single and multiple,
  12695. bug fixing
  12696. 2004-12-03 Ravindra <[email protected]>
  12697. * ListView.cs (ListView_KeyDown):
  12698. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  12699. when CTRL key is pressed.
  12700. * ListViewItem.cs (Selected): Fixed setting the property.
  12701. 2004-12-03 Marek Safar <[email protected]>
  12702. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  12703. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  12704. MinimizeBox, ShowInTaskbar, TopMost properties.
  12705. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  12706. will be implemented).
  12707. 2004-12-03 Marek Safar <[email protected]>
  12708. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  12709. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  12710. tests.
  12711. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  12712. * TreeView.cs: BackColor is Colors.Window.
  12713. 2004-12-01 Jackson Harper <[email protected]>
  12714. * TreeView.cs: When resizing the tree if the user is making it
  12715. smaller we don't get expose events, so we need to handle adding
  12716. the horizontal scrollbar in the size changed handler as well as
  12717. the expose handler.
  12718. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  12719. * DrawItemState.cs: fixes wrong enum values
  12720. 2004-12-01 Jackson Harper <[email protected]>
  12721. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  12722. 2004-12-01 Jackson Harper <[email protected]>
  12723. * NodeLabelEditEventArgs.cs:
  12724. * NodeLabelEditEventHandler.cs:
  12725. * OpenTreeNodeEnumerator.cs:
  12726. * TreeNode.cs:
  12727. * TreeNodeCollection.cs:
  12728. * TreeView.cs:
  12729. * TreeViewAction.cs:
  12730. * TreeViewCancelEventArgs.cs:
  12731. * TreeViewCancelEventHandler.cs:
  12732. * TreeViewEventArgs.cs:
  12733. * TreeViewEventHandler.cs: Initial implementation.
  12734. 2004-12-01 Ravindra <[email protected]>
  12735. * ListView.cs (CalculateListView): Fixed scrolling related
  12736. calculations. Also, removed some debug statements from other
  12737. places.
  12738. * ListViewItem.cs: Changed access to 'selected' instance variable
  12739. from private to internal.
  12740. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  12741. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  12742. * ThemeWin32Classic.cs: remove cache of brush and pens for
  12743. specific controls and use the global system, fixes scrollbutton
  12744. bugs (for small sizes, disabled, etc)
  12745. * ScrollBar.cs: does not show the thumb for very small controls
  12746. (as MS) and allow smaller buttons that the regular size
  12747. 2004-12-01 Miguel de Icaza <[email protected]>
  12748. * UpDownBase.cs: Add abstract methods for the interface.
  12749. Add new virtual methods (need to be hooked up to TextEntry when it
  12750. exists).
  12751. Add override methods for most features.
  12752. Computes the size, forces the height of the text entry.
  12753. * NumericUpDown.cs: Put here the current testing code.
  12754. * Set eol-style property on all files that do not have mixed line
  12755. endings, to minimize the future problems. There are still a few
  12756. files with mixed endings, and someone should choose whether they
  12757. want to move it or not.
  12758. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  12759. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  12760. System.Colors
  12761. 2004-11-30 Ravindra <[email protected]>
  12762. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  12763. drawing and replaced use of SystemColors by theme colors.
  12764. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  12765. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  12766. same ListViewItem is being added more than once.
  12767. 2004-11-30 John BouAntoun <[email protected]>
  12768. * MonthCalendar.cs:
  12769. - ControlStyles love to make the control not flicker
  12770. 2004-11-30 Peter Bartok <[email protected]>
  12771. * CharacterCasing.cs: Added
  12772. 2004-11-29 Peter Bartok <[email protected]>
  12773. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  12774. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  12775. I am removing these files as they conflict with already completed
  12776. work. While it is fantastic to get contributions to MWF, I
  12777. respectfully ask that everyone please coordinate their contributions
  12778. through mono-winforms-list or #mono-winforms at this time. We're
  12779. explicitly avoiding stubbing and don't want controls that don't have
  12780. their basic functionality implemented in svn. Please also see
  12781. http://www.mono-project.com/contributing/winforms.html
  12782. 2004-11-29 Marek Safar <[email protected]>
  12783. * Application.cs (ModalRun): Don't hang after exit.
  12784. * Theme.cs: New TreeViewDefaultSize property.
  12785. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  12786. with less hardcoded SystemColors constant.
  12787. Implemented TreeViewDefaultSize.
  12788. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  12789. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  12790. 2004-11-29 John BouAntoun <[email protected]>
  12791. * MonthCalendar.cs:
  12792. - Fix NextMonthDate and PrevMonthDate click moving calendar
  12793. 2004-11-26 John BouAntoun <[email protected]>
  12794. * MonthCalendar.cs:
  12795. - Fix usage of ScrollChange Property when scrolling months
  12796. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  12797. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  12798. - Fixes menu destroying
  12799. - Support adding and removing items on already created menus
  12800. 2004-11-26 John BouAntoun <[email protected]>
  12801. * MonthCalendar.cs:
  12802. - Re-worked all bolded dates handling to match win32
  12803. * ThemeWin32Classic.cs:
  12804. - Fixed rendering with bolded dates
  12805. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  12806. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  12807. - Horizontal scroolbar
  12808. - Multicolumn
  12809. - Fixes
  12810. 2004-11-25 John BouAntoun <[email protected]>
  12811. * MonthCalendar.cs:
  12812. - Fix Usage of MaxSelectionCount from SelectionRange
  12813. - Fixed Shift + Cursor Selection
  12814. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  12815. - Fixed normal cursor selection to be compat with win32
  12816. - Fixed Shift + Mouse Click selection
  12817. 2004-11-24 Peter Bartok <[email protected]>
  12818. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  12819. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  12820. * XplatUIX11.cs:
  12821. - CreatedKeyBoardMsg now updates keystate with Alt key
  12822. - Added workaround for timer crash to CheckTimers, Jackson will
  12823. develop a proper fix and check in later
  12824. - Implemented DispatchMessage
  12825. - Removed calling the native window proc from GetMessage (call
  12826. now moved to DispatchMessage)
  12827. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  12828. the keydata (Fixes bug #69831)
  12829. * XplatUIWin32.cs:
  12830. - (DispatchMessage): Switched to return IntPtr
  12831. - Added DllImport for SetFocus
  12832. 2004-11-24 Ravindra <[email protected]>
  12833. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  12834. background drawing.
  12835. * ListViewItem.cs: Fixed various properties, calculations
  12836. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  12837. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  12838. and some internal properties. Fixed MouseDown handler and Paint
  12839. method.
  12840. 2004-11-24 John BouAntoun <[email protected]>
  12841. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  12842. 2004-11-24 John BouAntoun <[email protected]>
  12843. * ContainerControl.cs: correct accidental check in of local changes
  12844. 2004-11-24 John BouAntoun <[email protected]>
  12845. * ThemeWin32Classic.cs:
  12846. - Fixed Drawing Last month in grid (sometimes not showing)
  12847. * MonthCalendar.cs:
  12848. - Fixed title width calculation bug (makeing title small)
  12849. 2004-11-23 Peter Bartok <[email protected]>
  12850. * XplatUIX11.cs:
  12851. - Added generation of WM_MOUSEHOVER event
  12852. - Added missing assignment of async_method atom
  12853. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  12854. 2004-11-23 John BouAntoun <[email protected]>
  12855. * ThemeWin32Classic.cs:
  12856. - Fixed Drawing of today circle when showtodaycircle not set
  12857. - fixed drawing of first and last month in the grid (gay dates)
  12858. * MonthCalendar.cs:
  12859. - Fixed Drawing of today circle
  12860. - Fixed drawing of grady dates
  12861. - Fixed HitTest for today link when ShowToday set to false
  12862. - Fixed DefaultSize to obey ShowToday
  12863. 2004-11-23 John BouAntoun <[email protected]>
  12864. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  12865. * System.Windows.Forms/Theme.cs
  12866. * MonthCalendar.cs: added for MonthCalendar
  12867. * SelectionRange.cs: added for MonthCalendar
  12868. * Day.cs: added for MonthCalendar: added for MonthCalendar
  12869. * DateRangeEventArgs.cs: added for MonthCalendar
  12870. * DateRangeEventHandler.cs: added for MonthCalendar
  12871. 2004-11-22 Ravindra <[email protected]>
  12872. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  12873. property.
  12874. 2004-11-22 Miguel de Icaza <[email protected]>
  12875. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  12876. event handler.
  12877. * NumericUpDown.cs: Added new implementation.
  12878. * UpDownBase.cs: Added new implementation.
  12879. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  12880. implementations.
  12881. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  12882. implementations.
  12883. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  12884. methods.
  12885. 2004-11-21 Miguel de Icaza <[email protected]>
  12886. * Timer.cs (Dispose): Should call the base dispose when
  12887. overriding.
  12888. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  12889. * ScrollBar.cs: updates thumb position when max, min or increment
  12890. is changed
  12891. 2004-11-21 Ravindra <[email protected]>
  12892. * ListView.cs: Implemented item selection, activation and
  12893. column header style. Fixed properties to do a redraw, if
  12894. required. Added support for MouseHover, DoubleClick, KeyDown
  12895. and KeyUp event handling and some minor fixes.
  12896. * ListViewItem.cs: Fixed constructor.
  12897. * ThemeWin32Classic.cs: Improved drawing for ListView.
  12898. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  12899. * ThemeWin32Classic.cs: initial listbox drawing code
  12900. * DrawMode.cs: new enumerator
  12901. * ListControl.cs: stubbed class
  12902. * ListBox.cs: initial implementation
  12903. * Theme.cs: new methods definitions
  12904. * SelectionMode.cs: new enumerator
  12905. 2004-11-17 Peter Bartok <[email protected]>
  12906. * XplatUIWin32.cs: Added double-click events to the class style
  12907. * Control.cs (WndProc):
  12908. - Added handling of click-count to MouseDown/ MouseUp events.
  12909. - Added handling of middle and right mouse buttons
  12910. - Removed old debug code
  12911. 2004-11-17 Jackson Harper <[email protected]>
  12912. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  12913. 2004-11-17 Ravindra <[email protected]>
  12914. * ListView.cs: Added event handling for MouseMove/Up/Down.
  12915. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  12916. * ThemeWin32Classic.cs: We need to clear the graphics context and
  12917. draw column header in a proper state.
  12918. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  12919. * Menu.cs: fixes signature
  12920. 2004-11-16 Peter Bartok <[email protected]>
  12921. * XplatUIX11.cs (GetMessage): Implemented generation of
  12922. double click mouse messages
  12923. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  12924. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  12925. not by menu
  12926. 2004-11-11 Peter Bartok <[email protected]>
  12927. * HandleData.cs: Added Visible property
  12928. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  12929. HandleData
  12930. * XplatUIX11.cs: Removed old debug leftovers
  12931. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  12932. * Control.cs (WndProc): Removed old debug leftovers,
  12933. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  12934. needed WM_SIZE handling
  12935. 2004-11-11 Jackson Harper <[email protected]>
  12936. * OwnerDrawPropertyBag.cs:
  12937. * TreeViewImageIndexConverter.cs: Initial implementation
  12938. 2004-11-10 Jackson Harper <[email protected]>
  12939. * ThemeWin32Classic.cs:
  12940. * TabControl.cs: instead of moving tabs by the slider pos just
  12941. start drawing at the tab that is offset by the slider. This way
  12942. scrolling always moves by exactly one tab.
  12943. 2004-11-10 Jackson Harper <[email protected]>
  12944. * TabControl.cs: You can only scroll left when the slider has
  12945. already ben moved right.
  12946. 2004-11-10 Jackson Harper <[email protected]>
  12947. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  12948. the clip area.
  12949. 2004-11-10 Jackson Harper <[email protected]>
  12950. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  12951. clip area.
  12952. 2004-11-09 Jackson Harper <[email protected]>
  12953. * TabControl.cs (CalcXPos): New helper method so we can determine
  12954. the proper place to start drawing vertical tabs.
  12955. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  12956. 2004-11-09 Jackson Harper <[email protected]>
  12957. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  12958. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  12959. and Bottom, left and right are illegal values for this and
  12960. multiline is enabled when the alignment is set to left or right.
  12961. (DrawTab): Each alignment block should draw the text itself now
  12962. because Left requires special love. Also add rendering for Left
  12963. aligned tabs.
  12964. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  12965. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  12966. does not destroy the windows, removes debugging messages
  12967. 2004-11-09 jba <[email protected]>
  12968. * ThemeWin32Classic.cs
  12969. (DrawButtonBase): Fix verticle text rect clipping in windows
  12970. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  12971. rendering and incorrect text rect clipping
  12972. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  12973. rendering and incorrect text rect clipping
  12974. 2004-11-08 Jackson Harper <[email protected]>
  12975. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  12976. bottom when they are bottom aligned so the bottoms of the tabs get
  12977. displayed.
  12978. * TabControl.cs (DropRow): Move rows up instead of down when the
  12979. tab control is bottom aligned.
  12980. 2004-11-08 13:59 pbartok
  12981. * XplatUIX11.cs:
  12982. - Added handling for various window styles
  12983. - Added handling for popup windows
  12984. - Added SetTopmost handling
  12985. 2004-11-08 13:55 pbartok
  12986. * XplatUIWin32.cs:
  12987. - Added argument to SetTopmost method
  12988. - Fixed broken ClientToScreen function
  12989. 2004-11-08 13:53 pbartok
  12990. * XplatUIStructs.cs:
  12991. - Added missing WS_EX styles
  12992. 2004-11-08 13:53 pbartok
  12993. * XplatUI.cs, XplatUIDriver.cs:
  12994. - Added argument to SetTopmost
  12995. 2004-11-08 13:52 pbartok
  12996. * X11Structs.cs:
  12997. - Added XSetWindowAttributes structure
  12998. - Improved XWindowAttributes structure
  12999. - Added SetWindowValuemask enum
  13000. - Added window creation arguments enum
  13001. - Added gravity enum
  13002. - Added Motif hints structure
  13003. - Added various Motif flags and enums
  13004. - Added PropertyMode enum for property functions
  13005. 2004-11-08 13:50 pbartok
  13006. * Form.cs:
  13007. - Fixed arguments for updated SetTopmost method
  13008. 2004-11-08 13:49 pbartok
  13009. * ToolTip.cs:
  13010. - Fixed arguments for updated SetTopmost function
  13011. - Fixed usage of PointToClient
  13012. 2004-11-08 13:44 pbartok
  13013. * MenuAPI.cs:
  13014. - Added Clipping of children and siblings
  13015. 2004-11-08 13:41 pbartok
  13016. * MainMenu.cs:
  13017. - Removed SetMenuBarWindow call. We do this in Form.cs
  13018. 2004-11-08 13:40 jackson
  13019. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  13020. scrolling jimmi in the correct location with bottom aligned tabs
  13021. 2004-11-08 13:36 pbartok
  13022. * ContainerControl.cs:
  13023. - Implemented BindingContext
  13024. - Implemented ParentForm
  13025. 2004-11-08 12:46 jackson
  13026. * TabControl.cs: Put bottom rendered tabs in the right location
  13027. 2004-11-08 07:15 jordi
  13028. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  13029. removes dead code
  13030. 2004-11-05 17:30 jackson
  13031. * TabControl.cs: When selected tabs are expanded make sure they
  13032. don't go beyond the edges of the tab control
  13033. 2004-11-05 14:57 jackson
  13034. * TabControl.cs: Reset show_slider so if the control is resized to
  13035. a size where it is no longer needed it's not displayed anymore
  13036. 2004-11-05 13:16 jackson
  13037. * TabControl.cs: Make tab pages non visible when added to the
  13038. control
  13039. 2004-11-05 12:42 jackson
  13040. * TabControl.cs: Implement SizeMode.FillToRight
  13041. 2004-11-05 12:16 jackson
  13042. * Control.cs: Do not call CreateHandle if the handle is already
  13043. created
  13044. 2004-11-05 11:46 jackson
  13045. * TabControl.cs: Remove superflous call to CalcTabRows
  13046. 2004-11-05 09:07 jackson
  13047. * XplatUIX11.cs: Update for Mono.Posix changes
  13048. 2004-11-05 07:00 ravindra
  13049. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  13050. scrolling.
  13051. 2004-11-04 22:47 jba
  13052. * ThemeWin32Classic.cs:
  13053. - Fix Button rendering for FlatStyle = Flat or Popup
  13054. - Fix RadioButton and CheckBox rendering when Appearance = Button
  13055. (normal and flatstyle).
  13056. - Correct outer rectangle color when drawing focus rectangle
  13057. - Adjust button bounds to be 1 px smaller when focused
  13058. - Make button not draw sunken 3d border when pushed (windows compat)
  13059. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  13060. - Offset the text in RadioButton and Checkbox when being rendered as
  13061. a button.
  13062. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  13063. radiobuttons
  13064. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  13065. - Fixed disabled text rendering for normally rendered radiobuttons
  13066. 2004-11-04 10:26 jackson
  13067. * TabControl.cs: Recalculate tab rows when resizing
  13068. 2004-11-04 07:47 jordi
  13069. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  13070. collection completion, drawing issues, missing features
  13071. 2004-11-04 05:03 ravindra
  13072. * ScrollBar.cs:
  13073. - We need to recalculate the Thumb area when
  13074. LargeChange/maximum/minimum values are changed.
  13075. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  13076. than minimum. This is required to handle the case if large_change is
  13077. more than max, and use LargeChange property instead of large_change
  13078. variable.
  13079. - We return max+1 when large_change is more than max, like MS does.
  13080. 2004-11-04 04:29 ravindra
  13081. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  13082. - Changed default value signatures (prefixed all with ListView).
  13083. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  13084. ListView.
  13085. - Fixed calculations for ListViewItem and implemented Clone()
  13086. method.
  13087. 2004-11-04 04:26 ravindra
  13088. * Theme.cs, ThemeWin32Classic.cs:
  13089. - Changed default ListView values signatures (prefixed all with
  13090. ListView).
  13091. - Fixed default size values for VScrollBar and HScrollBar.
  13092. - Fixed DrawListViewItem method.
  13093. 2004-11-04 04:05 ravindra
  13094. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  13095. 2004-11-04 04:04 ravindra
  13096. * ImageList.cs: Implemented the missing overload for Draw method.
  13097. 2004-11-03 19:29 jackson
  13098. * TabControl.cs: Handle dropping rows on selection properly
  13099. 2004-11-03 11:59 jackson
  13100. * TabControl.cs: remove debug code
  13101. 2004-11-03 11:52 jackson
  13102. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  13103. the scrolly widgerywoo
  13104. 2004-11-02 13:52 jackson
  13105. * TabControl.cs: Resize the tab pages and tabs when the tab control
  13106. is resized
  13107. 2004-11-02 13:40 jackson
  13108. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  13109. selected tab to the bottom
  13110. 2004-11-02 13:39 jackson
  13111. * TabPage.cs: Store the tab pages row
  13112. 2004-11-02 12:33 jordi
  13113. * MenuItem.cs: fixes handle creation
  13114. 2004-11-02 11:42 jackson
  13115. * TabControl.cs: signature fix
  13116. 2004-11-02 08:56 jackson
  13117. * TabControl.cs: Calculate whether the tab is on an edge properly.
  13118. Remove top secret debugging code
  13119. 2004-11-01 19:57 jackson
  13120. * TabControl.cs: Add click handling, and proper sizing
  13121. 2004-11-01 19:47 jackson
  13122. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  13123. tab controls
  13124. 2004-11-01 19:39 jackson
  13125. * TabPage.cs: add internal property to store the bounds of a tab
  13126. page
  13127. 2004-10-30 04:23 ravindra
  13128. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  13129. values.
  13130. 2004-10-30 04:21 ravindra
  13131. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  13132. fixed calculations.
  13133. 2004-10-30 03:06 pbartok
  13134. * XplatUIX11.cs:
  13135. - Removed extension of DllImported libs
  13136. 2004-10-29 09:55 jordi
  13137. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  13138. navigation, itemcollection completion, menu fixes
  13139. 2004-10-27 22:58 pbartok
  13140. * XplatUIX11.cs:
  13141. - Now throws a nice error message when no X display could be opened
  13142. 2004-10-26 13:51 jordi
  13143. * ListView.cs: removes warning
  13144. 2004-10-26 03:55 ravindra
  13145. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  13146. ThemeWin32Classic.cs: Some formatting for my last checkins.
  13147. 2004-10-26 03:36 ravindra
  13148. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  13149. control and default values.
  13150. 2004-10-26 03:35 ravindra
  13151. * Theme.cs: Added some default values for ListView control.
  13152. 2004-10-26 03:33 ravindra
  13153. * ToolBar.cs: ToolBar should use the user specified button size, if
  13154. there is any. Added a size_specified flag for the same.
  13155. 2004-10-26 03:33 ravindra
  13156. * ColumnHeader.cs: Added some internal members and calculations for
  13157. ColumnHeader.
  13158. 2004-10-26 03:32 ravindra
  13159. * ListViewItem.cs: Calculations for ListViewItem.
  13160. 2004-10-26 03:31 ravindra
  13161. * ListView.cs: Added some internal members and calculations for
  13162. ListView.
  13163. 2004-10-22 13:31 jordi
  13164. * MenuAPI.cs: speedup menus drawing
  13165. 2004-10-22 13:16 jackson
  13166. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  13167. expose event
  13168. 2004-10-22 11:49 jackson
  13169. * Control.cs: oops
  13170. 2004-10-22 11:41 jackson
  13171. * Control.cs: Check to see if the window should have its background
  13172. repainted by X when drawing.
  13173. 2004-10-22 11:31 jackson
  13174. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  13175. clear is true, this way we do not get flicker from X repainting the
  13176. background
  13177. 2004-10-22 11:28 jackson
  13178. * XEventQueue.cs: Queue properly
  13179. 2004-10-21 09:38 jackson
  13180. * XEventQueue.cs: Fix access modifier
  13181. 2004-10-21 09:36 jackson
  13182. * XEventQueue.cs: Don't loose messages
  13183. 2004-10-21 09:22 jackson
  13184. * XEventQueue.cs: Don't loose messages
  13185. 2004-10-20 04:15 jordi
  13186. * BootMode.cs: enum need it by SystemInfo
  13187. 2004-10-19 21:58 pbartok
  13188. * XplatUIWin32.cs:
  13189. - Small sanity check
  13190. 2004-10-19 21:56 pbartok
  13191. * Form.cs:
  13192. - Added private FormParentWindow class which acts as the container
  13193. for our form and as the non-client area where menus are drawn
  13194. - Added/Moved required tie-ins to Jordi's menus
  13195. - Fixed/Implemented the FormStartPosition functionality
  13196. 2004-10-19 21:52 pbartok
  13197. * Control.cs:
  13198. - Removed unneeded locals
  13199. - Added code to all size and location properties to understand and
  13200. deal with the parent container of Form
  13201. 2004-10-19 21:33 pbartok
  13202. * Application.cs:
  13203. - Fixed to deal with new Form subclasses for menus
  13204. 2004-10-19 17:48 jackson
  13205. * XEventQueue.cs: commit correct version of file
  13206. 2004-10-19 16:50 jackson
  13207. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  13208. 2004-10-19 16:15 jordi
  13209. * MenuAPI.cs: MenuBarCalcSize returns the height
  13210. 2004-10-19 08:31 pbartok
  13211. * Control.cs:
  13212. - Added missing call to PreProcessMessage before calling OnXXXKey
  13213. methods
  13214. 2004-10-19 00:04 ravindra
  13215. * ToolTip.cs: Fixed constructor.
  13216. 2004-10-18 09:31 jordi
  13217. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  13218. 2004-10-18 09:26 jordi
  13219. * MenuItem.cs: fixes MenuItem class signature
  13220. 2004-10-18 08:56 jordi
  13221. * MenuAPI.cs: prevents windows from showing in the taskbar
  13222. 2004-10-18 00:28 ravindra
  13223. * ToolTip.cs: Suppressed a warning message.
  13224. 2004-10-18 00:27 ravindra
  13225. * Control.cs: Default value of visible property must be true.
  13226. 2004-10-17 23:19 pbartok
  13227. * ToolTip.cs:
  13228. - Complete implementation
  13229. 2004-10-17 23:19 pbartok
  13230. * XplatUIX11.cs:
  13231. - Added EnableWindow method
  13232. - Added SetModal stub
  13233. - Added generation of WM_ACTIVATE message (still needs testing)
  13234. - Added SetTopMost stub
  13235. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  13236. 2004-10-17 23:17 pbartok
  13237. * XplatUIWin32.cs:
  13238. - Removed VirtualKeys to XplatUIStructs
  13239. - Implemented SetTopMost method
  13240. - Implemented EnableWindow method
  13241. - Bugfix in ScreenToClient()
  13242. - Bugfixes in ClientToScreen()
  13243. 2004-10-17 22:51 pbartok
  13244. * XplatUIStructs.cs:
  13245. - Added WS_EX styles to WindowStyles enumeration
  13246. 2004-10-17 22:50 pbartok
  13247. * XplatUI.cs, XplatUIDriver.cs:
  13248. - Added method for enabling/disabling windows
  13249. - Added method for setting window modality
  13250. - Added method for setting topmost window
  13251. 2004-10-17 22:49 pbartok
  13252. * ThemeWin32Classic.cs:
  13253. - Added ToolTip drawing code
  13254. 2004-10-17 22:49 pbartok
  13255. * Theme.cs:
  13256. - Added ToolTip abstracts
  13257. 2004-10-17 22:47 pbartok
  13258. * Form.cs:
  13259. - Fixed Form.ControlCollection to handle owner relations
  13260. - Added Owner/OwnedForms handling
  13261. - Implemented Z-Ordering for owned forms
  13262. - Removed unneeded private overload of ShowDialog
  13263. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  13264. so I hope)
  13265. - Fixed Close(), had wrong default
  13266. - Added firing of OnLoad event
  13267. - Added some commented out debug code for Ownership handling
  13268. 2004-10-17 22:16 pbartok
  13269. * Control.cs:
  13270. - Fixed/implemented flat list of controls
  13271. 2004-10-17 22:14 pbartok
  13272. * Application.cs:
  13273. - Added code to simulate modal dialogs on Win32
  13274. 2004-10-17 16:11 jordi
  13275. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  13276. mouse event
  13277. 2004-10-17 13:39 jordi
  13278. * MenuAPI.cs: menu drawing fixes
  13279. 2004-10-15 09:10 ravindra
  13280. * StructFormat.cs: General Enum.
  13281. 2004-10-15 09:09 ravindra
  13282. * SizeGripStyle.cs: Enum for Form.
  13283. 2004-10-15 09:08 ravindra
  13284. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  13285. in Theme for ListView.
  13286. 2004-10-15 09:06 ravindra
  13287. * ColumnHeader.cs: Flushing some formatting changes.
  13288. 2004-10-15 09:05 ravindra
  13289. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  13290. style.
  13291. 2004-10-15 09:03 ravindra
  13292. * ListView.cs: Implemented Paint method and fixed coding style.
  13293. 2004-10-15 07:34 jordi
  13294. * MenuAPI.cs: fix for X11
  13295. 2004-10-15 07:32 ravindra
  13296. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  13297. - Renamed Paint() method to Draw() for clarity. Also, moved
  13298. DrawImage() to OnPaint().
  13299. 2004-10-15 07:25 ravindra
  13300. * CheckBox.cs, RadioButton.cs:
  13301. - Removed Redraw (), we get it from ButtonBase.
  13302. - Implemented Paint (), to do class specific painting.
  13303. 2004-10-15 07:16 ravindra
  13304. * ButtonBase.cs:
  13305. - Redraw () is not virtual now.
  13306. - Added an internal virtual method Paint (), so that
  13307. derived classes can do their painting on their own.
  13308. - Modified OnPaint () to call Paint ().
  13309. 2004-10-15 06:43 jordi
  13310. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  13311. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  13312. 2004-10-15 00:30 ravindra
  13313. * MessageBox.cs:
  13314. - MessageBox on windows does not have min/max buttons.
  13315. This change in CreateParams fixes this on Windows. We
  13316. still need to implement this windowstyle behavior in
  13317. our X11 driver.
  13318. 2004-10-14 05:14 ravindra
  13319. * ToolBar.cs:
  13320. - Changed Redraw () to do a Refresh () always.
  13321. - Fixed the MouseMove event handling when mouse is pressed,
  13322. ie drag event handling.
  13323. - Replaced the usage of ToolBarButton.Pressed property to
  13324. ToolBarButton.pressed internal variable.
  13325. 2004-10-14 05:10 ravindra
  13326. * ToolBarButton.cs:
  13327. - Added an internal member 'inside' to handle mouse move
  13328. with mouse pressed ie mouse drag event.
  13329. - Changed 'Pressed' property to return true only when
  13330. 'inside' and 'pressed' are both true.
  13331. - Some coding style love.
  13332. 2004-10-14 00:17 ravindra
  13333. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  13334. public method.
  13335. 2004-10-14 00:15 ravindra
  13336. * ButtonBase.cs: Redraw () related improvements.
  13337. 2004-10-14 00:14 ravindra
  13338. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  13339. removed unnecessary calls to Button.Show () method.
  13340. 2004-10-13 17:50 pbartok
  13341. * XplatUIX11.cs:
  13342. - Formatting fix
  13343. - Removed destroying of window until we solve the problem of X
  13344. destroying the window before us on shutdown
  13345. 2004-10-13 16:32 pbartok
  13346. * ButtonBase.cs:
  13347. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  13348. 2004-10-13 14:18 pbartok
  13349. * XplatUIX11.cs:
  13350. - Added code to destroy the X window
  13351. 2004-10-13 14:18 pbartok
  13352. * XplatUIWin32.cs:
  13353. - Added code to destroy a window
  13354. 2004-10-13 14:12 pbartok
  13355. * ButtonBase.cs:
  13356. - Added the Redraw on Resize that got dropped in the last rev
  13357. 2004-10-13 09:06 pbartok
  13358. * ThemeWin32Classic.cs:
  13359. - Path from John BouAntoun:
  13360. * Fix check rendering (centre correctly for normal style, offset
  13361. correctly for FlatStyle).
  13362. * Fix border color usage (use backcolor) for FlatStyle.Popup
  13363. * Use checkbox.Capture instead of checkbox.is_pressed when
  13364. rendering flatstyle states.
  13365. 2004-10-12 21:48 pbartok
  13366. * ThemeWin32Classic.cs:
  13367. - Removed all occurences of SystemColors and replaced them with the
  13368. matching theme color
  13369. 2004-10-12 21:41 pbartok
  13370. * ThemeWin32Classic.cs:
  13371. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  13372. him using the function for flatstyle drawing
  13373. - Changed functions to use the new version of CPDrawBorder3D
  13374. 2004-10-12 21:15 pbartok
  13375. * ControlPaint.cs:
  13376. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  13377. match MS documentation. They need to return defined colors if the
  13378. passed color matches the configured control color. Thanks to John
  13379. BouAntoun for pointing this out.
  13380. 2004-10-12 20:57 pbartok
  13381. * Control.cs:
  13382. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  13383. color is changed
  13384. 2004-10-12 20:46 pbartok
  13385. * CheckBox.cs:
  13386. - Fix from John BouAntoun: Now properly sets the Appearance property
  13387. 2004-10-12 20:45 pbartok
  13388. * ThemeWin32Classic.cs:
  13389. - Fixes from John BouAntoun: now handles forecolors and backcolors
  13390. for flatstyle rendered controls much better; It also fixes normal
  13391. checkbox rendering when pushed or disabled.
  13392. 2004-10-08 02:50 jordi
  13393. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  13394. work
  13395. 2004-10-07 08:56 jordi
  13396. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  13397. 2004-10-06 03:59 jordi
  13398. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  13399. XplatUIWin32.cs: removes warnings from compilation
  13400. 2004-10-05 12:23 jackson
  13401. * RadioButton.cs: Fix ctor
  13402. 2004-10-05 11:10 pbartok
  13403. * MessageBox.cs:
  13404. - Partial implementation by Benjamin Dasnois
  13405. 2004-10-05 10:15 jackson
  13406. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  13407. by John BouAntoun
  13408. 2004-10-05 03:07 ravindra
  13409. * ToolBar.cs:
  13410. - Removed a private method, Draw ().
  13411. - Fixed the ButtonDropDown event handling.
  13412. - Fixed MouseMove event handling.
  13413. 2004-10-05 03:04 ravindra
  13414. * ThemeWin32Classic.cs:
  13415. - Added DrawListView method and ListViewDefaultSize property.
  13416. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  13417. - Changed DOS style CRLF to Unix format (dos2unix).
  13418. 2004-10-05 03:03 ravindra
  13419. * Theme.cs:
  13420. - Added DrawListView method and ListViewDefaultSize property.
  13421. 2004-10-05 02:42 ravindra
  13422. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  13423. clicks on DropDown arrow.
  13424. 2004-10-04 22:56 jackson
  13425. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  13426. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  13427. Control handle the buffers, derived classes should not have to
  13428. CreateBuffers themselves.
  13429. 2004-10-04 21:20 jackson
  13430. * StatusBar.cs: The control handles resizing the buffers now.
  13431. 2004-10-04 21:18 jackson
  13432. * Control.cs: When resizing the buffers should be invalidated. This
  13433. should be handled in Control not in derived classes.
  13434. 2004-10-04 14:45 jackson
  13435. * TabPage.cs: oops
  13436. 2004-10-04 02:14 pbartok
  13437. * LeftRightAlignment.cs:
  13438. - Initial check-in
  13439. 2004-10-04 01:09 jordi
  13440. * ThemeWin32Classic.cs: fixes right button position causing right
  13441. button not showing on horizontal scrollbars
  13442. 2004-10-02 13:12 pbartok
  13443. * XplatUIX11.cs:
  13444. - Simplified the Invalidate method by using an X call instead of
  13445. generating the expose ourselves
  13446. - Added an expose when the window background is changed
  13447. - Implemented ClientToScreen method
  13448. 2004-10-02 13:08 pbartok
  13449. * XplatUIWin32.cs:
  13450. - Added Win32EnableWindow method (test for implementing modal
  13451. dialogs)
  13452. - Added ClientToScreen method and imports
  13453. 2004-10-02 13:07 pbartok
  13454. * XplatUI.cs, XplatUIDriver.cs:
  13455. - Added ClientToScreen coordinate translation method
  13456. 2004-10-02 13:06 pbartok
  13457. * KeyPressEventArgs.cs:
  13458. - Fixed access level for constructor
  13459. 2004-10-02 13:06 pbartok
  13460. * NativeWindow.cs:
  13461. - Changed access level for the window_collection hash table
  13462. 2004-10-02 13:05 pbartok
  13463. * Form.cs:
  13464. - Added KeyPreview property
  13465. - Added Menu property (still incomplete, pending Jordi's menu work)
  13466. - Implemented ProcessCmdKey
  13467. - Implemented ProcessDialogKey
  13468. - Implemented ProcessKeyPreview
  13469. 2004-10-02 13:02 pbartok
  13470. * Control.cs:
  13471. - Added private method to get the Control object from the window
  13472. handle
  13473. - Implemented ContextMenu property
  13474. - Implemented PointToScreen
  13475. - Implemented PreProcessMessage
  13476. - Implemented IsInputChar
  13477. - Implemented IsInputKey
  13478. - Implemented ProcessCmdKey
  13479. - Completed ProcessKeyEventArgs
  13480. - Fixed message loop to call the proper chain of functions on key
  13481. events
  13482. - Implemented ProcessDialogChar
  13483. - Implemented ProcessDialogKey
  13484. - Implemented ProcessKeyMessage
  13485. - Implemented ProcessKeyPreview
  13486. - Added RaiseDragEvent stub (MS internal method)
  13487. - Added RaiseKeyEvent stub (MS internal method)
  13488. - Added RaiseMouseEvent stub (MS Internal method)
  13489. - Added RaisePaintEvent stub (MS Internal method)
  13490. - Added ResetMouseEventArgs stub (MS Internal method)
  13491. - Implemented RtlTranslateAlignment
  13492. - Implemented RtlTranslateContent
  13493. - Implemented RtlTranslateHorizontal
  13494. - Implemented RtlTranslateLeftRight
  13495. - Added generation of KeyPress event
  13496. 2004-10-02 05:57 ravindra
  13497. * ListViewItem.cs: Added attributes.
  13498. 2004-10-02 05:32 ravindra
  13499. * ListView.cs: Added attributes.
  13500. 2004-10-01 11:53 jackson
  13501. * Form.cs: Implement the Close method so work on MessageBox can
  13502. continue.
  13503. 2004-09-30 14:06 pbartok
  13504. * XplatUIX11.cs:
  13505. - Bug fixes
  13506. 2004-09-30 11:34 jackson
  13507. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  13508. 2004-09-30 07:26 ravindra
  13509. * ListViewItemConverter.cs: Converter for ListViewItem.
  13510. 2004-09-30 07:26 ravindra
  13511. * SortOrder.cs: Enum for ListView control.
  13512. 2004-09-30 07:25 ravindra
  13513. * ColumnHeader.cs: Supporting class for ListView control.
  13514. 2004-09-30 07:24 ravindra
  13515. * ListView.cs, ListViewItem.cs: Initial implementation.
  13516. 2004-09-30 07:20 ravindra
  13517. * ItemActivation.cs: Enum for ListView Control.
  13518. 2004-09-29 20:29 pbartok
  13519. * XplatUIX11.cs:
  13520. - Added lookup of pixel value for background color; tries to get a
  13521. color 'close' to the requested color, it avoids having to create a
  13522. colormap. Depending on the display this could mean the used color
  13523. is slightly off the desired color. Might have to change it to a more
  13524. resource intensive colormap approach, but it will work as a
  13525. workaround to avoid red screens.
  13526. 2004-09-29 14:27 jackson
  13527. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  13528. 2004-09-28 12:44 pbartok
  13529. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  13530. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  13531. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  13532. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  13533. TrackBar.cs, VScrollBar.cs:
  13534. - Streamlined Theme interfaces:
  13535. * Each DrawXXX method for a control now is passed the object for
  13536. the control to be drawn in order to allow accessing any state the
  13537. theme might require
  13538. * ControlPaint methods for the theme now have a CP prefix to avoid
  13539. name clashes with the Draw methods for controls
  13540. * Every control now retrieves it's DefaultSize from the current
  13541. theme
  13542. 2004-09-28 12:17 jackson
  13543. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  13544. drawing
  13545. 2004-09-24 14:57 jackson
  13546. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  13547. Gives us a nice little performance boost.
  13548. 2004-09-24 12:02 jackson
  13549. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  13550. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  13551. Control and supporting classes. Initial checkin
  13552. 2004-09-23 13:08 jackson
  13553. * Form.cs: Temp build fixage
  13554. 2004-09-23 01:39 ravindra
  13555. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  13556. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  13557. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  13558. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  13559. EventHandlers needed by ListView Control.
  13560. 2004-09-22 14:12 pbartok
  13561. * ScrollableControl.cs:
  13562. - Implemented DockPadding property
  13563. - Implemented AutoScroll property
  13564. - Implemented AutoScrollMargin property
  13565. - Implemented AutoScrollMinSize property
  13566. - Implemented AutoScrollPosition property
  13567. - Implemented DisplayRectangle property (still incomplete)
  13568. - Implemented CreateParams property
  13569. - Implemented HScroll property
  13570. - Implemented VScroll property
  13571. - Implemented OnVisibleChanged property
  13572. 2004-09-22 14:09 pbartok
  13573. * Form.cs:
  13574. - Added Form.ControllCollection class
  13575. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  13576. RemoveOwnedForm (still incomplete, missing on-top and common
  13577. minimize/maximize behaviour)
  13578. - Added StartPosition property (still incomplete, does not use when
  13579. creating the form)
  13580. - Added ShowDialog() methods (still incomplete, missing forcing the
  13581. dialog modal)
  13582. 2004-09-22 14:05 pbartok
  13583. * Application.cs:
  13584. - Added message loop for modal dialogs
  13585. 2004-09-22 14:02 pbartok
  13586. * GroupBox.cs:
  13587. - Fixed wrong types for events
  13588. 2004-09-22 14:00 pbartok
  13589. * Shortcut.cs, FormWindowState.cs:
  13590. - Fixed wrong values
  13591. 2004-09-22 12:01 jackson
  13592. * Control.cs: Text is never null
  13593. 2004-09-20 22:14 pbartok
  13594. * XplatUIWin32.cs:
  13595. - Fixed accessibility level for Idle handler
  13596. 2004-09-20 18:54 jackson
  13597. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13598. XplatUIX11.cs: New message loop that uses poll so we don't get a
  13599. busy loop
  13600. 2004-09-17 10:43 pbartok
  13601. * ScrollBar.cs:
  13602. - Fixed behaviour of arrow buttons. Now properly behaves like
  13603. Buttons (and like Microsoft's scrollbar arrow buttons)
  13604. 2004-09-17 10:14 pbartok
  13605. * ScrollBar.cs:
  13606. - Added missing release of keyboard/mouse capture
  13607. 2004-09-17 06:18 jordi
  13608. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  13609. Theme.cs: Very early menu support
  13610. 2004-09-16 17:45 pbartok
  13611. * XplatUIWin32.cs:
  13612. - Fixed sending a window to the front
  13613. - Added overload for SetWindowPos to avoid casting
  13614. 2004-09-16 17:44 pbartok
  13615. * Control.cs:
  13616. - Added SendToBack and BringToFront methods
  13617. 2004-09-16 07:00 ravindra
  13618. * Copyright: Added Novell URL.
  13619. 2004-09-16 07:00 ravindra
  13620. * ToolBar.cs: Invalidate should be done before redrawing.
  13621. 2004-09-15 21:19 ravindra
  13622. * ColumnHeaderStyle.cs: Enum for ListView Control.
  13623. 2004-09-15 21:18 ravindra
  13624. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  13625. ListView Control.
  13626. 2004-09-13 18:26 jackson
  13627. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  13628. properly
  13629. 2004-09-13 18:13 jackson
  13630. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  13631. a second thread and post messages into the main threads message
  13632. queue. This makes timing much more consistent. Both win2K and XP
  13633. have a minimum timer value of 15 milliseconds, so we now do this
  13634. too.
  13635. 2004-09-13 15:18 pbartok
  13636. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13637. XplatUIX11.cs:
  13638. - Added Z-Ordering methods
  13639. 2004-09-13 10:56 pbartok
  13640. * Form.cs:
  13641. - Fixed #region names
  13642. - Moved properties and methods into their proper #regions
  13643. 2004-09-13 10:51 pbartok
  13644. * Form.cs:
  13645. - Added Accept and CancelButton properties
  13646. - Added ProcessDialogKey() method
  13647. 2004-09-13 08:18 pbartok
  13648. * IWindowTarget.cs:
  13649. - Initial check-in
  13650. 2004-09-10 21:50 pbartok
  13651. * Control.cs:
  13652. - Added DoDragDrop() [incomplete]
  13653. - Properly implemented 'Visible' handling
  13654. - Added SetVisibleCore()
  13655. - Implemented FindChildAtPoint()
  13656. - Implemented GetContainerControl()
  13657. - Implemented Hide()
  13658. 2004-09-10 19:28 pbartok
  13659. * Control.cs:
  13660. - Moved methods into their appropriate #regions
  13661. - Reordered methods within regions alphabetically
  13662. 2004-09-10 18:57 pbartok
  13663. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  13664. - Added method to retrieve text from window
  13665. 2004-09-10 18:56 pbartok
  13666. * Control.cs:
  13667. - Moved some internal functions into the internal region
  13668. - Implemented FontHeight
  13669. - Implemented RenderRightToLeft
  13670. - Implemented ResizeRedraw
  13671. - Implemented ShowFocusCues
  13672. - Implemented ShowKeyboardCues
  13673. - Implemented FromChildHandle
  13674. - Implemented FromHandle
  13675. - Implemented IsMnemonic
  13676. - Implemented ReflectMessage
  13677. - All public and protected Static Methods are now complete
  13678. 2004-09-10 16:54 pbartok
  13679. * Control.cs:
  13680. - Implemented remaining missing public instance properties
  13681. - Alphabetized some out of order properties
  13682. 2004-09-10 05:51 ravindra
  13683. * PictureBox.cs: Added a check for null image.
  13684. 2004-09-10 00:59 jordi
  13685. * GroupBox.cs: remove cvs tag
  13686. 2004-09-09 05:25 ravindra
  13687. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  13688. 2004-09-09 05:23 ravindra
  13689. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  13690. parent redraw.
  13691. 2004-09-09 02:28 pbartok
  13692. * ThemeWin32Classic.cs:
  13693. - Improve disabled string look
  13694. 2004-09-09 01:15 jordi
  13695. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  13696. args and handler
  13697. 2004-09-08 23:56 ravindra
  13698. * ItemBoundsPortion.cs: It's enum, not a class!
  13699. 2004-09-08 23:47 ravindra
  13700. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  13701. Enums for Form.
  13702. 2004-09-08 21:13 ravindra
  13703. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  13704. ListView control.
  13705. 2004-09-08 21:03 ravindra
  13706. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  13707. avoid crash.
  13708. 2004-09-08 21:01 ravindra
  13709. * ScrollableControl.cs: Removed unreachable code.
  13710. 2004-09-08 06:45 jordi
  13711. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  13712. 2004-09-08 01:00 jackson
  13713. * XplatUIX11.cs: Only run the timers when updating the message
  13714. queue. This effectively gives X messages a higher priority then
  13715. timer messages. Timers still need love though
  13716. 2004-09-07 14:01 jackson
  13717. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  13718. this for us and the handle is no longer valid.
  13719. 2004-09-07 13:59 jackson
  13720. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  13721. loop that manages to not crash. TODO: Add poll and cleanup timers
  13722. 2004-09-07 11:12 jordi
  13723. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  13724. 2004-09-07 03:40 jordi
  13725. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  13726. fixes, methods, multiple links
  13727. 2004-09-06 06:55 jordi
  13728. * Control.cs: Caches ClientRectangle rectangle value
  13729. 2004-09-05 02:03 jordi
  13730. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  13731. certain situations
  13732. 2004-09-04 11:10 jordi
  13733. * Label.cs: Refresh when font changed
  13734. 2004-09-02 16:24 pbartok
  13735. * Control.cs:
  13736. - Added sanity check to creation of double buffer bitmap
  13737. 2004-09-02 16:24 pbartok
  13738. * ButtonBase.cs:
  13739. - Fixed selection of text color
  13740. - Fixed handling of resize event; now properly recreates double
  13741. buffering bitmap
  13742. - Added missing assignment of TextAlignment
  13743. - Added proper default for TextAlignment
  13744. 2004-09-02 14:26 pbartok
  13745. * RadioButton.cs:
  13746. - Added missing RadioButton.RadioButtonAccessibleObject class
  13747. 2004-09-02 14:26 pbartok
  13748. * Control.cs:
  13749. - Added missing Control.ControlAccessibleObject class
  13750. - Started to implement Select()ion mechanisms, still very incomplete
  13751. 2004-09-02 14:25 pbartok
  13752. * AccessibleObject.cs:
  13753. - Added missing methods
  13754. 2004-09-02 14:23 pbartok
  13755. * AccessibleNavigation.cs, AccessibleSelection.cs:
  13756. - Initial check-in
  13757. 2004-09-02 10:32 jordi
  13758. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  13759. pool for pens, brushes, and hatchbruses
  13760. 2004-09-01 15:30 jackson
  13761. * StatusBar.cs: Fix typo
  13762. 2004-09-01 14:44 pbartok
  13763. * RadioButton.cs:
  13764. - Fixed state
  13765. 2004-09-01 14:39 pbartok
  13766. * Button.cs, RadioButton.cs:
  13767. - Functional initial check-in
  13768. 2004-09-01 14:01 pbartok
  13769. * CheckBox.cs:
  13770. - Added missing default
  13771. - Added missing region mark
  13772. 2004-09-01 09:10 jordi
  13773. * Label.cs: fixes method signatures, new methods, events, fixes
  13774. autosize
  13775. 2004-09-01 07:19 jordi
  13776. * Control.cs: Init string variables with an empty object
  13777. 2004-09-01 04:20 jordi
  13778. * Control.cs: fires OnFontChanged event
  13779. 2004-08-31 20:07 pbartok
  13780. * ButtonBase.cs:
  13781. - Enabled display of strings
  13782. 2004-08-31 20:05 pbartok
  13783. * Form.cs:
  13784. - Added (partial) implementation of DialogResult; rest needs to be
  13785. implemented when the modal loop code is done
  13786. 2004-08-31 19:55 pbartok
  13787. * CheckBox.cs:
  13788. - Fixed to match the removal of the needs_redraw concept
  13789. 2004-08-31 19:55 pbartok
  13790. * ButtonBase.cs:
  13791. - Removed the rather odd split between 'needs redraw' and redrawing
  13792. - Now handles the events that require regeneration (ambient
  13793. properties and size)
  13794. 2004-08-31 19:41 pbartok
  13795. * Control.cs:
  13796. - Added firing of BackColorChanged event
  13797. - Added TopLevelControl property
  13798. - Fixed handling of WM_ERASEBKGRND message
  13799. 2004-08-31 12:49 pbartok
  13800. * ButtonBase.cs:
  13801. - Removed debug
  13802. - Minor fixes
  13803. 2004-08-31 12:48 pbartok
  13804. * CheckBox.cs:
  13805. - Finished (famous last words)
  13806. 2004-08-31 04:35 jordi
  13807. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  13808. scrolling bugs, adds new methods
  13809. 2004-08-30 14:42 pbartok
  13810. * CheckBox.cs:
  13811. - Implemented CheckBox drawing code
  13812. 2004-08-30 14:42 pbartok
  13813. * ButtonBase.cs:
  13814. - Made Redraw() and CheckRedraw() virtual
  13815. - Improved mouse up/down/move logic to properly track buttons
  13816. 2004-08-30 09:44 pbartok
  13817. * CheckBox.cs:
  13818. - Updated to fix broken build. Not complete yet.
  13819. 2004-08-30 09:28 pbartok
  13820. * CheckState.cs:
  13821. - Initial checkin
  13822. 2004-08-30 09:17 pbartok
  13823. * Appearance.cs:
  13824. - Initial check-in
  13825. 2004-08-27 16:12 ravindra
  13826. * ToolBarButton.cs: Added TypeConverter attribute.
  13827. 2004-08-27 16:07 ravindra
  13828. * ImageIndexConverter.cs: Implemented.
  13829. 2004-08-27 14:17 pbartok
  13830. * Control.cs:
  13831. - Removed unneeded stack vars
  13832. - First attempt to fix sizing issues when layout is suspended
  13833. 2004-08-25 15:35 jordi
  13834. * ScrollBar.cs: more fixes to scrollbar
  13835. 2004-08-25 14:04 ravindra
  13836. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  13837. Added the missing divider code and grip for ToolBar Control.
  13838. 2004-08-25 13:20 pbartok
  13839. * Control.cs:
  13840. - Control now properly passes the ambient background color to child
  13841. controls
  13842. 2004-08-25 13:20 jordi
  13843. * ScrollBar.cs: small bug fix regarding bar position
  13844. 2004-08-25 12:33 pbartok
  13845. * Timer.cs:
  13846. - Now only calls SetTimer or KillTimer if the enabled state has
  13847. changed
  13848. 2004-08-25 12:33 pbartok
  13849. * XplatUIWin32.cs:
  13850. - Fixed timer handling, now seems to work
  13851. - Improved error message for window creation
  13852. 2004-08-25 12:32 pbartok
  13853. * Control.cs:
  13854. - Fixed generation of MouseUp message
  13855. 2004-08-25 12:29 jordi
  13856. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  13857. and fixes for progressbar
  13858. 2004-08-24 18:43 ravindra
  13859. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  13860. in ToolBar control.
  13861. 2004-08-24 17:15 pbartok
  13862. * Panel.cs:
  13863. - Added #region
  13864. - Added missing events
  13865. - Alphabetized
  13866. 2004-08-24 17:14 pbartok
  13867. * StatusBar.cs, PictureBox.cs:
  13868. - Now uses Control's CreateParams
  13869. 2004-08-24 16:36 pbartok
  13870. * XplatUIX11.cs:
  13871. - Fixed background color handling
  13872. - Fixed sending of enter/leave events on a grab
  13873. 2004-08-24 16:35 pbartok
  13874. * X11Structs.cs:
  13875. - Refined definitions for CrossingEvent
  13876. 2004-08-24 12:37 jordi
  13877. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  13878. formmating, methods signature, and adds missing events
  13879. 2004-08-24 12:24 jordi
  13880. * Control.cs: fire OnEnabledChanged event
  13881. 2004-08-24 11:17 pbartok
  13882. * XplatUIWin32.cs:
  13883. - Implemented SetTimer() and KillTimer()
  13884. 2004-08-24 11:16 pbartok
  13885. * XplatUIX11.cs:
  13886. - Now uses Remove instead of Add to kill the timer
  13887. 2004-08-24 10:16 jackson
  13888. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  13889. picture boxes in the theme now. Draw picture box borders and obey
  13890. sizing modes
  13891. 2004-08-24 05:49 jackson
  13892. * Timer.cs: Remove top secret debugging code
  13893. 2004-08-24 05:34 jackson
  13894. * PictureBox.cs: Temp hack to make picture boxes draw their full
  13895. image
  13896. 2004-08-24 05:29 jackson
  13897. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  13898. XplatUIX11.cs: Move timers to the driver level. On X they are
  13899. queued by the driver and checked on idle.
  13900. 2004-08-24 01:07 jackson
  13901. * XplatUIX11.cs: Use a queue for async messages instead of passing
  13902. them as ClientMessages since that was totally broken. Also simply
  13903. check for events and return an idle message if none are found. This
  13904. gives us an idle handler, and prevents deadlocking when no messages
  13905. are in the queue.
  13906. 2004-08-23 18:19 ravindra
  13907. * XplatUIWin32.cs: Removed the unwanted destructor.
  13908. 2004-08-23 17:27 pbartok
  13909. * ButtonBase.cs:
  13910. - Finishing touches. Works now, just needs some optimizations.
  13911. 2004-08-23 16:53 jordi
  13912. * ScrollBar.cs: small fix
  13913. 2004-08-23 16:45 pbartok
  13914. * Application.cs:
  13915. - Removed debug output
  13916. - Simplifications
  13917. 2004-08-23 16:43 jordi
  13918. * ScrollBar.cs: [no log message]
  13919. 2004-08-23 16:10 pbartok
  13920. * Form.cs:
  13921. - Fixed handling of WM_CLOSE message
  13922. - Removed debug output
  13923. 2004-08-23 16:09 pbartok
  13924. * Application.cs:
  13925. - Added handling of Idle event
  13926. - Added handling of form closing
  13927. - Fixed reporting of MessageLoop property
  13928. - Removed some unneeded code, should provide a bit of a speedup
  13929. 2004-08-23 15:22 pbartok
  13930. * Control.cs:
  13931. - Added InitLayout() method
  13932. - Added code to properly perform layout when Anchor or Dock property
  13933. is changed
  13934. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  13935. LAMESPEC, tried to do it in a way that makes sense
  13936. 2004-08-23 14:10 jordi
  13937. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  13938. properties and methods
  13939. 2004-08-23 13:55 pbartok
  13940. * Control.cs:
  13941. - Properly fixed Jordi's last fix
  13942. - Now uses Cursor's Position property instead of calling XplatUI
  13943. directly
  13944. 2004-08-23 13:44 jordi
  13945. * PaintEventHandler.cs: Adding missing attribute
  13946. 2004-08-23 13:39 pbartok
  13947. * Cursor.cs:
  13948. - Implemented Position property
  13949. 2004-08-23 13:39 pbartok
  13950. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  13951. - Added method to move mouse cursor
  13952. 2004-08-23 13:39 pbartok
  13953. * XplatUIX11.cs:
  13954. - Fixed setting of background color
  13955. - Added method to move mouse cursor
  13956. 2004-08-23 13:16 jordi
  13957. * Control.cs: avoids null exception
  13958. 2004-08-22 17:46 jackson
  13959. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  13960. PictureBox
  13961. 2004-08-22 17:40 jackson
  13962. * XplatUIX11.cs: Add some missing locks
  13963. 2004-08-22 15:10 pbartok
  13964. * Control.cs, Form.cs:
  13965. - Removed OverlappedWindow style from Control, instead it's default
  13966. now is child
  13967. - Made form windows OverlappedWindow by default
  13968. 2004-08-22 13:34 jackson
  13969. * ScrollBar.cs: Update the position through the Value property so
  13970. the OnValueChanged event is raised.
  13971. 2004-08-22 12:04 pbartok
  13972. * SWF.csproj:
  13973. - Added Cursor.cs and UserControl.cs
  13974. 2004-08-22 12:03 pbartok
  13975. * Cursor.cs:
  13976. - Started implementation, not usable yet
  13977. 2004-08-22 12:00 pbartok
  13978. * UserControl.cs:
  13979. - Implemented UserControl (complete)
  13980. 2004-08-21 19:20 ravindra
  13981. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  13982. 2004-08-21 18:49 ravindra
  13983. * ToolBar.cs: Probably this completes the missing attributes in
  13984. toolbar control.
  13985. 2004-08-21 18:03 ravindra
  13986. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  13987. Fixed toolbar control signatures.
  13988. 2004-08-21 16:32 pbartok
  13989. * LinkLabel.cs:
  13990. - Signature Fixes
  13991. 2004-08-21 16:30 pbartok
  13992. * Label.cs:
  13993. - Signature fixes
  13994. 2004-08-21 16:19 pbartok
  13995. * Control.cs, Label.cs:
  13996. - Signature fixes
  13997. 2004-08-21 15:57 pbartok
  13998. * ButtonBase.cs:
  13999. - Added loads of debug output for development
  14000. - Fixed typo in method name
  14001. 2004-08-21 15:52 pbartok
  14002. * ToolBarButtonClickEventArgs.cs:
  14003. - Added missing base class
  14004. 2004-08-21 14:53 pbartok
  14005. * Control.cs:
  14006. - Updated to match new GrabWindow signature
  14007. 2004-08-21 14:51 pbartok
  14008. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14009. - Added method to get default display size
  14010. 2004-08-21 14:23 pbartok
  14011. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14012. - Added method to query current grab state
  14013. - Added argument to allow confining a grab to a window
  14014. 2004-08-21 14:22 pbartok
  14015. * Keys.cs:
  14016. - Added [Flags] attribute so that modifiers can be used in bitwise
  14017. ops
  14018. 2004-08-21 14:21 pbartok
  14019. * TrackBar.cs, ScrollBar.cs:
  14020. - Replaced direct XplatUI calls with their Control counterpart
  14021. 2004-08-21 13:32 pbartok
  14022. * Control.cs:
  14023. - Implemented Created property
  14024. 2004-08-21 13:28 pbartok
  14025. * Control.cs:
  14026. - Implemented ContainsFocus
  14027. 2004-08-21 13:26 pbartok
  14028. * Control.cs:
  14029. - Implemented CausesValidation
  14030. 2004-08-21 13:21 pbartok
  14031. * Control.cs:
  14032. - Implemented CanFocus
  14033. - Implemented CanSelect
  14034. - Implemented Capture
  14035. 2004-08-21 12:35 pbartok
  14036. * XplatUIWin32.cs:
  14037. - Fixed bug with Async message handling
  14038. - Implemented getting the ModifierKeys
  14039. 2004-08-21 12:32 jackson
  14040. * AsyncMethodResult.cs: Make sure we have the mutex before we
  14041. release it. Fixes BeginInvoke on windows
  14042. 2004-08-21 11:31 pbartok
  14043. * XplatUIWin32.cs, XplatUIX11.cs:
  14044. - Drivers now return proper mouse state
  14045. 2004-08-21 10:54 jackson
  14046. * Control.cs: Implement EndInvoke
  14047. 2004-08-21 10:48 jackson
  14048. * Timer.cs: Remove unneeded finalizer
  14049. 2004-08-20 19:52 ravindra
  14050. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  14051. in mouse event handling in the ToolBar control.
  14052. 2004-08-20 19:50 ravindra
  14053. * ImageList.cs: Changed draw method to use the arguments passed in
  14054. to draw the image.
  14055. 2004-08-20 18:58 pbartok
  14056. * XplatUIStructs.cs:
  14057. - Added private message for async communication
  14058. 2004-08-20 17:38 ravindra
  14059. * Control.cs: Made RightToLeft property virtual and removed a
  14060. Console.WriteLine.
  14061. 2004-08-20 14:39 jordi
  14062. * ThemeGtk.cs: use style_attach
  14063. 2004-08-20 14:39 pbartok
  14064. * XplatUIWin32.cs:
  14065. - Added jackson's Async code from X11 to Win32
  14066. 2004-08-20 14:09 pbartok
  14067. * SWF.csproj:
  14068. - Added all new files
  14069. 2004-08-20 14:09 pbartok
  14070. * Control.cs:
  14071. - Added call to set window background color
  14072. 2004-08-20 14:03 pbartok
  14073. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  14074. - Added method for setting the window background
  14075. 2004-08-20 14:02 pbartok
  14076. * XplatUIWin32.cs:
  14077. - Added method for setting the background color
  14078. - Added handling for erasing the window background
  14079. 2004-08-20 13:45 jordi
  14080. * TrackBar.cs: fixes timer, new properties and methods
  14081. 2004-08-20 13:34 jackson
  14082. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  14083. correct thread
  14084. 2004-08-20 13:22 jackson
  14085. * Timer.cs: Timer Tick events are now handed through Controls Async
  14086. mechanism so the callbacks are executed in the same thread as X
  14087. 2004-08-20 13:19 jackson
  14088. * XplatUIDriver.cs: Expose functionality to send async messages
  14089. through the driver
  14090. 2004-08-20 13:18 jackson
  14091. * Control.cs: Implement Begininvoke
  14092. 2004-08-20 13:14 jackson
  14093. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  14094. messages through the driver
  14095. 2004-08-20 13:12 jackson
  14096. * XplatUIX11.cs: Lock before all X operations. Also added Async
  14097. method functionality through XSendEvent
  14098. 2004-08-20 13:11 jackson
  14099. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  14100. This will screw up on 64 bit systems)
  14101. 2004-08-20 13:10 jackson
  14102. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  14103. Async messages through X/Win32
  14104. 2004-08-19 19:39 pbartok
  14105. * XplatUIX11.cs:
  14106. - Updated code to match new HandleData.DeviceContext type
  14107. 2004-08-19 19:38 pbartok
  14108. * HandleData.cs:
  14109. - Made DeviceContext a generic object to allow usage from various
  14110. drivers
  14111. - Added support for queueing Windows messages
  14112. 2004-08-19 19:37 pbartok
  14113. * XplatUIWin32.cs:
  14114. - Added generation of MouseEnter, MouseLeave and MouseHover events
  14115. - Added cleanup on EndPaint
  14116. 2004-08-19 19:17 pbartok
  14117. * Control.cs:
  14118. - Added handling of WM_MOUSEHOVER
  14119. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  14120. code
  14121. 2004-08-19 18:55 jordi
  14122. * ThemeGtk.cs: fixes button order
  14123. 2004-08-19 18:12 jordi
  14124. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  14125. 2004-08-19 17:09 pbartok
  14126. * Control.cs:
  14127. - Added Right property
  14128. - Added RightToLeft property
  14129. 2004-08-19 16:27 jordi
  14130. * ThemeGtk.cs: experimental GTK theme support
  14131. 2004-08-19 16:26 jordi
  14132. * ITheme.cs, Theme.cs: move themes from an interface to a class
  14133. 2004-08-19 16:25 jordi
  14134. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  14135. theme enhancaments
  14136. 2004-08-19 16:04 pbartok
  14137. * XplatUIX11.cs:
  14138. - Added colormap basics
  14139. - Added a way to re-initialize with a different display handle
  14140. - Fixed setting of the window background color
  14141. - Added various X11 imports related to colors and colormaps
  14142. 2004-08-19 15:51 pbartok
  14143. * X11Structs.cs:
  14144. - Removed packing hints (Paolo suggested this a while back)
  14145. - fixed colormap type
  14146. - Added default Atom types
  14147. - Added Screen and color structs and enums
  14148. 2004-08-19 15:39 pbartok
  14149. * ImageList.cs:
  14150. - Added missing Draw() method
  14151. - Added missing RecreateHandle event
  14152. 2004-08-19 15:30 pbartok
  14153. * Form.cs:
  14154. - Added handling of WM_CLOSE
  14155. 2004-08-18 13:16 jordi
  14156. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  14157. a table
  14158. 2004-08-18 09:56 jordi
  14159. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  14160. 2004-08-17 15:31 ravindra
  14161. * SWF.csproj: Updated project.
  14162. 2004-08-17 15:25 pbartok
  14163. * Control.cs:
  14164. - Drawing improvement; don't call UpdateBounds if we are not visible
  14165. (or have been minimized)
  14166. 2004-08-17 15:24 pbartok
  14167. * XplatUIWin32.cs:
  14168. - Finished IsVisible
  14169. - Added Win32GetWindowPlacement
  14170. 2004-08-17 15:08 jackson
  14171. * Panel.cs: Initial checkin of the Panel
  14172. 2004-08-17 14:25 pbartok
  14173. * Control.cs:
  14174. - Fixed broken handling of default window sizes
  14175. 2004-08-17 13:29 jackson
  14176. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  14177. has a large startup time.
  14178. 2004-08-17 10:25 jackson
  14179. * HandleData.cs: union areas properly
  14180. 2004-08-17 10:12 jackson
  14181. * HandleData.cs: union areas properly
  14182. 2004-08-16 20:00 ravindra
  14183. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  14184. 2004-08-16 18:48 ravindra
  14185. * ToolBar.cs: Added attributes.
  14186. 2004-08-16 17:17 ravindra
  14187. * SWF.csproj: Updated project.
  14188. 2004-08-16 17:16 jackson
  14189. * XplatUIX11.cs: Check for more expose events before sending a
  14190. WM_PAINT so they can all be grouped together. This makes dragging a
  14191. window across another window redraw in a sane way.
  14192. 2004-08-16 15:47 pbartok
  14193. * Control.cs:
  14194. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  14195. support OnMouseEnter/Leave()
  14196. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  14197. exposure handling
  14198. 2004-08-16 15:46 pbartok
  14199. * XplatUIStructs.cs, XplatUIX11.cs:
  14200. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  14201. OnMouseEnter/Leave()
  14202. 2004-08-16 15:34 jackson
  14203. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  14204. sure messages get the message field set to WM_NULL if they are not
  14205. handled.
  14206. 2004-08-16 15:24 jackson
  14207. * HandleData.cs: HandleData is used for storing message information
  14208. for window handles
  14209. 2004-08-15 17:23 ravindra
  14210. * ColorDepth.cs: Added attribute.
  14211. 2004-08-15 17:23 ravindra
  14212. * SWF.csproj: Updated project for ToolBar Control.
  14213. 2004-08-15 17:20 ravindra
  14214. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  14215. control and also dos2unix format.
  14216. 2004-08-15 17:13 ravindra
  14217. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  14218. ToolBarButtonClickEventArgs.cs,
  14219. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  14220. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  14221. 2004-08-15 15:31 pbartok
  14222. * ButtonBase.cs:
  14223. - First (mostly) working version
  14224. 2004-08-13 16:15 pbartok
  14225. * Control.cs:
  14226. - Fixed Anchor default
  14227. 2004-08-13 15:43 pbartok
  14228. * Control.cs:
  14229. - Changed GetCursorPos signature
  14230. 2004-08-13 15:42 pbartok
  14231. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  14232. - Changed signature for GetCursorPos
  14233. 2004-08-13 15:25 pbartok
  14234. * XplatUIX11.cs:
  14235. - Cleanup
  14236. - Fixed resizing/exposure handling
  14237. 2004-08-13 15:22 jordi
  14238. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  14239. with tickposition
  14240. 2004-08-13 14:55 jordi
  14241. * TrackBar.cs: change from wndproc to events
  14242. 2004-08-13 13:00 jordi
  14243. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  14244. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  14245. 2004-08-13 12:53 pbartok
  14246. * XplatUIWin32.cs:
  14247. - Changed GetWindowPos to also provide client area size
  14248. - Fixed broken prototypes for several win32 functions
  14249. 2004-08-13 12:53 pbartok
  14250. * XplatUI.cs, XplatUIDriver.cs:
  14251. - Changed GetWindowPos to also provide client area size
  14252. 2004-08-13 12:52 pbartok
  14253. * XplatUIX11.cs:
  14254. - Added generation of WM_POSCHANGED
  14255. - Changed GetWindowPos to also provide client area size
  14256. 2004-08-13 12:52 pbartok
  14257. * Control.cs:
  14258. - Added Dispose() and destructor
  14259. - Fixed resizing and bounds calculation
  14260. - Fixed Layout
  14261. - Added memory savings for invisible windows
  14262. 2004-08-13 12:46 jordi
  14263. * TrackBar.cs: adds timer and grap window
  14264. 2004-08-13 10:25 jackson
  14265. * Timer.cs: SWF Timer
  14266. 2004-08-12 16:59 pbartok
  14267. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14268. - Implemented method to get current mouse position
  14269. 2004-08-12 14:29 jordi
  14270. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  14271. enhancement, fix mouse problems, highli thumb, etc
  14272. 2004-08-12 13:31 pbartok
  14273. * Control.cs:
  14274. - Fixed Anchoring bugs
  14275. 2004-08-12 13:01 jackson
  14276. * StatusBar.cs: Don't forget things
  14277. 2004-08-12 12:54 jackson
  14278. * ThemeWin32Classic.cs: Handle owner draw status bars
  14279. 2004-08-12 12:54 jackson
  14280. * StatusBar.cs: Implement missing properties, events, and methods.
  14281. Handle mouse clicking
  14282. 2004-08-12 10:19 jackson
  14283. * StatusBarPanelClickEventArgs.cs,
  14284. StatusBarPanelClickEventHandler.cs: Classes for handling status
  14285. bar panel click events
  14286. 2004-08-12 10:10 jackson
  14287. * Control.cs: Add missing properties
  14288. 2004-08-12 09:46 pbartok
  14289. * BindingsManagerBase.cs:
  14290. - Name changed to BindingManagerBase.cs
  14291. 2004-08-12 09:25 jordi
  14292. * ScrollableControl.cs: calls ctrlbase instead of exeception
  14293. 2004-08-11 16:28 pbartok
  14294. * InputLanguageChangingEventArgs.cs:
  14295. - Never check in before compiling. Fixes the last check-in
  14296. 2004-08-11 16:26 pbartok
  14297. * InputLanguageChangingEventArgs.cs:
  14298. - More signature fixes
  14299. 2004-08-11 16:20 pbartok
  14300. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  14301. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  14302. ImageListStreamer.cs, InputLanguage.cs,
  14303. InputLanguageChangedEventArgs.cs,
  14304. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  14305. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  14306. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  14307. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14308. - Signature fixes
  14309. 2004-08-11 16:16 pbartok
  14310. * Application.cs:
  14311. - Fixed Signature
  14312. - Added .Net 1.1 method
  14313. 2004-08-11 15:25 pbartok
  14314. * SWF.csproj:
  14315. - Fixed BindingManagerBase.cs filename
  14316. 2004-08-11 15:22 pbartok
  14317. * BindingManagerBase.cs:
  14318. - Was checked in with wrong filename
  14319. 2004-08-11 14:50 pbartok
  14320. * SWF.csproj:
  14321. - Updated
  14322. 2004-08-11 13:41 jordi
  14323. * XplatUIWin32.cs: Fixes ClientRect
  14324. 2004-08-11 13:19 pbartok
  14325. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  14326. XplatUIX11.cs:
  14327. - We had SetWindowPos and MoveWindow to set window positions and
  14328. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  14329. keep SetWindowPos as matching counterpart
  14330. - Added some X11 sanity checking
  14331. 2004-08-11 12:59 pbartok
  14332. * Control.cs:
  14333. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  14334. (It seems that SetBounds is just a front for SetBoundsCore and
  14335. SetBoundsCore updates the underlying window system and
  14336. UpdateBounds is responsible for updating the variables associated
  14337. with the Control and sending the events)
  14338. - Major cleanup of Size handling; we now have two sizes, client_size
  14339. and bounds. Bounds defines the window with decorations, client_size
  14340. without them.
  14341. 2004-08-11 12:55 pbartok
  14342. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14343. - Added method to calculate difference between decorated window and
  14344. raw client area
  14345. 2004-08-11 12:54 pbartok
  14346. * Label.cs:
  14347. - Forcing redraw on resize
  14348. 2004-08-11 11:43 pbartok
  14349. * ImageList.cs:
  14350. - Removed disposing of the actual images when the list is disposed
  14351. 2004-08-11 09:13 pbartok
  14352. * Control.cs:
  14353. - Now properly reparents windows
  14354. 2004-08-11 08:37 pbartok
  14355. * Control.cs:
  14356. - Duh!
  14357. 2004-08-11 07:47 pbartok
  14358. * Control.cs:
  14359. - Rewrote the collection stuff. Might not be as fast now, not
  14360. keeping the number of children around and accessible directly, but
  14361. it's more straightforward
  14362. 2004-08-11 07:44 pbartok
  14363. * AccessibleObject.cs:
  14364. - Fixed to match ControlCollection rewrite
  14365. 2004-08-11 07:43 pbartok
  14366. * ImageList.cs:
  14367. - Added missing creation of the collection list
  14368. 2004-08-10 20:08 jackson
  14369. * StatusBar.cs: Get the paint message from WndProc
  14370. 2004-08-10 19:31 jackson
  14371. * ThemeWin32Classic.cs: Create Brushes as little as possible
  14372. 2004-08-10 19:20 jackson
  14373. * UICues.cs: Add Flags attribute
  14374. 2004-08-10 19:19 jackson
  14375. * StatusBarPanel.cs: Signature cleanup
  14376. 2004-08-10 19:10 jackson
  14377. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  14378. Initial implementation of status bar item drawing
  14379. 2004-08-10 17:27 jordi
  14380. * TrackBar.cs: add missing methods, properties, and restructure to
  14381. hide extra ones
  14382. 2004-08-10 16:24 jackson
  14383. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  14384. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  14385. attribute
  14386. 2004-08-10 13:21 jordi
  14387. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  14388. enhancements and standarize on win colors defaults
  14389. 2004-08-10 12:52 jackson
  14390. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  14391. ThemeWin32Classic.cs: Implement DrawItem functionality
  14392. 2004-08-10 12:47 jordi
  14393. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  14394. 2004-08-10 12:32 jordi
  14395. * Control.cs: throw ontextchange event
  14396. 2004-08-10 11:43 pbartok
  14397. * Control.cs:
  14398. - Added more to the still unfinished Dock/Anchor layout code
  14399. 2004-08-10 11:39 pbartok
  14400. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  14401. - Added GetWindowPos method
  14402. 2004-08-10 11:36 pbartok
  14403. * XplatUIWin32.cs:
  14404. - Implemented several methods
  14405. 2004-08-10 09:47 jackson
  14406. * TrackBar.cs: Allow control to handle buffering
  14407. 2004-08-10 09:41 jackson
  14408. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  14409. 2004-08-10 09:24 jackson
  14410. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  14411. 2004-08-10 09:09 jackson
  14412. * StatusBar.cs: Let Control handle all the buffering.
  14413. 2004-08-10 09:08 jackson
  14414. * Control.cs: Control will now handle the buffering code, so each
  14415. control does not have to implement this.
  14416. 2004-08-10 08:34 jackson
  14417. * XplatUIDriver.cs: Use default colors from the theme
  14418. 2004-08-09 17:12 pbartok
  14419. * ImageList.cs:
  14420. - Fixed several bugs Ravindra pointed out
  14421. 2004-08-09 16:11 pbartok
  14422. * Control.cs:
  14423. - Added incomplete dock layout code
  14424. - Added support for mouse wheel
  14425. 2004-08-09 16:09 pbartok
  14426. * XplatUIX11.cs:
  14427. - Added handling for middle and right mousebutton
  14428. - Added handling for mouse wheel
  14429. - Added handling for key state and mouse state and position
  14430. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  14431. messages
  14432. 2004-08-09 15:40 jackson
  14433. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  14434. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  14435. checkin
  14436. 2004-08-09 15:37 jackson
  14437. * StatusBar.cs: Initial implementation of StatusBar
  14438. 2004-08-09 15:36 jackson
  14439. * ITheme.cs: Add support for drawing status bar and getting status
  14440. bar item sizes
  14441. 2004-08-09 15:35 pbartok
  14442. * MouseButtons.cs:
  14443. - Fixed values
  14444. 2004-08-09 15:34 jackson
  14445. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  14446. status bar item sizes
  14447. 2004-08-09 15:21 jackson
  14448. * ThemeWin32Classic.cs: Use known colors for default control
  14449. colours
  14450. 2004-08-09 15:12 jackson
  14451. * ThemeWin32Classic.cs: Make the default font static, it is static
  14452. in control so this doesn't change functionality and creating fonts
  14453. is sloooooow.
  14454. 2004-08-09 14:56 pbartok
  14455. * X11Structs.cs:
  14456. - Added GrabMode enum
  14457. 2004-08-09 14:55 pbartok
  14458. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14459. - Removed Run method, was only required for initial development
  14460. 2004-08-09 14:51 pbartok
  14461. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  14462. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  14463. capture
  14464. 2004-08-09 13:48 pbartok
  14465. * XplatUIX11.cs:
  14466. - Fixed default sizing for child windows
  14467. 2004-08-09 12:56 pbartok
  14468. * XplatUIX11.cs:
  14469. - Added generation of WM_DESTROY message
  14470. - Added handling of window manager induced shutdown
  14471. 2004-08-09 11:31 jackson
  14472. * ThemeWin32Classic.cs: New names for control properties
  14473. 2004-08-09 11:25 jackson
  14474. * Control.cs: Use new color names
  14475. 2004-08-09 11:02 jackson
  14476. * XplatUI.cs: Get default window properties from the theme
  14477. 2004-08-09 11:01 jackson
  14478. * ITheme.cs: The theme engine now controls default window
  14479. properties
  14480. 2004-08-09 11:00 jackson
  14481. * ThemeWin32Classic.cs: Add default window color properties
  14482. 2004-08-09 10:17 jackson
  14483. * ThemeWin32Classic.cs: Use correct default back color
  14484. 2004-08-09 10:05 jackson
  14485. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  14486. the theme now.
  14487. 2004-08-09 09:56 jackson
  14488. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  14489. 2004-08-09 09:54 jackson
  14490. * Control.cs: Get default properties from the theme.
  14491. 2004-08-09 09:53 jackson
  14492. * ITheme.cs: Themes now handle default control properties
  14493. 2004-08-09 09:53 jackson
  14494. * ThemeWin32Classic.cs: Themes now handle default control
  14495. properties so coloring will be consistent
  14496. 2004-08-08 16:54 jordi
  14497. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  14498. 2004-08-08 15:08 jordi
  14499. * XplatUIX11.cs: fixes keyboard crash
  14500. 2004-08-08 13:47 jordi
  14501. * Label.cs: add cvs header info
  14502. 2004-08-08 12:09 jackson
  14503. * ThemeWin32Classic.cs: Add pen_buttonface
  14504. 2004-08-08 11:52 jordi
  14505. * Label.cs, LinkLabel.cs: [no log message]
  14506. 2004-08-08 11:34 jordi
  14507. * ThemeWin32Classic.cs: Use Windows Standard Colours
  14508. 2004-08-07 17:32 jordi
  14509. * TrackBar.cs: throw exceptions of invalid enums values
  14510. 2004-08-07 17:31 jordi
  14511. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  14512. draw method name
  14513. 2004-08-07 16:56 jackson
  14514. * HorizontalAlignment.cs: Initial checkin
  14515. 2004-08-07 13:16 jordi
  14516. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  14517. methods
  14518. 2004-08-07 13:05 jordi
  14519. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  14520. GetSysColor defines
  14521. 2004-08-06 18:01 pbartok
  14522. * ThemeWin32Classic.cs:
  14523. - Fixed some rounding issues with float/int
  14524. 2004-08-06 18:00 jackson
  14525. * DockStyle.cs, AnchorStyles.cs:
  14526. Add flags and serializable attributes.
  14527. 2004-08-06 17:46 pbartok
  14528. * XplatUIX11.cs:
  14529. - Implemented GetParent
  14530. 2004-08-06 17:18 pbartok
  14531. * TrackBar.cs:
  14532. - Fixed some rounding issues with float/int
  14533. 2004-08-06 17:17 pbartok
  14534. * X11Structs.cs, XplatUIX11.cs:
  14535. - Fixed Refresh and Invalidate
  14536. 2004-08-06 15:30 pbartok
  14537. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  14538. - Fixed recursive loop when resizing
  14539. - Improved/fixed redrawing on expose messages
  14540. 2004-08-06 09:53 jordi
  14541. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  14542. keyboard navigation
  14543. 2004-08-06 08:02 pbartok
  14544. * X11Structs.cs, XplatUIX11.cs:
  14545. - Fixed reparenting
  14546. - Fixed window border creation
  14547. 2004-08-05 15:38 pbartok
  14548. * XplatUIX11.cs:
  14549. - Attempted fix for reparenting problems
  14550. 2004-08-04 15:14 pbartok
  14551. * Control.cs:
  14552. - Fixed Invalidation bug (calculated wrong client area)
  14553. - Added ClientSize setter
  14554. 2004-08-04 15:13 pbartok
  14555. * Form.cs:
  14556. - Added AutoScale properties
  14557. 2004-08-04 15:13 pbartok
  14558. * SWF.csproj:
  14559. - Added latest files
  14560. 2004-08-04 14:11 pbartok
  14561. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  14562. XplatUIX11.cs:
  14563. - Added Invalidate handling
  14564. 2004-08-03 17:09 jordi
  14565. * XplatUIDriver.cs: fixes spelling mistake
  14566. 2004-07-27 09:53 jordi
  14567. * TrackBar.cs: fixes trackbar events, def classname, methods
  14568. signature
  14569. 2004-07-27 09:29 jordi
  14570. * ScrollBar.cs: fixes scrollbar events
  14571. 2004-07-27 04:38 jordi
  14572. * Control.cs: changes to be able to run winforms samples
  14573. 2004-07-26 11:42 jordi
  14574. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  14575. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  14576. 2004-07-26 05:41 jordi
  14577. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  14578. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  14579. implementation
  14580. 2004-07-22 09:22 jordi
  14581. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  14582. check link overlapping, implement events, and fixes
  14583. 2004-07-21 10:28 jordi
  14584. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  14585. 2004-07-21 10:19 jordi
  14586. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  14587. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  14588. LinkLabelLinkClickedEventArgs.cs,
  14589. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  14590. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  14591. implementation
  14592. 2004-07-19 13:09 jordi
  14593. * Control.cs, Label.cs: label control re-written: added missing
  14594. functionlity, events, and properties
  14595. 2004-07-19 10:49 jordi
  14596. * Control.cs: fixes SetBounds logic
  14597. 2004-07-19 01:29 jordi
  14598. * Control.cs: Call RefreshWindow only if the window has created
  14599. 2004-07-15 14:05 pbartok
  14600. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  14601. - Implemented ImageList and ImageList.ImageCollection classes
  14602. - Added ColorDepth enumeration
  14603. - Updated SWF VS.Net project
  14604. 2004-07-15 11:06 jordi
  14605. * XplatUIStructs.cs: added MsgButons enum
  14606. 2004-07-15 11:03 jordi
  14607. * Control.cs: added basic mouse handeling events
  14608. 2004-07-15 03:38 jordi
  14609. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  14610. Vertical TrackBar control implementation
  14611. 2004-07-13 09:33 jordi
  14612. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  14613. 2004-07-13 09:31 jordi
  14614. * Control.cs, Form.cs: commit: new properties and fixes form size
  14615. problems
  14616. 2004-07-09 14:13 miguel
  14617. * ProgressBar.cs: Spelling
  14618. 2004-07-09 11:25 pbartok
  14619. * ProgressBar.cs:
  14620. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  14621. faster
  14622. 2004-07-09 11:17 miguel
  14623. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  14624. * ProgressBar.cs: Fixed spelling for `block'
  14625. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  14626. style guidelines.
  14627. Avoid using the += on rect.X, that exposed a bug in the compiler.
  14628. 2004-07-08 23:21 pbartok
  14629. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  14630. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  14631. BaseCollection.cs, Binding.cs, BindingContext.cs,
  14632. BindingMemberInfo.cs, BindingsCollection.cs,
  14633. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  14634. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  14635. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  14636. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  14637. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  14638. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  14639. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  14640. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  14641. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  14642. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  14643. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  14644. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  14645. InputLanguageChangedEventArgs.cs,
  14646. InputLanguageChangedEventHandler.cs,
  14647. InputLanguageChangingEventArgs.cs,
  14648. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  14649. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  14650. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  14651. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  14652. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  14653. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  14654. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  14655. QueryAccessibilityHelpEventArgs.cs,
  14656. QueryAccessibilityHelpEventHandler.cs,
  14657. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  14658. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  14659. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  14660. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  14661. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  14662. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  14663. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  14664. XplatUIX11.cs, lang.cs:
  14665. - Initial check-in