ChangeLog 779 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390
  1. 2007-01-18 Jackson Harper <[email protected]>
  2. * TextControl.cs: Calculate width properly.
  3. - Don't store the tag's X offset, this can be figured out very
  4. easily.
  5. - When getting the caret tag make sure to get the last empty tag.
  6. 2007-01-18 Jonathan Pobst <[email protected]>
  7. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  8. [Fixes bug #79959]
  9. * Control.cs: Color.Empty shouldn't count for previous transparent
  10. redraw changes.
  11. 2007-01-18 Jackson Harper <[email protected]>
  12. * TextBox.cs:
  13. * RichTextBox.cs:
  14. * TextControl.cs: Starting to merge in some pieces of my older
  15. undo work. Basically just some slight cleanup of the undo API.
  16. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  17. * TrackBar.cs: Fix signature of RightToLeftLayout.
  18. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  19. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  20. * Application.cs: Implemented UseWaitCursor.
  21. 2007-01-18 Jackson Harper <[email protected]>
  22. * TextControl.cs: We can't skip tags if any part of the tag is
  23. visible.
  24. 2007-01-18 Jonathan Pobst <[email protected]>
  25. * ContainerControl.cs: Override OnLayout.
  26. 2007-01-18 Jonathan Pobst <[email protected]>
  27. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  28. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  29. everything else.
  30. 2007-01-18 Chris Toshok <[email protected]>
  31. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  32. (leftover from the container_selected days, I'd wager). fixes bug
  33. #80546.
  34. 2007-01-18 Jonathan Pobst <[email protected]>
  35. * Control.cs: Apply patch from George to fix the new testcase on
  36. bug #80451. We can't just check for Color.Transparent, we need
  37. to check if the back color's alpha channel is < 255.
  38. 2007-01-18 Jonathan Pobst <[email protected]>
  39. * Form.cs: Move setting show_icon = true to before the constructor
  40. so that the base constructor has that information when it calculates
  41. the form's size. Was causing forms to be (6, 6) bigger than they
  42. were supposed to be. Thanks for catching this Rolf!
  43. 2007-01-18 Jackson Harper <[email protected]>
  44. * TextControl.cs: When replacing a selection we need to invalidate
  45. from the initial selection start, because selection start is moved
  46. to the end of the replacement.
  47. 2007-01-18 Andreia Gaita <[email protected]>
  48. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  49. 2007-01-18 Chris Toshok <[email protected]>
  50. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  51. I just added.
  52. 2007-01-17 Everaldo Canuto <[email protected]>
  53. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  54. layout methods and properties from ToolBarButton must be available
  55. into ToolBarButtonInfo.
  56. 2007-01-17 Jonathan Pobst <[email protected]>
  57. * Control.cs: If the control has a transparent background, we
  58. need to refresh it when it moves and when it's parent's background
  59. image changes. [Fixes bug #80451]
  60. 2007-01-17 Jonathan Pobst <[email protected]>
  61. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  62. 2007-01-17 Jonathan Pobst <[email protected]>
  63. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  64. [Fixes bug #80447, and probably speeds up things as well]
  65. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  66. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  67. * XplatUIWin32.cs: We need to recalculate NC size after changing
  68. window style to toolwindow (otherwise the client rectangle will be
  69. 3 pixels to small for some reason).
  70. * MdiWindowManager.cs: Revert NC size calculations to match how
  71. they are calculated only based on window styles (to match
  72. Win32AdjustWindowRectEx, since otherwise when setting size or
  73. location, Control will call Win32AdjustWindowRectEx to update client
  74. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  75. calculate a different value of client size causing another paint
  76. (and flickering))
  77. * InternalWindowManager.cs: When moving or resizing a window only
  78. update size or location if they actually changed.
  79. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  80. (seems to match Windows behaviour better). Cleaned up
  81. ManagedWindowDecorations to draw what's needed and nothing else
  82. (was drawing borders and lines where they shouldn't be)
  83. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  84. (style = 0xFFFF) and takes into account caption height when
  85. calculating window rectangle.
  86. 2007-01-16 Everaldo Canuto <[email protected]>
  87. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  88. can be added to toolbar multiple times, we need to maintain a list of
  89. button information for each positions.
  90. 2007-01-16 Everaldo Canuto <[email protected]>
  91. * ToolBar.cs: Some small stetic changes.
  92. 2007-01-16 Jackson Harper <[email protected]>
  93. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  94. that allow us to have nested recalc = false blocks.
  95. - Add paste support for images in the RichTextBox
  96. * RichTextBox.cs: flush the text after the color is changed, so
  97. the change takes effect.
  98. - Use SuspendRecalc
  99. - Some extra debugging info
  100. * TextControl.cs: Tags no longer track their length, it is just
  101. computed from the next tags length, this makes things a little
  102. simpler and reduces places that we have to track length changes.
  103. - Refactored the linetag class a little so we could make it
  104. a base class for different kinds of tags
  105. - Created a image tag, a tag that can have a single image inserted
  106. into it
  107. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  108. that we can call suspend multiple times.
  109. - Add some debugging methods
  110. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  111. * MdiClient.cs: Add ActivatePreviousChild for
  112. mdi child window navigation.
  113. * Form.cs: Use MdiClient.ActivateNextChild/
  114. ActivatePreviousChild instead of Form.SelectNextControl
  115. to select the next/previous child since
  116. SelectNextControl doesn't do it in the same order
  117. as mdi children should do it.
  118. 2007-01-16 Chris Toshok <[email protected]>
  119. * Control.cs: remove container_selected field.
  120. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  121. * MdiClient.cs: Update main form's ActiveChild when
  122. updating keyboard focus for the mdi child.
  123. 2007-01-16 Jonathan Pobst <[email protected]>
  124. * Control.cs: PreferredSize fix.
  125. * Form.cs: Add several 2.0 events, properties, and methods.
  126. 2007-01-16 Gert Driesen <[email protected]>
  127. * Form.cs: Provide meaningful message when MdiParent is assigned a
  128. Form that is not an MdiContainer.
  129. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  130. * MdiClient.cs: Update main form's ActiveChild when
  131. activating a mdi child.
  132. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  133. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  134. doesn't have a menu.
  135. * Form.cs: Request NCRecalc after creating a mdi child window.
  136. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  137. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  138. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  139. sends keyboard focus to the active child, or to the MdiClient
  140. if there are no child forms.
  141. 2007-01-15 Chris Toshok <[email protected]>
  142. * ListView.cs: drop the *Internal overrides, just do our work in
  143. ItemControl's WndProc instead.
  144. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  145. of the various controls, and forward the events properly (in the
  146. same manner as MS) from the textbox to the UpDown. Also the
  147. ActiveControl of the UpDownBase gets set properly now. Finally,
  148. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  149. * NumericUpDown.cs: set Text in the ctor.
  150. * DomainUpDown.cs: call UpdateEditText in the ctor.
  151. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  152. so even a Selectable = false textbox can be focused if you click
  153. in it. Go figure.
  154. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  155. just add their handling in their respective WndProc's. Also add
  156. an explicit FocusInternal method that doesn't consult CanFocus
  157. before calling Select(this).
  158. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  159. do our work in WndProc instead.
  160. * TabControl.cs: same.
  161. * ComboBox.cs: same.
  162. 2007-01-15 Everaldo Canuto <[email protected]>
  163. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  164. Fixes #80006.
  165. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  166. * ListViewItem.cs:
  167. * ThemeWin32Classic.cs: Don't draw the item text outside
  168. item bounds in Details view, as well as use trimming.
  169. Fixes bug #80376.
  170. 2007-01-15 Jonathan Pobst <[email protected]>
  171. * Form.cs: Implement Form.ShowIcon.
  172. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  173. null, which when combined with the DlgModalFrame window style removes
  174. the icon from the title bar.
  175. 2007-01-15 Jonathan Pobst <[email protected]>
  176. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  177. 2007-01-15 Everaldo Canuto <[email protected]>
  178. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  179. menu when mdi child windows theres a menu, uses insert to get icon
  180. at first position. Partially fix #80006.
  181. 2007-01-15 Jonathan Pobst <[email protected]>
  182. * Clipboard.cs: Implement 2.0 methods.
  183. 2007-01-15 Everaldo Canuto <[email protected]>
  184. * Menu.cs: Implement Insert method of MenuItemCollection class
  185. to fix MenuMerge.
  186. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  187. * ListView.cs: Implement 2.0 FindItemWithText method.
  188. 2007-01-11 Everaldo Canuto <[email protected]>
  189. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  190. to calculate menu bar size. Fixes #80290.
  191. 2007-01-11 Everaldo Canuto <[email protected]>
  192. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  193. 2007-01-11 Chris Toshok <[email protected]>
  194. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  195. initial form.
  196. 2007-01-11 Chris Toshok <[email protected]>
  197. * LinkLabel.cs: make sure to call base.Select in our Select method
  198. if it turns out we're going to be selected (i.e. if we have a link
  199. that is going to receive focus). That way our container's
  200. ActiveControl is updated properly.
  201. 2007-01-11 Chris Toshok <[email protected]>
  202. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  203. they have 1 or more links. this fixes the crash gert reported.
  204. 2007-01-11 Andreia Gaita <[email protected]>
  205. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  206. anymore.
  207. * Control.cs (Controls.Add): Check if control to be added to the collection
  208. is a top level control, and throw an ArgumentException if it is.
  209. Remove ContainerSelectedFlag, not needed anymore.
  210. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  211. top most control doesn't activate the form. This fixes a problem in the
  212. MessageBox, where the default button wouldn't get focus because the form
  213. was activated before being Loaded - when the Owner is set, SetTopMost is
  214. called, and it would activate it.
  215. 2007-01-11 Jonathan Pobst <[email protected]>
  216. * Button.cs: When clicked and setting the parent form's DialogResult,
  217. use FindForm instead of Parent, since parent could be a container
  218. control and not the Form. Fixes bug #80495.
  219. 2007-01-10 Chris Toshok <[email protected]>
  220. * Form.cs: move the call to SendControlFocus into the same
  221. is_loaded check.
  222. 2007-01-10 Chris Toshok <[email protected]>
  223. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  224. It breaks in the face of the new ActiveControl stuff, and should
  225. be unnecessary.
  226. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  227. activecontrol's focus if it's not already set, after we set
  228. ActiveControl, but before we call OnActivated. Re-fixes #79667
  229. after the previous focus/active control fixes regressed it.
  230. * Control.cs: reindent some code.
  231. 2007-01-10 Chris Toshok <[email protected]>
  232. * Splitter.cs: clearing some outstanding changes from my tree.
  233. Replace all accesses (not writes) to the internal dock_style field
  234. with the Dock property.
  235. 2007-01-10 Chris Toshok <[email protected]>
  236. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  237. FireValidated virtual.
  238. * Form.cs: override and don't chain up calls to FireEnter and
  239. FireLeave.
  240. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  241. * ListView.cs: Add more text padding space when using
  242. auto resize for columns (the previous value didn't work fine).
  243. * ThemeWin32Classic.cs: Update text position inside columns,
  244. to match the appeareance of .Net.
  245. * ColumnHeader.cs: When using auto resize, only the Width should
  246. depend on the sub items, not the Height. Also, set width after
  247. auto resizing (the value of Width should never remain as -1 or -2).
  248. 2007-01-10 Chris Toshok <[email protected]>
  249. * Application.cs: fix compilation errors when debug is enabled.
  250. 2007-01-10 Chris Toshok <[email protected]>
  251. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  252. add some nice ascii art pictures and explanation of the process).
  253. (GetMostDeeplyNestedActiveControl): new utility function we need
  254. because our ActiveControl can refer to a child container with its
  255. own ActiveControl.
  256. * Form.cs (OnActivated): remove the call to SelectActiveControl
  257. from here, since you can override this method and not chain up,
  258. and winforms still sets the active control.
  259. (OnCreateControl): also remove the unnecessary SelectActiveControl
  260. call from here.
  261. (WndProc): it's actually called from the WM_ACTIVATE block, just
  262. before calling OnActivated.
  263. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  264. inside the else. the ActiveControl setter will end up setting
  265. focus on @control. This keeps us from setting it again (and
  266. generating an extra LostFocus/GotFocus pair).
  267. (Select (bool, bool)): reindent.
  268. 2007-01-10 Jonathan Pobst <[email protected]>
  269. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  270. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  271. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  272. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  273. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  274. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  275. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  276. ToolStripTextBox.cs: Another wave of corcompare work.
  277. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  278. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  279. the Width property.
  280. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  281. methods by callling Column.AutoResize method on columns.
  282. 2007-01-09 Jonathan Pobst <[email protected]>
  283. * Control.cs: Provide proper implementations of PreferredSize
  284. and GetPreferredSize (2.0).
  285. 2007-01-09 Jonathan Pobst <[email protected]>
  286. * Form.cs: Remove one character (!) to make my previous OnClosing
  287. stuff work for modal windows like MessageBox.
  288. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  289. * ListView.cs:
  290. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  291. ListView.Columns to get the last displayed column. Fixes #80452.
  292. 2007-01-09 Everaldo Canuto <[email protected]>
  293. * Label.cs, LinkLabel.cs: Source code identation fixes.
  294. 2007-01-08 Everaldo Canuto <[email protected]>
  295. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  296. we dont need to invalidate only borders because when we invalidate four
  297. border lines the invalidate's generates a complete redraw of button,
  298. because it now invalidate a complete rect some other redraws operations
  299. are fixed. Fixes #80196.
  300. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  301. Remove ToolBarInvalidateEntireButton as it is not used.
  302. 2007-01-08 Jonathan Pobst <[email protected]>
  303. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  304. called for 2.0 profile.
  305. * CloseReason.cs: Make class internal for 1.1.
  306. 2007-01-08 Jonathan Pobst <[email protected]>
  307. * ToolStripManager.cs: Implement FindToolStrip functionality.
  308. * ToolStrip.cs: Register and unregister with ToolStripManager.
  309. 2007-01-07 Jonathan Pobst <[email protected]>
  310. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  311. to ArrangedElementCollection. Implemented this with as few #if's as
  312. possible (which is still too many).
  313. 2007-01-07 Jonathan Pobst <[email protected]>
  314. * Control.cs: Implement SizeFromClientSize() [2.0].
  315. 2007-01-07 Everaldo Canuto <[email protected]>
  316. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  317. use Theme.BorderSize to calculate area instead of static value 1,
  318. by the way use new BorderStaticSize instead Border3DSize when
  319. border_static is true. Fixes #79537.
  320. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  321. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  322. it is not needed.
  323. 2007-01-06 Everaldo Canuto <[email protected]>
  324. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  325. 2007-01-06 Everaldo Canuto <[email protected]>
  326. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  327. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  328. * Hwnd.cs:
  329. - border_static field added, it will used to define when a control
  330. theres 3D border but it must be static (thin).
  331. - In GetWindowRectangle use Theme.BorderSize to calculate area
  332. instead of static value 1, by the way use new BorderStaticSize instead
  333. Border3DSize when border_static is true.
  334. * XplatUIX11.cs, XplatUIOSX.cs:
  335. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  336. * Theme.cs: BorderStaticSize field added.
  337. 2007-01-05 Everaldo Canuto <[email protected]>
  338. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  339. 2007-01-05 Everaldo Canuto <[email protected]>
  340. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  341. mimic same behavior than win32 that set border only in CreateParams,
  342. it fix problems under CreateParams overrides. Fix #79442 and partial
  343. fix #79537.
  344. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  345. of thi control you must call recreate handle.
  346. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  347. need to do anything as RecreateHangle will take care about borders.
  348. 2007-01-05 Mike Kestner <[email protected]>
  349. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  350. cycles between the ItemControl and parent. Fixes #80388.
  351. 2007-01-05 Gert Driesen <[email protected]>
  352. * Control.cs: Lazy init layout engine. Do not directly use
  353. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  354. 2007-01-05 Chris Toshok <[email protected]>
  355. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  356. unless our list manager has changed (i.e. unless we have reason to
  357. believe our columns have changed). Fixes #80422.
  358. also, disable the call do BindColumns in
  359. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  360. 1.1 the event isn't raised in response to a column addition on a
  361. table.)
  362. 2007-01-05 Jonathan Pobst <[email protected]>
  363. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  364. that inheritors can not call it if they choose. Fixes bug #80456.
  365. 2007-01-05 Andreia Gaita <[email protected]>
  366. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  367. doesn't blow up with a null exception on marshalling.
  368. 2007-01-05 Jonathan Pobst <[email protected]>
  369. * Control.cs: Implement several 2.0 protected properties and methods.
  370. Ensure that all necessary events are being called when properties
  371. are set.
  372. 2007-01-05 Mike Kestner <[email protected]>
  373. * ListView.cs: implement PgUp/PgDn for Details view. Also
  374. fixes First/LastVisibleIndex to use the item_control.ClientRect
  375. instead of the parent control. Fixes #80378.
  376. 2006-01-05 Atsushi Enomoto <[email protected]>
  377. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  378. determine whether to use yard-pound or not (bug #78399).
  379. 2006-01-04 Alexander Olk <[email protected]>
  380. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  381. problems. So it is time to bring back the old popupbutton colors.
  382. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  383. * ColumnHeader.cs:
  384. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  385. property by using the internal information of the
  386. columns order in ListView.
  387. 2007-01-04 Jonathan Pobst <[email protected]>
  388. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  389. Add 2.0 Tag properties.
  390. * LinkArea.cs: Add 2.0 ToString method.
  391. 2007-01-03 Chris Toshok <[email protected]>
  392. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  393. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  394. when we're editing, which fixes #80047.
  395. 2007-01-03 Chris Toshok <[email protected]>
  396. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  397. #80404.
  398. 2007-01-03 Jonathan Pobst <[email protected]>
  399. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  400. property and implementation.
  401. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  402. for MdiWindowListItem property.
  403. * ToolStripDropDown.cs: Don't consider hidden menu items while
  404. laying out the menu.
  405. 2007-01-03 Andreia Gaita <[email protected]>
  406. * SendKeys.cs: window handle is not needed in win32, so just
  407. get the active window for X after parsing keys and don't use
  408. it when building the message; it is passed by parameter to the
  409. Xplat method and used there to build the message instead. Also,
  410. wait for events to be processed on SendWait, as opposed to Send,
  411. which doesn't wait :) Playing with threads and Send() completely
  412. hangs on ms.net, only SendWait() works.
  413. XplatUIX11.cs
  414. X11Display.cs: Check for valid window handle.
  415. 2007-01-03 Jackson Harper <[email protected]>
  416. * TextControl.cs: Need to prevent wrap calculations when replacing
  417. text (this was there before i removed it accidently).
  418. - Don't update the cursor during the positioning, just set it to
  419. selection_start at the end of the operaion.
  420. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  421. * Control.cs:
  422. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  423. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  424. * MonthCalendar.cs: Added Click and DoubleClick events again,
  425. but this time they only hide Control's Click and DoubleClick.
  426. 2007-01-03 Gert Driesen <[email protected]>
  427. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  428. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  429. 2007-01-02 Jackson Harper <[email protected]>
  430. * TextBoxBase.cs: We move the caret with the split now, so we
  431. don't need to explicitly move the caret after splitting. This
  432. fixes the caret bumping down an extra line on Enter.
  433. 2007-01-02 Miguel de Icaza <[email protected]>
  434. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  435. 2.72).
  436. * ScrollableControl.cs: Add Scroll event.
  437. 2007-01-02 Mike Kestner <[email protected]>
  438. * ListView.cs: one more try with help from [email protected]
  439. to fix all hdr height padding codepaths. Fixes #80207.
  440. 2007-01-02 Chris Toshok <[email protected]>
  441. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  442. setting it to the Control defaults anyway, and it being after the
  443. Dock set was screwing up layout.
  444. (set_Dock): don't short circuit out of setting base.Dock. Also,
  445. no need to call UpdateStatusBar here, as it'll be re-layed out if
  446. it needs to be.
  447. 2007-01-02 Mike Kestner <[email protected]>
  448. * ListView.cs: patch from [email protected] to add padding
  449. to header height for width == -1. Fixes the rest of #80207.
  450. 2007-01-02 Mike Kestner <[email protected]>
  451. * ListView.cs: rework the mouse event forwarding everaldo added
  452. to translate the coordinates to the parent control not
  453. raise the parent events until after we've done our work. Hover
  454. needs more work, in the case where HoverSelection is on, because
  455. the item control receives more than one MouseHover per Enter
  456. event, so we need to ensure only the "first" hover gets forwarded.
  457. Opening a minor bug for that.
  458. 2007-01-02 Gert Driesen <[email protected]>
  459. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  460. * ListControl.cs: Implemented AllowSelection property. Removed extra
  461. tabs.
  462. * ListBox.cs: Implemented AllowSelection property.
  463. 2007-01-02 Everaldo Canuto <[email protected]>
  464. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  465. SelectedItem, it prevent for errors when you must disable item
  466. before perform click. Fixes #80409.
  467. 2007-01-02 Everaldo Canuto <[email protected]>
  468. * MenuAPI.cs: Prevent second level and beyond submenus to close
  469. until first level when move out side of popup.
  470. 2007-01-02 Everaldo Canuto <[email protected]>
  471. * MenuAPI.cs:
  472. - Down submenu positin in three pixels.
  473. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  474. 2007-01-02 Everaldo Canuto <[email protected]>
  475. * ThemeWin32Classic.cs:
  476. - Fix popup menu size adding one pixel on the top.
  477. - Down menu item border from two to one to mimic Win32.
  478. - Some source identation fixes.
  479. 2007-01-01 Everaldo Canuto <[email protected]>
  480. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  481. position of menu arrows, it fix wrong arrow size.
  482. 2007-01-01 Everaldo Canuto <[email protected]>
  483. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  484. instead of line, it simplify draw operation and fix it using 3D
  485. borders to mimic Win32.
  486. 2007-01-01 Jonathan Pobst <[email protected]>
  487. * StatusStrip.cs: Add implementation of the sizing grip.
  488. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  489. StatusStrip rendering.
  490. 2006-12-31 Chris Toshok <[email protected]>
  491. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  492. override the layout style (anchor/dock) of the control. assign to
  493. Dock instead. Fixes bug #80416.
  494. * ToolStrip.cs: same.
  495. 2006-12-31 Andreia Gaita <[email protected]>
  496. * ContainerControl.cs: Use ContainerSelected flag to check if
  497. a Container is directly selected, or if Select is called on a
  498. non-container. If a container is directly selected, focus events
  499. should not be raised.
  500. Apply #80411 patch to throw exception on set_ActiveControl if
  501. control is the same as the current one.
  502. * Control.cs: Use ContainerSelected flag (see above).
  503. Add invalidation check to raise event but not invalidate if
  504. dimensions are 0.
  505. Apply #80411 patch.
  506. 2006-12-31 Everaldo Canuto <[email protected]>
  507. * MenuAPI.cs: After click, dont close popup menu when menu is
  508. ContextMenu. Fixes #80399.
  509. 2006-12-30 Chris Toshok <[email protected]>
  510. * ContainerControl.cs: make sure we throw the exception if the
  511. container control doesn't contain the control we're setting
  512. ActiveControl to.
  513. 2006-12-30 Chris Toshok <[email protected]>
  514. * Control.cs (SetTopLevel): fix the exception raised by
  515. SetTopLevel for child controls.
  516. (set_Anchor): call UpdateDistances when setting the anchor type.
  517. This fixes bug #80336.
  518. 2006-12-29 Gert Driesen <[email protected]>
  519. * Theme.cs: For now, revert back to 8pt font.
  520. 2006-12-29 Everaldo Canuto <[email protected]>
  521. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  522. Fixes #80395.
  523. 2006-12-29 Chris Toshok <[email protected]>
  524. * Control.cs: reorder the code in OnResize to give the same event
  525. ordering as MS.
  526. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  527. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  528. TileHorizontally and TileVertically.
  529. 2006-12-29 Alexander Olk <[email protected]>
  530. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  531. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  532. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  533. Corrected copyright and email adress.
  534. 2006-12-29 Gert Driesen <[email protected]>
  535. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  536. of Exception in FullPath property if no TreeView is associated with
  537. the TreeNode.
  538. 2006-12-29 Gert Driesen <[email protected]>
  539. * Theme.cs: Marked default_font as private, and initialize it in ctor
  540. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  541. on 2.0 profile.
  542. * ThemeGtk.cs: Removed default_font intialization.
  543. * ThemeWin32Classic.cs: Removed default_font initialization.
  544. 2006-12-28 Chris Toshok <[email protected]>
  545. * Control.cs: fix a couple of place where we were creating handles
  546. more aggressively than we should be. Fixes ControlRefresh unit
  547. tests.
  548. 2006-12-28 Chris Toshok <[email protected]>
  549. * Control.cs: contrary to what the comment said, Control.Dock does
  550. not supercede Control.Anchor - the last one you assign to decides
  551. the layout behavior. so we need to keep track of which was the
  552. last set. Also, fix some of the affected property arguments in
  553. PerformLayout calls, and remove an redundant parent.PerformLayout
  554. call in OnResized.
  555. Add a VisibleInternal property, which returns is_visible. We
  556. can/should get rid of all the usage of this field elsewhere.
  557. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  558. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  559. control style, not DoubleBuffer. Added UseDoubleBuffering property
  560. that indicates whether doublebuffering is enabled and supported.
  561. (comment from and code based on Gert Driesen's patch in #80324).
  562. Fixes #80324.
  563. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  564. * Control.cs: Fixed a NRE.
  565. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  566. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  567. for 2.0.
  568. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  569. * Control.cs: Rewrote double buffering, now a seperate
  570. class handles all the buffering, no Graphics is disposed of
  571. until the painting is finished (earlier implementation
  572. would crash if the control was resized in the OnPaint,
  573. since it would cause the double buffer to be recreated
  574. and the old one disposed), a separate Graphics is
  575. created for every paint (MS behaviour and anyways the state
  576. of the Graphics would have to be saved and restored otherwise)
  577. * XplatUIDriver.cs:
  578. * XplatUIX11.cs:
  579. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  580. so that we can get the graphics for the back buffer without
  581. having to create a new one and remove the offscreen_dc parameter
  582. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  583. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  584. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  585. Also make virtual all the key-related methods.
  586. * ListViewItem.cs: Make virtual the key related methods for
  587. ListViewSubItemCollection.
  588. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  589. * ListView.cs:
  590. * ListViewItem.cs:
  591. * ThemeWin32Classic.cs:
  592. * Theme.cs: Initial support for Tile view in ListView,
  593. as well as the implementation of the required bits for it (Item
  594. and Subitem).
  595. 2006-12-27 Gert Driesen <[email protected]>
  596. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  597. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  598. Provide useful exception messages.
  599. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  600. * TrackBar.cs: Remove a warning.
  601. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  602. when used by DateTimePicker, fixes #80287. This also requires that
  603. MonthCalendar implements it's own drawing for the yearly updown control,
  604. otherwise the Capture tracking would be too complicated. Removed the Click
  605. and DoubleClick events (according to comments they were hiding the base class
  606. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  607. raise these events, not that they cannot be raised. It is possible to raise
  608. them by calling OnClick and OnDoubleClick). Added two internal fields in
  609. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  610. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  611. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  612. event, no longer needed.
  613. 2006-12-27 Gert Driesen <[email protected]>
  614. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  615. true if new value differs from current value.
  616. 2006-12-27 Gert Driesen <[email protected]>
  617. * Control.cs: ControlCollection.Count must be public. Fixed build of
  618. unit tests.
  619. 2006-12-27 Gert Driesen <[email protected]>
  620. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  621. 2006-12-27 Gert Driesen <[email protected]>
  622. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  623. 2006-12-26 Everaldo Canuto <[email protected]>
  624. * Control.cs: Invalidates control including when Width and Height is
  625. equal zero or is not visible, only Paint event must be care about
  626. this. Fixes #79913.
  627. 2006-12-26 Chris Toshok <[email protected]>
  628. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  629. more corcompare work.
  630. * DataGridView.cs: fix compiler warning.
  631. * ColumnHeader.cs: some corcompare work, and also take the
  632. opportunity to make the internal fields private.
  633. * ListView.cs: fix the fallout from the above field change.
  634. 2006-12-26 Jonathan Pobst <[email protected]>
  635. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  636. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  637. ToolStripTextBox.cs: Fixes to events and corcompare.
  638. 2006-12-26 Everaldo Canuto <[email protected]>
  639. * ListView.cs: Call owner.OnMousexx event to propagate events from
  640. item to ListView. Fixes #80367.
  641. 2006-12-26 Gert Driesen <[email protected]>
  642. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  643. if value is less than one. ItemHeight should not be set to a value
  644. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  645. Removed extra tabs.
  646. 2006-12-26 Jonathan Pobst <[email protected]>
  647. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  648. * ToolStripStatusLabel.cs: Add Spring for Moma.
  649. 2006-12-26 Gert Driesen <[email protected]>
  650. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  651. Fixed code formatting. Removed debug code.
  652. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  653. 2006-12-26 Gert Driesen <[email protected]>
  654. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  655. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  656. ArgumentOutOfRangeException if ColumnCount is negative. In
  657. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  658. less than 4 or higher than 32768.
  659. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  660. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  661. Fixed IsFormatProviderDefault to return true if FormatProvider has
  662. not been explicitly set.
  663. 2006-12-25 Chris Toshok <[email protected]>
  664. * Application.cs: add a couple of 2.0 events.
  665. 2006-12-25 Chris Toshok <[email protected]>
  666. * Control.cs: fix compiler warning.
  667. * AxHost.cs: corcompare fixes.
  668. * ApplicationContext.cs: corcompare fixes.
  669. 2006-12-25 Chris Toshok <[email protected]>
  670. * Control.cs: only update dist_right/dist_bottom if the
  671. width/height is > 0. this fixes anchored controls being resized
  672. smaller until they disappear and then resized larger again.
  673. 2006-12-25 Chris Toshok <[email protected]>
  674. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  675. since they're nothing more than X/Left and Y/Top, respectively.
  676. Also, move back to a per-control Bitmap/Graphics for
  677. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  678. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  679. Height.
  680. 2006-12-25 Miguel de Icaza <[email protected]>
  681. * MessageBox.cs: Implemented overload that takes a new "bool
  682. displayHelpButton" by adding a new internal field "show_help".
  683. When clicked this will raise the HelpRequested on the owner or the
  684. main form.
  685. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  686. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  687. * ListView.cs: Add support ColumnWidthChanged and
  688. ColumnWidthChanging.
  689. Add support for ColumnReordered event.
  690. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  691. reorder.
  692. Very nice codebase!
  693. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  694. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  695. 2006-12-24 Chris Toshok <[email protected]>
  696. * GridTablesFactory.cs: 2.0 corcompare work.
  697. * ToolStripContainer.cs: add "override" to
  698. ContextMenuStripChanged, and remove the local event object.
  699. * ToolStripDropDown.cs: same with a couple properties.
  700. * ToolStripPanel.cs: same with AutoSizeChanged event.
  701. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  702. * Form.cs: add the remaining 2.0 events, and do some corcompare
  703. attribute work.
  704. * DateTimePicker.cs: add "new" to padding.
  705. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  706. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  707. * DataGridView.cs: PaddingChanged is overridden.
  708. 2006-12-24 Chris Toshok <[email protected]>
  709. * Control.cs: corecompare work here too.
  710. * DataGridViewElement.cs, DataGridView.cs,
  711. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  712. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  713. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  714. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  715. work.
  716. 2006-12-24 Miguel de Icaza <[email protected]>
  717. * Control.cs: Switched the error message on the console for a
  718. todo. A review of the code will have to cope with this anyways
  719. (since its a large feature, it is in our radar) and it was
  720. producing too much output when running PDN.
  721. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  722. changes. Applications depend on this (PDN 2.72)
  723. 2006-12-23 Chris Toshok <[email protected]>
  724. * TableLayoutSettings.cs: finish up the corcompare work for this
  725. class.
  726. 2006-12-23 Chris Toshok <[email protected]>
  727. * Control.cs: make SetImplicitBounds internal, do some futzing
  728. with LayoutEngine so that it's available in 1.1, and remove the
  729. entire duplicated code mess from PerformLayout. Use
  730. System.Windows.Forms.Layout.DefaultLayout instead.
  731. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  732. 2006-12-23 Jonathan Pobst <[email protected]>
  733. * Form.cs: Add MainMenuStrip property.
  734. 2006-12-23 Jonathan Pobst <[email protected]>
  735. * Control.cs: Add ContextMenuStrip property and implementation.
  736. Fix ContextMenu implementation to show menu centered on control when
  737. activated using the keyboard instead of showing at screen (0,0).
  738. * ToolStripDropDown.cs: Fix needed overload of Show ().
  739. 2006-12-23 Everaldo Canuto <[email protected]>
  740. * Menu.cs: Name property added for 2.0 profile.
  741. 2006-12-23 Everaldo Canuto <[email protected]>
  742. * Menu.cs: Update information about FindMenuItem, method to be
  743. implemented soon.
  744. 2006-12-23 Everaldo Canuto <[email protected]>
  745. * MenuAPI.cs: When deselect items deselect also selected subitems.
  746. 2006-12-23 Everaldo Canuto <[email protected]>
  747. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  748. FindSubItemByCoord to found itens that is not active, also an
  749. cheking added to FindSubItemByCoord to search for items only
  750. in visible popup windows. Fixes #80274.
  751. 2006-12-22 Everaldo Canuto <[email protected]>
  752. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  753. internal property, it be care about change ExStyle.
  754. 2006-12-22 Andreia Gaita <[email protected]>
  755. * ContainerControl.cs: set activeControl for parent forms up the
  756. tree when the new activecontrol is a container.
  757. When validating the active control, if it is a container, also
  758. raise up the validation for it's active control. Fixes #80280
  759. * Control.cs: Add internal property flag and check to prevent
  760. Focus events from getting raised when Select() is called for
  761. a ContainerControl. There are still too many focus events being
  762. raised at the moment though.
  763. Cleaned up the code a bit.
  764. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  765. * Control.cs: Added all missing 2.0 events.and
  766. fixed a couple of corcompare issues.
  767. * TrackBar.cs: Implemented missing 2.0 bits.
  768. * MonthCalendar.cs,
  769. * DateTimePicker.cs,
  770. * MdiClient.cs: Fixed some corcompare issues.
  771. 2006-12-21 Jonathan Pobst <[email protected]>
  772. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  773. SplitterPanel.cs: corecompare work.
  774. 2006-12-21 Jonathan Pobst <[email protected]>
  775. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  776. Clean up warnings for BackgroundImageChanged and PaddingChanged
  777. events now that they are implemented in Control.cs.
  778. 2006-12-21 Jonathan Pobst <[email protected]>
  779. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  780. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  781. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  782. of TableLayoutPanel and supporting cast.
  783. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  784. * XplatUIWin32.cs:
  785. - GrabWindow now confines the mouse pointer to the confine window.
  786. - Added Win32ClipCursor and Win32GetClipCursor.
  787. * Control.cs:
  788. - Added CaptureWithConfine to be able to capture and confine
  789. mouse pointer.
  790. * InternalWindowManager.cs:
  791. - Call CaptureWithConfine instead of Capture if we're an
  792. MdiChild (fixes #79982).
  793. 2006-12-21 Chris Toshok <[email protected]>
  794. * DataGrid.cs: guard against the initial state of selection, where
  795. selection_start == -1. make sure we only select from index >= 0.
  796. Fixes bug #80291.
  797. 2006-12-21 Chris Toshok <[email protected]>
  798. * Control.cs: we don't need to be so draconian with
  799. UpdateDistances, and we thusly don't need to call it before
  800. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  801. 2006-12-21 Daniel Nauck <[email protected]>
  802. * ComboBox.cs,
  803. TextBox.cs: Implemented AutoComplete properties.
  804. 2006-12-20 Chris Toshok <[email protected]>
  805. * DataGridView*.cs: some corecompare work.
  806. 2006-12-20 Jackson Harper <[email protected]>
  807. * XplatUIX11.cs: We need to hide the caret when deleting it,
  808. otherwise you get carets left lying around everywhere.
  809. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  810. prevents getting some weird half drawn caret tracers when
  811. scrolling.
  812. * TextControl.cs: Attempt to reduce the number of times we need to
  813. recreate the caret.
  814. 2006-12-20 Gert Driesen <[email protected]>
  815. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  816. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  817. * DateTimePicker.cs:
  818. - Implemented missing 2.0 bits.
  819. - Changed some default values to match MS.
  820. 2006-12-20 Jackson Harper <[email protected]>
  821. * TextBoxBase.cs: When changing the font across the document we
  822. can't recalculate after changing each line, since that will cahnge
  823. the line count.
  824. - PreferredHeight is a little different than i thought.
  825. - When backspacing, move the caret before we do the actual char
  826. delete, because when that delete crosses a wrap boundary the
  827. positional information will change.
  828. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  829. * Control.cs: Added some missing 2.0 bits:
  830. BackgroundImageLayout, BackgroundImageLayoutChanged,
  831. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  832. add IBindableComponent and IDropTarget implementation.
  833. * MonthCalendar.cs:
  834. - Added all missing 2.0 features:
  835. BackgroundImageLayout, RightToLeftLayout,
  836. OnHandleDestroyed, RightToLeftLayoutChanged,
  837. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  838. PaddingChanged.
  839. - Rewrote all the BoldDate code, it was completely broken.
  840. - Fixed all the tests (the tests can now be re-enabled, the
  841. problems were not with the tests, but with the control, it was
  842. mostly broken).
  843. * DateTimePicker.cs: Changed the location where the
  844. MonthCalendar is shown.
  845. 2006-12-19 Chris Toshok <[email protected]>
  846. * DataGridView.cs: add IDropTarget implementation.
  847. * ToolStripPanel.cs: add IDropTarget implementation.
  848. 2006-12-19 Jackson Harper <[email protected]>
  849. * TextControl.cs: soft now means something different than what it
  850. used to mean, we want to move the caret regardless of whether or
  851. not this break was soft (would we really have wanted the caret
  852. to not move with the break in the old context?)
  853. * TreeView.cs: Make sure we factor in the vert scrollbar when
  854. calculating the horizontal scrollbar's maximum.
  855. 2006-12-19 Andreia Gaita <[email protected]>
  856. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  857. check for keywords in alternate casing, close bug #80049.
  858. 2006-12-19 Chris Toshok <[email protected]>
  859. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  860. methods (which all do nothing).
  861. * IDropTarget.cs: add the 4 missing methods.
  862. 2006-12-19 Chris Toshok <[email protected]>
  863. * TableLayoutRowStyleCollection.cs: corcompare work.
  864. * TableLayoutSettings.cs: same.
  865. * TableLayoutStyle.cs: same.
  866. * TableLayoutColumnStyleCollection.cs: same.
  867. 2006-12-19 Jonathan Pobst <[email protected]>
  868. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  869. TableLayoutPanel I've had in my local tree for way too long.
  870. 2006-12-19 Miguel de Icaza <[email protected]>
  871. * TableLayoutSettings.cs: Finish the public API (still needs all
  872. the logic to update on changes).
  873. * TableLayoutPanelCellPosition.cs: new file.
  874. * TableLayoutRowStyleCollection.cs,
  875. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  876. TableLayoutSettings.cs: Track the final 2.0 table api.
  877. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  878. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  879. and Image List 2.0 members for ColummnHeader.
  880. * ListView.cs: Add key-related 2.0 methods for
  881. ColumnHeaderCollection.
  882. 2006-12-19 Gert Driesen <[email protected]>
  883. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  884. ArgumentNullException if items argument is null. Ignore null item in
  885. arrays. Removed extra tabs.
  886. 2006-12-19 Gert Driesen <[email protected]>
  887. * MonthCalendar.cs: Fixed InvalidCastException.
  888. 2006-12-19 Jackson Harper <[email protected]>
  889. * TextControl.cs: Don't increment the position here.
  890. - When calculating char positions only add in the line break size
  891. for hard line breaks.
  892. 2006-12-19 Andreia Gaita <[email protected]>
  893. * SendKeys.cs: Changed some things to match ms.net behaviour
  894. when parsing shifted capital letters.
  895. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  896. Add window handle as parameter to SendInput. X11 needs the
  897. window handle, and the handle being passed to it in the keys
  898. queue is the active control handle (which windows needs), not
  899. the window handle.
  900. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  901. to support SendKeys on X.
  902. * X11Keyboard: Implement helper method to lookup a linux keycode
  903. given the virtual keycode. Added table of keycode-2-virtualkey
  904. values to support this.
  905. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  906. * ListView.cs: Add support for SelectedIndexCollection
  907. and SelectedItemCollection 2.0 methods. Implement support
  908. for ImageKey too.
  909. * ListViewItem.cs: Add support for ListViewSubItemCollection
  910. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  911. (it shouldn't call Clear).
  912. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  913. 2006-12-19 Jackson Harper <[email protected]>
  914. * RichTextBox.cs:
  915. * TextBoxBase.cs: New args for FormatText
  916. * TextControl.cs: Rewrote the main drawing method, this version
  917. feels a little easier to understand and debug to me. Hopefully it
  918. does to others also
  919. - Fix FormatText to OR in the new formating values. Added
  920. FormatSpecified param, basically this works in the same way as
  921. BoundsSpecified in Control.
  922. - Set the caret properties when the caret is positioned.
  923. - When wrapping text make sure that we calculate the width of the
  924. last character
  925. - when calculating alignments we might have wrapped down to the
  926. next line, so don't search for an individual tag, search for the
  927. end of the line
  928. - We need to invalidate the selection area when we replace the
  929. selection.
  930. 2006-12-19 Daniel Nauck <[email protected]>
  931. * Application.cs: add Restart () 2.0 support
  932. 2006-12-18 Everaldo Canuto <[email protected]>
  933. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  934. property. Fixes #80268.
  935. 2006-12-18 Everaldo Canuto <[email protected]>
  936. * MenuAPI.cs: Dont trigger select event when closes top menu
  937. item. Fixes #80270.
  938. 2006-12-18 Everaldo Canuto <[email protected]>
  939. * MenuAPI.cs: When you click on menuitem only trigger onselect
  940. event for top menu itens. Fixes #80271.
  941. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  942. * MdiWindowManager.cs: Make IconicBounds depend on
  943. the bottom of MdiClient, not the top (fixes #80267)
  944. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  945. * MdiClient.cs: Added missing 2.0 attribute
  946. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  947. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  948. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  949. 2006-12-18 Everaldo Canuto <[email protected]>
  950. * MenuAPI.cs: Fix click when menuitem is not popup,
  951. this regression was caused by last commit (#80272).
  952. 2006-12-17 Everaldo Canuto <[email protected]>
  953. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  954. fire click event or close menu. Fixes #80272.
  955. 2006-12-17 Daniel Nauck <[email protected]>
  956. * ListViewHitTestInfo.cs: add
  957. 2006-12-17 Daniel Nauck <[email protected]>
  958. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  959. * FlatButtonAppearance.cs: add
  960. * DockingAttribute.cs: add
  961. 2006-12-17 Chris Toshok <[email protected]>
  962. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  963. and rebind our columns when it does - this way, if you make
  964. changes to the DataTable (or set the Table attribute on a DataView
  965. after setting it as the DataGrid's DataSource, the changes are
  966. made visible.) Fixes bug #80107.
  967. 2006-12-17 Daniel Nauck <[email protected]>
  968. * ListViewGroup.cs: add internal Location property for layouting.
  969. * Theme.cs: add abstract ListViewGroupHeight function.
  970. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  971. 2006-12-16 Andreia Gaita <[email protected]>
  972. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  973. Added reset of selected index to 0 when adding first tab page.
  974. Fixes #80264
  975. * NumericUpDown.cs: Fix NET_2_0 check
  976. 2006-12-16 Daniel Nauck <[email protected]>
  977. * ListViewGroup.cs: fixed DefaultValueAttribute value
  978. 2006-12-16 Daniel Nauck <[email protected]>
  979. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  980. 2006-12-15 Miguel de Icaza <[email protected]>
  981. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  982. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  983. ScrollableControl.cs: Add a handful of methods that are
  984. overwritten in 2.0
  985. 2006-12-15 Chris Toshok <[email protected]>
  986. * XplatUIWin32.cs: initial implementation of the Reversible
  987. drawing functions. there are some problems. DrawReversibleFrame
  988. doesn't seem to work at all for Dashed FrameStyle, and in the
  989. Thick case there are drawing errors at the corners (we probably
  990. need to bind Rectangle instead of doing moveto/lineto's.)
  991. 2006-12-16 Andreia Gaita <[email protected]>
  992. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  993. to send blocks of key messages. Send accumulates keys to send with Flush,
  994. while SendWait sends all keys immediately.
  995. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  996. XplatUIX11.cs, XplatUIX11-new.cs:
  997. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  998. to Win32 SendInput.
  999. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  1000. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  1001. testing for ms.net on this class is very tricky, as the tests run too fast
  1002. to allow the hook to release, essentially freezing the keyboard and the
  1003. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  1004. category :p
  1005. 2006-12-16 Daniel Nauck <[email protected]>
  1006. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  1007. added missing attributes.
  1008. 2006-12-15 Daniel Nauck <[email protected]>
  1009. * ListViewGroup.cs: Added missing attributes.
  1010. * ListViewGroupCollection.cs: Added missing attributes.
  1011. 2006-12-15 Daniel Nauck <[email protected]>
  1012. * ListViewItem.cs: fixed ListViewSubItem text property.
  1013. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  1014. * Control.cs: Added missing 2.0 attributes
  1015. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  1016. * MdiClient.cs: Added missing 2.0 attribute.
  1017. * MonthCalendar.cs: Added some missing 2.0 attributes
  1018. and properties.
  1019. 2006-12-15 Daniel Nauck <[email protected]>
  1020. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  1021. 2006-12-15 Jonathan Pobst <[email protected]>
  1022. * MainMenu.cs: Add the new 2.0 constructor to help out people
  1023. using the MainMenu in VS2005.
  1024. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  1025. * MdiChildContext.cs: Removed it, no longer used.
  1026. * MdiClient.cs: Added missing 2.0 attributes.
  1027. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  1028. * InternalWindowManager.cs: Fix a NullRef with previous
  1029. changes for toolwindows.
  1030. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  1031. * Control.cs:
  1032. - Added AfterTopMostControl to allow for certain controls
  1033. to always stay on top when normal controls are brought to
  1034. front.
  1035. * XplatUIWin32.cs:
  1036. - (DrawInversibleRectangle): Get window rectangle from Win32
  1037. in stead of from control, since Win32 doesn't calculate
  1038. screen coords correctly from control's Location if it
  1039. have docked siblings.
  1040. * MdiWindowManager.cs:
  1041. - Correct the control menu popup location when clicked on
  1042. the maximized form icon. (fixes #80223.1)
  1043. - Don't show moving rectangle if mouse hasn't moved from
  1044. the original clicked point.
  1045. - Removed FormGotFocus handler (not used).
  1046. - Calculate the control buttons location from the main
  1047. window's size and not client size (fixes #79770).
  1048. - Form is now closed when the form icon is double-clicked
  1049. (fixes #79775).
  1050. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  1051. * InternalWindowManager.cs:
  1052. - Moved some MDI-only methods to MdiWindowManager.
  1053. - Removed unused properties and methods.
  1054. - Unified method naming for methods handling wm messages.
  1055. - Moved all message handling to seperate methods for
  1056. each message.
  1057. * ThemeWin32Classic.cs:
  1058. - DrawManagedWindowDecorations now draws the title bar
  1059. with a gradient brush.
  1060. - Add a CPDrawButtonInternal that allows us to specify
  1061. light, normal and dark colors for the buttons (control
  1062. buttons for MDI children were drawn with the same light
  1063. color as the background, therefore loosing the 3D effect).
  1064. * SizeGrip.cs:
  1065. - Add a CapturedControl property that is used to
  1066. determine the control to resize (defaults to parent).
  1067. Needed for MdiClient, since its SizeGrip's parent is
  1068. MdiClient, but the control to resize is the main form.
  1069. * MdiClient.cs:
  1070. - Set SizeGrip's CapturedControl to the main form in order
  1071. to resize the main form and not the MdiClient.
  1072. - Override AfterTopMostControl to leave the scrollbars
  1073. always on top.
  1074. 2006-12-15 Daniel Nauck <[email protected]>
  1075. * ListView.cs: fixed ListViewItemCollection AddRange and
  1076. implemented ListViewItemCollection AddRange 2.0 support.
  1077. 2006-12-15 Daniel Nauck <[email protected]>
  1078. * ListViewGroup.cs: Add.
  1079. * ListViewGroupCollection.cs: Add
  1080. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  1081. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  1082. stub for ImageKey 2.0 support.
  1083. 2006-12-14 Mike Kestner <[email protected]>
  1084. * ListView.cs: add text padding to the autocalculation for columns
  1085. of width -2. Fixes #80207.
  1086. 2006-12-14 Mike Kestner <[email protected]>
  1087. * ListView.cs: add some index guarding for partial row navigation
  1088. logic. Fixes #80250.
  1089. 2006-12-14 Mike Kestner <[email protected]>
  1090. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  1091. are added or inserted to the collection. Fixes #81099.
  1092. 2006-12-13 Everaldo Canuto <[email protected]>
  1093. * MenuAPI.cs: Closes menu when right click out side of popup
  1094. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  1095. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  1096. * ListViewItem.cs: Fix dumb error.
  1097. * ListView.cs: Add Find and ContainsKey methods in
  1098. ListViewItemCollection, and also return true for IsReadOnly
  1099. and IsFixedSize (changes for 2.0).
  1100. 2006-12-13 Gert Driesen <[email protected]>
  1101. * Control.cs: Allow Region to be set to null.
  1102. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  1103. * MdiWindowManager.cs: Remove unused (commented out) code.
  1104. * Form.cs: When the MdiChild is maximized, the form needs
  1105. WM_NCMOUSELEAVE, so request it.
  1106. * InternalWindowManager.cs:
  1107. - Added tooltips to control buttons.
  1108. - Removed duplicated control button handling code.
  1109. - Removed unused (commented out) code.
  1110. 2006-12-12 Everaldo Canuto <[email protected]>
  1111. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  1112. was used because we must set cursor without trigger ChangeCursor event
  1113. and without change Cursor control property. Fixes #79963.
  1114. 2006-12-12 Andreia Gaita <[email protected]>
  1115. * Control.cs: Check if Region setter value is null, and ignore
  1116. 2006-12-12 Jackson Harper <[email protected]>
  1117. * TextControl.cs: We were almost always drawing one more line then
  1118. needed, since the GetLineByPixel will return the last line found
  1119. at that pixel. In most cases though, we were invalidating up to
  1120. the junction between two lines.
  1121. - Improve debug code.
  1122. 2006-12-12 Chris Toshok <[email protected]>
  1123. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  1124. and FillReversibleRectangle.
  1125. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  1126. and FillReversibleRectangle.
  1127. * XplatUIWin32.cs: add stubs which do nothing for
  1128. DrawReversibleFrame, DrawReversibleLine, and
  1129. FillReversibleRectangle.
  1130. * XplatUIOSX.cs: add stubs which raise NIE for
  1131. DrawReversibleFrame, DrawReversibleLine, and
  1132. FillReversibleRectangle.
  1133. * XplatUIX11.cs: add working implementation for
  1134. DrawReversibleFrame, DrawReversibleLine, and
  1135. FillReversibleRectangle.
  1136. * ControlPaint.cs: implement DrawReversibleFrame,
  1137. DrawReversibleLine, and FillReversibleRectangle, by calling into
  1138. the appropriate XplatUI method.
  1139. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  1140. * Form.cs: Make MdiClient have the focus even if it's
  1141. not selectable, since it should receive WM_KEY* and WM_MOUSE
  1142. messages. Fixes #79907.
  1143. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  1144. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  1145. queried after the window is created.
  1146. * XplatUIX11.cs: Added SendParentNotify to implement
  1147. WM_PARENTNOTIFY logic. Fixes #79965.
  1148. * Control.cs: Added MakeParam.
  1149. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  1150. * MdiClient.cs: Resume Layout before setting window
  1151. states (fixes #80201).
  1152. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  1153. * MenuAPI.cs: Deselect a menu item after performing
  1154. the click (fixes #80197).
  1155. 2006-12-11 Jackson Harper <[email protected]>
  1156. * TextBoxBase.cs: We need to cap this value, since Maximum -
  1157. ViewPortHeight can be less than zero.
  1158. - Only do selection with the left mouse button.
  1159. * TextBox.cs: Don't tell the world that we have a context menu.
  1160. * Control.cs: New method so that we can control whether or not the
  1161. context menu is visible outside MWF.
  1162. 2006-12-11 Everaldo Canuto <[email protected]>
  1163. * ToolBarButton.cs: Fix text positon.
  1164. 2006-12-11 Miguel de Icaza <[email protected]>
  1165. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  1166. * Control.cs (DoubleBuffered): Add implementation.
  1167. * Application.cs (OpenForms): Add.
  1168. 2006-12-11 Jonathan Pobst <[email protected]>
  1169. * Form.cs: Use opacity instead of Opactiy to determine if we need
  1170. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  1171. 2006-12-11 Jonathan Pobst <[email protected]>
  1172. * Control.cs: Fix NRE if Control.Site was set to null.
  1173. 2006-12-11 Chris Toshok <[email protected]>
  1174. * Control.cs: ControlCollection.Remove should return if the arg is
  1175. null, and ControlCollection.SetChildIndex should raise a ANE.
  1176. 2006-12-11 Gert Driesen <[email protected]>
  1177. * Control.cs: Verify value set for Dock property. Code formatting
  1178. updates.
  1179. 2006-12-11 Jackson Harper <[email protected]>
  1180. * TextControl.cs: Draw the caret and the selection when a flag is
  1181. set on the owner.
  1182. * TextBoxBase.cs: We want to draw the caret and the selection for
  1183. TextBox but not for TextBoxBase.
  1184. - If the window is resized and scrolling is no longer needed (the
  1185. whole doc is visible) set the scroll position to zero.
  1186. - The default SelectWord (the one TextBox uses) should move the
  1187. caret to the end of the word.
  1188. - SelectAll moves the caret to the end of the selection.
  1189. * TextBox.cs: We don't selectall on focus, we just do it when the
  1190. control is created.
  1191. 2006-12-11 Mike Kestner <[email protected]>
  1192. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  1193. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  1194. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  1195. 2.0 support.
  1196. * ListViewItem.cs: Add Name 2.0 property.
  1197. 2006-12-11 Andreia Gaita <[email protected]>
  1198. * TabControl.cs: Set visibility on selected or default tab
  1199. when tabcontrol handle is created, so that it's contents
  1200. actually show up (duh). Fixes #80193
  1201. Don't redraw the control if there is no handle created, as
  1202. the selected index might be completely invalid. Added some tests
  1203. to check for this.
  1204. 2006-12-11 Everaldo Canuto <[email protected]>
  1205. * ToolBar.cs: Uses maximun width and height of all buttons as
  1206. button rectangle when ButtonSize specified, it looks strange but
  1207. is what happens in Win32. Fixes #80189.
  1208. 2006-12-11 Jackson Harper <[email protected]>
  1209. * TextControl.cs: Need to track undo levels ourself, since
  1210. compound actions will mess them up.
  1211. 2006-12-10 Andreia Gaita <[email protected]>
  1212. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  1213. SelectedIndex value is changed (even if it's not valid).
  1214. Reset SelectedIndex to 0 when the handle is created and if
  1215. the current index is invalid.
  1216. Fixes SelectdeIndex unit tests and #80128
  1217. 2006-12-08 Chris Toshok <[email protected]>
  1218. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  1219. calls EndEdit, it needs to be called before we set current_cell to
  1220. its new value. Otherwise, we end up committing the value in the
  1221. textbox to the new cell as well. Fixes bug #80160.
  1222. 2006-12-08 Chris Toshok <[email protected]>
  1223. * Form.cs (set_CancelButton): if the button's DialogResult is
  1224. None, set it to Cancel. Fixes bug 80180.
  1225. 2006-12-08 Jackson Harper <[email protected]>
  1226. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  1227. to watch ourselves when setting the canvas size and setting the
  1228. scrollbar values.
  1229. 2006-12-08 Chris Toshok <[email protected]>
  1230. * DataGrid.cs: comment out the two MakeTransparent calls for the
  1231. time being so people using trunk (and not 1.2.2) on windows can
  1232. actually use the datagrid. This deals with bug #80151.
  1233. 2006-12-08 Jonathan Pobst <[email protected]>
  1234. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  1235. Graphics.DrawImage (image, int, int, int, int) overload instead
  1236. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  1237. the dpi difference and was blurring images it drew.
  1238. [Fixes bug #79960]
  1239. 2006-12-08 Chris Toshok <[email protected]>
  1240. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  1241. rowcnt is 0 (such as with an empty datasource), and make sure we
  1242. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  1243. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  1244. 2006-12-08 Chris Toshok <[email protected]>
  1245. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  1246. grid.
  1247. 2006-12-08 Chris Toshok <[email protected]>
  1248. [ Fixes bug #80167 ]
  1249. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  1250. style is FlatStyle.System.
  1251. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  1252. ButtonBase.flat_style private, and switch uses of it to the public
  1253. property.
  1254. 2006-12-08 Chris Toshok <[email protected]>
  1255. [ Fixes bug #80121 ]
  1256. * ThemeWin32Classic.cs: center the caption text in the datagrid
  1257. when we draw it.
  1258. * DataGrid.cs: lessen the amount we add to the caption height from
  1259. 6 to 2. 6 was making it huge.
  1260. 2006-12-08 Andreia Gaita <[email protected]>
  1261. * UpDownBase: Handle MouseWheel call directly instead of capturing
  1262. the inner textbox's OnMouseWheel. Fixes #80166
  1263. 2006-12-08 Jackson Harper <[email protected]>
  1264. * TextControl.cs: We need to invalidate the textbox when we empty
  1265. it (how had this not been discovered before?)
  1266. 2006-12-08 Jackson Harper <[email protected]>
  1267. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  1268. to behave like MS, we now ignore the eventargs.Click and just
  1269. track state ourself, which we were already doing anyways.
  1270. - Constrain the double click handler to the double click size.
  1271. 2006-12-08 Chris Toshok <[email protected]>
  1272. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  1273. direction if that scrollbar isn't shown. fixes bug #80158.
  1274. 2006-12-08 Andreia Gaita <[email protected]>
  1275. * NumericUpDown.cs: Update value on getter. Fixes #79950
  1276. 2006-12-08 Chris Toshok <[email protected]>
  1277. * MenuItem.cs: add back in the event cloning code. I didn't know
  1278. how to do it in the face of the EventHandlerList work i'd done
  1279. last week. Fixes bug #80183.
  1280. 2006-12-08 Jonathan Pobst <[email protected]>
  1281. * Control.cs: Add an invalidate to the BackgroundImage setter.
  1282. [Fixes 80184]
  1283. 2006-12-07 Jonathan Pobst <[email protected]>
  1284. * ToolStrip*: Add some small properties reported by MoMA, fix event
  1285. firing and default properties based off of unit tests, and add some
  1286. attributes based off of the class status page.
  1287. 2006-12-07 Jackson Harper <[email protected]>
  1288. * TextBoxBase.cs: Take HideSelection into account when determining
  1289. whether or not to show the selection.
  1290. * RichTextBox.cs: After inserting the RTF into the document move
  1291. the cursor to the beginning of the document.
  1292. 2006-12-07 Jonathan Pobst <[email protected]>
  1293. * Control.cs: Remove static ArrayList "controls" which maintained
  1294. a reference to every control created.
  1295. * Application.cs: Create a static FormCollection to maintain a reference
  1296. to every form created. Use it in places that formerly enumerated through
  1297. the controls one looking for forms.
  1298. * Form.cs: Add and remove self from above FormCollection.
  1299. 2006-12-07 Alexander Olk <[email protected]>
  1300. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  1301. not libgdk (though it makes me wonder why I didn't have any
  1302. problems)
  1303. 2006-12-07 Chris Toshok <[email protected]>
  1304. [ you had to know this was coming after that last commit...]
  1305. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  1306. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  1307. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  1308. XCopyArea).
  1309. 2006-12-07 Chris Toshok <[email protected]>
  1310. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  1311. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  1312. all the behavior we need for double buffering.
  1313. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  1314. client side Bitmap, just like the old Control-based double buffer
  1315. code did. The methods are virtual, so each XplatUI driver
  1316. subclass can replace the implementation to use a faster, platform
  1317. specific approach.
  1318. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  1319. double buffer code, and clean things up a bit in the process.
  1320. 2006-12-06 Chris Toshok <[email protected]>
  1321. * Control.cs: reindent WndProc.
  1322. 2006-12-06 Chris Toshok <[email protected]>
  1323. [ I wanna be like BenM when I grow up ]
  1324. * Hwnd.cs: create a single static Graphics object on the static
  1325. Bitmap we create. use this for our text measurements.
  1326. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  1327. This was causing us to allocate a backbuffer for every control,
  1328. even when it wasn't flagged as double buffered. Instead use the
  1329. single graphics instance. This might have implications for
  1330. multithreaded applications. If we run into problems we can switch
  1331. to creating 1 Graphics per control, on the static Hwnd bitmap.
  1332. this change nets us a 7M savings in private dirty mappings when
  1333. running FormsTest.exe.
  1334. 2006-12-06 Chris Toshok <[email protected]>
  1335. * ListView.cs: the BackgroundImage override is just to set
  1336. attributes. chain up to base.BackgroundImage.
  1337. * RichTextBox.cs: same.
  1338. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  1339. changes, so instead a handler for BackgroundImageChanged.
  1340. * Control.cs: make background_image private.
  1341. 2006-12-06 Chris Toshok <[email protected]>
  1342. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  1343. sure we even need this assignment, but roll with it for now.
  1344. * Control.cs: make the cursor field private.
  1345. 2006-12-06 Chris Toshok <[email protected]>
  1346. * Form.cs: we don't need to explicitly set ImeMode to
  1347. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  1348. behavior in the face of ImeMode.Inherit.
  1349. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  1350. change the ctor's assignment to use ImeMode instead of ime_mode.
  1351. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  1352. ImeModeInherit. Only check for the parent's imemode (and return
  1353. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  1354. This fixes the button unit test, which sets both ImeMode and
  1355. DefaultImeMode to ImeMode.Disable.
  1356. also make the ime_mode field private.
  1357. 2006-12-06 Chris Toshok <[email protected]>
  1358. * Control.cs: make control_style private.
  1359. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  1360. setting the styles to true, then setting them to false instead of
  1361. reverting to their previous values.
  1362. also, call SetStyle on the scrollbars instead of using
  1363. control_style directly.
  1364. 2006-12-06 Jonathan Pobst <[email protected]>
  1365. * FormCollection.cs: Implement. [2.0]
  1366. 2006-12-06 Chris Toshok <[email protected]>
  1367. * Control.cs: make tab_stop private.
  1368. * Label.cs: set TabStop, not tab_stop. reformat some event
  1369. add/remove methods to make them more compact.
  1370. 2006-12-06 Chris Toshok <[email protected]>
  1371. * RadioButton.cs: fix TabStop handling.
  1372. 2006-12-06 Chris Toshok <[email protected]>
  1373. * TextBox.cs: remove the explicit assignments to has_focus.
  1374. Control does that.
  1375. * ButtonBase.cs: remove the assignment to has_focus. Control will
  1376. manage that.
  1377. 2006-12-06 Chris Toshok <[email protected]>
  1378. * ButtonBase.cs: remove all uses of is_enabled from this code.
  1379. it's always true when any of the code containing the checks is
  1380. executed.
  1381. 2006-12-06 Chris Toshok <[email protected]>
  1382. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  1383. with different semantics (some are present in both 1.1 and 2.0
  1384. profiles) so that we match MS's behavior in our unit tests.
  1385. 2006-12-06 Jackson Harper <[email protected]>
  1386. * TextControl.cs: Make this operation undoable.
  1387. * TextBoxBase.cs: Factor the border width into the preferred
  1388. height.
  1389. - implement Modified as per the spec.
  1390. 2006-12-06 Chris Toshok <[email protected]>
  1391. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  1392. 2006-12-06 Chris Toshok <[email protected]>
  1393. * Control.cs: make right_to_left and context_menu fields private.
  1394. 2006-12-06 Chris Toshok <[email protected]>
  1395. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  1396. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  1397. Control.child_controls private. switch all uses over to
  1398. Control.Controls.
  1399. 2006-12-06 Chris Toshok <[email protected]>
  1400. * System.Windows.Forms/GroupBox.cs,
  1401. System.Windows.Forms/AccessibleObject.cs,
  1402. System.Windows.Forms/ErrorProvider.cs,
  1403. System.Windows.Forms/Control.cs,
  1404. System.Windows.Forms/UpDownBase.cs,
  1405. System.Windows.Forms/ScrollBar.cs,
  1406. System.Windows.Forms/DateTimePicker.cs,
  1407. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  1408. System.Windows.Forms/ToolTip.cs,
  1409. System.Windows.Forms/RadioButton.cs,
  1410. System.Windows.Forms/LinkLabel.cs,
  1411. System.Windows.Forms/Splitter.cs,
  1412. System.Windows.Forms/TextBoxBase.cs,
  1413. System.Windows.Forms/ToolStripTextBox.cs,
  1414. System.Windows.Forms/ContainerControl.cs,
  1415. System.Windows.Forms/ThemeWin32Classic.cs,
  1416. System.Windows.Forms/SizeGrip.cs,
  1417. System.Windows.Forms/ToolStripDropDown.cs,
  1418. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  1419. private. switch all uses over to Control.Parent.
  1420. 2006-12-06 Chris Toshok <[email protected]>
  1421. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  1422. Control does this before calling emitting these events.
  1423. * TabControl.cs: same.
  1424. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  1425. Control.client_rect.
  1426. * ButtonBase.cs: use the ClientSize property instead of the
  1427. client_size field.
  1428. * ScrollableControl.cs: same.
  1429. * Control.cs: another pass at making properties private. also,
  1430. move the initialization of tab_stop to the ctor.
  1431. 2006-12-05 Andreia Gaita <[email protected]>
  1432. * TabControl.cs: Let the selected index be set freely if the
  1433. control handle is not yet created.
  1434. 2006-12-05 Jonathan Pobst <[email protected]>
  1435. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  1436. internal until I can rewrite DefaultLayout.
  1437. * ToolStrip.cs: Fix build error and some general cleaning.
  1438. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  1439. Fix build errors caused by making some of Control's fields private.
  1440. 2006-12-05 Jackson Harper <[email protected]>
  1441. * TextControl.cs: Redo Insert a little so that it use IndexOf
  1442. instead of Split, this prevents it from messing up on things like
  1443. \n\n\n. Also more effecient since the split array doesn't need to
  1444. be created.
  1445. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  1446. multiline text differently, this is the first of many fixes that
  1447. will make multiline/non-multiline the same thing as far as the
  1448. TextBoxBase is concerned.
  1449. - Don't split the text and insert lines, this can lose some line
  1450. endings (like is the last line a soft or hard break). Instead use
  1451. the new Insert.
  1452. - Fix an off by one when combining all the lines in the Text
  1453. getter.
  1454. - Remove separate multiline handling from the Text getter/setter.
  1455. 2006-12-05 Chris Toshok <[email protected]>
  1456. * ButtonBase.cs: a few changes:
  1457. - don't reinitialize internal Control fields in the ctor when they
  1458. have the same values as Control sets them.
  1459. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  1460. this before calling those methods.
  1461. - we don't need to call Refresh for anything. use Invalidate
  1462. instead.
  1463. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  1464. calls Refresh in its OnEnabledChanged.
  1465. - several of the events we were registered for in the ctor to
  1466. redraw ourselves already include calls to Invalidate in the
  1467. property setters that raise the events. remove the extra
  1468. invalidation.
  1469. - reformat a switch statement that was 83274658 columns wide.
  1470. 2006-12-05 Mike Kestner <[email protected]>
  1471. * ComboBox.cs: fix a unit test regression from a TextBox
  1472. SelectionLength return of -1 when there's no selection.
  1473. 2006-12-05 Chris Toshok <[email protected]>
  1474. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  1475. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  1476. cleaning up some of the internal Control fields being used by
  1477. subclasses.
  1478. 2006-12-05 Mike Kestner <[email protected]>
  1479. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  1480. listbox after AddImplicit calls since it defaults to hidden. Add a
  1481. hack to preserve requested heights across DropDownStyle changes.
  1482. 2006-12-05 Jonathan Pobst <[email protected]>
  1483. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  1484. 2006-12-05 Chris Toshok <[email protected]>
  1485. * DataGridView.cs: fix compiler warnings.
  1486. * PrintControllerWithStatusDialog.cs: same.
  1487. * ToolBar.cs: same.
  1488. * FolderBrowserDialog.cs: same.
  1489. * Splitter.cs: same.
  1490. * DataGridViewComboBoxCell.cs: same.
  1491. * XplatUIWin32.cs: same.
  1492. * PictureBox.cs: same.
  1493. * Win32DnD.cs: same.
  1494. * PageSetupDialog.cs: same.
  1495. * FileDialog.cs: same.
  1496. * PrintDialog.cs: same.
  1497. * DataGridTextBoxColumn.cs: same.
  1498. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  1499. 2006-12-05 Chris Toshok <[email protected]>
  1500. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  1501. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  1502. System.ComponentModel.EventHandlerList work.
  1503. 2006-12-05 Jonathan Chambers <[email protected]>
  1504. * DrawTreeNodeEventArgs.cs: Added.
  1505. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  1506. * InternalWindowManager.cs: Remove an unused field.
  1507. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  1508. * InternalWindowManager.cs:
  1509. - Save the point where the title bar is clicked.
  1510. * MdiWindowManager.cs:
  1511. - Only allow moving of the window as long as the
  1512. clicked point on the title bar does not get out of
  1513. MdiClient's rectangle. Fixes #79982.
  1514. * MdiClient.cs:
  1515. - Added Horizontal/VerticalScrollbarVisible.
  1516. - Simplified the scrollbar sizing algorithm.
  1517. - Cache the difference in scrolled value in
  1518. H/VBarValueChanged and move the calculation out
  1519. of the for loop.
  1520. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  1521. * Control.cs: Make the Console.WriteLine in WndProc
  1522. write more info.
  1523. 2006-12-05 Chris Toshok <[email protected]>
  1524. * ToolStripManager.cs, ToolStripButton.cs,
  1525. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  1526. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  1527. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  1528. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  1529. ToolStripProgressBar.cs, ToolStripContainer.cs,
  1530. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  1531. to using System.ComponentModel.EventHandlerList.
  1532. 2006-12-04 Chris Toshok <[email protected]>
  1533. * LinkLabel.cs: fix up compiler warnings.
  1534. * TableLayoutSettings.cs: same.
  1535. * TreeView.cs: same.
  1536. * ToolBar.cs: same.
  1537. * TabControl.cs: same.
  1538. * RichTextBox.cs: same.
  1539. * ListViewItem.cs: same.
  1540. * PropertyGrid.cs: same.
  1541. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  1542. * ToolTip.cs same.
  1543. * TextRenderer.cs: fix up compiler warnings.
  1544. * Label.cs: same.
  1545. * Form.cs: corcompare fixes.
  1546. * PictureBox.cs: fix up compiler warnings.
  1547. * ImageListStreamer.cs: same.
  1548. * TrackBar.cs: corcompare fix.
  1549. * Control.cs: fix up compiler warnings.
  1550. * SplitterPanel.cs: same.
  1551. * NumericTextBox.cs: same.
  1552. * ImageList.cs: same.
  1553. * StatusStrip.cs: same.
  1554. * ProgressBar.cs: corcompare fix.
  1555. * ToolStripButton.cs: fix up compiler warnings.
  1556. * ToolStripStatusLabel.cs: same.
  1557. * ToolStripSplitButton.cs: same.
  1558. * ToolStripSeparator.cs: same.
  1559. * ToolStripProgressBar.cs: same.
  1560. * ToolStripDropDownMenu.cs: same
  1561. * ToolStripDropDown.cs: same.
  1562. * ToolStripDropDownButton.cs: same.
  1563. * ToolStrip.cs: same.
  1564. * ToolStripControlHost.cs: same.
  1565. * ToolStripContentPanel.cs: same.
  1566. * ToolStripDropDown.cs: same.
  1567. * ToolStripContainer.cs: same.
  1568. * ToolStripPanel.cs: same, and add "new" where we need it to work
  1569. with the new ArrangedElementCollection.
  1570. * ToolStripItemCollection.cs: add "new" where we need it to work
  1571. with the new ArrangedElementCollection.
  1572. 2006-12-04 Andreia Gaita <[email protected]>
  1573. * TabControl.cs: Fix default tab selection to after TabControl
  1574. gets focus and not before. Fixes #80128
  1575. 2006-12-04 Chris Toshok <[email protected]>
  1576. * DataGridTableStyle.cs: remove the gross calling of
  1577. datagrid.Refresh from here. It's a broken idea and it doesn't
  1578. work anyway.
  1579. * DataGrid.cs: instead, just register/unregister from the
  1580. DataGridTableStyle events in CurrentTableStyle. we play it
  1581. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  1582. even though some would most likely not require it. Fixes bug
  1583. #80115 (and one portion of #80117 as a side effect).
  1584. 2006-12-04 Chris Toshok <[email protected]>
  1585. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  1586. so the textbox (if any) goes away. Fixes bug #80117.
  1587. 2006-12-04 Chris Toshok <[email protected]>
  1588. * DataGridColumnStyle.cs: set the column's readonly property
  1589. initially based on the property descriptor's IsReadOnly. Fixes
  1590. bug #80044.
  1591. 2006-12-04 Chris Toshok <[email protected]>
  1592. * ComboBox.cs: wrap the dropdown style changing work in
  1593. SuspendLayout/ResumeLayout. Fixes bug #79968.
  1594. 2006-12-04 Jackson Harper <[email protected]>
  1595. * TextBoxBase.cs: Fix off by one, since these are one-based.
  1596. * TextBox.cs: Select all the text when we get focus. The TextBox
  1597. does this but the RTB does not.
  1598. 2006-12-04 Chris Toshok <[email protected]>
  1599. * DataGridTextBoxColumn.cs: remove some spew.
  1600. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  1601. but some part of me is saying "it shouldn't be here.." At any
  1602. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  1603. setting the value.
  1604. 2006-12-04 Chris Toshok <[email protected]>
  1605. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  1606. to reassign the propertydescriptor.
  1607. 2006-12-04 Jackson Harper <[email protected]>
  1608. * TextBoxBase.cs:
  1609. * TextControl.cs: Remove some unused variables. Maybe this will
  1610. patch things up between mike and I.
  1611. - don't split lines less then one char wide, if the viewport is
  1612. that small text won't be visible anyways.
  1613. 2006-12-04 Jackson Harper <[email protected]>
  1614. * TextBoxBase.cs: Default selection length is -1, need to do some
  1615. more testing on windows to see when this is used for the property.
  1616. - Redid the Lines [] property to that we properly remove soft line
  1617. breaks
  1618. - added support for preserving carriage returns
  1619. - CanUndo is not a variable like 'is undo enabled' it just returns
  1620. true if there is undo operations available.
  1621. - AppendText doesn't need to grab the last tag itself anymore,
  1622. this happens automatically when we move the cursor.
  1623. * TextControl.cs: Add CompoundActions to the undo class. This
  1624. allows combining the other operations into one big option. ie a
  1625. paste will combine { delete old, insert new, move cursor }
  1626. - Add InsertString undo operation
  1627. - New method for deleting multiline text
  1628. - Add carriage returns to lines. So we can preserve carriage
  1629. returns when text is 'roundtripped'
  1630. 2006-12-04 Chris Toshok <[email protected]>
  1631. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  1632. minimum 0. Fixes the scrollbar exception in bug #80136.
  1633. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  1634. * MdiClient.cs:
  1635. * MdiWindowManager: Removed unused fields and methods.
  1636. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  1637. * StatusBar.cs: Update all panels when a AutoSize=Contents
  1638. panel needs updating.
  1639. * StatusBarPanel.cs: Remove twidth and only use initialize.
  1640. Fixes #80031.
  1641. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  1642. * Form.cs: When a form's MdiParent is set add it directly
  1643. on top of the z-order in stead of relying on MdiClient's
  1644. ActivateChild to do it. Fixes #80135.
  1645. * MdiClient.cs:
  1646. - Remove original_order, mdi_child_list is already doing
  1647. the same thing.
  1648. - Create mdi_child_list on construction in
  1649. stead of first use (avoids a few null checks).
  1650. * MenuItem.cs: Use an already existing list of mdi children
  1651. to get the correct order of children and remove the other
  1652. redundant list.
  1653. 2006-12-04 Chris Toshok <[email protected]>
  1654. * PropertyGridView.cs: cached_splitter_location is only used in
  1655. !DOUBLEBUFFER code.
  1656. * PropertyGrid.cs: implement the ComComponentNameChanged event
  1657. using Events, hoping that would fix the warning. Looks like a
  1658. compiler bug instead (#80144).
  1659. * PropertyManager.cs: remove unused method.
  1660. 2006-11-04 Everaldo Canuto <[email protected]>
  1661. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  1662. include parentesis to fix expression evaluation. Fixes #79634.
  1663. 2006-11-02 Everaldo Canuto <[email protected]>
  1664. * MenuAPI.cs:
  1665. - Changes to fix behavior in Menu control, some reported in #80097
  1666. and other detected during behavior refactory like a select event
  1667. problems.
  1668. - Remove unneded "if's" conditions.
  1669. - Created an internal to flag when popup is active in control, we need
  1670. it because in .NET you can have menu active but without popup active
  1671. when you active menu using popup without visible items.
  1672. - Mimic win32 behavior for Select and Popup events.
  1673. - Dont open popup menu when you dont have visible subitems.
  1674. - Do nothing when click on disabled menu item.
  1675. - Some small changes to follow the coding style guidelines.
  1676. - Unselect menu only when another control gives focus. Fixes #80097.
  1677. - Remove unused code.
  1678. * MenuItem.cs: internal VisibleItems method to check if menu
  1679. theres visible subitems, it will be usefull to fix some
  1680. behavior in Menu control.
  1681. 2006-11-01 Everaldo Canuto <[email protected]>
  1682. * Timer.cs: Tag property for 2.0 profile.
  1683. 2006-12-01 Chris Toshok <[email protected]>
  1684. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  1685. * Win32DnD.cs: comment out some unused fields.
  1686. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  1687. some unused properties/methods.
  1688. * XplatUIX11.cs: fix MousePosition so we override the base class's
  1689. property instead of conflicting with it.
  1690. * PictureBox.cs: comment out some unused fields
  1691. * OSXStructs.cs: make some struct fields public.
  1692. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  1693. MousePosition so we override the base class's property instead of
  1694. conflicting with it.
  1695. * X11Dnd.cs: comment out some unused fields
  1696. * X11DesktopColors.cs: fix some struct field visibility to quiet
  1697. the compiler.
  1698. * X11Dnd.cs: remove some debug code.
  1699. * ThemeClearlooks.cs: comment out unused field.
  1700. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  1701. * ThemeGtk.cs: comment out some unused pinvokes.
  1702. * Timer.cs: remove some unused fields.
  1703. * ThemeClearlooks.cs: comment out unused field.
  1704. * UpDownBase.cs: comment out unused field.
  1705. * DataObject.cs: comment out unused field.
  1706. * DataGridBoolColumn.cs: reomve unused field.
  1707. * DataGrid.cs: remove unused field.
  1708. * Cursor.cs: remove old ToBitmap code.
  1709. * ControlPaint.cs: remove unused method.
  1710. * ScrollBar.cs: remove unused fields.
  1711. * ComboBox.cs: remove unused field, and chain up to
  1712. AccessibleObject ctor.
  1713. * ListBox.cs: remove unused field.
  1714. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  1715. * GridEntry.cs: remove unused fields.
  1716. * Binding.cs: remove unused fields.
  1717. * AxHost.cs: remove unused method.
  1718. * ContainerControl.cs: remove unused field.
  1719. * ScrollableControl.cs: remove unused fields.
  1720. 2006-12-01 Chris Toshok <[email protected]>
  1721. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  1722. the Where/WhereString stuff. it's easy enough to CWL
  1723. Environment.StackTrace.
  1724. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  1725. unused private fields.
  1726. 2006-12-01 Jackson Harper <[email protected]>
  1727. * TextControl.cs: Do not update the view while inserting multiline
  1728. text. If we update the view we might wrap lines, before entering
  1729. the new lines, which causes the new line insertion calculations to
  1730. be totally fubared.
  1731. - Remove an old TODO
  1732. - Make debug output a little nicer
  1733. 2006-12-01 Chris Toshok <[email protected]>
  1734. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  1735. 2006-12-01 Chris Toshok <[email protected]>
  1736. [ fix the majority of the CS0108 warnings we've been suppressing ]
  1737. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  1738. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  1739. to "LayoutToolBar" to quiet mcs.
  1740. * TabControl.cs: mark our ControlCollection class as 'new'.
  1741. * TextBoxBase.cs: mark some events as 'new'.
  1742. * Splitter.cs: TabStop is 'new'.
  1743. * ControlBindingsCollection.cs: mark a few methods as new since
  1744. they change the visibility from protected to public.
  1745. * RadioButton.cs: DoubleClick -> base class, and remove unused
  1746. HaveDoubleClick.
  1747. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  1748. events as new.
  1749. * NumericUpDown.cs: TextChanged -> base class.
  1750. * CheckedListBox.cs: mark our ObjectCollection class as new to
  1751. quiet mcs.
  1752. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  1753. muck with the base class.
  1754. * StatusBar.cs: fix some mcs warnings about Update being the same
  1755. name as a base class method.
  1756. * RichTextBox.cs: mark some events as new, and make them do things
  1757. to the base class impl.
  1758. * UserControl.cs: mark TextChanged as new, and have it manipulate
  1759. base.TextChanged.
  1760. * UpDownBase.cs: mark some things new.
  1761. * CheckBox.cs: mark DoubleClick "new", and add some text about
  1762. what we need to look at.
  1763. * Panel.cs: make the events "new", and manipulate the base
  1764. version. these are just here for attributes.
  1765. * AccessibleObject.cs: make owner private.
  1766. * Control.cs: deal with AccessibleObject.owner being private.
  1767. cache our own copy if we need it.
  1768. * Button.cs: add "new" to the DoubleClickEvent.
  1769. * ListBox.cs: no need to track our own has_focus here. let
  1770. Control.has_focus do it for us. Also some other work to clear up
  1771. warnings about not overriding base class methods of the same name.
  1772. * ComboBox.cs: clear up some warnings about not override base
  1773. class methods of the same name.
  1774. 2006-12-01 Chris Toshok <[email protected]>
  1775. * Form.cs: flag a few things as "new" to quiet some of the mcs
  1776. warnings.
  1777. * AxHost.cs: same.
  1778. * PrintPreviewDialog.cs: same.
  1779. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  1780. now DGV isn't so horrible on the class status page. also, move
  1781. all events to using System.ComponentModel.EventHandlerList. my
  1782. wrists hurt.
  1783. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  1784. * MdiWindowManager.cs:
  1785. - Set form to active mdi child if shown,
  1786. and update the active mdi child to the next
  1787. remaining child in the z-order if the form is hidden.
  1788. * Form.cs:
  1789. - Track if the form has been visible and if its
  1790. visibility is beeing changed, so that the MdiClient
  1791. can properly decide the ActiveMdiChild. The MdiClient
  1792. cannot track this since the form can change visibility
  1793. before MdiClient is created.
  1794. * MdiClient.cs:
  1795. - Don't activate anything of the parent form is changing
  1796. its visibility.
  1797. - Rework ActiveMdiChild to only return visible mdi
  1798. children and take into account several other corner
  1799. cases.
  1800. 2006-12-01 Chris Toshok <[email protected]>
  1801. * IBindableComponent.cs: new 2.0 interface.
  1802. 2006-12-01 Gert Driesen <[email protected]>
  1803. * DataGrid.cs: Font for caption area is bold by default.
  1804. 2006-12-01 Everaldo Canuto <[email protected]>
  1805. * Menu.cs: Tag property for 2.0.
  1806. 2006-11-01 Everaldo Canuto <[email protected]>
  1807. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  1808. 2006-12-01 Chris Toshok <[email protected]>
  1809. * TreeView.cs: doh, the Begin* events should be
  1810. TreeViewCancelEventHandler.
  1811. 2006-12-01 Chris Toshok <[email protected]>
  1812. * Form.cs: Form.ControlCollection already stores off the
  1813. form_owner field. don't access the base class's internal "owner"
  1814. field.
  1815. * Control.cs: make all the fields in Control.ControlCollection
  1816. private. there's no need for any internal fields here.
  1817. 2006-12-01 Chris Toshok <[email protected]>
  1818. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  1819. OnHandleCreated. Fixes bug #80109.
  1820. 2006-12-01 Chris Toshok <[email protected]>
  1821. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  1822. SplitContainer.cs, Control.cs, StatusStrip.cs,
  1823. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  1824. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  1825. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  1826. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  1827. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  1828. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  1829. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  1830. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  1831. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  1832. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  1833. do most of the work to convert our code over to use
  1834. System.ComponentModel.Component.Events for
  1835. adding/removing/dispatching events.
  1836. 2006-11-30 Jonathan Pobst <[email protected]>
  1837. * DataGridView.cs: Fix an ArgumentNullException reported
  1838. twice today in IRC.
  1839. 2006-11-30 Mike Kestner <[email protected]>
  1840. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  1841. grabbed listbox. Fixes #80036 and #80101.
  1842. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  1843. * Message.cs: Changed ToString() to match MS.
  1844. 2006-11-30 Jackson Harper <[email protected]>
  1845. * TextBoxBase.cs: You can still change the selected text on a read
  1846. only textbox.
  1847. * TextControl.cs: Lower magic number for wrap calculations. This
  1848. lets text get closer to the right (far) edge.
  1849. 2006-11-30 Jonathan Pobst <[email protected]>
  1850. * Control.cs: Tweak 2.0 layout properties.
  1851. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  1852. * TextRenderer.cs: Add a new overload.
  1853. * ToolStrip*: Huge amount of changes and new features.
  1854. 2006-11-30 Mike Kestner <[email protected]>
  1855. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  1856. scroll range correct. Fixes #79994.
  1857. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  1858. * MdiWindowManager.cs: Update main form's text when
  1859. a form is closed. (fixes #80038)
  1860. 2006-11-30 Everaldo Canuto <[email protected]>
  1861. * ToolBar.cs:
  1862. - Fix an regression in ButtonSize.
  1863. - Get ImeMode default value change to "Disable".
  1864. - Get ShowTooltips default value change to true, default value is
  1865. "false" but after make a test in .NET we get "true" result as default.
  1866. 2006-11-29 Jonathan Pobst <[email protected]>
  1867. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  1868. 2006-11-29 Chris Toshok <[email protected]>
  1869. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  1870. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  1871. SetWindowTransparency hasn't been called.
  1872. 2006-11-29 Chris Toshok <[email protected]>
  1873. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  1874. if it's supported.
  1875. (set_AllowTransparency): reorder things a little so that the
  1876. WS_EX_LAYERED style is removed properly.
  1877. 2006-11-29 Chris Toshok <[email protected]>
  1878. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  1879. * Form.cs: only call the XplatUI transparency method (get/set) if
  1880. SupportsTransparency says it's supported. Otherwise fallback to
  1881. doing nothing (in the set case) or returning the instance field we
  1882. cache (in the get case).
  1883. * XplatUIStructs.cs: add TransparencySupport flag enum.
  1884. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  1885. change to SupportsTransparency.
  1886. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  1887. TransparencySupport.None from SupportsTransparency.
  1888. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  1889. TransparencySupport.Set from SupportsTransparency.
  1890. * XplatUIWin32.cs: implement GetWindowTransparency calling
  1891. GetLayeredWindowAttributes, and implement SupportsTransparency by
  1892. checking whether or not both
  1893. GetWindowTransparency/SetWindowTransparency are available
  1894. entrypoints. We need to do this since SetWindowTransparency is
  1895. available as of win2k, but GetWindowTransparency requires winxp.
  1896. yay win32 api.
  1897. * XplatUI.cs: Add GetWindowTransparency, and change
  1898. SupportsTransparency to allow for either/both Get/Set.
  1899. 2006-11-29 Chris Toshok <[email protected]>
  1900. * DataGrid.cs: keep from going into an infinite loop redrawing a
  1901. datagrid that has no datasource. Fixes bug #80033.
  1902. 2006-11-29 Chris Toshok <[email protected]>
  1903. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  1904. Invalidate) before the mainmenu has been assigned to a control.
  1905. 2006-11-29 Chris Toshok <[email protected]>
  1906. * DataGrid.cs: detect when we should be double the double click
  1907. row/column autosize stuff, although that codepath has yet to be
  1908. written. part of the work for bug #79891.
  1909. 2006-11-29 Chris Toshok <[email protected]>
  1910. * Binding.cs (SetControl): fix unit test.
  1911. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  1912. * PageSetupDialog.cs: Validate the margins and set them in
  1913. PageSettings.
  1914. * NumericTextBox.cs: New class to mimic the behavior of the
  1915. textboxes used in the printing dialogs.
  1916. 2006-11-29 Andreia Gaita <[email protected]>
  1917. * Form.cs: Revert previous change (remove call UpdateBounds
  1918. from form constructor), because it messes with the handle creation
  1919. order, and that one needs lots and lots of love.
  1920. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  1921. for valid printer and throw InvalidPrinterException if document
  1922. is set but printer not valid), adding a MonoTODO. Once
  1923. handle creation is done properly, we can put this back in.
  1924. 2006-11-28 Everaldo Canuto <[email protected]>
  1925. * MenuItem.cs: Create a invalidate method for menu item, to be
  1926. calling from set text, it make text changes to imadiate update
  1927. on screen. Fixes #80013.
  1928. 2006-11-28 Everaldo Canuto <[email protected]>
  1929. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  1930. fixes bug #80070 and some other problem on toolbar buttons
  1931. layout.
  1932. 2006-11-28 Everaldo Canuto <[email protected]>
  1933. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  1934. with dotted brush. Fixes #79564
  1935. 2006-11-28 Andreia Gaita <[email protected]>
  1936. * Form.cs: Removed call to UpdateBounds on Form
  1937. constructor, it was causing a call to CreateHandle
  1938. before it was supposed to.
  1939. * PrintControllerWithStatusDialog: Applied patch
  1940. by Chris Toshok to hide controller when there are
  1941. no printers available.
  1942. PrintDialog.cs: initialize printer settings to
  1943. null - correct DefaultValues test #5
  1944. * PrintPreviewControl.cs: Move PrintController
  1945. initialization to GeneratePreview
  1946. * PrintPreviewDialog.cs:
  1947. - Remove Preview generation from Document_set(). It is
  1948. called on OnPaint
  1949. - Throw InvalidPrinterException on CreateHandle if
  1950. a Document is set but there are no printers or
  1951. printer is not valid.
  1952. * ThemeWin32Classic: don't paint PrintPreviewControl
  1953. if there is nothing to paint
  1954. 2006-11-28 Miguel de Icaza <[email protected]>
  1955. * Form.cs: Add another popular method.
  1956. * TabPage.cs: ditto.
  1957. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  1958. * MenuItem.cs: Fixed a warning.
  1959. * InternalWindowManager: Fixed a warning.
  1960. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  1961. * MenuItem.cs:
  1962. - When cloning a menu also clone MdiList and clone the
  1963. window menu items properly (as the forms and menuitems
  1964. are kept in an internal hashtable, these need updating
  1965. as well)
  1966. - Rewrote the window menu code, menu items are added in the
  1967. order the forms were added to their parent, and they are
  1968. updated every time the window menu is shown (before the
  1969. list was only generated once, in the current order of the
  1970. forms, and would never be updated). A checkmark is shown
  1971. next to the item corresponding to the active mdi child.
  1972. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  1973. * XplatUIStructs.cs:
  1974. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  1975. * XplatUIWin32.cs:
  1976. - Added TME_NONCLIENT to TMEFlags.
  1977. - Handles WM_NCMOUSEMOVE in GetMessage to
  1978. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  1979. * MdiWindowManager:
  1980. - Now merges mdi child menu to parent menu when maximized.
  1981. - Recalculate NC areas of both mdi child and mdi parent.
  1982. Fixes #79757 (4).
  1983. on window state and size changes.Fixes #79844 (3).
  1984. - Handle WM_NCCALCSIZE to properly calculate borders.
  1985. * Form.cs:
  1986. - Add/remove to the mdi containers list of mdi children
  1987. in the order they are added.
  1988. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  1989. to the maximized mdi child.
  1990. * InternalWindowManager.cs:
  1991. - Only execute a click on the control buttons on the mouse up,
  1992. not on the mouse down. Show the state of the button
  1993. (was only showing Normal state, never Pressed state). The
  1994. pressed button now follows the mouse (if you click the Close
  1995. button and move the mouse over the Maximize button, the
  1996. Maximize button will be shown as pressed). Since Win32 does
  1997. not generate WM_NCLBUTTONUP if you release the button outside
  1998. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  1999. it as a mouse up.
  2000. * ThemeWin32Classic.cs:
  2001. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  2002. * MdiClient.cs:
  2003. - Added a list of forms which contains the order the forms are
  2004. added to the mdi parent.
  2005. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  2006. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  2007. - If the active form changes set the scrollbars to the top
  2008. of the Z order, otherwise the form could hide them.
  2009. - Scrollbars are now sized according to ClientSize, not
  2010. to Size, and they take into account the other scrollbar
  2011. to determine maximum.
  2012. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  2013. * XplatUI.cs:
  2014. * XplatUIDriver.cs:
  2015. * XplatUIX11.cs:
  2016. * XplatUIWin32.cs:
  2017. * XplatUIOSX.cs:
  2018. - Added RequestAdditionalWM_NCMessages for windows to
  2019. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  2020. Currently only implemented in XplatUIWin32.
  2021. 2006-11-27 Chris Toshok <[email protected]>
  2022. * Hwnd.cs: only add the hwnd to the windows hash in
  2023. set_WholeWindow and set_ClientWindow if whole_window/client_window
  2024. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  2025. 2006-11-27 Mike Kestner <[email protected]>
  2026. * ComboBox.cs: remove redundant OnDropDown call. It is called
  2027. from the ComboListBox.ShowWindow code. Fixes #79969.
  2028. 2006-11-27 Chris Toshok <[email protected]>
  2029. * Hwnd.cs: remove the setters for ExposePending and
  2030. NCExposePending - noone uses them.
  2031. 2006-11-27 Jackson Harper <[email protected]>
  2032. * TextControl.cs: new param for ReplaceSelection which determines
  2033. whether we select the new selection, or set the cursor to the end
  2034. of the new selection.
  2035. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  2036. pasting, select the new text.
  2037. * RichTextBox.cs: Use new param for ReplaceSelection.
  2038. 2006-11-27 Jackson Harper <[email protected]>
  2039. * TextBoxBase.cs: Set the selection to the caret after the caret
  2040. is moved, otherwise they get out of sync.
  2041. 2006-11-26 Everaldo Canuto <[email protected]>
  2042. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  2043. it fixes #80015
  2044. 2006-11-26 Everaldo Canuto <[email protected]>
  2045. * ThemeWin32Classic.cs:
  2046. - Fix toolbar drop down arrow position.
  2047. - Fix drop down appearance when ToolBar.Appearance is normal,
  2048. it fixes #80018.
  2049. 2006-11-26 Gert Driesen <[email protected]>
  2050. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  2051. * Control.cs: Same.
  2052. * UpDownBase.cs: Same.
  2053. * ButtonBase.cs: Same.
  2054. * ScrollBar.cs: Same.
  2055. * TrackBar.cs: Same.
  2056. * PictureBox.cs: Same.
  2057. * UserControl.cs: Same.
  2058. * Label.cs: Same.
  2059. * ListControl.cs: Same.
  2060. * TextBoxBase.cs: Same.
  2061. * ListView.cs: Same.
  2062. * RichTextBox.cs: Same.
  2063. * TreeView.cs: Same.
  2064. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  2065. * PrintDialog.cs:
  2066. - Text label for where
  2067. - Text label comment was not shown
  2068. 2006-11-23 Everaldo Canuto <[email protected]>
  2069. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  2070. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  2071. * InternalWindowManager.cs:
  2072. - Handle WM_PARENTNOTIFY to activate the form
  2073. if any child control is clicked.
  2074. - The form is only sizable if not minimized.
  2075. * MdiWindowManager.cs:
  2076. - Save the IconicBounds if the form is moved.
  2077. - Rework SetWindowState, now the window bounds
  2078. are stored only if the old window state is Normal.
  2079. * MdiClient.cs:
  2080. - In SetWindowStates store the old window state if
  2081. the window is maximized and restore window state if
  2082. the window looses focus.
  2083. - Don't handle any scrollbar value changes if
  2084. initializing the scroll bars. Fixes #79771.
  2085. - Reworked ArrangeIconicWindows. Current algorithm
  2086. tests bounds agains all other minimized windows, if
  2087. any intersections create new bounds (going left to
  2088. right, bottom to top) and then test again. When
  2089. successful the bounds are saved and never computed
  2090. again. Fixes #79774.
  2091. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  2092. * InternalWindowManager.cs: Added HandleTitleBarUp.
  2093. 2006-11-23 Gert Driesen <[email protected]>
  2094. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  2095. hexadecimal in ParseUserEdit.
  2096. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  2097. * MdiWindowManager.cs:
  2098. - Handle a click on the form's icon to show the
  2099. system menu (when maximized). Fixes #79775.
  2100. - Change the existing click handler for the form's
  2101. icon when not maximized to show on MouseUp.
  2102. Fixes #79776.
  2103. * Form.cs: In OnResize only layout the mdi child's
  2104. parent if it actually has a parent. Might not if
  2105. the window is closing.
  2106. 2006-11-23 Gert Driesen <[email protected]>
  2107. * MdiClient.cs: Ignore active MDI client for text of parent, if
  2108. child has no text set.
  2109. 2006-11-23 Gert Driesen <[email protected]>
  2110. * ToolBar.cs: Fixed ToString to match MS.
  2111. 2006-11-22 Andreia Gaita <[email protected]>
  2112. * NumericUpDown:
  2113. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  2114. update inner values on set. Fixes #79966.
  2115. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  2116. - Fix hexadecimal parsing.
  2117. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  2118. parent. Fixes #79957
  2119. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  2120. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  2121. the actual size has to be queried, since if height /
  2122. width is negative Win32 changes it to 0.
  2123. Fixes #79999 on Windows.
  2124. * XplatUIX11.cs: Set height / width to 0 if negative
  2125. in SetWindowPos. Fixes #79999 on Linux.
  2126. 2006-11-22 Everaldo Canuto <[email protected]>
  2127. * ThemeWin32Classic.cs: Fix text redenring when button is
  2128. pressed.
  2129. 2006-11-22 Everaldo Canuto <[email protected]>
  2130. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  2131. and later navigate by mouse. Fixes #79528.
  2132. 2006-11-21 Everaldo Canuto <[email protected]>
  2133. * ToolBar.cs: Set default value for TabStop to false in
  2134. constructor, it fixes remaining behavior of bug #79863.
  2135. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  2136. * MdiWindowManager.cs:
  2137. * InternalWindowManager.cs:
  2138. - Moved a few methods specific to Mdi from
  2139. InternalWindowManager to MdiWindowManager.
  2140. Fixes #79996.
  2141. 2006-11-21 Chris Toshok <[email protected]>
  2142. * XplatUIOSX.cs: stub out InvalidateNC.
  2143. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  2144. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  2145. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  2146. * XplatUIDriver.cs: add InvalidateNC abstract method.
  2147. * XplatUI.cs: add InvalidateNC.
  2148. 2006-11-21 Everaldo Canuto <[email protected]>
  2149. * ToolBar.cs: Invalidate complete button area when pressed status
  2150. was changed.
  2151. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  2152. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  2153. by 1 when button is pressed.
  2154. 2006-11-20 Everaldo Canuto <[email protected]>
  2155. * ToolButton.cs: Invalidate middle of DropDown button when
  2156. ToolBar theres DropDownArrows.
  2157. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  2158. fix DropDown drawing operations.
  2159. 2006-11-20 Chris Toshok <[email protected]>
  2160. * NativeWindow.cs: fix the formatting of functions ('{' on the
  2161. following line), and enable the thread exception dialog.
  2162. * Application.cs: remove the duplicate exception catching from
  2163. here.
  2164. 2006-11-20 Everaldo Canuto <[email protected]>
  2165. * Toolbar.cs: Triggers button click event when click on icon
  2166. of dropdown ToolBarButton. Fixes #79912.
  2167. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  2168. * Theme.cs:
  2169. * ThemeWin32Classic.cs:
  2170. - Added a property WindowBorderFont to enable themeing
  2171. of mdi child windows' Text.
  2172. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  2173. * InternalWindowManager.cs:
  2174. * Form.cs:
  2175. * MdiClient.cs:
  2176. * MdiWindowManager.cs:
  2177. - If mdi child is maximized, set mdi parent's
  2178. text to "Parent - [Child]". Fixes #79770.
  2179. - If there is any maximized mdi child windows, only the active
  2180. window (and any new windows) is maximized, the rest are normal.
  2181. - On a WindowState change only save mdi child's window bounds
  2182. if the old window state was normal. Fixes #79774.
  2183. - The scroll bars are now calculated on hopefully all
  2184. necessary events. Fixed #79771 / #79844->6 / #79906.
  2185. - MdiClient.SizeScrollBars() now takes into account docked
  2186. controls in the parent when calculating available space.
  2187. - InternalWindowManager now always repaints the entire title
  2188. area. Fixes #79844->1/4/5.
  2189. - Added RequestNCRecalc on mdi child windowstate changes.
  2190. Fixes #79772.
  2191. 2006-11-20 Mike Kestner <[email protected]>
  2192. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  2193. in the MouseUp handler of the listbox and move the return handling
  2194. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  2195. 2006-11-20 Everaldo Canuto <[email protected]>
  2196. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  2197. 2006-11-17 Alexander Olk <[email protected]>
  2198. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  2199. working in 1.2.x anymore. So, updated.
  2200. 2006-11-19 Gert Driesen <[email protected]>
  2201. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  2202. NumberGroupSeparator of current culture instead of assuming en-US.
  2203. Fixed bug #79967.
  2204. 2006-11-17 Mike Kestner <[email protected]>
  2205. * Control.cs: Add the concept of implicit bounds setting so that
  2206. dock/undock round trips preserve explicitly set size/locations.
  2207. Fixes #79313.
  2208. 2006-11-17 Alexander Olk <[email protected]>
  2209. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  2210. can't handle those filters. (Fixes bug #79961)
  2211. 2006-11-17 Chris Toshok <[email protected]>
  2212. [ fixes the exit/crashes associated with #79835. it's clearly
  2213. suboptimal though, we need to figure out a better way to solve
  2214. this. ]
  2215. * PrintPreviewControl.cs: deal with the new invalid printer
  2216. exceptions.
  2217. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  2218. and return false (so CommonDialog.ShowDialog doesn't actually show
  2219. the form.)
  2220. * PrintDialog.cs: enable/disable the Ok button depending on
  2221. whether or not the printer is valid.
  2222. * CommonDialog.cs (ShowDialog): only actually show the form if
  2223. RunDialog returns true.
  2224. 2006-11-17 Jackson Harper <[email protected]>
  2225. * TextControl.cs: When soft splitting a line, mark it as a soft
  2226. split line. Also carry over the current line break to the next
  2227. line.
  2228. 2006-11-17 Chris Toshok <[email protected]>
  2229. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  2230. only want to shift the part of the invalid area that overlaps the
  2231. area we're scrolling. we also don't want to clear the invalid
  2232. area unless the invalid area was entirely contained within the
  2233. scrolling area.
  2234. 2006-11-16 Chris Toshok <[email protected]>
  2235. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  2236. also make sure to free the memory returned by XGetWindowProperty
  2237. in GetText().
  2238. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  2239. 2006-11-16 Chris Toshok <[email protected]>
  2240. * XplatUI.cs: add a new super secret way to get at the totally
  2241. unsupported X11 backend.
  2242. 2006-11-16 Gert Driesen <[email protected]>
  2243. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  2244. 2006-11-16 Jackson Harper <[email protected]>
  2245. * TreeView.cs: Allow more explicit setting of top node position
  2246. for scrollbars. Slower algo, but more accurate.
  2247. - CollapseAll should maintain the current top node.
  2248. * TextBoxBase.cs: When positioning the caret, use the line, pos
  2249. method, since the x, y method does not grab the correct tag, and
  2250. the caret height never gets set correctly. (Maybe I should just do
  2251. away with the caret having its own height, and always use the
  2252. carets current tag for height).
  2253. 2006-11-16 Jonathan Pobst <[email protected]
  2254. [Fixes 79778, 79923]
  2255. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  2256. Parent to the FosterParent instead.
  2257. 2006-11-16 Jackson Harper <[email protected]>
  2258. * TreeView.cs: Need to recalc the topnode when we expand or
  2259. collapse. The scrolling methods can't handle this on their own,
  2260. since they use differences between the last scroll position, and
  2261. those difference get completely messed up since we are expanding
  2262. nodes. This problem should probably be fixed in the scrolling
  2263. methods, so they can figure out exactly where they are, but this
  2264. will slow things down a little.
  2265. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  2266. strings, makes nunit-gui look a lot nicer.
  2267. 2006-11-16 Chris Toshok <[email protected]>
  2268. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  2269. the broken multithreaded event handling we have in here. File
  2270. this entry under "Why we should move to the new X11 backend".
  2271. Any thread can make it into UpdateMessageQueue, which gets events
  2272. from the X socket - some of which could belong to hwnds being
  2273. managed by a different thread. We can also have multiple threads
  2274. in UpdateMessageQueue at the same time, with each one reading from
  2275. the X socket. This leads to many problems, with the following
  2276. solutions:
  2277. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  2278. EnqueueLocked.
  2279. The MotionNotify compression we do can't work across threads
  2280. (without locking the entire queue, perhaps) since we call
  2281. hwnd.Queue.Peek, so we just punt and don't compress motion events
  2282. unless the owning thread is the one which got the X event.
  2283. ConfigureNotify is another fun one, since it modifies the hwnd's
  2284. bounds and then enqueues the event. We add a lock to Hwnd which
  2285. is held when setting configure_pending to true (and enqueuing the
  2286. event).
  2287. There is a race wrt the wake socket. we need to make sure that
  2288. only 1 thread is waiting on that socket, or else a thread could
  2289. sleep waiting for data that never comes. It's difficult (but not
  2290. impossible) to make happen, because it seems to require something
  2291. like the following:
  2292. 1. Thread 1 polls on wake_receive
  2293. 2. poll returns saying there's data to be read on
  2294. wake_receive.
  2295. 3. Thread 2 polls on wake_receive and immediately returns
  2296. saying there's data to be read.
  2297. 4. Thread 2 reads the wakeup byte from wake_receive
  2298. 5. Thread 1 attempts to read the wakeup byte from
  2299. wake_receive.
  2300. 6. Thread 2 exits (due to a form closing, perhaps).
  2301. 7. Thread 1 blocks forever.
  2302. Fun, eh?
  2303. Fixing the Expose handling isn't done yet, and the races inherent
  2304. in that piece of code are responsible for the drawing mistakes you
  2305. see when generating expose events in a MT app (like NPlot). This
  2306. one is the likely to be the hardest to bandaid, and it doesn't
  2307. appear to cause anything but drawing problems. The other issues
  2308. caused apps to exit or hang.
  2309. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  2310. called from a different thread than the one that should be calling
  2311. these functions.
  2312. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  2313. 2006-11-15 Chris Toshok <[email protected]>
  2314. * Application.cs: null out the context's MainForm when we exit
  2315. RunLoop. Fixes a newly checked in unit test as well as the last
  2316. ODE from bug #79933.
  2317. 2006-11-15 Chris Toshok <[email protected]>
  2318. * Form.cs (set_Owner): allow a null value so we can clear the
  2319. form's owner.
  2320. (Dispose): set all our owned_form's Owner properties to null, and
  2321. clear the owned_forms collection.
  2322. (WM_CLOSE): clean up this a little bit.. still not right though.
  2323. * ApplicationContext.cs: OnMainFormClosed should only call
  2324. ExitThreadCore if the main form isn't recreating. Fixes unit
  2325. test.
  2326. 2006-11-15 Jonathan Pobst <[email protected]>
  2327. [Fixes 78346]
  2328. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  2329. 2006-11-15 Jonathan Pobst <[email protected]>
  2330. [Fixes 79433]
  2331. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  2332. keep popup window types from stealing focus from the main form
  2333. on Windows.
  2334. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  2335. * MenuAPI.cs: Set above flag to true.
  2336. 2006-11-15 Chris Toshok <[email protected]>
  2337. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  2338. the button being released is not in wParam.
  2339. 2006-11-15 Jonathan Pobst <[email protected]>
  2340. * Form.cs: Add the released button to MouseEventArgs.Button
  2341. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  2342. on Win32.
  2343. 2006-11-15 Chris Toshok <[email protected]>
  2344. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  2345. GetText(). untested because it's unused in our implementation.
  2346. Control.Text always caches the text, even if
  2347. ControlStyles.CacheText is not set.
  2348. fixes bug #79939.
  2349. 2006-11-15 Chris Toshok <[email protected]>
  2350. [ fixes #79933 ]
  2351. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  2352. message. no hiding, no disposing.
  2353. in the WM_CLOSE handler, hide the form if it's modal.
  2354. 2006-11-15 Chris Toshok <[email protected]>
  2355. * XplatUIX11.cs: use AddExpose instead of sending a message.
  2356. fixes textbox border drawing.
  2357. 2006-11-15 Chris Toshok <[email protected]>
  2358. * PropertyGridView.cs: keep from crashing on mouse move/down when
  2359. the property grid is empty.
  2360. 2006-11-14 Jackson Harper <[email protected]>
  2361. * TextControl.cs: Make PageUp and PageDown more like the MS
  2362. versions.
  2363. * TextBoxBase.cs: When we set the text property position the
  2364. cursor at the beginning of the document.
  2365. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  2366. * Form.cs: if a mdi child's WindowState has changed
  2367. before it's creation, it would display wrong control
  2368. buttons.
  2369. 2006-11-14 Alexander Olk <[email protected]>
  2370. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  2371. (Fixes bug #79927)
  2372. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  2373. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  2374. the window gets to paint its borders even if the window is
  2375. getting smaller.
  2376. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  2377. otherwise the old control buttons would still be painted
  2378. if the window gets bigger.
  2379. * PaintEventArgs.cs: add an internal method so that the clip
  2380. rectangle can be changed.
  2381. 2006-11-13 Chris Toshok <[email protected]>
  2382. [ fixes bug #79745 ]
  2383. * NotifyIcon.cs: lots of cleanup.
  2384. * X11Structs.cs: add an enum for XEMBED messages.
  2385. * XplatUIX11.cs: reindent one of the giant switch statements, it
  2386. was taking up an additional tab stop, and this file is already way
  2387. too wide for my laptop's screen.
  2388. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  2389. we get it, resize the hwnd to the WMNormalHints max_width/height.
  2390. 2006-11-13 Jackson Harper <[email protected]>
  2391. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  2392. teh simple way.
  2393. 2006-11-13 Chris Toshok <[email protected]>
  2394. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  2395. #79898. force a reference to the Region to stick around so the
  2396. unmanaged object isn't collected (rendering our handle in the MSG
  2397. stale).
  2398. 2006-11-13 Chris Toshok <[email protected]>
  2399. * XplatUIX11.cs: fix #79917 for window managers which support
  2400. using XStoreName on the raw utf8, and we need to convert to
  2401. COMPOUND_TEXT if it's non-latin1.
  2402. 2006-11-13 Chris Toshok <[email protected]>
  2403. * Form.cs (set_DialogResult): we need to set closing to false if
  2404. we're setting our result to None. fixes bug #79908.
  2405. 2006-11-13 Jackson Harper <[email protected]>
  2406. * TextControl.cs: When formatting text, compute the adjusted tag
  2407. lengths correctly, using FindTag for the end tag instead of trying
  2408. to figure it out outselves.
  2409. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  2410. the item, ItemHeight doesn't work, because trees with large
  2411. imagelists use those for their height
  2412. * TreeView.cs: ActualItemHeight factors in the image height
  2413. - compute left edge of checkboxes correctly
  2414. - when expanding/collapsing move the bottom down one pixel, so we
  2415. aren't moving part of the node
  2416. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  2417. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  2418. stack in PaintEventStart so that it won't get disposed by the gc
  2419. before reaching PaintEventEnd.
  2420. 2006-11-13 Jackson Harper <[email protected]>
  2421. * TextBoxBase.cs: Don't select the word if we are on a line with
  2422. no text.
  2423. - We don't need to position the caret on mouse up, since the mouse
  2424. move handler should be doing this
  2425. - When double clicking a blank line, the caret is advanced to the
  2426. next line.
  2427. 2006-11-13 Gert Driesen <[email protected]>
  2428. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  2429. 2006-11-12 Gert Driesen <[email protected]>
  2430. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  2431. Fixes part of bug #79910.
  2432. 2006-11-11 Alexander Olk <[email protected]>
  2433. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  2434. (bug #79903). Some minor string updates to match ms.
  2435. 2006-11-10 Alexander Olk <[email protected]>
  2436. * FileDialog.cs: Don't add an extension if the filename
  2437. already ends with that extension.
  2438. 2006-11-10 Jackson Harper <[email protected]>
  2439. * TreeView.cs: Use the currently highlighted node for the
  2440. BeforeSelect event.
  2441. * TextBoxBase.cs: There is no need to expand selection on
  2442. MouseMove.
  2443. - CanUndo means 'is there any undo operations', not 'is undo
  2444. allowed on this textcontrol. Fixed ClearUndo unit test.
  2445. 2006-11-10 Andreia Gaita <[email protected]>
  2446. * Button.cs: only perform click when button is Selectable (so as
  2447. not to activate default buttons when they're disabled)
  2448. * Control.cs: Rewrite of the SelectNextControl and related
  2449. methods. HandleClick now selects next control if the current one
  2450. is being disabled.
  2451. * Form.cs: OnActivated selects next active control only if Load
  2452. has already occurred. If Load hasn't run, there's no point in
  2453. selecting here, Load might change the state of controls.
  2454. * FocusTest.cs: Tests marked as working again for these fixes
  2455. 2006-11-10 Chris Toshok <[email protected]>
  2456. * XplatUIX11.cs: a couple of fixes.
  2457. - use XInternAtoms with almost all the atoms we need to register,
  2458. instead of many, many calls to XInternAtom. should help a bit on
  2459. startup time, at the expense of making the code look a little
  2460. worse.
  2461. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  2462. isn't reparented (which seems to be a clue that we're running fon
  2463. compiz) and they have an Owner form. This fixes the tool windows
  2464. in paint.net when running under compiz.
  2465. - when setting the opacity of a window, support both the case
  2466. where the window has been reparented and also when it hasn't been.
  2467. Since compiz/beryl doesn't seem to reparent windows, and these are
  2468. the only window managers which support translucency, I'm not sure
  2469. why we need the hwnd.reparented case at all.. but leave it in.
  2470. now we get translucent windows in paint.net under compiz/beryl.
  2471. 2006-11-10 Alexander Olk <[email protected]>
  2472. * FileDialog.cs: Always return the value for FilterIndex that
  2473. was set. Internally convert it to values that make sense.
  2474. 2006-11-10 Everaldo Canuto <[email protected]>
  2475. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  2476. 2006-11-10 Everaldo Canuto <[email protected]>
  2477. * Toolbar.cs: Change default value of DropDownArrows to true, the
  2478. signature still using false to make it compatible with MS but the
  2479. initial value is true. Fixes #79855.
  2480. 2006-11-10 Alexander Olk <[email protected]>
  2481. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  2482. only available on Linux.
  2483. 2006-11-09 Everaldo Canuto <[email protected]>
  2484. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  2485. reduce number of calls to redraw method during toolbar creation.
  2486. 2006-11-09 Mike Kestner <[email protected]>
  2487. * ListView.cs : raise SelectedIndexChanged when an item is selected
  2488. programmatically via the Item.Selected property. Gert's nice
  2489. ListViewSelectedIndexChanged test fixture now runs clean.
  2490. 2006-11-09 Mike Kestner <[email protected]>
  2491. * ListView.cs : raise SelectedIndexChanged when a selected item is
  2492. removed from the item collection using Remove or RemoveAt.
  2493. 2006-11-09 Mike Kestner <[email protected]>
  2494. * ListView.cs : raise SelectedIndexChanged once per selected item
  2495. for compat with MS. Fixes #79849+.
  2496. 2006-11-09 Chris Toshok <[email protected]>
  2497. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  2498. we need to (if we have any tab pages). Fixes unit test.
  2499. 2006-11-09 Chris Toshok <[email protected]>
  2500. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  2501. width is 0, not 3. Fixes a unit test.
  2502. 2006-11-09 Mike Kestner <[email protected]>
  2503. * ListView.cs : use Implicit scrollbars so that focus isn't
  2504. stolen from the listview when they are clicked. Fixes #79850.
  2505. 2006-11-09 Chris Toshok <[email protected]>
  2506. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  2507. have a root item. Fixes #79879.
  2508. 2006-11-09 Alexander Olk <[email protected]>
  2509. * FileDialog.cs:
  2510. - Fix ToString ()
  2511. - An ArgumentException is now thrown if a wrong filter
  2512. is applied (matches ms). The previous filter doesn't change
  2513. anymore if an exception is thrown.
  2514. - Changing the FileName property also affects FileNames
  2515. * ColorDialog.cs: The length of the CustomColors array is always
  2516. 16. It doesn't matter if we use a smaller array or null to update
  2517. or change the custom colors property.
  2518. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  2519. for RootFolder if we get a undefined value.
  2520. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  2521. * StatusBarPanel.cs:
  2522. - Width is set to MinWidth if Width is smaller than
  2523. MinWidth. Fixes #79842.
  2524. - MinWidth now always overrides Width (MSDN says MinWidth
  2525. is set to Width when AutoSize = None, but they do not
  2526. behave like that).
  2527. - Style has now the the correct default value.
  2528. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  2529. * TrackBar.cs:
  2530. - The control is completely invalidated on
  2531. Got/LostFocus to draw the focus rectangle correctly.
  2532. - When AutoSize then height is always 45 (width for
  2533. vertical controls).
  2534. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  2535. on the mouse when moved and it doesn't move when grabbed
  2536. until the mouse moves as well. Also fixed some wrong
  2537. calculations when clicking on the thumb (control thought
  2538. click was outside of thumb and didn't grab it).
  2539. Fixes some of the issues in #79718.
  2540. 2006-11-08 Everaldo Canuto <[email protected]>
  2541. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  2542. 2006-11-08 Chris Toshok <[email protected]>
  2543. * PropertyGridView.cs: only call ToggleValue if the item is not
  2544. readonly.
  2545. 2006-11-08 Jackson Harper <[email protected]>
  2546. * TextBoxBase.cs: The RichTextBox and textbox have very different
  2547. word selection methods. Implement the textbox's simple word
  2548. selection here, and let the RichTextBox override and provide it's
  2549. own.
  2550. - Don't do extra selection on mouseup
  2551. * RichTextBox.cs: Use the documents word selection algorithm, I
  2552. think ideally, this function will be pulled into the
  2553. RichTextBox.cs code someday.
  2554. 2006-11-08 Chris Toshok <[email protected]>
  2555. * RootGridEntry.cs: new class to represent GridItemType.Root.
  2556. * CategoryGridEntry.cs: reformat, and add boilerplate.
  2557. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  2558. returns the UI parent anyway, and we need special handling to
  2559. implement the GetTarget method in the face of it. Also, implement
  2560. Select().
  2561. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  2562. a root grid item, and use that instead of PropertyGrid.grid_items.
  2563. Also, make use of TypeConverters (and add limitted support for
  2564. ICustomTypeDescriptors) when initially populating the grid.
  2565. Arrays now show up more or less properly.
  2566. 2006-11-08 Chris Toshok <[email protected]>
  2567. * Application.cs: set the modal dialog to non modal after we close
  2568. it. Fixes bug #79866.
  2569. 2006-11-08 Jackson Harper <[email protected]>
  2570. * TextControl.cs: When combining lines carry over the line end
  2571. style from the end line.
  2572. - Invalidate the selected area when setting it, if it is visible.
  2573. * TextBoxBase.cs: Only rich text box can do full line selects.
  2574. - Make sure to set the cursor position when there is a click,
  2575. otherwise two clicks in separate areas could cause a large chunk
  2576. to be selected.
  2577. 2006-11-07 Everaldo Canuto <[email protected]>
  2578. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  2579. Fixes #79863.
  2580. 2006-11-07 Everaldo Canuto <[email protected]>
  2581. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  2582. time. Remove tooltips when ToolButton click events. Fixes #79856.
  2583. 2006-11-07 Everaldo Canuto <[email protected]>
  2584. * MenuAPI.cs: Ignore right click for menu actions and fixes
  2585. menu border when clicked. Fixes #79846.
  2586. 2006-11-07 Everaldo Canuto <[email protected]>
  2587. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  2588. MouseState after create wParam for message, this fixes mouse button
  2589. equal none in mouse up events.
  2590. 2006-11-07 Andreia Gaita <[email protected]>
  2591. * Control.cs : Focus() now calls Select to set the Container's
  2592. Active Control and to give it focus. To avoid infinite recursion
  2593. (because ActiveControl also calls Focus at one point), a check
  2594. is made in Focus with the help of a new internal variable
  2595. is_focusing.
  2596. 2006-11-07 Mike Kestner <[email protected]>
  2597. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  2598. if there's a selection. Fixes #79849.
  2599. 2006-11-07 Gert Driesen <[email protected]>
  2600. * PropertyGrid.cs: Avoid fixed height of help description label.
  2601. Fixes part of bug #79829.
  2602. 2006-11-07 Chris Toshok <[email protected]>
  2603. * XplatUIX11.cs: fix #79790 again, by using the
  2604. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  2605. 2006-11-07 Everaldo Canuto <[email protected]>
  2606. * ToolBar.cs: Fix left click checking.
  2607. 2006-11-07 Chris Toshok <[email protected]>
  2608. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  2609. 2006-11-07 Chris Toshok <[email protected]>
  2610. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  2611. PropertyManager unit tests.
  2612. * PropertyManager.cs: make property_name internal.
  2613. 2006-11-07 Chris Toshok <[email protected]>
  2614. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  2615. pass a unit test. Also, don't set image_index to anything in
  2616. response to setting the ImageList property.
  2617. 2006-11-07 Everaldo Canuto <[email protected]>
  2618. * ToolBar.cs: Ignore click events when mouse button is not a
  2619. left button, only accepts other button for dropdown menus.
  2620. Fixes #79854.
  2621. 2006-11-07 Chris Toshok <[email protected]>
  2622. * DataGrid.cs: make the back and parent row buttons a little less
  2623. ugly.
  2624. 2006-11-07 Jackson Harper <[email protected]>
  2625. * TextBoxBase.cs: When converting to Text don't put line breaks in
  2626. for soft line breaks.
  2627. * TextControl.cs: There is an initial "fake" line in the document,
  2628. this is now a soft break line, so that an extra line feed doesn't
  2629. get added to the end of documents.
  2630. 2006-11-07 Chris Toshok <[email protected]>
  2631. [ fix bug #79778 ]
  2632. * CurrencyManager.cs: if the list is readonly, don't bother
  2633. checking if IBindingList.AllowNew is true.
  2634. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  2635. for non-DataRowView datasources.. or rather, make it not crash.
  2636. (DataGridPaintRelationRow): make sure we limit the row painting to
  2637. the area not covered by the row header, and make our cell width at
  2638. least large enough to cover the relation area. This allows grids
  2639. that have relations but no rows to render correctly.
  2640. (DataGridPaintRowContents): same type of changes here.
  2641. (SetDataSource): move back to always calling
  2642. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  2643. navigating back through relations.
  2644. (HitTest): handle the case where we have no cells but have
  2645. relations. Right now we generate a hit in cell 0 of whatever the
  2646. row is, not sure if this is strictly correct, but it works for our
  2647. purposes.
  2648. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  2649. bother doing anything.
  2650. 2006-11-07 Jonathan Pobst <[email protected]>
  2651. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  2652. early version of StatusStrip. Not responsible for eaten
  2653. application or firstborn children.
  2654. 2006-11-06 Chris Toshok <[email protected]>
  2655. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  2656. call GetTabRect with a -1 index. Fixes #79847.
  2657. 2006-11-06 Jackson Harper <[email protected]>
  2658. * TreeNodeCollection.cs: Update scrollbars after clearing.
  2659. 2006-11-06 Chris Toshok <[email protected]>
  2660. * NumericUpDown.cs: fix the ToString method for some unit test
  2661. love.
  2662. 2006-11-06 Chris Toshok <[email protected]>
  2663. * PropertyGrid.cs:
  2664. - set the initial SelectedGridItem if we can.
  2665. - Exclude non-mergable properties only if we're merging > 1
  2666. object. Merging 1 object isn't really merging, obviously.
  2667. - Handle PropertySort.NoSort just like Alphabetical, which is
  2668. wrong of course, but at least gets things on the screen.
  2669. * PropertyGridView.cs:
  2670. - Add method "FindFirstItem" which finds the first property grid
  2671. item, so we can select it by default.
  2672. - make use of GridEntry.CanResetValue.
  2673. - Don't call RedrawBelowItemOnExpansion here anymore, the
  2674. individual GridEntry's will do that.
  2675. - Remove the ITypeDescriptorContextImpl internal class.
  2676. * GridEntry.cs:
  2677. - this class needs to implement ITypeDescriptorContext, as it's
  2678. what MS's PropertyDescriptorGridEntry does, which means we can
  2679. remove the ITypeDescriptorContextImpl internal class from
  2680. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  2681. - keep a reference to our PropertyGridView, and move the call to
  2682. RedrawBelowItemOnExpansion here from PGV. This means
  2683. programmaticly setting Expanded actually does something visible.
  2684. - add a CanResetValue() function which takes into account our
  2685. possibly multiple "selected_objects" in the merged case. Shifting
  2686. PropertyGridView to use this method fixes another unreported
  2687. crasher found running the test for #79829.
  2688. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  2689. is updated to reflect this.
  2690. * CategoryGridEntry.cs: the ctor takes the PGV now.
  2691. 2006-11-06 Jackson Harper <[email protected]>
  2692. * TextControl.cs: These are 1 based.
  2693. * TextBoxBase.cs: When setting the selected text, don't change the
  2694. selected text tags, this is done by ReplaceText, just position the
  2695. cursor at the end of the new text.
  2696. 2006-11-06 Alexander Olk <[email protected]>
  2697. * ListView.cs: Allow label edit only when, when LabelEdit is
  2698. set to true.
  2699. 2006-11-06 Jackson Harper <[email protected]>
  2700. * TextControl.cs: If a suitable wrapping position isn't found,
  2701. just wrap right in the middle of a word.
  2702. 2006-11-06 Alexander Olk <[email protected]>
  2703. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  2704. bug #79820.
  2705. 2006-11-06 Jackson Harper <[email protected]>
  2706. * TreeView.cs: Can't use the VisibleCount property when setting
  2707. scrollbar heights, because this doesn't take into account whether
  2708. or not the horz scrollbar just came visible.
  2709. 2006-11-05 Everaldo Canuto <[email protected]>
  2710. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  2711. activated. Fixes #79369, #79832.
  2712. 2006-11-05 Alexander Olk <[email protected]>
  2713. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  2714. had to remove support for links that point to a directory. FileInfo
  2715. returns no usefull information (means, the directory they point to)
  2716. for such links. Replaced some empty string ("") with String.Empty.
  2717. 2006-11-04 Gert Driesen <[email protected]>
  2718. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  2719. NullReferenceException when attempting to remove node that is not in
  2720. collection. Throw NullReferenceException when null is passed to
  2721. Remove. Allow first element of the collection to be removed. Fixes
  2722. bug #79831. In GetEnumerator ().Current return null if positioned
  2723. before the first element of the collection. In GetEnumerator ().Reset,
  2724. position before first element of the collection.
  2725. 2006-11-04 Gert Driesen <[email protected]>
  2726. * PropertyGrid.cs: To match MS, remove default title and description
  2727. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  2728. buttons.
  2729. 2006-11-04 Chris Toshok <[email protected]>
  2730. * Theme.cs: add a Clamp method, just for kicks.
  2731. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  2732. 2006-11-04 Chris Toshok <[email protected]>
  2733. * Form.cs: if the form isn't visible, Close() does nothing.
  2734. 2006-11-03 Chris Toshok <[email protected]>
  2735. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  2736. Hide it.
  2737. (WndProc): don't Dispose after handling the WM_CLOSE message.
  2738. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  2739. them as such, instead of using casts from Control to Form. Also,
  2740. don't Dispose of the modal dialog when we fall out of the loop -
  2741. Close() it instead.
  2742. fixes bug #79813.
  2743. 2006-11-03 Chris Toshok <[email protected]>
  2744. * Control.cs (Dispose): only go through the dispose thing if we're
  2745. @disposing, and we haven't already been disposed. Fixes bug
  2746. #79814.
  2747. * Form.cs: no reason to call "base.Dispose()" here instead of
  2748. "Dispose()".
  2749. 2006-11-03 Mike Kestner <[email protected]>
  2750. * ComboBox.cs : use ToString instead of casts in AddItem for
  2751. sorting functionality. Fixes #79812.
  2752. 2006-11-03 Chris Toshok <[email protected]>
  2753. * Application.cs: pave the way for actually using the thread
  2754. exception dialog. it's ifdefed out at the moment.
  2755. 2006-11-03 Chris Toshok <[email protected]>
  2756. * ThreadExceptionDialog.cs: until we get a better layout, actually
  2757. hide the details textbox and label when we shouldn't see them.
  2758. 2006-11-03 Jackson Harper <[email protected]>
  2759. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  2760. multiline textboxes anymore. This method also determines the
  2761. width/height of a textboxes canvas area.
  2762. - Sorta a revert of the last patch. For multiline just position
  2763. the controls, then bail. This way the scrollbar width won't be
  2764. altered.
  2765. 2006-11-03 Everaldo Canuto <[email protected]>
  2766. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  2767. it dont need. Fixes #79537.
  2768. 2006-11-02 Jackson Harper <[email protected]>
  2769. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  2770. send the status after firing the DndOver event.
  2771. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  2772. * TrackBar.cs: Now orientation only switches height / width if
  2773. the control's handle is created (Win32 does it like this). Also
  2774. fixed a typo in ToString() for a test to pass, changed the
  2775. exception thrown in set_LargeChange and set_SmallChange to
  2776. match Win32 behaviour, and added TrackBar tests to the unit
  2777. tests.
  2778. 2006-11-02 Chris Toshok <[email protected]>
  2779. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  2780. not _NET_WM_STATE_NO_TASKBAR.
  2781. 2006-11-02 Jackson Harper <[email protected]>
  2782. * TextControl.cs: Increment count by one, since in the update view
  2783. count - 1 is used.
  2784. 2006-11-02 Jackson Harper <[email protected]>
  2785. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  2786. the mouse is in the client rectangle (duh).
  2787. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  2788. * TrackBar.cs: Fixed trackbar jumping around when clicking
  2789. on it - the trackbar was not detecting correctly at which
  2790. side of the thumb the click was done. (fixes #79718)
  2791. 2006-11-02 Everaldo Canuto <[email protected]>
  2792. * ListBox.cs: scroll visible area when change SelectedIndex to
  2793. a non visible area. Fixes #79481.
  2794. 2006-11-01 Jackson Harper <[email protected]>
  2795. * TextControl.cs: When replacing the selection move the selection
  2796. start/end/anchor to the end of the new text.
  2797. 2006-11-01 Jackson Harper <[email protected]>
  2798. * XplatUIWin32.cs: When setting the parent change the controls
  2799. visibility to it's visibility flag, not to it's old parents
  2800. visibility (.Visible walks the parent chain).
  2801. 2006-11-01 Chris Toshok <[email protected]>
  2802. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  2803. XSetTransientForHint fix breaks paint .net's tool windows. more
  2804. work needed for that one.
  2805. 2006-11-01 Chris Toshok <[email protected]>
  2806. * ScrollBar.cs: throw ArgumentException instead of Exception in
  2807. LargeChange/SmallChange setters. fixes unit tests.
  2808. 2006-10-31 Andreia Gaita <[email protected]>
  2809. * ContainerControl.cs: reverted rev.67183 (which was itself
  2810. a reversion of rev.66853... eh).
  2811. * Control.cs: Fixes Reflector hang by changing Focus() call
  2812. to what it was before rev.66643 (calling Select() here sets
  2813. ActiveControl, which in some situations calls back Focus and
  2814. eventually does a stack overflow). Temp fix.
  2815. Changes to GetNextControl() to not look for children to select when
  2816. parent cannot be selectable (so it looks for siblings instead)
  2817. 2006-10-31 Mike Kestner <[email protected]>
  2818. * CheckedListBox.cs : off by one error in returned index from
  2819. ObjectCollection.Add. Fixes #79758.
  2820. 2006-10-31 Chris Toshok <[email protected]>
  2821. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  2822. calls for the textbox/spinner, to keep from recursing to the point
  2823. where we crash. Fixes #79760.
  2824. 2006-10-31 Chris Toshok <[email protected]>
  2825. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  2826. null/"" value, just return. matches ms's behavior and fixes some
  2827. failing tests.
  2828. 2006-10-31 Chris Toshok <[email protected]>
  2829. * Control.cs (set_Capture): make a logic a little easier to
  2830. follow.
  2831. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  2832. if it's being destroyed. A necessary fix surely, but a bandaid
  2833. also, to fix the stuck capture problem in bug #78413.
  2834. 2006-10-31 Chris Toshok <[email protected]>
  2835. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  2836. convention of clearing hwnd.ClientRect when we set the
  2837. width/height (so it'll be recalculated by Hwnd).
  2838. 2006-10-31 Andreia Gaita <[email protected]>
  2839. * ContainerControl.cs: reversed Contains check from
  2840. ActiveControl due to hanging problems. This fix
  2841. partly regresses #79667 (button does not have
  2842. initial focus), so this might be a symptom for
  2843. a larger parenting problem (set_ActiveControl
  2844. is being called but the child control does
  2845. not have the parent set yet?)
  2846. 2006-10-31 Mike Kestner <[email protected]>
  2847. * MenuAPI.cs : fix keynav when menu is click activated.
  2848. 2006-10-31 Jonathan Pobst <[email protected]>
  2849. * ToolStrip*: Version 0.2.
  2850. * MenuStrip.cs: Version 0.1.
  2851. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  2852. 2006-10-30 Chris Toshok <[email protected]>
  2853. [ fixes the oversized notify icon issue in bug #79745 ]
  2854. * NotifyIcon.cs: scale the icon down to the size we're given by
  2855. the XplatUI layer (this would be faster if we did it once instead
  2856. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  2857. since it's never invoked.
  2858. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  2859. pixels high by default, so let's hardcode our systray icon to that
  2860. size. The SYSTEM_TRAY protocol should really have a way for
  2861. client apps to query for the correct icon size.. but oh well. A
  2862. couple of patches to deal with the screwy client_window ==
  2863. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  2864. instance, and also make sure we don't XSelectInput twice).
  2865. 2006-10-30 Chris Toshok <[email protected]>
  2866. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  2867. recreating forms. Control recreation is the bane of my existence.
  2868. Fix it in a way that keeps everyone happy.
  2869. 2006-10-30 Chris Toshok <[email protected]>
  2870. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  2871. just non-CHILD ones. otherwise sometimes scrollbars end up with
  2872. client_windows not being resized to the proper size (ReportBuilder
  2873. shows this extremely well).
  2874. 2006-10-30 Chris Toshok <[email protected]>
  2875. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  2876. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  2877. showing up in the gnome taskbar. Fixes bug #79790.
  2878. 2006-10-30 Chris Toshok <[email protected]>
  2879. * ApplicationContext.cs: guard against a NRE.
  2880. * Application.cs: null out the old MainForm for the context, so we
  2881. don't try to use it again once it's disposed. Fixes bug #79783.
  2882. 2006-10-30 Chris Toshok <[email protected]>
  2883. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  2884. BindingContext, set the data source directly, otherwise do the
  2885. lazy approach - the actual ListManager will be created when we get
  2886. a BindingContext. Fixes bug #79700.
  2887. 2006-10-30 Jonathan Pobst <[email protected]>
  2888. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  2889. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  2890. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  2891. 2006-10-30 Jonathan Pobst <[email protected]>
  2892. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  2893. of SetVisible that allows a window to be shown, but not activated.
  2894. This is needed on Windows for MenuStrip, and can probably be used
  2895. with MainMenu and ComboBox to fix the focus stealing issues on
  2896. Windows.
  2897. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  2898. 2006-10-30 Alexander Olk <[email protected]>
  2899. * PictureBox.cs: Fix the output of the ToString method.
  2900. 2006-10-29 Chris Toshok <[email protected]>
  2901. * Control.cs (get_TopLevelControl): fix bug #79781.
  2902. 2006-10-29 Chris Toshok <[email protected]>
  2903. * ListControl.cs (set_DataSource): throw Exception here, not
  2904. ArgumentException, to match MS behavior.
  2905. 2006-10-29 Chris Toshok <[email protected]>
  2906. * Form.cs: remove the try-catch's around calls to GetWindowState.
  2907. We can just check the return value.
  2908. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  2909. Instead return -1.
  2910. * XplatUI.cs: Add note about additional return value for
  2911. GetWindowState.
  2912. 2006-10-29 Chris Toshok <[email protected]>
  2913. * Control.cs (CreateHandle): when we create our handle, we also
  2914. create the handles of our child controls. Fixes one of the
  2915. Control unit tests (CH11).
  2916. 2006-10-28 Alexander Olk <[email protected]>
  2917. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  2918. 2006-10-28 Alexander Olk <[email protected]>
  2919. * ThemeClearlooks.cs: A little speedup.
  2920. 2006-10-27 Chris Toshok <[email protected]>
  2921. * Control.cs: implement Control.FromChildHandle in a way that
  2922. matches the docs (and fixes the failed test.)
  2923. 2006-10-27 Chris Toshok <[email protected]>
  2924. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  2925. comments).
  2926. * DataGrid.cs: implement ResetForeColor such that the tests
  2927. succeed.
  2928. 2006-10-27 Chris Toshok <[email protected]>
  2929. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  2930. being set to "". Fixes bug #79759.
  2931. 2006-10-27 Jackson Harper <[email protected]>
  2932. * TextControl.cs: We need to clear the entire selection area when
  2933. setting the start, otherwise multiline selections are still
  2934. visible.
  2935. 2006-10-26 Chris Toshok <[email protected]>
  2936. * PropertyGridView.cs:
  2937. - ifdef all the code specific to the double
  2938. buffer case, and provide some alternatives in the non-doublebuffer
  2939. code, which makes heavy use of XplatUI.ScrollWindow to move things
  2940. around without having to invalidate (and cause flicker). There
  2941. are still some drawing problems in the non-doublebuffered case, so
  2942. DOUBLEBUFFER is defined by default.
  2943. - Fix the way dropdowns are handled. now we explicitly watch for
  2944. the events which might cause the dropdown to close, and break out
  2945. of the nested event loop there. This gets rid of all Capture
  2946. code, at the expense of the Msg special casing. Seems to work,
  2947. though, and fixes bug #79743.
  2948. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  2949. * Control.cs: SetIsRecreating now recreates implicitly added
  2950. child controls as well. Finally fixes #79629. The flag passed to
  2951. SetIsRecreating has also been removed since it wasn't used.
  2952. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  2953. * PageSetupDialog.cs: Clean some code, fix some bits,
  2954. add some checks, and add a printer sub-dialog.
  2955. 2006-10-26 Chris Toshok <[email protected]>
  2956. * PropertyGrid.cs: make set_SelectedObject call
  2957. set_SelectedObjects, and move the duplicate logic to the
  2958. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  2959. * PropertyGridView.cs: hide the textbox when we get a
  2960. SelectedObjectsChanged event.
  2961. Fixes bug #79748.
  2962. 2006-10-26 Chris Toshok <[email protected]>
  2963. * PropertyGridView.cs: deal with the type converter not supporting
  2964. GetStandardValues() or GetStandardValues() returning null, which
  2965. is does in the default case. Fixes #79742.
  2966. 2006-10-25 Andreia Gaita <[email protected]>
  2967. * CheckedListBox.cs: nunit no longer crashes when selecting
  2968. Project/Edit menu option
  2969. 2006-10-25 Andreia Gaita <[email protected]>
  2970. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  2971. is no menu selected. fixes #79739
  2972. 2006-10-25 Chris Toshok <[email protected]>
  2973. * PropertyGridView.cs: factor out the splitter invalidation code
  2974. into the SplitterPercent setter, and for kicks implement the
  2975. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  2976. amount in either direction.
  2977. 2006-10-25 Chris Toshok <[email protected]>
  2978. * PropertyGridView.cs: do some cleanup of the brush used to draw
  2979. text - read only fields should be grayed out. not sure how to do
  2980. this with the textbox, though. but the textbox's should also be
  2981. readonly now at least. Also, hide/show the textbox when resizing
  2982. the control.
  2983. * CursorConverter.cs: use System.Reflection when getting the
  2984. properties of Cursors, as TypeDescriptor.GetProperties isn't
  2985. returning static properties.
  2986. 2006-10-25 Chris Toshok <[email protected]>
  2987. * PropertyGridView.cs: factor out the up/down handling, and reuse
  2988. it for page up/down. also add End/Home support.
  2989. 2006-10-25 Chris Toshok <[email protected]>
  2990. * PropertyGridView.cs:
  2991. - ensure the selected grid item is visible in the scrolled area,
  2992. fixes bug #79572.
  2993. - fix Keys.Down handling when you're on the last item in the
  2994. propertygrid.
  2995. 2006-10-25 Mike Kestner <[email protected]>
  2996. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  2997. clicks too. Fixes #79725.
  2998. 2006-10-24 Chris Toshok <[email protected]>
  2999. * PropertyGrid.cs: use property.Converter instead of
  3000. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  3001. TypeConverters declared on the property as well as on the
  3002. PropertyType. Fixes bug #79678.
  3003. 2006-10-24 Alexander Olk <[email protected]>
  3004. * MimeIcon.cs, Mime.cs:
  3005. Fallback to the default platform handler if no shared mime info
  3006. stuff exists (fixes #79693).
  3007. 2006-10-20 Andreia Gaita <[email protected]>
  3008. * ContainerControl.cs: Incorrect contains check in ActiveControl
  3009. from previous fix (duh).
  3010. 2006-10-20 Chris Toshok <[email protected]>
  3011. * PropertyGridView.cs: the dropdown should be MIN(number of items
  3012. in list, 15). Fixes #79551.
  3013. 2006-10-20 Andreia Gaita <[email protected]>
  3014. Fixes #79384, #79394, #79652, #79667
  3015. * Application.cs:
  3016. - Modal windows are now destroyed in the proper order for windows
  3017. * ContainerControl.cs:
  3018. - ActiveControl setter has more conditions on when to return:
  3019. - if we're reselecting the active control, but it actually
  3020. didn't have focus (window hidden or some such), it runs
  3021. - if the active control being selected doesn't actually
  3022. exist in the container, it returns
  3023. * Form.cs
  3024. - The ShowDialog now gets the current form as the owner when
  3025. invoking without parameters, and correctly activates the owner
  3026. when returning
  3027. * MessageBox.cs
  3028. - MessageBox now catches the Escape key to exit
  3029. 2006-10-20 Chris Toshok <[email protected]>
  3030. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  3031. most of bug #79676):
  3032. - you can navigate around the property grid with the arrow keys.
  3033. - the dropdown is sized properly when the pg has a vertical
  3034. scrollbar.
  3035. - fix the indentation for subentries, and properly select the
  3036. entire label rect.
  3037. - fix the gray bar's drawing (only draw it to the last element,
  3038. not for the height of the control. Also make sure we draw that
  3039. last horizontal grid line.
  3040. - use the same mechanism the datagrid uses wrt the editing textbox
  3041. when scrolling/resizing/etc. Namely, we hide it first, do the
  3042. operation, then show it again (if it's still visible).
  3043. - aggressively remove a lot of unnecessary refreshes (and also
  3044. calls to Invalidate(). call more limited variants, and only redraw
  3045. what we need.)
  3046. * PropertyGrid.cs:
  3047. - when we're populating the merged collection, fill in the UI
  3048. parent with either the passed in item, or the category item we
  3049. create.
  3050. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  3051. * GridItem.cs: drop some fully qualified names.
  3052. * GridEntry.cs: add a "UIParent", which is basically the parent
  3053. treenode.
  3054. * GridItemCollection.cs: add an IndexOf method.
  3055. 2006-10-20 Mike Kestner <[email protected]>
  3056. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  3057. a working win32 NC invalidation mechanism, we can't invalidate
  3058. menus. [Fixes #79705]
  3059. 2006-10-20 Mike Kestner <[email protected]>
  3060. * ListBox.cs : don't update the VScrollbar if the list is empty,
  3061. just hide it. [Fixes #79692]
  3062. 2006-10-20 Jackson Harper <[email protected]>
  3063. * RichTextBox.cs: Handle some special chars better, and don't skip
  3064. the entire group when we encounter a special char that we don't
  3065. handle correctly.
  3066. 2006-10-18 Chris Toshok <[email protected]>
  3067. * PropertyGridView.cs: address a number of issues from bug #79676,
  3068. mostly of the cosmetic variety.
  3069. - The highlight rectangle for indented items not extends all the
  3070. way to the left.
  3071. - Indented items aren't indented so much.
  3072. - the dropdown is properly sized width-wise if the pg has a
  3073. vertical scrollbar.
  3074. 2006-10-18 Chris Toshok <[email protected]>
  3075. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  3076. systray stuff is rather convoluted to begin with.
  3077. systray icons are a single window for some reason (that I haven't
  3078. figured out yet), and for them, client_window == whole_window.
  3079. Given the way the tests are structured elsewhere to determine
  3080. which paints are pending (client vs. nc), that situation will
  3081. always yield PAINT, not NCPAINT. So, if we have a pending
  3082. nc_expose and no pending expose, remove the hwnd from the paint
  3083. queue, and also set nc_expose_pending to false, to keep us from
  3084. blocking further expose's adding the hwnd to the paint queue.
  3085. phew. like i said, a rather convoluted change. Fixes the
  3086. notifyicon repaint issues in bug #79645.
  3087. 2006-10-18 Chris Toshok <[email protected]>
  3088. * Form.cs: when getting the backcolor of the form, don't get
  3089. base.BackColor, as this allows parents to influence the background
  3090. color. This breaks mdi forms. Instead, if the background_color
  3091. is empty, return the default.
  3092. 2006-10-18 Chris Toshok <[email protected]>
  3093. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  3094. to being private instead of internal static.
  3095. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  3096. crap, it wasn't working for more deeply nested controls anyway,
  3097. and we already have the is_recreating flag - use that instead.
  3098. Before calling DestroyHandle in RecreateHandle, recurse through
  3099. the control tree setting it to true. this returns the recreate
  3100. code to much of its original simplicity, while now guaranteeing we
  3101. actually recreate everything we're supposed to. This change gets
  3102. fyireporting actually showing mdi children.
  3103. 2006-10-17 Chris Toshok <[email protected]>
  3104. * Form.cs: remove some debug spew, and collapse some duplicate
  3105. code at the end of SetClientSizeCore.
  3106. * XplatUIX11.cs:
  3107. - add some more debug spew here too wrt Destroy handling.
  3108. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  3109. in Control's handling of WM_DESTROY.
  3110. - Remove the handling of zombie window DestroyNotifies from the
  3111. event loop - we don't need it. Now the only DestroyNotifies we
  3112. actually handle are ones generated by X.
  3113. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  3114. match gtk's (functioning) handling of this. This keep metacity
  3115. from leaving droppings in the form of wm borders with no window
  3116. contents all over the place.
  3117. * Control.cs:
  3118. - add a bunch of debug spew wrt control recreation.
  3119. - fix a bug where we weren't tracking Visible properly on
  3120. recreated hwnds.
  3121. - fixed the WM_PAINT double buffer handling to support re-entrant
  3122. calls (yes, i know it's gross, but it's happening to us).
  3123. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  3124. * ThemeWin32Classic.cs: changed drawing of selected days
  3125. to make them look better.
  3126. 2006-10-16 Chris Toshok <[email protected]>
  3127. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  3128. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  3129. * XplatUIX11.cs: move away from using hwnd.client_dc and
  3130. hwnd.non_client_dc and on to a stack of dc's (and in window's
  3131. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  3132. without puking or not disposing of Graphics objects.
  3133. * XplatUIOSX.cs: same.
  3134. * XplatUIWin32.cs: same.
  3135. 2006-10-03 Alexander Olk <[email protected]>
  3136. * FileDialog.cs: Don't call on_directory_changed inside
  3137. OnSelectedIndexChanged (it changes the SelectedIndex too).
  3138. Instead move it to OnSelectionChangeCommitted.
  3139. 2006-10-13 Chris Toshok <[email protected]>
  3140. * XplatUIX11.cs: more Destroy work. the current code does the
  3141. following things, in order:
  3142. 1. Enumerates all handles of all controls at or below the one
  3143. being destroyed, in pre-order. As it is doing this, it marks the
  3144. handles as zombie and clears all references to them.
  3145. 2. calls XDestroyWindow on the window passed in.
  3146. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  3147. list.
  3148. 2006-10-13 Chris Toshok <[email protected]>
  3149. * XplatUIX11.cs: set hwnd.zombie to true before calling
  3150. SendMessage (WM_DESTROY). this keeps us from marking the new
  3151. window a zombie, and also keeps us from calling sendmessage at
  3152. all.
  3153. 2006-10-13 Jackson Harper <[email protected]>
  3154. * TextControl.cs: Do not show the caret and selection at the same
  3155. time. Reduces ugliness by 35%.
  3156. 2006-10-13 Chris Toshok <[email protected]>
  3157. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  3158. zombie after we do the recursive call, so we actually do call
  3159. SendMessage on the children controls.
  3160. (GetMessage): if we find a pending paint event for a zombie hwnd,
  3161. remove the hwnd from the paint queue, or else it will always be
  3162. there (and we'll effectively loop infinitely)
  3163. 2006-10-13 Mike Kestner <[email protected]>
  3164. * MenuItem.cs : add Selected format under keynav too.
  3165. Fixes #79528.
  3166. 2006-10-13 Gert Driesen <[email protected]>
  3167. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  3168. implementation and that of MS.
  3169. 2006-10-13 Chris Toshok <[email protected]>
  3170. * Control.cs (OnInvalidated) only futz with the invalid_region if
  3171. the control is double buffered. this fixes the apparent hang in
  3172. the ListView unit tests. Someone needs to make the
  3173. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  3174. 2006-10-13 Chris Toshok <[email protected]>
  3175. * PropertyGridView.cs:
  3176. - do a little refactoring so that only one place calls
  3177. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  3178. else call that. Also make it Refresh, since there are redraw bugs
  3179. otherwise (we should take a look at that...)
  3180. - do a little more refactoring work to share the body of code
  3181. involved with the drop down. it was duplicated in the code
  3182. dealing with the listbox handling and in the code dealing with the
  3183. UITypeEditors.
  3184. - add a Capture to the dropdown form's control once it's
  3185. displayed, and add a MouseDown handler that checks to make sure
  3186. the position is inside the control. If it's not, close the
  3187. dropdown. This fixes #78190.
  3188. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  3189. if the value is different than the initial value.
  3190. 2006-10-13 Andreia Gaita <[email protected]>
  3191. * Control.cs: see #78650
  3192. - Fixed GetNextControl for several cases:
  3193. - Changed FindFlatForward to return
  3194. correct sibling control when more than one
  3195. control has same TabIndex as the currently
  3196. focused one.
  3197. - Changed FindFlatBackward to loop children
  3198. from last to first and apply same logic as in
  3199. FindFlatForward
  3200. - Changed FindControlForward to search for
  3201. children when control is not a container
  3202. but has children, or search for siblings if
  3203. control is a container...
  3204. - Changed FindControlBackward to continue
  3205. searching for child controls when hitting
  3206. Panel-like parents
  3207. - Fixed Focus method to update ActiveControl
  3208. (FocusTest.FocusSetsActive failure)
  3209. * TabControl.cs:
  3210. - Focus rectangle now refreshes when gaining
  3211. or losing focus
  3212. - Removed grab for Tab key on IsInputKey that
  3213. was keeping tab navigation from working (#78650)
  3214. 2006-10-13 Chris Toshok <[email protected]>
  3215. * PropertyGridView.cs:
  3216. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  3217. SelectedObjects.
  3218. - Deal with GridItem.Value == null a few places.
  3219. * PropertyGrid.cs:
  3220. - replace the PopulateGridItemCollection with a pair of methods
  3221. which compute the intersection of all the properties in the
  3222. SelectedObjects array. Fixes #79615.
  3223. - Throw ArgumentException from set_SelectedObjects if there's a
  3224. null in the array.
  3225. - Add GetTarget method which can be used to traverse up the
  3226. GridItem.Parent chain. It depends on the assumption that
  3227. selected_objects for different GridEntries are always in the same
  3228. order (a safe assumption). Use this method and loop over all the
  3229. selected objects in the entry when calling RemoveValueChanged and
  3230. AddValueChanged.
  3231. * GridEntry.cs: Make this handle multiple selected objects.
  3232. .Value returns null if not all the selected objects share the same
  3233. value.
  3234. 2006-10-12 Jonathan Pobst <[email protected]>
  3235. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  3236. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  3237. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  3238. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  3239. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  3240. add additional functionality.
  3241. 2006-10-12 Mike Kestner <[email protected]>
  3242. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  3243. * HelpProvider.cs : new ToolTipWindow ctor sig.
  3244. * ToolTip.cs : remove ToolTip param from Window sig since it is
  3245. not used.
  3246. * ToolBar.cs : add tooltip support. Fixes #79565.
  3247. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  3248. * ComboBox.cs: move the events in set_SelectedIndex to
  3249. after the call to HighlightIndex in order to avoid
  3250. possible recursion and subsequent problems with the call
  3251. to HighlightIndex and include a range check in
  3252. set_HighlightIndex. Fixes #79588
  3253. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  3254. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  3255. to ui thread's settings instead of sunday.
  3256. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  3257. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  3258. * DateTimePicker.cs
  3259. * MonthCalendar.cs
  3260. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  3261. and implement missing functionality (selecting different parts
  3262. of the date and edit them individually with the keyboard).
  3263. 2006-10-11 Chris Toshok <[email protected]>
  3264. * Control.cs (OnInvalidated): fix NRE relating to last change.
  3265. 2006-10-11 Chris Toshok <[email protected]>
  3266. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  3267. atoms in _NET_WM_STATE here if the window is maximized. We need
  3268. to do this because we're *replacing* the existing _NET_WM_STATE
  3269. property, so those atoms will be lost otherwise, and any further
  3270. call to GetWindowState will return Normal for a window which is
  3271. actually maximized. Fixes #79338.
  3272. 2006-10-11 Jackson Harper <[email protected]>
  3273. * TextControl.cs: Special case for setting selection end to
  3274. selection start, we basically kill the anchor.
  3275. - some todo comments.
  3276. 2006-10-11 Chris Toshok <[email protected]>
  3277. * Control.cs: switch to using an "invalid_region" to track which
  3278. parts of the image buffer need updating. This is more code than
  3279. the simple fix from r66532. That version just attempted to always
  3280. fill the entire buffer on redraw, which turns out to be
  3281. inefficient when invalidating small rectangles. This version
  3282. simply adds the invalid rectangle to the invalid region. When we
  3283. get any WM_PAINT message we see if it can be filled using the
  3284. image buffer, and if it can't (if the paint event's clip rectangle
  3285. is visible in the invalid region) we first fill the image buffer.
  3286. So, the image buffer is still a cache, we just fill it lazily.
  3287. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  3288. need it any longer.
  3289. 2006-10-11 Chris Toshok <[email protected]>
  3290. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  3291. well as size after calling XMoveResizeWindow. This keeps us from
  3292. ignoring future SetWindowPos calls. Fixes the disappearing
  3293. DateTimePicker in the ToolBarDockExample from bug #72499.
  3294. 2006-10-11 Chris Toshok <[email protected]>
  3295. * TextBoxBase.cs: reorder things a bit when it comes to
  3296. resizing-causing-recalculation. we were recalculating the
  3297. document when our position was changed, which shouldn't happen.
  3298. We only care about size changes. Clear up some more redundant
  3299. recalculation calls while I'm at it. This makes the toolbar dock
  3300. example snappy when you're just dragging toolbars around (since it
  3301. causes a relayout whenever you move one.)
  3302. 2006-10-11 Chris Toshok <[email protected]>
  3303. * ToolBarButton.cs (get_Rectangle): this only returns
  3304. Rectangle.Empty if Visible == false, or Parent == null.
  3305. Parent.Visible doesn't matter.
  3306. 2006-10-10 Chris Toshok <[email protected]>
  3307. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  3308. by .net 1.1, so switch to an internal method instead.
  3309. 2006-10-10 Chris Toshok <[email protected]>
  3310. * Control.cs (WM_PAINT): when a control is double buffered we draw
  3311. initially to the ImageBuffer and then copy from there. But when a
  3312. parent control which has child controls is double buffered, the
  3313. initial drawing doesn't encompass the entire ClientRectangle of
  3314. the parent control, so we end up with uninitialized bits (this is
  3315. easily seen by dragging the top toolbar in
  3316. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  3317. manually set the ClipRectangle of the paint_event (only the one we
  3318. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  3319. of the nastiness in bug #72499.
  3320. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  3321. which we use in Control.cs's WM_PAINT handling.
  3322. 2006-10-10 Jackson Harper <[email protected]>
  3323. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  3324. 2006-10-10 Chris Toshok <[email protected]>
  3325. * Cursor.cs: Apply a slightly different patch to the one suggested
  3326. in #79609.
  3327. 2006-10-10 Jackson Harper <[email protected]>
  3328. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  3329. not the parent form.
  3330. * TextControl.cs: use difference in old line count vs new count to
  3331. calculate how many lines were added, this takes into account soft
  3332. line breaks properly.
  3333. 2006-10-10 Chris Toshok <[email protected]>
  3334. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  3335. rectangle located at 0,0 and the size of the text. Use
  3336. ClientRectangle instead. This fixes rendering of non-left aligned
  3337. link labels.
  3338. 2006-10-10 Jackson Harper <[email protected]>
  3339. * TextBoxBase.cs: When we set the selection start position the
  3340. caret.
  3341. * TextControl.cs: Need to update the caret when we decrement it to
  3342. zero.
  3343. - Make sure that the selection_visible flag gets reset to false if
  3344. the selection isn't visible. Before this you could get it set to
  3345. visible by changing the selection start, then changing the end to
  3346. equal the start.
  3347. 2006-10-09 Jackson Harper <[email protected]>
  3348. * TreeView.cs: Don't update scrollbars when we aren't visible.
  3349. * TreeNodeCollection.cs: Only need to update scrollbars if being
  3350. added to an expanded visible node or the root node.
  3351. 2006-10-09 Chris Toshok <[email protected]>
  3352. * XplatUIX11.cs (SendMessage): fix NRE.
  3353. 2006-10-09 Jackson Harper <[email protected]>
  3354. * TextBoxBase.cs: Implement horizontal autoscrolling.
  3355. * TextControl.cs: Add a movement types that allows moving forward
  3356. and backwards without wrapping.
  3357. 2006-10-09 Mike Kestner <[email protected]>
  3358. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  3359. with focus "expansion" of labels. Fixes #79532 and then some.
  3360. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  3361. when wrapping.
  3362. 2006-10-09 Jackson Harper <[email protected]>
  3363. * TextBoxBase.cs: Set the default max values to MaxValue since
  3364. we use the scrollbar for autoscrolling and the default value is
  3365. 100. If we don't do this the caret won't keep up with typing
  3366. after about 18 characters.
  3367. * TextControl.cs: Make sure the selection is offset by the
  3368. viewport x. This fixes selection when using auto scrolling.
  3369. 2006-10-07 Andreia Gaita <[email protected]>
  3370. * Form.cs: The active control should be selected after the
  3371. OnLoad so that any child control initialization that affects
  3372. the selection is done. Fixes #79406
  3373. 2006-10-06 Chris Toshok <[email protected]>
  3374. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  3375. to have no evil effects.
  3376. - Stop selecting StructureNotifyMask on non-toplevel windows.
  3377. The only way children should be resized is by using the SWF api,
  3378. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  3379. Toplevel windows can be interacted with via the window manager,
  3380. and so we keep the input mask there.
  3381. The other event StructureNotifyMask gives us (that we care
  3382. about) is DestroyNotify. The code is already structured such
  3383. that it assumes we won't be getting a DestroyNotify event for
  3384. the window we pass to XDestroyWindow (which is what
  3385. StructureNotifyMask is supposed to guarantee.) So, that code
  3386. shouldn't be affected by this either.
  3387. - Stop selecting VisibilityChangeMask altogether.
  3388. We weren't doing anything with the resulting events anyway.
  3389. This vastly reduces the number of X requests and events we see
  3390. when resizing/laying out a large ui.
  3391. 2006-10-06 Chris Toshok <[email protected]>
  3392. * ScrollableControl.cs (DisplayRectangle): we need to take into
  3393. account the DockPadding regardless of whether or not auto_scroll
  3394. == true. rework this slightly to this effect, and fix bug #79606,
  3395. and part of #72499 (you can now see the drag handles and drag
  3396. toolbars around).
  3397. 2006-10-06 Gert Driesen <[email protected]>
  3398. * ListViewItem.cs: Collections of selected and checked items are now
  3399. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  3400. we mark the collection "dirty".
  3401. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  3402. to only clear SelectedItems when a new item is selected and MultiSelect
  3403. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  3404. event of ListViewItemCollection, and mark its list dirty whenever
  3405. that event is fire. This allows us to return selected/checked items
  3406. in the same order as they are in the Items collection. This matches
  3407. the MS behavior.
  3408. 2006-10-06 Chris Toshok <[email protected]>
  3409. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  3410. right mouse clicks. Fixes bug #79593.
  3411. 2006-10-06 Chris Toshok <[email protected]>
  3412. * Splitter.cs: doh, fix splitters that don't want to cancel the
  3413. movement when you drag them. Also, impose the limits on the
  3414. values we send to the SplitterMovingEvent. Fixes #79598.
  3415. 2006-10-06 Jackson Harper <[email protected]>
  3416. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  3417. since we use this for auto scrolling also.
  3418. 2006-10-05 Chris Toshok <[email protected]>
  3419. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  3420. beginning to think that most datagrid column types don't need this
  3421. method. Fixes bug #79392.
  3422. 2006-10-05 Chris Toshok <[email protected]>
  3423. * DataGrid.cs: move back to a more lazy scheme for creating the
  3424. CurrencyManager, so we aren't updating it every time you set
  3425. either DataSource or DataMember. Also, don't call
  3426. RecreateDataGridRows if the currency manager hasn't changed.
  3427. 2006-10-05 Chris Toshok <[email protected]>
  3428. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  3429. emitted, SelectedIndex should already be updated. Fixes bug
  3430. #78929.
  3431. 2006-10-05 Jonathan Pobst <[email protected]>
  3432. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  3433. ToolStripTextBox.cs: Initial commit.
  3434. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  3435. 2006-10-05 Jackson Harper <[email protected]>
  3436. * TabControl.cs: We need to invalidate the tab control area when
  3437. new ones are added (duh).
  3438. 2006-10-03 Chris Toshok <[email protected]>
  3439. * Form.cs (ProcessDialogKey): if the focused control is in this
  3440. form and is a button, call its PerformClick method here. Fixes
  3441. #79534.
  3442. 2006-10-04 Jackson Harper <[email protected]>
  3443. * TabPage.cs: Ignore setting of Visible, and add an internal
  3444. method for setting the controls visibility. TabPage's Visible
  3445. property is a little strange on MS, this seems to make us
  3446. compatible, and fixes cases where people set all the tab pages to
  3447. visible.
  3448. * TabControl.cs: Use the new internal setting on tab pages
  3449. visibility.
  3450. 2006-10-03 Mike Kestner <[email protected]>
  3451. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  3452. 2006-10-03 Mike Kestner <[email protected]>
  3453. * ListView.cs : use is_visible instead of Visible to check if
  3454. scrollbars should be placed/sized. Also some max_wrap_width
  3455. love for LargeIcon view. [Fixes #79533]
  3456. 2006-10-03 Atsushi Enomoto <[email protected]>
  3457. * TextControl.cs :
  3458. Make set_TextAlign() do actually update the align. Fixed #78403.
  3459. 2006-10-03 Chris Toshok <[email protected]>
  3460. * DataGrid.cs: fix a crash when switching datasources if the
  3461. vertical scrollbar is at someplace other than Value = 0. Also,
  3462. reduce the number of recalculation passes we do in SetDataSource
  3463. from 2 to 1.
  3464. 2006-10-03 Jackson Harper <[email protected]>
  3465. * TextBoxBase.cs: Move the if value the same bail check up, we
  3466. don't want to empty the document if it is already empty, this
  3467. seems to severly mess up the caret. TODO: I should probably fix
  3468. the empty statement to update teh caret somehow.
  3469. 2006-10-03 Chris Toshok <[email protected]>
  3470. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  3471. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  3472. reflection, an internal row type, properties on said type, etc.)
  3473. will work with our datagrid. Fixes #79531.
  3474. 2006-10-03 Alexander Olk <[email protected]>
  3475. * FileDialog.cs: Don't crash if a path is not accessible
  3476. (System.UnauthorizedAccessException). Fixes #79569.
  3477. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  3478. a ':' too. Return unknown icon for those paths/files.
  3479. 2006-10-03 Sebastien Pouliot <[email protected]>
  3480. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  3481. GetContainerControl returns null.
  3482. 2006-10-02 Chris Toshok <[email protected]>
  3483. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  3484. call to XGetWindowAttributes instead of "handle". fixes an X
  3485. error using notifyicon after the NotifyIconWindow to Form base
  3486. class switch.
  3487. 2006-10-02 Chris Toshok <[email protected]>
  3488. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  3489. server grab and looping we need to do to get down to the most
  3490. deeply nested child window.
  3491. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  3492. QueryPointer again after the WarpPointer so we can generate a
  3493. proper (fake) MotionNotify event to be enqueued in the destination
  3494. window's queue.
  3495. (GetCursorPos): call QueryPointer.
  3496. Fixes #79556.
  3497. 2006-10-02 Jackson Harper <[email protected]>
  3498. * NotifyIcon.cs: Derive the notify icon from a form, so things
  3499. like FindForm work on it.
  3500. - Swallow the WM_CONTEXTMENU message, since that is generated on
  3501. mouse down, and context menu is a mouse up kinda guy. I believe
  3502. the correct fix here is probably to make the notify icon entirely
  3503. NC area, but this seems to work fine for anyone not manipulating
  3504. WndProc.
  3505. 2006-10-02 Jonathan Pobst <[email protected]>
  3506. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  3507. ToolStripItemCollection.cs, ToolStripLabel.cs,
  3508. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  3509. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  3510. Initial implementation.
  3511. * TextRenderer.cs: Provide padding to MeasureText.
  3512. 2006-10-02 Sebastien Pouliot <[email protected]>
  3513. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  3514. of ButtonBaseAccessibleObject. Fix bug #79552.
  3515. 2006-10-02 Jackson Harper <[email protected]>
  3516. * MdiWindowManager.cs: When maximizing use the containers client
  3517. rect, not it's bounds, so nc area is accounted correctly.
  3518. - Use the parent form's size for the menu position, since the
  3519. client isn't always the full form size.
  3520. 2006-10-01 Chris Toshok <[email protected]>
  3521. * ScrollableControl.cs: make sure neither right_edge or
  3522. bottom_edge are < 0, since they're used as LargeChange for the
  3523. horiz/vert scrollbars respectively. Fixes #79539.
  3524. 2006-10-01 Chris Toshok <[email protected]>
  3525. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  3526. the xplatuix11 code can cause us to destroy/recreate our handle.
  3527. * XplatUIX11.cs
  3528. (SystrayAdd):
  3529. - this code can be invoked many times for the same Hwnd. Make
  3530. sure we only destroy the client window once (the first time this
  3531. method is called). This fixes bug #79544.
  3532. - Remove the call to the improperly bound XSync. why we had two
  3533. bindings to this, I will never know, but this call resulted in
  3534. events being discarded from the queue(!).
  3535. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  3536. not our current state but the state we wish to be in. So, 0 if
  3537. we don't want to be mapped. Change it to 1.
  3538. (SystrayRemove): The XEMBED spec makes mention of the fact that
  3539. gtk doesn't support the reparent of client windows away from the
  3540. embedder. Looking at gtksocket-x11.c seems to agree with this.
  3541. The only avenue we have for removing systray icons is to destroy
  3542. them. We don't want the handle to go away for good, though, so
  3543. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  3544. #79545.
  3545. 2006-10-01 Chris Toshok <[email protected]>
  3546. * Form.cs (WndProc): inline the native_enabled variable usage into
  3547. the cases in which it's used. Fixes #79536.
  3548. 2006-09-29 Mike Kestner <[email protected]>
  3549. * ListView.cs : toggle the selection state for ctrl clicks in
  3550. multiselect mode. [Fixes #79417]
  3551. 2006-09-29 Mike Kestner <[email protected]>
  3552. * ListView.cs : kill CanMultiSelect and refactor the selection
  3553. code to support multiselection in the absence of mod keys. Steal
  3554. arrow/home/end keys by overriding InternalPreProcessMessage to
  3555. restore regressed keynav behavior.
  3556. [Fixes #79416]
  3557. 2006-09-29 Jackson Harper <[email protected]>
  3558. * MdiClient.cs: Repaint the titlebars when the active window is
  3559. changed.
  3560. 2006-09-29 Chris Toshok <[email protected]>
  3561. * Application.cs: when entering a runloop with a modal, make sure
  3562. the hwnd is enabled. Fixes #79480.
  3563. 2006-09-29 Chris Toshok <[email protected]>
  3564. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  3565. when ListManager.CanAddRows == false, bump us back one.
  3566. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  3567. listmanager.CanAddRows check. This makes ArrayLists uneditable
  3568. using a datagrid, which is not right.
  3569. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  3570. is an IEditable, but call property_descriptor.SetValue regardless.
  3571. fixes #79435.
  3572. 2006-09-29 Chris Toshok <[email protected]>
  3573. * DataGridBoolColumn.cs: we need to test equality in the face of
  3574. possible null values (as is the case with the default NullValue).
  3575. This patch keeps us from crashing in that case.
  3576. 2006-09-29 Jackson Harper <[email protected]>
  3577. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  3578. here, since it will get called for every node collection in the
  3579. tree. This is now done in the treeview once the sorting is
  3580. finished.
  3581. * TreeView.cs: Recalculate the visible order, and update the
  3582. scrollbars after sorting, set the top nope to the root so that the
  3583. recalc actually works.
  3584. 2006-09-29 Chris Toshok <[email protected]>
  3585. * LinkLabel.cs: more handling of the default link collection in
  3586. the face of LinkArea manipulation. The default link collection
  3587. contains 1 element (start=0,length=-1). If the user sets LinkArea
  3588. to anything and the links collection is the default, clear it.
  3589. Then only add the link if its nonempty. Fixes #79518.
  3590. 2006-09-29 Chris Toshok <[email protected]>
  3591. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  3592. piece correctly when we hit a '\n'. Fixes #79517.
  3593. 2006-09-29 Chris Toshok <[email protected]>
  3594. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  3595. change the binding of gdk_init_check to take two IntPtr's, and
  3596. pass IntPtr.Zero for both of them. Fixes #79520.
  3597. 2006-09-29 Mike Kestner <[email protected]>
  3598. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  3599. [Fixes #78779]
  3600. 2006-09-28 Jackson Harper <[email protected]>
  3601. * XplatUIX11.cs: When translating NC messages make sure we go from
  3602. whole window to screen, not client window to screen.
  3603. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  3604. method doesn't exist
  3605. - Skip over controls that aren't forms when arranging.
  3606. 2006-09-28 Jackson Harper <[email protected]>
  3607. * XplatUIWin32.cs: Clip the rect to the parent window.
  3608. * XplatUIStructs.cs: Add clipping modes struct.
  3609. * InternalWindowManager.cs: New private method that factors title
  3610. bar heights in when calculating the pos of an NC mouse message.
  3611. - Use SendMessage to force a paint when the form's size is changed
  3612. instead of painting the decorations immediately.
  3613. - Don't let the NC button click messages get to DefWndProc,
  3614. because they will attempt to handle windowing themself, and this
  3615. messes up z-order (it will put them in front of the scrollbars).
  3616. * XplatUIX11.cs: Make sure that we don't reset window managers if
  3617. we already have one (ie the window is an MDI window).
  3618. 2006-09-28 Chris Toshok <[email protected]>
  3619. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  3620. menu code really needs going over.
  3621. 2006-09-27 Chris Toshok <[email protected]>
  3622. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  3623. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  3624. window is maximizable. So, we need to make sure that even if we
  3625. clear the border/wm frame of those functions, they're still
  3626. available (basically, we remove the decoration without removing
  3627. the function). Half the fix for #79338.
  3628. 2006-09-27 Chris Toshok <[email protected]>
  3629. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  3630. Fixes bug #79515.
  3631. 2006-09-27 Chris Toshok <[email protected]>
  3632. * Splitter.cs: reorder things a bit so that we don't actually
  3633. draw/move the splitter until after calling OnSplitterMoving. This
  3634. lets users cancel/disallow the movement by explicitly setting
  3635. event.SplitX/SplitY. Fixes #79372.
  3636. 2006-09-27 Jackson Harper <[email protected]>
  3637. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  3638. because it is most likely on a window being destroyed, and that
  3639. will give us an X11 error.
  3640. 2006-09-27 Chris Toshok <[email protected]>
  3641. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  3642. the dropdown button now toggles between showing and hiding the
  3643. dropdown. Also, get rid of dropdown_form_showing and just use
  3644. dropdown_form.Visible. We still don't do a grab, but I'll leave
  3645. that part to someone who has handled Capture-fu before.
  3646. 2006-09-27 Chris Toshok <[email protected]>
  3647. * DataGrid.cs: return false if alt isn't pressed when '0' is
  3648. pressed. this keeps the '0' key from being swallowed, and fixes
  3649. bug #79350.
  3650. 2006-09-27 Chris Toshok <[email protected]>
  3651. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  3652. Calling Refresh (in response to a scrollbar event) screws up the
  3653. scrollbar painting. Fixes bug #78923.
  3654. 2006-09-27 Chris Toshok <[email protected]>
  3655. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  3656. then insert into hashtable" blocks threadsafe.
  3657. 2006-09-27 Chris Toshok <[email protected]>
  3658. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  3659. baseclass's, since otherwise the
  3660. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  3661. effect. This gets the close button back in messageboxes.
  3662. 2006-09-27 Chris Toshok <[email protected]>
  3663. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  3664. flag, not just != 0. this makes flags that are actually multiple
  3665. bits (like WS_CAPTION) work. fixes bug #79508.
  3666. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  3667. * PageSetupDialog.cs: add support for getting and settings the
  3668. paper size, source and orientation.
  3669. 2006-09-26 Chris Toshok <[email protected]>
  3670. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  3671. and caption == "", we need to remove the resize handles as well as
  3672. the title bar.
  3673. * Control.cs (set_Text): turns out that setting Text on a form
  3674. should change the WM styles on the window, since if ControlBox ==
  3675. false, the only way to get a window border is to have a non-""
  3676. Text property. check winforms/forms/text.cs for an example. so,
  3677. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  3678. update both window styles and title. This fixes a lot of dialogs
  3679. (including the preferences dialog in MonoCalendar.)
  3680. 2006-09-26 Chris Toshok <[email protected]>
  3681. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  3682. control isn't a Form), call Win32ShowWindow to hide the window,
  3683. but don't update the control Visible property. When we reparent
  3684. back to a parent control, call SetVisible in order for the
  3685. window's visibility to be reinstated.
  3686. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  3687. the FosterParent.
  3688. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  3689. call for good, since it breaks MonoCalendar (and other things I'm
  3690. sure.) Also, set all_controls to null *after* the owner calls,
  3691. which end up regenerating it.
  3692. (ChangeParent): allow new_parent to be == null, passing
  3693. IntPtr.Zero down to XplatUI.
  3694. this fixes #79294 the right way.
  3695. 2006-09-26 Mike Kestner <[email protected]>
  3696. * GridEntry.cs : internal SetParent method.
  3697. * PropertyGrid.cs : attach to property changed on the proper
  3698. target if we have a hierarchical grid with subobjects. Setup
  3699. GridItem.Parent for hierarchical items.
  3700. * PropertyGridView.cs : Set value on the correct target for
  3701. hierarchical grids. [Fixes #78903]
  3702. 2006-09-26 Chris Toshok <[email protected]>
  3703. * Control.cs (ChildNeedsRecreating): this should return true if
  3704. either we're being recreated and the child is in our list, or our
  3705. parent is waiting for our recreation.
  3706. 2006-09-26 Chris Toshok <[email protected]>
  3707. * Control.cs (ControlCollection.Remove): reinstate the
  3708. value.Hide() call as suggested in bug #79294.
  3709. 2006-09-26 Sebastien Pouliot <[email protected]>
  3710. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  3711. coordinates (versus a relative move).
  3712. 2006-09-26 Chris Toshok <[email protected]>
  3713. * Control.cs: rework child recreation a little bit. It turns out
  3714. that we race between the DestroyNotify the WM_DESTROY message. If
  3715. the parent gets its DestroyNotify before the child gets the
  3716. WM_DESTROY message, the child ends up not recreating (since the
  3717. parent finishes its recreation on DestroyNotify, and the child
  3718. checks ParentIsRecreating.)
  3719. So, instead we store off a list of all the child controls which
  3720. need to be recreated when the parent control starts to recreate
  3721. itself. Then, when child controls get their WM_DESTROY message we
  3722. check to see if they're in the parent's pending recreation list,
  3723. and if so, we recreate. This removes all dependency on ordering
  3724. from the code and fixes the initial MonoCalendar upgrade dialog.
  3725. 2006-09-26 Jackson Harper <[email protected]>
  3726. * TextControl.cs: Use the Line to get the length of the line,
  3727. since soft line breaks can change the end line.
  3728. 2006-09-26 Chris Toshok <[email protected]>
  3729. * Control.cs (ControlCollection.AddImplicit): don't add the
  3730. control again if it's already in one of our lists. This keeps us
  3731. from adding controls over and over again for comboboxes when their
  3732. handle gets recreated (as the combobox adds implicit controls in
  3733. OnHandleCreated). Fixes the X11 errors in bug #79480.
  3734. 2006-09-26 Jackson Harper <[email protected]>
  3735. * TextControl.cs: When deleting characters make sure that any
  3736. orphaned zero lengthed tags get deleted.
  3737. - Fix ToString for zero lengthed tags.
  3738. 2006-09-25 Jackson Harper <[email protected]>
  3739. * TextControl.cs: When getting a tag at the location there can be
  3740. multiple tags at the same spot, these are 0-lengthed tags that
  3741. appear when extra formatting has been stuck in a location. We
  3742. need to pull out the last of these 0 lengthed tags.
  3743. 2006-09-25 Jackson Harper <[email protected]>
  3744. * TextControl.cs: Fix print out in debug method.
  3745. * TextBoxBase.cs: When text is set bail if we are setting to the
  3746. previous value.
  3747. 2006-09-24 Alexander Olk <[email protected]>
  3748. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  3749. It is now possible to change the selected index in a FontXXXListBox
  3750. with the up and down arrow keys from the FontXXXTextBoxes.
  3751. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  3752. FontXXXListBoxes to match ms.
  3753. 2006-09-22 Sebastien Pouliot <[email protected]>
  3754. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  3755. anyone can dispose it, anytime. All other properties returns enums,
  3756. structs or basic types so they don't need such tricks.
  3757. 2006-09-22 Jackson Harper <[email protected]>
  3758. * XplatUI.cs:
  3759. * XplatUIWin32.cs:
  3760. * Clipboard.cs:
  3761. * DataFormats.cs:
  3762. * XplatUIOSX.cs:
  3763. * XplatUIDriver.cs: Update interface to add a primary selection
  3764. flag, so the driver can use the primary selection buffer if
  3765. needed.
  3766. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  3767. * RichTextBox.cs: We need to supply the data object to paste now
  3768. (so we can choose to supply CLIPBOARD or PRIMARY).
  3769. * TextBoxBase.cs: Supply data object to paste (see above).
  3770. - Middle click uses the primary selection data object.
  3771. 2006-09-21 Chris Toshok <[email protected]>
  3772. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  3773. of SetWMStyles. It's still a rat's nest and is largely
  3774. order-dependent which I dislike immensely. This also fixes the X
  3775. button disappearing from toplevel forms.
  3776. 2006-09-21 Mike Kestner <[email protected]>
  3777. * ListBox.cs: move Jordi's click/dblclick raising code to the
  3778. mouse up handler.
  3779. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  3780. * ListBox.cs: Fixes 79450
  3781. 2006-09-21 Mike Kestner <[email protected]>
  3782. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  3783. to deal with people updating the TreeNodeCollection after the tree
  3784. is disposed. "Fixes" 79330.
  3785. 2006-09-20 Jackson Harper <[email protected]>
  3786. * TextControl.cs: Push the cursor record onto the undo stack
  3787. before the delete action. This fixes 78651.
  3788. 2006-09-20 Jonathan Chambers <[email protected]>
  3789. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  3790. CreateParams. Fixes 79329.
  3791. 2006-09-19 Chris Toshok <[email protected]>
  3792. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  3793. things up a bit. First, get rid of the NetAtoms array (and the NA
  3794. enum), and just embed the atoms as static fields. Also, add a
  3795. couple of functions (StyleSet and ExStyleSet) to clean up all the
  3796. bitmask testing of styles.
  3797. * X11Structs.cs: remove the NA enum, not needed anymore.
  3798. 2006-09-19 Chris Toshok <[email protected]>
  3799. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  3800. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  3801. added cleanup to get MessageBox titles appearing again, which were
  3802. broken by my earlier fix for caption-less/ControlBox-less windows.
  3803. 2006-09-18 Jonathan Pobst <[email protected]>
  3804. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  3805. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  3806. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  3807. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  3808. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  3809. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  3810. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  3811. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  3812. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  3813. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  3814. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  3815. Inital import.
  3816. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  3817. ToolStripButton.cs: Stubs needed for above.
  3818. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  3819. 2006-09-15 Chris Toshok <[email protected]>
  3820. * XplatUIX11.cs:
  3821. - make the MessageQueues hashtable Synchronized.
  3822. - SendMessage: if the Hwnd is owned by a different thread, use the
  3823. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  3824. thread. Fixes bug #79201.
  3825. 2006-09-15 Chris Toshok <[email protected]>
  3826. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  3827. ControlBox == false, we disallow maximize/minimize/close. If the
  3828. form Caption is "" we also disallow move (and get rid of the Title
  3829. decoration). Unfortunately, regardless of how things are set,
  3830. we're stuck with the Title and WM menu.
  3831. 2006-09-15 Chris Toshok <[email protected]>
  3832. * Application.cs: add locking around the static message_filters
  3833. ArrayList, part of #79196.
  3834. 2006-09-15 Chris Toshok <[email protected]>
  3835. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  3836. Form.ControlBox == false, the window has no titlebar nor resize
  3837. handles. fixes bug #79368.
  3838. 2006-09-15 Chris Toshok <[email protected]>
  3839. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  3840. >= 0. Fixes bug #79370.
  3841. 2006-09-15 Jonathan Pobst <[email protected]>
  3842. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  3843. * Control.cs:
  3844. Add properties: LayoutEngine, Margin, DefaultMargin.
  3845. Add method: GetPreferredSize.
  3846. Move layout logic from PerformLayout to layout engines.
  3847. 2006-09-13 Chris Toshok <[email protected]>
  3848. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  3849. fix for #79326 broke #78718, so this change addresses that.
  3850. - in SendWMDestroyMessages remove the call to
  3851. CleanupCachedWindows, since we might be recreating the control and
  3852. need to maintain the references to right Hwnd handles. Also, set
  3853. the zombie flag to true for each of the children in the hierarchy
  3854. instead of calling hwnd.Dispose. This will cause GetMessage to
  3855. ignore all events for the window except for DestroyNotify.
  3856. - In GetMessage, ignore messages except for DestroyNotify for
  3857. zombie hwnds.
  3858. * Control.cs: revert the is_recreating fix from the last
  3859. ChangeLog. It's definitely "right", but it breaks switching from
  3860. an MDI form to a non-MDI form. Will need to revisit that.
  3861. * Hwnd.cs: add a zombie flag, which means "the
  3862. client_window/whole_window handles are invalid, but we're waiting
  3863. for the DestroyNotify event to come in for them". Set the flag to
  3864. false explicitly if setting WholeWindow/ClientWindow, and also
  3865. when Disposing.
  3866. 2006-09-13 Chris Toshok <[email protected]>
  3867. * XplatUIX11.cs: rework window destruction slightly.
  3868. - when destroying the windows associated with a control, we don't
  3869. need 2 separate XDestroyWindow calls. Just the one for the
  3870. whole_window (or for client_window if whole_window is somehow
  3871. IntPtr.Zero -- can this happen?) is enough.
  3872. - reworked SendWMDestroyMessages slightly, so we always dispose
  3873. the child control hwnd's after sending the messages.
  3874. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  3875. the two places it was used (one was even using hwnd.Handle and the
  3876. other hwnd.client_window. ugh), adding another call in
  3877. SendWMDestroyMessages. We need this new call because now the
  3878. DestroyNotify events in the queue will be ignored for the child
  3879. controls (as their hwnd's were disposed, and the window id's
  3880. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  3881. - this fixes bug #79326.
  3882. 2006-09-13 Chris Toshok <[email protected]>
  3883. * Control.cs: don't always set is_recreating to false at the end
  3884. of RecreateHandle, since sometimes we're not done (and won't be
  3885. until WndProc handles the WM_DESTROY message). Also, set
  3886. is_recreating to false in the WM_DESTROY handling code. Part of
  3887. the fix for bug #79326.
  3888. 2006-09-13 Miguel de Icaza <[email protected]>
  3889. * X11DesktopColors.cs: Start the droppage of debugging messages.
  3890. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  3891. 2006-09-13 Jonathan Pobst <[email protected]>
  3892. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  3893. 2006-09-12 Chris Toshok <[email protected]>
  3894. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  3895. to create it using SetDataSource. Fixes bug #79151.
  3896. 2006-09-11 Chris Toshok <[email protected]>
  3897. * XEventQueue.cs: add a DispatchIdle property.
  3898. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  3899. either the queue is null, or the queue has DispatchIdle set to
  3900. true.
  3901. (DoEvents): set queue.DispatchIdle to false around the
  3902. peek/translate/dispatch message loop in this method. This keeps
  3903. Application.Doevents from emitting idle events. Part of the fix
  3904. for #78823.
  3905. 2006-09-11 Chris Toshok <[email protected]>
  3906. * DataGrid.cs (set_DataSource): make this work for both the
  3907. winforms/datagrid test and ReportBuilder. It seems as though when
  3908. we've created a ListManager (or maybe it's if we have a
  3909. BindingContext?), when we set the DataSource it clears the
  3910. DataMember to "". otherwise we reuse the datamember. Fixes bug
  3911. #79333.
  3912. 2006-09-11 Chris Toshok <[email protected]>
  3913. * XplatUIX11.cs: deal with queue being null, which happens in all
  3914. the Clipboard functions. Fixes one of the two problems mentioned
  3915. in #78612.
  3916. 2006-09-11 Chris Toshok <[email protected]>
  3917. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  3918. button on various spots (including outside the menu) works closer
  3919. to MS, and doesn't crash. Fixes #79343.
  3920. 2006-09-11 Gert Driesen <[email protected]>
  3921. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  3922. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  3923. and the internal comparer is set. When a new ListViewItemSorter is set,
  3924. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  3925. was specified. No further processing is necessary if SortOrder is set
  3926. to it's current value. If Sorting is modified to None, and View is
  3927. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  3928. (either custom or our internal ItemComparer) to null, on 1.0 profile
  3929. only set item_sorter to null if its our internal IComparer. If Sorting
  3930. is modified to Ascending or Descending, then use our internal IComparer
  3931. if none is set, and if the current IComparer is our internal one then:
  3932. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  3933. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  3934. Enum.IsDefined to verify whether a valid View value is specified in
  3935. its setter. Automatically sort listview items when listview is
  3936. created. In Sort, do nothing if ListView is not yet created, or if
  3937. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  3938. to None or ListViewItemSorter was set to null). Added Sort overload
  3939. taking a bool to indicate whether the ListView should be redrawn when
  3940. items are sorted (we use this in ListViewItemCollection to avoid double
  3941. redraws). Modified our internal IComparer to take the sort order into
  3942. account. In Add and AddRange methods of ListViewItemCollection, also
  3943. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  3944. view), but use overload with noredraw option to avoid double redraw.
  3945. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  3946. true when View is Tile, and do the same when attempting to set View to
  3947. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  3948. for selected/checked indices, as it involves overhead when sorting is
  3949. done while these collections are not used all that often. Instead
  3950. we'll build the indices on demand. Modified IList implementation of
  3951. CheckedIndexCollection to use public methods if object is int.
  3952. Modified CheckedListViewItemCollection to hide checked items if
  3953. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  3954. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  3955. IList implementation in SelectedIndexCollection to use public methods
  3956. if object is int. Modified SelectedListViewItemCollection to hide
  3957. selected items if listview is not yet created.
  3958. * ListViewItem.cs: CheckedIndices list no longer needs to be
  3959. maintained separately (see ListView changes). Also clone font, fixes
  3960. test failure.
  3961. 2006-09-11 Mike Kestner <[email protected]>
  3962. * ComboBox.cs: if we are updating the contents of the currently
  3963. selected index, refresh the control or the textbox selection.
  3964. [Fixes #79066]
  3965. 2006-09-11 Mike Kestner <[email protected]>
  3966. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  3967. the 'specified' logic has been moved there. This seems like a bug
  3968. in Control.cs, since our current SetBoundsCore completely ignores
  3969. the specified parameter. Peter's commit seems to indicate that is
  3970. the way the MS control implementation works. [Fixes #79325]
  3971. 2006-09-10 Jonathan Chambers <[email protected]>
  3972. * XplatUI.cs: Set default_class_name to be composed
  3973. of current domain id. This allows MWF to be loaded in multiple
  3974. domains on Win32.
  3975. 2006-09-09 Miguel de Icaza <[email protected]>
  3976. * X11Keyboard.cs: If we are unable to obtain the input method, do
  3977. not call CreateXic to create the input context. Should fix
  3978. #78944/79276.
  3979. 2006-09-08 Alexander Olk <[email protected]>
  3980. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  3981. Simplified gnome support by adding more pinvokes to get the
  3982. icon for a file or mime type.
  3983. 2006-09-08 Jackson Harper <[email protected]>
  3984. * MenuAPI.cs: Deslect popup context menu items before closing the
  3985. window, so that you don't see the previously selected item
  3986. selected when you reopen the menu.
  3987. * TextControl.cs: Update the cursor position even if we don't have
  3988. focus. This fixes typing in things like the ComboBox. I'm not
  3989. totally sure we should always set the visibility if we don't have
  3990. focus, but couldn't find any corner cases where the cursor showed
  3991. up when it shouldn't.
  3992. 2006-09-08 Chris Toshok <[email protected]>
  3993. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  3994. our arrays are length 256. & 0xff before indexing. Fixes the
  3995. crash in bug #78077.
  3996. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  3997. * ThemeWin32Classic.cs:
  3998. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  3999. is true. Handle that check box too.
  4000. 2006-09-07 Chris Toshok <[email protected]>
  4001. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  4002. 79244.
  4003. 2006-09-07 Chris Toshok <[email protected]>
  4004. * Control.cs: in set_BackColor only do the work if
  4005. background_color != value.
  4006. * XplatUIX11.cs: move the clearing of invalid areas (both client
  4007. and nc) to the same block of code where we set (nc_)expose_pending
  4008. to false. That is, move it from PaintEventEnd to PaintEventStart,
  4009. so things that cause invalidates from within OnPaint will trigger
  4010. another call to OnPaint. Fixes bug #79262.
  4011. 2006-09-07 Alexander Olk <[email protected]>
  4012. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  4013. * FileDialog.cs: Fix typo
  4014. 2006-09-07 Jackson Harper <[email protected]>
  4015. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  4016. for tab pages if they have any.
  4017. 2006-09-06 Mike Kestner <[email protected]>
  4018. * Splitter.cs: use the "current" rect when finishing drag handle
  4019. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  4020. 2006-09-06 Mike Kestner <[email protected]>
  4021. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  4022. support offset splitters. [Fixes #79298]
  4023. 2006-09-06 Alexander Olk <[email protected]>
  4024. * Mime.cs: Fixed a bug that could override the global mime type
  4025. result.
  4026. 2006-09-05 Jackson Harper <[email protected]>
  4027. * TabControl.cs: Better calculation method for setting the slider
  4028. pos. Prevents crashes on really wide tabs.
  4029. - Draw Image on tab pages if an image list is used.
  4030. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  4031. * MonthCalendar.cs: When Font changes, the Size should be
  4032. updated to fit the new font's space requirements.
  4033. 2006-09-02 Alexander Olk <[email protected]>
  4034. * ListBox.cs: If the items are cleared with Items.Clear set
  4035. top_index to 0.
  4036. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  4037. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  4038. fire DateChanged event instead of DateSelected event when
  4039. the date was changed by keyboard interaction.
  4040. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  4041. * DateTimePicker.cs: Handle DateChanged for the associated
  4042. month_calendar control, and set month_calendar.Font from
  4043. OnFontChanged method, as well as resize the height of the
  4044. control when needed. Make PreferredHeight proportional.
  4045. 2006-09-01 Chris Toshok <[email protected]>
  4046. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  4047. properties.
  4048. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  4049. 2006-09-01 Peter Dennis Bartok <[email protected]>
  4050. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  4051. for decorations (Fixes #79219)
  4052. 2006-09-01 Mike Kestner <[email protected]>
  4053. * ComboBox.cs: first stab at sorting plus some selection handling
  4054. fixes to bring us more in line with MS behavior. Also switches back
  4055. to index based selection. Alternative patches for index-based
  4056. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  4057. and [email protected] on bug 78848. I assume they were similar to this
  4058. code I've had simmering in my tree forever.
  4059. [Fixes #78848]
  4060. 2006-09-01 Chris Toshok <[email protected]>
  4061. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  4062. when setting list position guard against ending up with a -1 index
  4063. (the other part of the fix for #78812). Should probably make sure
  4064. we don't need the analogous fix in the ItemDeleted case.
  4065. * DataGrid.cs:
  4066. - in SetDataSource, work around the fact that the way
  4067. OnBindingContextChanged is invoked will cause us to re-enter this
  4068. method. I'll remove the hack once I investigate
  4069. OnBindingContextChanged.
  4070. - fix the logic in set_DataSource and set_DataMember (basically
  4071. what to do if the other of the two is null.)
  4072. - in OnListManagerItemChanged, we need to take into account the
  4073. edit row when deciding whether or not to call RecreateDataGridRows
  4074. (part of the fix for #78812).
  4075. 2006-09-01 Jackson Harper <[email protected]>
  4076. * Splitter.cs: Don't do anything if there is no control to affect
  4077. (prevents us from crashing in weird tet cases).
  4078. * TreeView.cs: Bounding box for the mouse movement reverting
  4079. focus/selection back to previously selected node. This matches
  4080. MS, and makes the tree a lot more useable.
  4081. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  4082. use clipping so they are not drawn. This fixes when the control
  4083. is set to have a transparent background, or if it was over an
  4084. image.
  4085. 2006-09-01 Alexander Olk <[email protected]>
  4086. * MimeIcon.cs: Improved handling for reading default icons when
  4087. using gnome (2.16 made it necessary). Check and read svg icons
  4088. first, then 48x48 and then 32x32 icons.
  4089. 2006-08-31 Chris Toshok <[email protected]>
  4090. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  4091. visible.
  4092. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  4093. ProcessKeyPreview. Fixes part of #77806.
  4094. * DataGrid.cs: big patch.
  4095. - revert the queueing up of DataSource/DataMember if inside
  4096. BeginInit/EndInit calls. That's not the way the datagrid achieves
  4097. its delayed databinding. Instead, call SetDataSource in
  4098. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  4099. #78811.
  4100. - Also, it wasn't mentioned in #78811, but the test case exhibits
  4101. behavior that was lacking in our datagrid implementation - Columns
  4102. that have mapping names that don't exist in the datasource's
  4103. properties aren't shown. Yuck. To fix this I added the bound
  4104. field to the column style, and basically any calculation to figure
  4105. out anything about columns uses a loop to find the bound columns.
  4106. still need to investigate if I can cache an array of the bound
  4107. columns or if the indices must be the same.
  4108. - When setting CurrentCell, we no longer abort if the cell being
  4109. edited was in the add row. This fixes the other part of #77806.
  4110. - The new code also fixes #78807.
  4111. * ThemeWin32Classic.cs: perpetrate the same disgusting
  4112. column.bound field hack, and only render bound fields.
  4113. 2006-08-31 Chris Toshok <[email protected]>
  4114. * DataGridColumnStyle.cs: add bound field. this field is true if
  4115. the datasource has a property corresponding to the mapping name.
  4116. * DataGridTableStyle.cs: set the bound field on the column styles
  4117. depending on whether or not we have a column for that property.
  4118. 2006-08-31 Peter Dennis Bartok <[email protected]>
  4119. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  4120. splitter control (fixes #79228)
  4121. 2006-08-31 Chris Toshok <[email protected]>
  4122. * DataGridColumnStyle.cs: we need to delay the assignment of
  4123. property descriptor until the last possible moment due to the lazy
  4124. databinding stuff in the datagrid. Also, fix the exceptions
  4125. thrown by CheckValidDataSource to match MS.
  4126. 2006-08-31 Jackson Harper <[email protected]>
  4127. * Form.cs: When activated select the active control, if there is
  4128. no active control, we select the first control.
  4129. * XplatUIX11.cs: If there is no focus control when we get a
  4130. FocusIn event, find the toplevel form and activate it. This
  4131. occurs when you popup a window, it becomes the focus window, then
  4132. you close that window, giving focus back to the main window.
  4133. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  4134. * MonthCalendar.cs:
  4135. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  4136. as StringFormat with Center alignments in MonthCalendar,
  4137. instead of creating new ones when drawing the control.
  4138. Also, draw the month name in bold style.
  4139. 2006-08-30 Peter Dennis Bartok <[email protected]>
  4140. * Control.cs:
  4141. - PerformLayout(): It would seem MS performs the fill even if the
  4142. control is not visible (part of #79218 fix)
  4143. - ResetBackColor(): Use the setter to reset the color, to allow
  4144. overriders to catch the change.
  4145. * Form.cs:
  4146. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  4147. - CreateHandle(): dito (part of $79218 fix)
  4148. - Don't set an icon if we have a dialog
  4149. * ScrollableControl.cs:
  4150. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  4151. - ScrollIntoView(): No need to scroll if control is already visible
  4152. (resolves fixme and fixes #79218)
  4153. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  4154. * MonthCalendar.cs: Change proportions in SingleMonthSize
  4155. to match the aspect of the original control.
  4156. 2006-08-29 Alexander Olk <[email protected]>
  4157. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  4158. get updated when they get maximized.
  4159. 2006-08-29 Peter Dennis Bartok <[email protected]>
  4160. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  4161. 2006-08-29 Chris Toshok <[email protected]>
  4162. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  4163. 2006-08-29 Jackson Harper <[email protected]>
  4164. * TreeView.cs: Need to track selected node and highlighted node,
  4165. they aren't always the same thing, when the mouse is down on a
  4166. node it is hilighted, but not selected yet.
  4167. - Do the HideSelection stuff right
  4168. - Need to focus on rbutton mouse down. And redraw selection when
  4169. right click is mouse upped.
  4170. 2006-08-29 Mike Kestner <[email protected]>
  4171. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  4172. when SubItems.Count < Columns.Count. [Fixes #79167]
  4173. 2006-08-28 Peter Dennis Bartok <[email protected]>
  4174. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  4175. 2006-08-28 Peter Dennis Bartok <[email protected]>
  4176. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  4177. from X. Only send based on ConfigureNotify if we don't have the
  4178. correct location in hwnd (if the window manager moved us)
  4179. 2006-08-28 Mike Kestner <[email protected]>
  4180. * ListView.cs: remove a TODO.
  4181. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  4182. [Fixes ListView part of #79166]
  4183. 2006-08-28 Mike Kestner <[email protected]>
  4184. * ListView.cs: move wheel handler to parent since it is focused
  4185. instead of the item_control now. [Fixes #79177]
  4186. 2006-08-28 Mike Kestner <[email protected]>
  4187. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  4188. when the control is focused. [Fixes #79171]
  4189. 2006-08-28 Mike Kestner <[email protected]>
  4190. * ListView.cs: size the item and header controls for empty and
  4191. unscrollable views.
  4192. * ThemeWin32Classic.cs: draw disabled backgrounds.
  4193. [Fixes #79187]
  4194. 2006-08-28 Chris Toshok <[email protected]>
  4195. * Form.cs: remove unused "active_form" static field.
  4196. * Hwnd.cs: lock around accesses to static windows collection.
  4197. * Application.cs: lock threads in Exit ().
  4198. 2006-08-28 Chris Toshok <[email protected]>
  4199. * NativeWindow.cs: lock around accesses to window_collection.
  4200. 2006-08-28 Chris Toshok <[email protected]>
  4201. * Control.cs: err, fix this the right way, by locking on controls
  4202. when using it. not by making it synchronized.
  4203. 2006-08-28 Chris Toshok <[email protected]>
  4204. * Control.cs: make the static "controls" field synchronized, as it
  4205. gets updated from multiple threads.
  4206. 2006-08-27 Peter Dennis Bartok <[email protected]>
  4207. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  4208. Prevent other threads from exiting when calling thread sets quit state.
  4209. * XEventQueue.cs: Added PostQuitState property
  4210. 2006-08-27 Chris Toshok <[email protected]>
  4211. * AsyncMethodData.cs: add a slot for the window handle.
  4212. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  4213. window (the destination control's window, not the foster window).
  4214. * Control.cs (BeginInvokeInternal): store the window's handle in
  4215. the AsyncMethodData.
  4216. 2006-08-27 Peter Dennis Bartok <[email protected]>
  4217. * XplatUIX11.cs:
  4218. - PostQuitMessage: Removed resetting S.D display handle, we might have
  4219. another loop started after calling PostQuitMessage (Fixes #79119)
  4220. - Created destructor to reset S.D handle
  4221. 2006-08-27 Peter Dennis Bartok <[email protected]>
  4222. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  4223. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4224. * TextControl.cs (Insert): Update the caret position even if we don't
  4225. have a handle yet, just don't call the driver in that case.
  4226. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  4227. to the end of the new selection text (Fixes #79184)
  4228. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4229. * Form.cs (Activate): Only activate if the handle is created)
  4230. * Control.c:
  4231. - Mark window as invisible when it's disposed
  4232. - Check if window handle is created when setting window visible,
  4233. instead of relying just on the is_created variable
  4234. - Check if object is disposed when creating the control (Fixes #79155)
  4235. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4236. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  4237. when allowing layout again. Otherwise we re-generate the anchoring
  4238. distance to the border again and actually alter what the user wanted
  4239. This is ugly, it'd be better if we used DisplayRectangle instead of
  4240. ClientRectangle for Control.UpdateDistances, but that causes us to
  4241. have other problems (initial anchoring positons would be wrong)
  4242. (Fixes #78835)
  4243. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4244. * Control.cs:
  4245. - The size and location setters shouldn't go directly to
  4246. SetBoundsCore, but to SetBounds, which triggers layout on the
  4247. parent, then calls SetBoundsCore. (Related to fix for #78835)
  4248. - SetBounds: Moved actual location update code into this function
  4249. from SetBoundsCore, to match MS. Added call to PerformLayout if
  4250. we have a parent (to trigger resizing of anchored parents if the
  4251. child size has changed (see testcase for #78835)
  4252. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  4253. new control code
  4254. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  4255. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4256. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  4257. System.Drawing when a toplevel window gets closed; there might
  4258. be other toplevel windows belonging to the same app (Fixes #78052)
  4259. 2006-08-26 Alexander Olk <[email protected]>
  4260. * FileDialog.cs: After reading FileDialog settings from mwf_config
  4261. use Desktop prefix only if a real folder doesn't exist anymore.
  4262. * FontDialog.cs: Added char sets.
  4263. It is now possible to select the font, size or style with the
  4264. textboxes.
  4265. 2006-08-25 Kornél Pál <[email protected]>
  4266. * PrintPreviewDialog.cs: Use assembly name constants.
  4267. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4268. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  4269. scrollbar from whacking it's buttons)
  4270. 2006-08-24 Chris Toshok <[email protected]>
  4271. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  4272. in this patch (aggregating setting Left/Top/Width/Height to
  4273. setting Bounds on the scrollbars), but the crux of the fix is in
  4274. Recalculate, where we scroll by the remaining scroll_position if
  4275. we're hiding a scrollbar. The 2*$5 reward in the comment is
  4276. serious.
  4277. 2006-08-24 Jackson Harper <[email protected]>
  4278. * MdiClient.cs:
  4279. * MdiWindowManager.cs: If the form is made a non-mdi window we
  4280. need to remove the form closed event so that closing forms works
  4281. correctly.
  4282. 2006-08-24 Jackson Harper <[email protected]>
  4283. * Control.cs: Make IsRecreating internal so that the driver can
  4284. check it
  4285. - Temporarily remove the Hide when controls are removed, its
  4286. making a whole bunch of things not work because visibility isn't
  4287. getting reset elsewhere correctly
  4288. * Form.cs: Need to do a full handle recreation when the mdi parent
  4289. is set.
  4290. * XplatUIX11.cs: If we are recreating handles don't dispose the
  4291. HWNDs. What was happening is the handles were being recreated in
  4292. SendWMDestroyMessages, but then flow continued on in that method
  4293. and destroyed the new handles.
  4294. 2006-08-23 Jackson Harper <[email protected]>
  4295. * Form.cs: MdiClient is always at the back of the bus
  4296. * Control.cs: When the order of items in the collection is changed
  4297. we need to reset the all_controls array
  4298. - do the same sorta setup thats done when adding a control when a
  4299. control is set on the collection.
  4300. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4301. * TextBoxBase.cs (get_Text): Return an empty array if our document
  4302. is empty (fixes #79052)
  4303. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4304. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  4305. on WM_SYSCHAR messages (fixes #79053)
  4306. 2006-08-23 Chris Toshok <[email protected]>
  4307. * DataGrid.cs: fix flickering when scrolling vertically.
  4308. 2006-08-23 Chris Toshok <[email protected]>
  4309. * DataGrid.cs (EndEdit): only invalidate the row header when we
  4310. need to.
  4311. 2006-08-23 Chris Toshok <[email protected]>
  4312. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  4313. methods. fixes the flicker when scrolling around.
  4314. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4315. * FileDialog.cs: Making sure the control is created before we get a
  4316. chance to use it with BeginInvoke (Fixes #79096)
  4317. 2006-08-23 Chris Toshok <[email protected]>
  4318. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  4319. width to use when painting the rows.
  4320. 2006-08-23 Peter Dennis Bartok <[email protected]>
  4321. * TextBoxBase.cs:
  4322. - Throw ArgumentException if a negative value is passed to SelectionLength
  4323. - Update the selection end if start is moved. end needs to be always
  4324. after start. (Fixes #79095)
  4325. - Track selection length; MS keeps the selection length even if start
  4326. is changed; reset on all other operations affection selection
  4327. 2006-08-22 Jackson Harper <[email protected]>
  4328. * TreeView.cs: Make sure both scrollbars get displayed and sized
  4329. correctly when the other bar is visible.
  4330. - Use the original clip rectangle for checking if the area between
  4331. the two scrollbars is visible, not the viewport adjusted clipping
  4332. rectangle.
  4333. 2006-08-22 Jackson Harper <[email protected]>
  4334. * Binding.cs: We don't use IsBinding because it requires the
  4335. control to be created, which really shouldn't be necessary just to
  4336. set a property on the control.
  4337. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  4338. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  4339. ArgumentNullReferenceException when the argument is null.
  4340. 2006-08-21 Jackson Harper <[email protected]>
  4341. * Timer.cs: Track the thread that the timer is started in (NOT
  4342. CREATED), this way messages for it will only be triggered on its
  4343. queue.
  4344. * XEventQueue.cs: Track the timers here, this makes timers per
  4345. thread, like MS.
  4346. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  4347. 2006-08-19 Chris Toshok <[email protected]>
  4348. * XplatUIX11.cs: after further communication with pdb, we get the
  4349. best of both worlds. SetZOrder working for un-Mapped windows, and
  4350. no X errors for un-mapped windows.
  4351. 2006-08-19 Chris Toshok <[email protected]>
  4352. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  4353. as it was causing pdn toolbars to not have the correct stacking.
  4354. 2006-08-18 Mike Kestner <[email protected]>
  4355. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  4356. calculation. Not sure why control should ever be setting a negative
  4357. width though. Fixes #78931.
  4358. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  4359. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  4360. null items in ObjectCollection class.
  4361. * ListBox.cs.: Likewise.
  4362. 2006-08-18 Atsushi Enomoto <[email protected]>
  4363. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  4364. as the base method in ThemeWin32Classic should work fine.
  4365. Fixed bug #78607.
  4366. 2006-08-18 Jackson Harper <[email protected]>
  4367. * Binding.cs: When validating if the value entered doesn't convert
  4368. properly reset to the old value.
  4369. * RadioButton.cs: Don't fire click when we get focus.
  4370. 2006-08-18 Jackson Harper <[email protected]>
  4371. * FileDialog.cs: Paint the selection on the directory combobox the
  4372. same way as on MS.
  4373. 2006-08-17 Jackson Harper <[email protected]>
  4374. * ErrorProvider.cs: Don't allow the error control to be selected.
  4375. * Control.cs: Don't send the SetFocus messages, the control
  4376. activation will do this, and if we do it blindly here validation
  4377. does not work.
  4378. 2006-08-17 Jackson Harper <[email protected]>
  4379. * Control.cs:
  4380. * ContainerControl.cs: Make validation events fire in the correct
  4381. order. TODO: For some reason the first validation event is not
  4382. getting fired.
  4383. 2006-08-17 Mike Kestner <[email protected]>
  4384. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  4385. 2006-08-17 Mike Kestner <[email protected]>
  4386. * ComboBox.cs : implement scroll wheel support for popped-down
  4387. state. Fixes #78945.
  4388. 2006-08-17 Jackson Harper <[email protected]>
  4389. * TreeView.cs: Specify treeview actions (old patch that didn't get
  4390. committed for some reason).
  4391. - Don't let the mouse wheel scroll us too far. Just want to make
  4392. the bottom node visible, not scroll it all the ways to the top.
  4393. 2006-08-17 Jackson Harper <[email protected]>
  4394. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  4395. 2006-08-17 Mike Kestner <[email protected]>
  4396. * ComboBox.cs : don't do mouseover selection in simple mode.
  4397. 2006-08-16 Jackson Harper <[email protected]>
  4398. * Form.cs: Fire the closing events for all the mdi child windows
  4399. when a window is closed. If the cancel args are set to true, the
  4400. main window still gets the event fired, but it doesn't not close.
  4401. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  4402. handler, instead of when the button is clicked, so cancelling the
  4403. close works correctly.
  4404. * ComboBox.cs: Send the mouse down to the scrollbar.
  4405. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  4406. * ListBox.cs: When passing 'null' to SelectedItem,
  4407. set SelectedIndex to -1, to unselect items. This is the
  4408. observed behaviour in .Net.
  4409. 2006-08-16 Peter Dennis Bartok <[email protected]>
  4410. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  4411. MS flags saying there won't be any. (fixes #78800)
  4412. * Control.cs (HandleClick): Made virtual
  4413. 2006-08-16 Atsushi Enomoto <[email protected]>
  4414. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  4415. cultures. Fixed bug #78399.
  4416. 2006-08-16 Jackson Harper <[email protected]>
  4417. * Form.cs: Use the MdiClients MdiChildren property to access
  4418. MdiChildren instead of creating the array from the child controls.
  4419. * MdiClient.cs: Maintain a separate array of the mdi children, so
  4420. that insertion order is maintained when the Z-order is changed.
  4421. 2006-08-16 Mike Kestner <[email protected]>
  4422. * ListView.cs : add an ItemComparer and default to it for sorting.
  4423. Fixes #79076, but sorting needs a complete overhaul to be compat with
  4424. MS.
  4425. 2006-08-15 Peter Dennis Bartok <[email protected]>
  4426. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  4427. 2006-08-15 Peter Dennis Bartok <[email protected]>
  4428. * Hwnd.cs (Mapped): Properly traverse the tree
  4429. 2006-08-15 Chris Toshok <[email protected]>
  4430. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  4431. pass manager.Current.GetType() to ParseData. It has to be the
  4432. property type. So, hold off doing the ParseData until we're in
  4433. SetPropertyValue where we know the type. This fixes the crash in
  4434. #78821 but the textbox is still empty.
  4435. 2006-08-15 Chris Toshok <[email protected]>
  4436. * DataGrid.cs:
  4437. - when we're scrolling, only call Edit() again if the
  4438. current cell is still unobscured. Fixes bug #78927.
  4439. - when handling mousedown on a cell, ensure the cell is visible
  4440. before calling Edit.
  4441. - remove the properties from DataGridRow, and remove the
  4442. DataGridParentRow class altogether.
  4443. 2006-08-15 Peter Dennis Bartok <[email protected]>
  4444. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  4445. fire OnTextChanged by ourselves. There's no point calling base,
  4446. we don't set the base value anywhere else. Fixes #78773.
  4447. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  4448. * ListBox.cs: Call CollectionChanged when modifying
  4449. an item from Items indexer, to update the actual items
  4450. in the list box.
  4451. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  4452. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  4453. to match .Net behaviour.
  4454. 2006-08-15 Peter Dennis Bartok <[email protected]>
  4455. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  4456. 2006-08-15 Peter Dennis Bartok <[email protected]>
  4457. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  4458. 2006-08-15 Peter Dennis Bartok <[email protected]>
  4459. * MessageBox.cs: Prevent potential NRE exception.
  4460. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  4461. 2006-08-14 Peter Dennis Bartok <[email protected]>
  4462. * MessageBox.cs: Calculate the owner of a messagebox, also make
  4463. it topmost. Fixes #78753
  4464. 2006-08-14 Chris Toshok <[email protected]>
  4465. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  4466. programmatically move windows. first, set the PPosition hint as
  4467. well as the USPosition hint. Second include some code from pdb
  4468. that sets the window type to NORMAL when we set the transient for
  4469. hint. This is because, in the absence of a window type, metacity
  4470. thinks any window with TransientFor set is a dialog, and refuses
  4471. to let us move it programmatically. fascists.
  4472. 2006-08-14 Peter Dennis Bartok <[email protected]>
  4473. * XplatUIX11.cs: When setting normal hints, take into consideration
  4474. an different hints previously set so we don't delete them (fixes #78866)
  4475. 2006-08-12 Chris Toshok <[email protected]>
  4476. * ToolBarButton.cs: make Layout return a boolean, if something to
  4477. do with the button's layout changed.
  4478. * ToolBar.cs:
  4479. - add another parameter to Redraw, @force, which all existing
  4480. calls set to true.
  4481. - make the Layout function return a boolean which is true if the
  4482. layout has actually changed. Redraw now uses this (and @force)
  4483. to determine when to invalidate. At present the only place
  4484. where @force can be false is the call from OnResize, when
  4485. background_image == null. So, resizing a toolbar when the
  4486. layout doesn't change results in no drawing.
  4487. 2006-08-12 Chris Toshok <[email protected]>
  4488. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  4489. the VScrollBar and HScrollbar reversed. oops.
  4490. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  4491. scrollbars. we were assigning them twice (once in
  4492. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  4493. therefore causing two scrollbar resizes (and redraws?) to happen
  4494. per grid resize.
  4495. 2006-08-12 Chris Toshok <[email protected]>
  4496. * ToolBarButton.cs: redraw the entire button if the theme tells us
  4497. to.
  4498. * Theme.cs: add ToolBarInvalidateEntireButton.
  4499. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  4500. buttons, just the border.
  4501. * ThemeNice.cs: redraw the entire toolbar button since we need to
  4502. draw the highlight image.
  4503. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  4504. we need to redraw the entire button (not just the border).
  4505. 2006-08-11 Peter Dennis Bartok <[email protected]>
  4506. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  4507. for vertical bars. Fixes the mismatches shown by #78513
  4508. 2006-08-11 Alexander Olk <[email protected]>
  4509. * FileDialog.cs: If a saved/remembered path doesn't exist
  4510. anymore, fall back to "Desktop".
  4511. 2006-08-11 Peter Dennis Bartok <[email protected]>
  4512. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  4513. parent. It's apparently legal to not have one
  4514. * XplatUIX11.cs:
  4515. - SetZOrder: Don't try to set Z-Order on an unmapped window
  4516. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  4517. it unless the coordinates are negative
  4518. 2006-08-10 Mike Kestner <[email protected]>
  4519. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  4520. when setting to null per msdn docs. Fixes #78854.
  4521. 2006-08-10 Chris Toshok <[email protected]>
  4522. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  4523. flickering by setting a clip rectangle on the Graphics when we
  4524. need to redraw just a particular menuitem. Also, rename "OnClick"
  4525. to "OnMouseDown" to reflect what it actually is.
  4526. * Form.cs: track the OnMouseDown change.
  4527. 2006-08-10 Peter Dennis Bartok <[email protected]>
  4528. * CommonDialog.cs: Properly inherit the CreateParams from the form
  4529. and only change what we need. Fixes #78865
  4530. 2006-08-10 Chris Toshok <[email protected]>
  4531. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  4532. flickering in flat mode (and most of the flickering in general) by
  4533. only invalidating the button border (and not the entire rectangle)
  4534. when the state changes. A couple of cases still flicker:
  4535. ToggleButtons, and the dropdown arrow case when the user mouse
  4536. ups.
  4537. 2006-08-10 Alexander Olk <[email protected]>
  4538. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  4539. for german keyboards. Numlock state shouldn't affect the behaviour
  4540. of the Del key. Fixes bug #78291.
  4541. 2006-08-10 Chris Toshok <[email protected]>
  4542. * ListControl.cs: remove the items.Clear line from BindDataItems,
  4543. as this is the first thing done by both subclasses in their
  4544. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  4545. passed -1, refresh the list. This gets databinding working when
  4546. the datasource is set on the list before the datasource is
  4547. populated (as in wf-apps/ReportBuilder.)
  4548. * ComboBox.cs: remove the argument to BindDataItems. This call
  4549. should really go away, and be initiated by the ListControl code.
  4550. * ListBox.cs: same.
  4551. 2006-08-09 Peter Dennis Bartok <[email protected]>
  4552. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  4553. if no data is in the document when the control is displayed
  4554. 2006-08-09 Peter Dennis Bartok <[email protected]>
  4555. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  4556. yes (fixes #78806)
  4557. * TextControl.cs:
  4558. - PositionCaret: Allow positioning of caret but don't call methods
  4559. requiring a handle if the window isn't created yet
  4560. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  4561. - owner_HandleCreated: Don't position the caret, just update it's
  4562. location. User might have already set a different position
  4563. 2006-08-09 Peter Dennis Bartok <[email protected]>
  4564. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  4565. windows. Screws up the returned coordinates for child windows.
  4566. Fixes #78825. I'm hoping this doesn't break something, since the
  4567. code was explicitly put in 8 months ago, but no bug was attached.
  4568. Menus still seem to work properly.
  4569. 2006-08-08 Chris Toshok <[email protected]>
  4570. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  4571. supposed to do - delay data binding until the EndInit call. Also,
  4572. make the table style collection's CollectionChangeAction.Refresh
  4573. work properly.
  4574. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  4575. (with action = Refresh) when a consituent table's MappingName is
  4576. changed.
  4577. 2006-08-08 Chris Toshok <[email protected]>
  4578. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  4579. Invalidate, since changing the text can change the size of the all
  4580. toolbar buttons.
  4581. 2006-08-08 Peter Dennis Bartok <[email protected]>
  4582. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  4583. we don't have it yet
  4584. 2006-08-08 Chris Toshok <[email protected]>
  4585. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  4586. dialog, as this causes X errors later on, since we actually
  4587. destroy the window. Instead, .Hide() it.
  4588. 2006-08-08 Peter Dennis Bartok <[email protected]>
  4589. * ComboBox.cs: Added focus reflection for popup window
  4590. * XplatUIX11.cs:
  4591. - Removed transient setting for non-app windows for now, not sure it
  4592. was needed
  4593. - Fixed logic checking if we have captions when deciding
  4594. override_redirect, WS_CAPTION is two bits and a 0 check was not
  4595. sufficient
  4596. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  4597. complicated
  4598. * Form.cs:
  4599. - AddOwnedForm: Don't just add the form to the list, call the property
  4600. to ensure the driver is informed about the ownership as well
  4601. - CreateHandle: Set the TopMost status in the driver if we have an owner
  4602. * XplatUI.cs: Fixed debug statement
  4603. 2006-08-08 Jonathan Pobst <[email protected]>
  4604. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  4605. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  4606. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  4607. TrackBarRenderer.cs: Make constructor private.
  4608. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  4609. * ProfessionalColorTable.cs: Make properties virtual.
  4610. 2006-08-06 Duncan Mak <[email protected]>
  4611. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  4612. is not changing.
  4613. 2006-08-04 Jonathan Pobst <[email protected]>
  4614. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  4615. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  4616. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  4617. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  4618. Initial import of new 2.0 classes.
  4619. 2006-08-04 Jonathan Pobst <[email protected]>
  4620. * Application.cs: Add 2.0 VisualStyles properties.
  4621. 2006-08-04 Jonathan Pobst <[email protected]>
  4622. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  4623. XplatUIX11.cs: Create property to allow access to existing private
  4624. variable "themes_enabled"
  4625. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  4626. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  4627. file size, as otherwise our class libraries fail using windows. Fixes
  4628. bug #78759.
  4629. 2006-08-04 Jackson Harper <[email protected]>
  4630. * Form.cs:
  4631. * XplatUIX11.cs: Move the toolwindow window manager creation into
  4632. the X11 driver, this way on win32 we can let windows create/handle
  4633. the toolwindows.
  4634. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  4635. * PrintDialog.cs: Remove some redundant checks, add some others,
  4636. clean some code, and move the focus to the text boxes when the
  4637. values are incorrect.
  4638. 2006-08-04 Alexander Olk <[email protected]>
  4639. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  4640. 2006-08-03 Alexander Olk <[email protected]>
  4641. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  4642. handled correctly. Fixes bug #79001.
  4643. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  4644. * PrintDialog.cs: The "Copies" numeric up down must have
  4645. set the Minimum property to 1; only if the value is bigger
  4646. than 1, activate "Collate" check box. This is the behaviour of .Net.
  4647. Also modify the Document elements only if it is not null.
  4648. 2006-08-03 Jackson Harper <[email protected]>
  4649. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  4650. length. (We have a larger array then actual node count).
  4651. 2006-08-03 Jackson Harper <[email protected]>
  4652. * ComboBox.cs: Don't show selection by default.
  4653. - The SelectAll isn't needed here, since the focus code should do
  4654. that
  4655. - DDL style lists to manual selection drawing, so when they
  4656. get/lose focus they have to invalidate.
  4657. 2006-08-03 Peter Dennis Bartok <[email protected]>
  4658. * TextBoxBase.cs: Don't always show all selections by default.
  4659. 2006-08-03 Jonathan Pobst <[email protected]>
  4660. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  4661. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  4662. Fixed various typos.
  4663. 2006-08-03 Alexander Olk <[email protected]>
  4664. * Control.cs: Removing the controls in a ControlCollection with
  4665. Clear now hides the controls as expected. Fixes bug #78804.
  4666. 2006-08-03 Jackson Harper <[email protected]>
  4667. * Control.cs: Revert previous focus patch, it breaks reflector.
  4668. 2006-08-03 Jackson Harper <[email protected]>
  4669. * ComboBox.cs: Cleanup selection and focus with the combobox.
  4670. This also eliminates some duplicated keyboard code, since now
  4671. everything is handled by the main class.
  4672. - Make list selection work on mouse up instead of down, to match
  4673. MS.
  4674. 2006-08-02 Jackson Harper <[email protected]>
  4675. * Control.cs: Setting focus needs to go through the whole
  4676. selection mechanism.
  4677. 2006-08-02 Chris Toshok <[email protected]>
  4678. * PrintPreviewDialog.cs: change MinimumSize to use
  4679. base.MinimumSize so it works.
  4680. 2006-08-02 Peter Dennis Bartok <[email protected]>
  4681. * TextControl.cs:
  4682. - UpdateCaret: Added sanity check in case caret isn't defined yet
  4683. - Line.Delete: Now updating selection and caret markers if we're
  4684. transfering a node (Properly fixes #78323)
  4685. - SetSelectionEnd: Added sanity check
  4686. * TextBoxBase.cs: Removed broken attempt to fix #78323
  4687. 2006-08-01 Chris Toshok <[email protected]>
  4688. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  4689. Close() call is handled in Form, not here.
  4690. 2006-08-01 Chris Toshok <[email protected]>
  4691. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  4692. layout/rendering.
  4693. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  4694. for sizes < 100% zoom. The code now aggressively attempts to keep
  4695. from calling document.Print (), and tries not to use the scaling
  4696. g.DrawImage whenever possible (it still does if you scale to >
  4697. 100%, since usually that involves huge images).
  4698. * PrintPreviewControl.cs: hook up the close button.
  4699. 2006-08-01 Jonathan Pobst <[email protected]>
  4700. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  4701. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  4702. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  4703. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  4704. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  4705. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  4706. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  4707. Removed [Serializable] for 2.0 Event Handlers.
  4708. 2006-07-31 Jackson Harper <[email protected]>
  4709. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  4710. * TextControl.cs: Uncomment out the body of this method.
  4711. 2006-07-31 Alexander Olk <[email protected]>
  4712. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  4713. standard cursors.
  4714. 2006-07-31 Peter Dennis Bartok <[email protected]>
  4715. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  4716. that embed TextBox and need selections visible even if textbox is not
  4717. focused to enforce that behaviour.
  4718. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  4719. selection drawing
  4720. 2006-07-31 Peter Dennis Bartok <[email protected]>
  4721. * TextControl.cs:
  4722. - Added new SetSelectionStart/SetSelectionEnd overloads
  4723. - Fixed viewport width assignment to be accurate
  4724. - Adjusted alignment line shift calculations to allow cursor on right
  4725. aligned lines to be always visible at the right border (like MS)
  4726. * TextBoxBase.cs:
  4727. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  4728. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  4729. - CalculateScrollBars: Use ViewPort size instead of window size, to
  4730. properly consider space occupied by the border and scrollbars
  4731. (Fixes #78661)
  4732. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  4733. calculations; no longer leaves artifacts
  4734. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  4735. calculation bugs (Still missing right/center align calculations)
  4736. 2006-07-31 Peter Dennis Bartok <[email protected]>
  4737. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  4738. use of both scroll rect and clip rect, as they do the same.
  4739. 2006-07-31 Peter Dennis Bartok <[email protected]>
  4740. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  4741. in the event handler (fixes #78912)
  4742. 2006-07-31 Chris Toshok <[email protected]>
  4743. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  4744. grid.ListManager.Count, since grid.ListManager might be null.
  4745. This of course begs the question "why are we drawing rows for a
  4746. grid with no list manager (and therefor no rows)?" Fixes the
  4747. crash in bug #78929.
  4748. 2006-07-31 Chris Toshok <[email protected]>
  4749. * RelatedPropertyManager.cs: Don't always chain up to the parent
  4750. ctor. instead, call SetDataSource if the parent's position is !=
  4751. -1. Fixes the crash in #78822.
  4752. 2006-07-31 Chris Toshok <[email protected]>
  4753. * DataGrid.cs (get_ListManager): use field instead of property
  4754. accessors for datasource and datamember.
  4755. (RowsCount): make internal again.
  4756. (OnMouseDown): end edits before resizing columns/rows.
  4757. (OnMouseUp): restart edits after resizing columns/rows.
  4758. 2006-07-30 Peter Dennis Bartok <[email protected]>
  4759. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  4760. This fixes the situation where the last set cursor is displayed
  4761. whenever the mouse is over scrollbars.
  4762. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  4763. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  4764. Document properties, as well as initial values.
  4765. 2006-07-29 Peter Dennis Bartok <[email protected]>
  4766. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  4767. and ClientEdge results in a 3-pixel border, which is
  4768. wrong.
  4769. 2006-07-28 Jackson Harper <[email protected]>
  4770. * TreeNodeCollection.cs: Fix the clear method.
  4771. - Fix the Shrink also
  4772. 2006-07-27 Jackson Harper <[email protected]>
  4773. * TreeView.cs: Make sure the visible order is computed when we
  4774. attempt to size the scrollbars (for trees that mess with the
  4775. scrolling when they shouldn't.
  4776. - Make sure to give the scrollbars valid values.
  4777. 2006-07-26 Peter Dennis Bartok <[email protected]>
  4778. * XplatUIX11.cs: Move motion compression code to where it
  4779. has less performance impact
  4780. 2006-07-26 Jackson Harper <[email protected]>
  4781. * UpDownBase.cs: When the control is selected make the child
  4782. controls non selectable, so that a click on them won't do a
  4783. focus/unfocus cycle.
  4784. - Don't give focus to the text box when the spinner is selected.
  4785. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  4786. 2006-07-26 Chris Toshok <[email protected]>
  4787. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  4788. satisfied with this solution. If the bitmaps are small, we should
  4789. just cache them in the PrintPreviewDialog and draw them here.
  4790. Also, the layout is broken for the 2-up and 3-up cases.
  4791. * Theme.cs: add PrintPReviewControlPaint.
  4792. * PrintPreviewDialog.cs: first pass implementation.
  4793. * PrintPreviewControl.cs: first pass implementation. No
  4794. scrollbars yet.
  4795. * PrintDialog.cs: only validate fields if that particular portion
  4796. of the UI is enabled. Also, set the document's controller to a
  4797. PrintControllerWithStatusDialog wrapping the document's print
  4798. controller.
  4799. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  4800. bring up a SaveFileDialog (i hope we don't want to match the
  4801. behavior of the crappy windows file entry) and set the
  4802. PrinterSettings.PrintFileName accordingly.
  4803. 2006-07-26 Jackson Harper <[email protected]>
  4804. * ContainerControl.cs: Add a field that disables auto selecting
  4805. the next control in a container when the container is activated.
  4806. * UpDownBase.cs: Don't select the text box when the up down is
  4807. selected.
  4808. 2006-07-26 Peter Dennis Bartok <[email protected]>
  4809. * XEventQueue.cs: Added methods for peeking (used for compression
  4810. of successive events)
  4811. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  4812. mouse move events (fixes #78732)
  4813. 2006-07-25 Jackson Harper <[email protected]>
  4814. * UpDownBase.cs: Use an internal class for the textbox so that we
  4815. can control focus. the updown control should always have focus,
  4816. if either the text area or the buttons are clicked.
  4817. - Send the key messages to the textbox, since it never actually
  4818. has focus
  4819. - Activate and decativate the textbox caret.
  4820. 2006-07-24 Jackson Harper <[email protected]>
  4821. * Control.cs: Use the directed select when selecting a control,
  4822. this way the container controls override will get called and the
  4823. whole ActiveControl chain will get triggered. TODO: probably need
  4824. to make sure this gets done everywhere instead of the old
  4825. Select(Control).
  4826. * ContainerControl.cs: Implement the directed Select method to
  4827. find and activate the correct child control.
  4828. 2006-07-22 Mike Kestner <[email protected]>
  4829. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  4830. menu handling code so that clicks without a grab work too.
  4831. [Fixes #78914]
  4832. 2006-07-22 Alexander Olk <[email protected]>
  4833. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  4834. Added some small optimizations.
  4835. 2006-07-21 Matt Hargett <[email protected]>
  4836. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  4837. 2006-07-21 Peter Dennis Bartok <[email protected]>
  4838. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  4839. tests pass and match MS in some strange border cases.
  4840. 2006-07-21 Chris Toshok <[email protected]>
  4841. * ThemeWin32Classic.cs: handle drawing of the relation links and
  4842. parent row buttons.
  4843. * Theme.cs: change args to DataGridPaintParentRow.
  4844. * DataGrid.cs: Don't use controls for the relation links and
  4845. parent buttons, so we have to handle all their interactions in
  4846. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  4847. when we're navigating through child tables, so we can reinstate
  4848. selection, expanded state, current cell, etc.
  4849. 2006-07-20 Chris Toshok <[email protected]>
  4850. * ToolBar.cs: When we redraw a button, for whatever reason,
  4851. there's no reason to redraw the entire toolbar. Also, don't call
  4852. Control.Refresh from within Redraw, as it's much heavier than
  4853. Invalidate (which is really what we want).
  4854. 2006-07-20 Chris Toshok <[email protected]>
  4855. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  4856. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  4857. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  4858. traces from within a debug IBindingList datasource
  4859. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  4860. to work in a similar fashion.
  4861. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  4862. * ListBox.cs: Don't call Sort () when setting
  4863. the Sorted property to false (avoid an unnecessary sort).
  4864. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  4865. * ListControl.cs: DataSource should throw an ArgumentException
  4866. instead of a normal exception when the argument is not of the
  4867. correct type.
  4868. 2006-07-20 Mike Kestner <[email protected]>
  4869. * Control.cs: add InternalPreProcessMessage to allow us to steal
  4870. key events before MWF gets its paws on them. Adapted from a
  4871. suggestion by eno.
  4872. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  4873. up/down/left/right navigation. Override the new internal control
  4874. method to steal the events since they never make it to WndProc.
  4875. * ToolBarButton.cs: don't worry about pushed when setting hilight
  4876. since the drawing code prefers pushed to hilight. Invalidate on
  4877. Hilight changes. Fixes #78547 and #78525.
  4878. 2006-07-20 Peter Dennis Bartok <[email protected]>
  4879. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  4880. the canvas size. Fixes #78868
  4881. 2006-07-20 Peter Dennis Bartok <[email protected]>
  4882. * Splitter.cs: Track requested split position until first layout
  4883. is performed. Fixes #78871
  4884. 2006-07-20 Peter Dennis Bartok <[email protected]>
  4885. * Application.cs: Removed code that forces 1.x for the version
  4886. number if the version started with 0. Not sure why that code was
  4887. there and I couldn't find any bugs that indicated we needed it.
  4888. Fixes #78869
  4889. 2006-07-20 Alexander Olk <[email protected]>
  4890. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  4891. ResetDefaults(), just write some output to the console until it's
  4892. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  4893. 2006-07-19 Jonathan Chambers <[email protected]>
  4894. * PropertyGridView.cs: set StartPosition of drop down forms
  4895. so they appear in correct initial spot. Fixes #78190.
  4896. 2006-07-19 Mike Kestner <[email protected]>
  4897. * ThemeWin32Classic.cs: use parent background color when drawing
  4898. flat toolbars. Restructure the conditionals to make sure non-flat
  4899. non-Divider toolbars are filled too. Fixes #78837.
  4900. 2006-07-19 Mike Kestner <[email protected]>
  4901. * ListBox.cs: Sort on collection changes even if the handle
  4902. isn't created yet. Fixes #78813.
  4903. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  4904. * ListControl.cs: DisplayMember should never be null,
  4905. and now we assign String.Empty when null is passed to it (this
  4906. is the .Net way).
  4907. 2006-07-17 Mike Kestner <[email protected]>
  4908. * ListViewItem.cs: restructure Font and subitem Font handling
  4909. to hold a specific font and refer back to owner on null.
  4910. Fixes #78761.
  4911. 2006-07-17 Mike Kestner <[email protected]>
  4912. * ToolBar.cs: bandaid for side-effect of previous patch which was
  4913. discarding explicit heights for non-AutoSize toolbars. Need to
  4914. extend my format tester to deal with AutoSize=false. Fixes #78864.
  4915. 2006-07-15 Jackson Harper <[email protected]>
  4916. * LabelEditTextBox.cs:
  4917. * TreeView.cs: Use a new LabelEdit class for node editing, this
  4918. class automatically 'closes' itself when it gets the enter key or
  4919. loses focus.
  4920. - Use the client rectangle when setting the trees scrollbars, so
  4921. border style is taken into account.
  4922. 2006-07-14 Jackson Harper <[email protected]>
  4923. * TreeNode.cs:
  4924. * TreeView.cs: Make the editing work similar to MSs, firing the
  4925. events correctly and ending edits correctly.
  4926. 2006-07-14 Mike Kestner <[email protected]>
  4927. * ToolBarButton.cs:
  4928. * ToolBar.cs: layout restructuring and redraw enhancements to support
  4929. formatting changes gracefully, like setting TextAlign, ImageList,
  4930. ButtonSize, and Appearance. Handles explicit button sizing quirks
  4931. of the MS controls. Things like flat toolbars ignoring button size
  4932. but becoming constant sized at the largest button's size. Normal
  4933. toolbars with an image set cannot be shrunk smaller than the image,
  4934. but text can be clipped/ignored.
  4935. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  4936. is zero. Seems like DrawString should be smart enough to not put
  4937. anything on screen though. Also trim labels and ellipsize at the char
  4938. boundary, not word.
  4939. Fixes #78711 and #78483.
  4940. 2006-07-14 Alexander Olk <[email protected]>
  4941. * FolderBrowserDialog.cs: Disable "New Folder" button and
  4942. "New Folder" contextmenu menuitem if a folder like "My Computer"
  4943. is selected.
  4944. 2006-07-14 Alexander Olk <[email protected]>
  4945. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  4946. * FolderBrowserDialog.cs:
  4947. - Use MWFConfig to store and read size and position settings
  4948. - Added code to create a new folder (button or context menu).
  4949. Use TreeView labeledit to change the name of the new folder.
  4950. 2006-07-14 Jackson Harper <[email protected]>
  4951. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  4952. when the tree is scrolled we end editing.
  4953. 2006-07-14 Alexander Olk <[email protected]>
  4954. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  4955. Down arrows
  4956. 2006-07-14 Jonathan Pobst <[email protected]>
  4957. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  4958. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  4959. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  4960. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  4961. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  4962. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  4963. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  4964. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  4965. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  4966. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  4967. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  4968. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  4969. ListViewItemSelectionChangedEventHandler.cs,
  4970. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  4971. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  4972. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  4973. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  4974. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  4975. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  4976. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  4977. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  4978. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  4979. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  4980. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  4981. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  4982. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  4983. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  4984. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  4985. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  4986. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  4987. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  4988. WebBrowserNavigatingEventHandler.cs,
  4989. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  4990. 2006-07-14 Jonathan Pobst <[email protected]>
  4991. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  4992. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  4993. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  4994. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  4995. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  4996. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  4997. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  4998. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  4999. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  5000. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  5001. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  5002. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  5003. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  5004. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  5005. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  5006. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  5007. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  5008. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  5009. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  5010. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  5011. ListViewItemStates.cs, MaskFormat.cs: Added
  5012. 2006-07-13 Jonathan Chambers <[email protected]>
  5013. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  5014. Patch from eno for bug 78558.
  5015. 2006-07-13 Jackson Harper <[email protected]>
  5016. * TreeView.cs: When an edit is finished make sure that the
  5017. selected node is visible.
  5018. - When setting the top/bottom use the scrollbars is_visible, so
  5019. everything will be set correctly even if the tree isn't visible
  5020. yet.
  5021. 2006-07-13 Jackson Harper <[email protected]>
  5022. * ComboBox.cs: Revert the item->index part of my previous patch.
  5023. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  5024. the edit box has lost focus (duh).
  5025. - Just make the edit box not visible when we get return, that will
  5026. take the focus, which will call EndEdit
  5027. * TreeNode.cs When we start editing, notify the treeview.
  5028. 2006-07-12 Jackson Harper <[email protected]>
  5029. * ComboBox.cs: Clear out old items before setting the item list.
  5030. This prevents databound controls from having their items added
  5031. twice.
  5032. - Switch the combobox to use indices whereever possible instead of
  5033. using Item's. This allows usto navigate through lists that have
  5034. more then one item with the same string value (ie a, b, b, a).
  5035. - Scroll the listboxes scrollbar when a non visible item is
  5036. highlighted
  5037. - Allow keypress to cycle through all the possible values. For
  5038. example if you have b1, b2, b3 and hold down the B key all the
  5039. values will be cycled through.
  5040. 2006-07-12 Jackson Harper <[email protected]>
  5041. * TextBoxBase.cs:
  5042. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  5043. this using the internal methods.
  5044. * Control.cs: Add OnGotFocusInternal. A new method that allows
  5045. controls to "override" OnGotFocus and change focus behavior if
  5046. needed.
  5047. - Same thing for LostFocus
  5048. * ComboBox.cs: Pass off focus to the text control properly.
  5049. 2006-07-12 Alexander Olk <[email protected]>
  5050. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  5051. * FolderBrowserDialog.cs: Almost a complete rewrite.
  5052. - Better support for Environment.Specialfolders
  5053. - Added support for MWFVFS
  5054. - Made setting SelectedPath work
  5055. 2006-07-12 Jackson Harper <[email protected]>
  5056. * Control.cs: Optimze getting all the controls.
  5057. 2006-07-11 Jackson Harper <[email protected]>
  5058. * ContainerControl.cs: Override SETFOCUS in the container control,
  5059. so that it is not selected on mouse click.
  5060. 2006-07-11 Peter Dennis Bartok <[email protected]>
  5061. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  5062. Hopefully we will have a better way once all of focus is complete.
  5063. 2006-07-11 Peter Dennis Bartok <[email protected]>
  5064. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  5065. a compile error with csc.
  5066. 2006-07-11 Jackson Harper <[email protected]>
  5067. * Control.cs: When hiding a control only select the next control
  5068. if the current control was focused.
  5069. - Don't handle enter/leave when setting/killing focus, this is
  5070. done by the container control.
  5071. - Remove is_selected, it's not needed anymore.
  5072. - Add utility methods for selecting a child control, and for
  5073. firing the Enter/Leave events.
  5074. * ContainerControl.cs: When a control is activated fire the
  5075. enter/leave events.
  5076. - Don't wrap when processing the tab key, so that focus can be
  5077. moved outside of the container.
  5078. - Use the correct active control
  5079. 2006-07-11 Jackson Harper <[email protected]>
  5080. * ComboBox.cs: Remove some debug code that was blinding me.
  5081. * UpDownBase.cs: These controls actually aren't implicit, they are
  5082. visible to the user.
  5083. 2006-07-10 Chris Toshok <[email protected]>
  5084. * DataGrid.cs: move back to the is_adding boolean field. god i
  5085. hate this is_editing/is_adding/is_changing stuff.
  5086. 2006-07-10 Chris Toshok <[email protected]>
  5087. * DataGridTableStyle.cs: just check if the property type is bool.
  5088. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  5089. Don't use CanRenderType.
  5090. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  5091. if our text == NullText. Remove CanRenderType.
  5092. * DataGridBoolColumn.cs: nuke CanRenderType.
  5093. * DataGrid.cs: reenable some code to end the current edit inside
  5094. of set_CurrentCell. This fixes the other 1.1.16 regression.
  5095. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  5096. Also, remove the visible_row_count arg from CalcRowHeaders, since
  5097. we don't need to worry about the actual height of the area.
  5098. 2006-07-10 Chris Toshok <[email protected]>
  5099. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  5100. mode, just return.
  5101. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  5102. the real sense of the IsInEditOrNavigateMode property (true =
  5103. navigate, false = edit). Also, update OnKeyPress to reflect this.
  5104. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  5105. column style exists, we still need to set its property descriptor
  5106. to match up with our list manager.
  5107. 2006-07-10 Chris Toshok <[email protected]>
  5108. * ThemeWin32Classic.cs: implement the new row/header painting
  5109. approach. The parent row painting will likely go away and
  5110. replaced with label controls, but the rest seems to work ok (and
  5111. efficiently).
  5112. * Theme.cs: change the way we draw datagrid rows. we don't draw
  5113. the row headers as a block now. Instead we draw them in the
  5114. normal draw-row loop. Add some calls for drawing parent rows and
  5115. relation rows.
  5116. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  5117. a default table style. Set the defaults from ThemeEngine.Current,
  5118. not SystemColors. Fix lots of misc issues with property setters.
  5119. * DataGrid.cs: move loads of style information out of this class
  5120. as it's being duplicated with DataGridTableStyle. keep track of a
  5121. special DataGridTableStyle for the properties we used to mirror
  5122. here. Switch all the style properties to access this table style
  5123. instead of instance fields of this class. Also add a internal
  5124. class to represent parent rows (more needs to be stored here, like
  5125. the selection state from the parent table, as well as the
  5126. expansion state.) Also, for datasources with relations, do the
  5127. right thing for collapse/expand, and add support for the
  5128. navigation/parent row buttons.
  5129. Lastly, fix the crash in the 1.1.16 build.
  5130. * GridTableStylesCollection.cs: make the explicit interface
  5131. implementations call the class's methods as opposed to duplicating
  5132. them.
  5133. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  5134. 0 so the text doesn't jump around when we move the cursor.
  5135. 2006-07-10 Jackson Harper <[email protected]>
  5136. * TextBoxBase.cs:
  5137. * ListBox.cs: Match MS's ToString (this makes debugging focus
  5138. stuff infinitely easier).
  5139. 2006-07-10 Jackson Harper <[email protected]>
  5140. * Control.cs (SelectNextControl): When checking the control's
  5141. parent use this instead of ctrl.parent so that null can be passed
  5142. to SelectNextControl. (I have unit tests for this).
  5143. - Remove unused var.
  5144. 2006-07-10 Chris Toshok <[email protected]>
  5145. * CurrencyManager.cs: correct one regression, the removal of the
  5146. finalType field. Also, add a MonoTODO on CanAddRows, implement
  5147. Refresh() correctly, and fix some event emission in
  5148. ListChangedHandler.
  5149. 2006-07-07 Alexander Olk <[email protected]>
  5150. * FileDialog.cs: Don't use brackets for new folders if they exist
  5151. under *nix. Instead use -(number of existing folders +1).
  5152. 2006-07-07 Alexander Olk <[email protected]>
  5153. * FileDialog.cs:
  5154. - Fixed really nasty bug #78771
  5155. - Don't block the whole GUI when reading directories with a lot of
  5156. entries. Use an other thread instead and call BeginInvoke to
  5157. update the ListView in MWFFileView
  5158. 2006-07-07 Chris Toshok <[email protected]>
  5159. * Control.cs (Dispose): release any Capture when disposing.
  5160. 2006-07-07 Chris Toshok <[email protected]>
  5161. * LinkLabel.cs (Select): if we chain up to the parent, set
  5162. focused_index to -1 so we'll search for the first available link
  5163. the next time the user tabs into us. Also, if the direction is
  5164. backward and focused_index == -1, start the search from the last
  5165. element.
  5166. 2006-07-07 Chris Toshok <[email protected]>
  5167. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  5168. is beyond the end of the text, don't do anything.
  5169. (CreateLinkPieces): set our ControlStyles.Selectable based on
  5170. whether or not we have any links.
  5171. (Link.Invalidate): use a loop instead of foreach.
  5172. (Link.set_Start): null out owner.sorted_links so it'll be
  5173. recreated by CreateLinkPieces.
  5174. 2006-07-06 Chris Toshok <[email protected]>
  5175. * LinkLabel.cs: revert the SetStyle change.
  5176. 2006-07-06 Chris Toshok <[email protected]>
  5177. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  5178. (OnEnableChanged): s/Refresh/Invalidate
  5179. (OnGotFocus): if we have a focused index already, refocus it (so
  5180. if we mouse out/in to the window it'll focus the right link).
  5181. (OnKeyDown): move the tab handling out of here.
  5182. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  5183. when we lose focus.
  5184. (OnMouseDown): don't Capture here - Control handles it. Also,
  5185. focus the active link.
  5186. (OnMouseUp): don't deal with Capture.
  5187. (OnPaintBackgroundInternal): remove.
  5188. (OnTextAlignChanged): CreateLinkPieces before calling the
  5189. superclass's method.
  5190. (OnTextChanged): call CreateLinkPieces before calling superclass's
  5191. method.
  5192. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  5193. move around.
  5194. (Select): implement this, moving the selection between different
  5195. links, and call parent.SelectNextControl if we don't have another
  5196. link to focus in the given direction.
  5197. (CreateLinkPieces): call Invalidate instead of Refresh.
  5198. 2006-07-06 Chris Toshok <[email protected]>
  5199. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  5200. new LinkLabel internals.
  5201. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  5202. over pieces looking for active/focused/etc links. also, deal with
  5203. runs of text (and links) with embedded \n's in them, and use
  5204. MeasureCharacterRanges instead of MeasureString to figure out the
  5205. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  5206. two-step.
  5207. 2006-07-04 Jackson Harper <[email protected]>
  5208. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  5209. XKB or key auto repeat, do it manually. Without key auto repeat,
  5210. when a key is held down we get key press, key release, key press,
  5211. key release, ... with auto repeat we get key press, key press, key
  5212. press ..., and then a release when the key is actually released.
  5213. 2006-07-03 Jackson Harper <[email protected]>
  5214. * TabControl.cs:
  5215. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  5216. rules, they are always control color regardless of the background
  5217. color.
  5218. 2006-07-02 Alexander Olk <[email protected]>
  5219. * FileDialog.cs: Added internal class MWFConfig.
  5220. Removed Registry support and replaced it with support for the new
  5221. MWFConfig class. See MWFConfig comments for more information.
  5222. 2006-06-30 Alexander Olk <[email protected]>
  5223. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  5224. rectangle. Added some patches from eno from bug #78490 and fixed
  5225. the arrow position for small up and down CPDrawScrollButtons.
  5226. 2006-06-30 Jackson Harper <[email protected]>
  5227. * InternalWindowManager.cs: Remove some debug code.
  5228. * Form.cs: When an MdiParent is set to null, the window is
  5229. "detatched" and becomes a normal window.
  5230. * MdiClient.cs: Don't bring the new child form to the front until
  5231. it is activated (setting it as active does this), this makes the
  5232. previously active forms titlebar get redrawn as inactive.
  5233. 2006-06-29 Peter Dennis Bartok <[email protected]>
  5234. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  5235. with later controls
  5236. 2006-06-29 Mike Kestner <[email protected]>
  5237. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  5238. arrow in keynav state. Fixes #78682.
  5239. 2006-06-28 Atsushi Enomoto <[email protected]>
  5240. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  5241. order (fixes #78393)
  5242. 2006-06-28 Jonathan Pobst <[email protected]>
  5243. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  5244. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  5245. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  5246. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  5247. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  5248. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  5249. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  5250. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  5251. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  5252. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  5253. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  5254. values)
  5255. 2006-06-28 Mike Kestner <[email protected]>
  5256. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  5257. 2006-06-28 Atsushi Enomoto <[email protected]>
  5258. * PropertyGrid.cs,
  5259. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  5260. item lines from other area (It also makes BackColor consistent and
  5261. compatible with .NET). Fixed bug #78564.
  5262. 2006-06-28 Jonathan Chambers <[email protected]>
  5263. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  5264. Patch from Eno for #78555.
  5265. 2006-06-27 Chris Toshok <[email protected]>
  5266. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  5267. * DataGridColumnStyle.cs: same.
  5268. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  5269. * DataGridDrawingLogic.cs: nuke.
  5270. 2006-06-27 Chris Toshok <[email protected]>
  5271. * DataGridTableStyle.cs: clean up the constructors, and build the
  5272. list of child relations for this table. I have no idea if this is
  5273. where we should be doing it (it probably isn't), but since we're
  5274. already iterating over the properties..
  5275. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  5276. struct and array for keeping track of row information, similar to
  5277. what's shown in a hack on
  5278. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  5279. * Theme.cs: be consistent about the naming of DataGrid methods,
  5280. prefering ColumnWidths and RowHeights over columnsWidths and
  5281. RowsHeights.
  5282. * ThemeWin32Classic.cs: same, and also add support for variable
  5283. sized rows (and the +/- expansion icons for related rows).
  5284. 2006-06-27 Peter Dennis Bartok <[email protected]>
  5285. * TextBoxBase.cs: Applied Eno's patch from #78660
  5286. 2006-06-27 Peter Dennis Bartok <[email protected]>
  5287. * Form.cs (ScaleCore): We don't want to scale our form if it's
  5288. state is minimized or maximized, but we still need to scale our
  5289. child windows. Also, added try/finally block to ensure layout
  5290. gets reset (Fixes #78697)
  5291. 2006-06-27 Peter Dennis Bartok <[email protected]>
  5292. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  5293. 2006-06-27 Peter Dennis Bartok <[email protected]>
  5294. * Form.cs: Fixed c+p error and added check to resize form if minimum
  5295. size is bigger than current size (Fixes #78709)
  5296. 2006-06-26 Peter Dennis Bartok <[email protected]>
  5297. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  5298. 2006-06-26 Mike Kestner <[email protected]>
  5299. * ComboBox.cs: only do Keypress handling in the combo when there
  5300. are items in the collection. Fixes #78710.
  5301. 2006-06-26 Chris Toshok <[email protected]>
  5302. * Binding.cs: make this work bi-directionally. also, clear up
  5303. other mixups between Push/Pull Data (e.g. we're supposed to pull
  5304. data when validating).
  5305. * BindingManagerBase.cs: trim some fully qualified collection
  5306. types.
  5307. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  5308. 2006-06-23 Chris Toshok <[email protected]>
  5309. * PropertyManager.cs: It appears (according to the unit tests)
  5310. that PropertyManager doesn't use
  5311. PropertyDescriptor.AddValueChanged to track propery value changes
  5312. in its datasource, but uses the same scheme as Binding, where it
  5313. looks for a <Property>Changed event and binds to it.
  5314. Also, according to the docs, IsSuspended always returns false for
  5315. a property manager with a non-null datasource.
  5316. 2006-06-22 Peter Dennis Bartok <[email protected]>
  5317. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  5318. need to update the actual DialogResult. (Fixes #78613)
  5319. 2006-06-22 Peter Dennis Bartok <[email protected]>
  5320. * Form.cs (ShowDialog): Release any captures before running the
  5321. new message pump (fixes #78680)
  5322. 2006-06-22 Mike Kestner <[email protected]>
  5323. * ListView.cs: Layout column widths properly in details mode even
  5324. if HeaderStyle.None is set. Fixes #78691.
  5325. 2006-06-21 Peter Dennis Bartok <[email protected]>
  5326. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  5327. 2006-06-21 Peter Dennis Bartok <[email protected]>
  5328. * Control.cs (ContainsFocus): Using new driver method to get focused
  5329. window, instead of trying to use internal tracking var, which can
  5330. recursion issues (Fixes #78685)
  5331. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  5332. XplatUIWin32.cs: Added GetFocus method to return focused window
  5333. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  5334. * ColorDialog.cs: when the mouse button is pressed inside the color
  5335. matrix, don't let the cursor move out of it until the button is
  5336. released, which is the behavior on windows. Changed 'colours' by
  5337. 'colors' to use the same word consistently.
  5338. 2006-06-21 Chris Toshok <[email protected]>
  5339. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  5340. child relation and back, using a stack). Also, remove
  5341. GetDataSource and the code that calls it - it's not needed. Also,
  5342. track CurrencyManager.ListName's removal.
  5343. 2006-06-21 Chris Toshok <[email protected]>
  5344. * CurrencyManager.cs: push some of the original type checking from
  5345. BindingContext.CreateBindingManager to here, and remove some of
  5346. the finalType stuff. Need more tests to make sure I've got the
  5347. ListName part right, and we might need more in SetDataSource.
  5348. * PropertyManager.cs: add a ctor that takes just the datasource,
  5349. and no property name. Make SetDataSource work with a null
  5350. property_name, and make Current return the data_source if the
  5351. property descriptor is null. this makes 'string foo = "hi";
  5352. BindingContext[foo].Current' return "hi" as it should.
  5353. * RelatedCurrencyManager.cs: make this code more generic - there's
  5354. no reason the parent manager has to be CurrencyManager, and
  5355. there's no reason to pass the DataRelation. It suffices to use a
  5356. BindingManagerBase and PropetyDescriptor.
  5357. * RelatedPropertyManager.cs: make a similar change here.
  5358. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  5359. flower I knew it could be.
  5360. 2006-06-20 Chris Toshok <[email protected]>
  5361. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  5362. data in the source has changed and we need to update the control,
  5363. so s/PullData/PushData.
  5364. * CurrencyManager.cs: Refresh is meant to update the control from
  5365. data in the datasource. So, s/PullData/PushData.
  5366. * BindingContext.cs: add more ugliness (we weren't handling the
  5367. case where data_source = DataTable and data_member = column_name).
  5368. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  5369. from the perspective of the datasource. PullData pulls from the
  5370. control, PushData pushes to the control.
  5371. 2006-06-20 Chris Toshok <[email protected]>
  5372. * BindingContext.cs: rewrite the CreateBindingManager code to
  5373. handle navigation paths more or less properly. This could
  5374. definitely stand some more work, in particular to push the
  5375. recursion up to the toplevel. But that relies on fixes in other
  5376. places (System.Data comes to mind).
  5377. Also, move to a flat hashtable (and encode the twolevel nature of
  5378. the dictionary into the hash key). This lets us implement the
  5379. IEnumerable.GetEnumerator method.
  5380. * RelatedCurrencyManager.cs: new class. Update our view based on
  5381. our relation and our parent CurrencyManager's position.
  5382. * CurrencyManager.cs: split out some logic from the ctor into
  5383. SetView, so it can be called from the new RelatedCurrencyManager
  5384. subclass.
  5385. * RelatedPropertyManager.cs: new class. Update our datasource
  5386. based on the position of our parent CurrencyManager.
  5387. * PropertyManager.cs: split out some logic from the ctor into
  5388. SetDataSource, so it can be called from the new RelatedDataSource
  5389. subclass. Also, make the Current getter return the value
  5390. of the PropertyDescriptor, not the data_source.
  5391. * Binding.cs: no need to duplicate the string splitting code here.
  5392. 2006-06-19 Peter Dennis Bartok <[email protected]>
  5393. * Control.cs:
  5394. - set_Enabled: OnEnabledChanged is not called if the inherited state
  5395. of the control is not altered, even though we might be changing the
  5396. internal state of the control (#78458)
  5397. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  5398. OnEnabledChanged, to allow easy altering of any child window state
  5399. - OnEnabledChanged: Added code to enable/disable driver window state
  5400. - OnParentEnabledChanged: Instead of firing the event, call
  5401. OnEnabledChanged, which will fire the event and also a) set driver
  5402. window state and pass the enabled state to any grandchildren (#78458)
  5403. 2006-06-19 Jackson Harper <[email protected]>
  5404. * InternalWindowManager.cs: We don't set the cursor explicitly
  5405. thats done via the response to NCHITTESTs.
  5406. - Don't need to adjust for titlebar heights anymore, the
  5407. coordinates are coming in the correct coordinates now (see peters
  5408. last patch).
  5409. 2006-06-19 Peter Dennis Bartok <[email protected]>
  5410. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  5411. being translated relative to whole window, instead of client window.
  5412. That caused broken offsets on mouseclick (and caused gas for our
  5413. InternalWindowManager)
  5414. 2006-06-15 Peter Dennis Bartok <[email protected]>
  5415. * TextControl.cs:
  5416. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  5417. - Undo(): Added replay of cursor move on DeleteChars action; added
  5418. calling Undo() again if a recorded cursor move is invalid (to
  5419. ensure that some action is performed on Undo)
  5420. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  5421. 2006-06-16 Jackson Harper <[email protected]>
  5422. * MdiClient.cs: Instead of just sizing maximized windows when
  5423. there is a resize we also have to adjust the Y of minimized
  5424. windows, so they stay pinned to the bottom of the mdi container.
  5425. - Eliminate separate tracking of the active control, we can just
  5426. get this from the controls collection.
  5427. - Paint the decorations for the newly activated titlebar so we get
  5428. a pretty blue bar.
  5429. * InternalWindowManager.cs:
  5430. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  5431. even if they are a tool window.
  5432. 2006-06-15 Peter Dennis Bartok <[email protected]>
  5433. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  5434. undo buffer, these can happen when text was deleted and the cursor
  5435. was recorded first. Since we will also have a recorded cursor
  5436. after the delete this is not an issue. (Fixes #78651)
  5437. 2006-06-14 Peter Dennis Bartok <[email protected]>
  5438. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  5439. instead properly track control states internally (allows us to
  5440. remove is_selected from Control)
  5441. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  5442. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  5443. whose width is not a multiple of 8.
  5444. 2006-06-13 Jackson Harper <[email protected]>
  5445. * MdiClient.cs: Only maximize the next child if the current one
  5446. is maximized.
  5447. 2006-06-13 Chris Toshok <[email protected]>
  5448. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  5449. modified. Also, guard against grid or grid_drawing being null in
  5450. Invalidate.
  5451. * DataGrid.cs: Reformat tons of getters/setters. In the
  5452. DataMember setter, just call SetNewDataSource instead of
  5453. duplicating some of its functionality. In SetNewDataSource, don't
  5454. check ListManager for null, since the property getter creates the
  5455. object if needed.
  5456. * DataGridTableStyle.cs: don't set TableStyle or call
  5457. SetDataGridInternal on the column here, it's done in
  5458. GridColumnStylesCollection.Add.
  5459. * GridColumnStylesCollection.cs: fix all the explicit interface
  5460. implementations to just call our methods. Nuke AddInternal() and
  5461. move the body of it to Add(). Also, add a call to
  5462. column.SetDataGridInternal to Add().
  5463. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  5464. base()+duplicate code. Also, use the Format property instead of
  5465. format to generate an Invalidate ala MS. Lastly, create the
  5466. textbox here, unconditionally.
  5467. (set_Format): call Invalidate.
  5468. (get_TextBox): no need to call EnsureTextBox.
  5469. (Commit): remove the message box.
  5470. (Edit) remove the call to EnsureTextBox.
  5471. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  5472. (EnterNullValue): no need to check textbox for null.
  5473. (HideEditBox): no need to check textbox for null.
  5474. (SetDataGridInColumn): add the textbox to the grid's controls.
  5475. (EnsureTextBox): nuke.
  5476. 2006-06-13 Jackson Harper <[email protected]>
  5477. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  5478. and redraw the buttons when needed. Unhook when the window is
  5479. unmaximized.
  5480. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  5481. needs this so that it can redraw its buttons when the menu is
  5482. repainted.
  5483. * InternalWindowManager.cs:
  5484. * Form.cs: The method order has changed for DrawMaximizedButtons,
  5485. so that it can be a PaintEventHandler.
  5486. 2006-06-13 Jackson Harper <[email protected]>
  5487. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  5488. window is activated and maximized, even if it wasn't before.
  5489. - When a new window is activated repaint the decorations of the
  5490. old one, so that it no longer has the Active "look" (the blue
  5491. titlebar).
  5492. * InternalWindowManager.cs: Open up CreateButtons to base classes
  5493. so they can recreate the buttons on state changes.
  5494. - If a window is maximized give it all three buttons
  5495. * MdiWindowManager.cs: Create the titlebar buttons when the state
  5496. is changed, this is needed because a toolwindow will not have all
  5497. three buttons until it is maximized.
  5498. 2006-06-13 Atsushi Enomoto <[email protected]>
  5499. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  5500. Fixed bug #78609.
  5501. 2006-06-12 Jackson Harper <[email protected]>
  5502. * KeysConverter.cs: Make sure we handle the Ctrl special case
  5503. if its the only key.
  5504. 2006-06-12 Jackson Harper <[email protected]>
  5505. * Theme.cs: Add a method to get the size of a managed window
  5506. toolbar button.
  5507. * InternalWindowManager.cs: Remove the ButtonSize property, this
  5508. should be retrieved from the theme.
  5509. * MdiWindowManager.cs: Get the button size from the theme
  5510. * ThemeWin32Classic.cs: Make the method to get the managed window
  5511. titlebar button size public.
  5512. - Handle the different button sizes of maximized toolwindows
  5513. (should match any maximized window).
  5514. - Get the titlebar height from the theme, not the WM (which gets
  5515. it from the theme).
  5516. 2006-06-12 Jackson Harper <[email protected]>
  5517. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  5518. event down to the mdi window manager.
  5519. - Expose some extra stuff to base classes
  5520. - Make sure to end the Capture on an NC Mouse up, so that we can
  5521. get double clicks properly, and the sizing doens't stick.
  5522. - When doing PointToClient contain it in the workable desktop
  5523. area, this prevents windows from changing size when the cursor is
  5524. pulled outside of the working area while sizing.
  5525. * MdiWindowManager.cs: When we get a double click maximize the
  5526. window.
  5527. - Reset the cursor after handling mode changes.
  5528. 2006-06-12 Peter Dennis Bartok <[email protected]>
  5529. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  5530. current desktop, instead of just assuming a 0, 0 origin. This
  5531. is needed for our internal window manager, to know the top
  5532. margin of the desktop
  5533. 2006-06-12 Chris Toshok <[email protected]>
  5534. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  5535. we need this to get rid of the selected background in the bool
  5536. column.
  5537. (CancelEditing): move the ConcedeFocus call to above the Abort
  5538. call. Also, set is_changing to false and invalidate the row
  5539. header if we were changing before.
  5540. (ProcessKeyPreviewInternal): remove, since noone outside this
  5541. class calls it anymore. Roll the code into ProcessKeyPreview.
  5542. (EndEdit): remove the internal version.
  5543. (InvalidateCurrentRowHeader): make private.
  5544. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  5545. Keys.Escape handling (and with it the last call to
  5546. DataGrid.EndEdit from outside the class.)
  5547. 2006-06-12 Chris Toshok <[email protected]>
  5548. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  5549. (OnKeyPress): set isedit to true.
  5550. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  5551. already handled by the grid.
  5552. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  5553. right. ugh.
  5554. (set_DataSource): SetDataSource always returns true, so stop
  5555. putting it in an if statement.
  5556. (EndEdit): get rid of some {}'s
  5557. (ProcessGridKey): return true in case Keys.Escape.
  5558. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  5559. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  5560. PositionChanged, stopped connecting to CurrentChanged.
  5561. (GetDataSource): simplify this a bunch.
  5562. (SetDataSource): change return type from bool to void.
  5563. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  5564. to this, and make sure we don't set ListManager.Position inside
  5565. set_CurrentCell.
  5566. (OnListManagerItemChanged): if we're passed an actual index,
  5567. redraw that row.
  5568. * CurrencyManager.cs (set_Position): don't call PullData here.
  5569. 2006-06-09 Jackson Harper <[email protected]>
  5570. * TreeNode.cs: Recalculate the visible order before doing the
  5571. Expand/Collapse Below calls, because those calls generate an
  5572. expose.
  5573. - Reduce calls to the TreeView property, which is mildly expensive
  5574. by using a local var.
  5575. * Form.cs: Layout the MDI child windows when creating the parent
  5576. form.
  5577. - Don't use the internal constructor anymore
  5578. * MdiClient.cs: use the parent form width/height (if available)
  5579. when laying out the child windows, we do this because the
  5580. mdiclient isn't docked yet when the initial layout is done.
  5581. - Don't need an internal constructor anymore.
  5582. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  5583. * FileDialog.cs: handle access errors when trying to create a folder
  5584. or changing to a directory. No need to initialize out parameters.
  5585. 2006-06-08 Alexander Olk <[email protected]>
  5586. * FileDialog.cs: Append a number when creating a new folder if the
  5587. folder already exists (use parenthesis instead of square brackets)
  5588. 2006-06-08 Alexander Olk <[email protected]>
  5589. * FileDialog.cs:
  5590. - Disabled registry support for windows and added better registry
  5591. error checking for other systems (need to investigate why it
  5592. works perfectly on my system)
  5593. - If a folder already exist show an error MessageBox instead of
  5594. trying to create an indexed name.
  5595. - Fixed a non intentional typo.
  5596. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  5597. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  5598. 2006-06-08 Alexander Olk <[email protected]>
  5599. * FileDialog.cs: When creating a new folder don't crash if the
  5600. folder already exists.
  5601. 2006-06-08 Alexander Olk <[email protected]>
  5602. * FileDialog.cs: Allmost a complete rewrite.
  5603. - added a "virtual" file system that handles the differences
  5604. between unix and windows file systems (especially the directory
  5605. structure). Moved most of the directory and file handling code
  5606. into the vfs.
  5607. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  5608. UnixFileSystem and FSEntry.
  5609. - Recently used folder/directory, size, location and used file names
  5610. (file name ComboBox) are now stored in the registry and get read
  5611. before the dialog shows up (fixes part 6 of bug #78446).
  5612. - Creation of new folders/directories is now possible (context menu
  5613. or ToolBar). Added TextEntryDialog for this that fills in the gap
  5614. until ListView.LabelEdit works.
  5615. - Fixed cursor handling (bug #78527) and focus handling for
  5616. PopupButtonPanel
  5617. - Various "Search in" ComboBox enhancements. The content of the
  5618. dropdown listbox now almost matches ms.
  5619. - Changed the behaviour when the user switches to SpecialFolder
  5620. Recent to show the ListView in View.Details.
  5621. - Beside using the ToolBar to change the View property of the
  5622. file ListView it is now possible to use the context menu too.
  5623. 2006-06-08 Alexander Olk <[email protected]>
  5624. * ComboBox.cs: Don't create a new ObjectCollection when an item
  5625. gets inserted. Just insert the item in the existing object_items
  5626. ArrayList.
  5627. 2006-06-08 Jackson Harper <[email protected]>
  5628. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  5629. that the treeview and root node checks are done also, this fixes a
  5630. regression i caused in the unit tests.
  5631. 2006-06-07 Wade Berrier <[email protected]>
  5632. * RichTextBox.cs: More ISO8859-1 -> unicode
  5633. 2006-06-07 Mike Kestner <[email protected]>
  5634. * ComboBox.cs : use items to hold highlight/selection so that
  5635. collection insertions don't require synchronization.
  5636. 2006-06-07 Jackson Harper <[email protected]>
  5637. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  5638. routine. We now always keep the sized edge at the cursor instead
  5639. of computing movement and adjusting rects. There is one buglet
  5640. with this method though when the cursor is moved over area that
  5641. the window can not expand too (such as the toolbars on the desktop).
  5642. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  5643. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  5644. here. Fixes crash on startup in AlbumSurfer.
  5645. 2006-06-07 Peter Dennis Bartok <[email protected]>
  5646. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  5647. values
  5648. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  5649. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  5650. statement to avoid calling XNextEvent which will block if another thread
  5651. took the event that we were expecting. Fixes bug #78605.
  5652. 2006-06-07 Mike Kestner <[email protected]>
  5653. * ListView.cs : isolated checkbox clicking from the selection logic.
  5654. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  5655. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  5656. * Form.cs: Check that the value passed to Form.DialogResult
  5657. is a valid enum value.
  5658. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  5659. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  5660. Computer'. Clicking it in the network view goes to 'My Computer'.
  5661. Added CIFS filesystem type. Display the mount point of filesystems.
  5662. Avoid duplicate mount points (happens for me with CIFS);
  5663. 2006-06-06 Jackson Harper <[email protected]>
  5664. * InternalWindowManager.cs: Draw the maximized windows buttons
  5665. when resizing.
  5666. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  5667. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  5668. all other dialogs. Fixes bug #78585.
  5669. 2006-06-06 Mike Kestner <[email protected]>
  5670. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  5671. Only invalidate checkbox on checkstate changes to avoid flicker.
  5672. * ListBox.cs : avoid unselect/select when clicking selected item.
  5673. avoid reselection flicker for already multiselected items.
  5674. Fixes #78382.
  5675. 2006-06-06 Jackson Harper <[email protected]>
  5676. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  5677. the parent form so that the menu is removed if needed.
  5678. 2006-06-06 Mike Kestner <[email protected]>
  5679. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  5680. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  5681. 2006-06-06 Mike Kestner <[email protected]>
  5682. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  5683. 2006-06-06 Jackson Harper <[email protected]>
  5684. * Control.cs: Use the property (instead of the field) to get the
  5685. default cursor so it is instantiated correctly.
  5686. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  5687. resizes so we need to manually repaint the window decorations here.
  5688. - Set the titlebar button locations as soon as they are created,
  5689. otherwise they are not set correctly on win32.
  5690. 2006-06-06 Chris Toshok <[email protected]>
  5691. * CurrencyManager.cs (set_Position): call PullData before
  5692. OnCurrentChanged.
  5693. (AddNew): after calling IBindingList.AddNew, update our
  5694. listposition, and call OnCurrentChanged/OnPositionChanged (without
  5695. calling PullData).
  5696. (OnCurrentChanged): remove the call to PullData from here.
  5697. (OnItemChanged): remove the call to PushData from here.
  5698. (OnPositionChanged): change the test from == null to != null to
  5699. match the other methods.
  5700. (ListChangedHandler): the grossest part of the patch. Implement
  5701. this such that it passes the unit tests in CurrencyManagerTest and
  5702. the output more or less matches that of MS's implementation.
  5703. 2006-06-06 Mike Kestner <[email protected]>
  5704. * ListView.cs : only update check state on single click.
  5705. * ThemeWin32Classic.cs : fix focus drawing for details view without
  5706. fullrowselect. Fixes #78454.
  5707. * XplatUIX11.cs : fix for double click emission.
  5708. 2006-06-05 Jonathan Chambers <[email protected]>
  5709. * PropertyGridView.cs : Applied Atsushi's patch to fix
  5710. font dialog bug (#78197).
  5711. 2006-06-05 Jackson Harper <[email protected]>
  5712. * TreeNode.cs: Compute the next node for expanding/collapsing
  5713. correctly. We now factor in nodes without a NextNode
  5714. correctly. (Fixes somes cases in nunit-gui).
  5715. * InternalWindowManager.cs: Set the bounds when updating the
  5716. virtual position of a tool window.
  5717. 2006-06-05 Chris Toshok <[email protected]>
  5718. * DataGrid.cs: rename cached_currencymgr to list_manager.
  5719. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  5720. some.
  5721. (CurrentRow, CurrentColumn): single accessors so we can make the
  5722. cursor movement code a lot easier to understand.
  5723. (CurrentRowIndex): implement this in terms of CurrentRow.
  5724. (BeginEdit): clean this up a bit.
  5725. (CancelEditing): sort out the is_editing/is_changing/is_adding
  5726. stuff a little.
  5727. (EndEdit): minor changes.
  5728. (OnKeyDown): add a comment about a (most likely) unnecessary
  5729. check.
  5730. (OnMouseDown): cancel editing when we click on a row header. And
  5731. use the CurrentRow setter, not CurrentCell.
  5732. (ProcessDialogKey): directly call ProcessGridKey.
  5733. (UpdateSelectionAfterCursorMove): factor out this common block of
  5734. code (it's used everywhere that we move the cursor by updating row
  5735. or column).
  5736. (ProcessGridKey): pretty substantial overhaul. Use the
  5737. CurrentRow/CurrentColumn properties to make the code a lot more
  5738. readable. Only use the CurrentCell property when we have to
  5739. modify both row and column at once. Tab behavior is still broken,
  5740. and Delete is untested.
  5741. (Select): if we have no selected rows, set selection_start to
  5742. @row.
  5743. (EditCurrentCell): rename EditCell this. It was only ever invoked
  5744. with CurrentCell as the arg, so drop the arg and rename it.
  5745. * DataGridColumnStyle.cs: clean up the constructors a little, and
  5746. drop CommonConstructor().
  5747. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  5748. actually get notified when the user hits it.
  5749. (ProcessKeyMessage): *substantially* simplify this method.
  5750. There's no reason (that I can see) for the textbox to be making
  5751. calls into the datagrid at all. Remove all of them but the ones
  5752. for Enter handling. those will take some more work.
  5753. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  5754. calling HideEditBox.
  5755. (HideEditBox): if we have an active textbox, render it invisible
  5756. without causing a re-layout of the datagrid.
  5757. 2006-06-05 Mike Kestner <[email protected]>
  5758. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  5759. collection changes by resetting it to Items[0]. Fixes #78587.
  5760. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  5761. * MessageBox.cs: if the height of the text is larger than the icon_size,
  5762. use that. Fixes bug #78575.
  5763. 2006-06-05 Jackson Harper <[email protected]>
  5764. * TreeView.cs: Fix line drawing when scrolling. To do this each
  5765. node is basically responsible for drawing its entire horizontal
  5766. area. When drawing a node it draws its parent node lines if
  5767. needed.
  5768. - Adjust the clip area to the viewport rectangle
  5769. - Fix Left/Right key handling to match MS. (It expand/collapses
  5770. and moves to parents/first child but does not move selection to
  5771. sibling nodes).
  5772. - Fix SetTop to work with new bound calculation code
  5773. - When scrollbars are no longer needed we need to reset scrolling
  5774. vars and recalculate the visible order so the redraw is correct
  5775. * TreeNode.cs: We can't expand/collapse nodes with no children.
  5776. 2006-06-03 John Luke <[email protected]>
  5777. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  5778. so the colors work without dev packages
  5779. 2006-06-02 Peter Dennis Bartok <[email protected]>
  5780. * Control.cs
  5781. - Select: Implemented to just use activate. Seems to match MS
  5782. behaviour closest. Documented to only do actual control walking
  5783. based on it's parameters if in a container control so I moved
  5784. the code there.
  5785. - Removed selection check logic from our internal Select() method
  5786. * ContainerControl.cs:
  5787. - Select: Moved selection logic from Control here, since MS documents
  5788. that containers obey the bool arguments. No longer calling base
  5789. 2006-06-02 Jackson Harper <[email protected]>
  5790. * TreeView.cs: If the selected node isn't changed when we get
  5791. focus update the previously selected node so that we see the
  5792. selection box.
  5793. 2006-06-02 Mike Kestner <[email protected]>
  5794. * ComboBox.cs: restructure grab and general mouse event handling.
  5795. Make the composite control raise mouse events like it was a single
  5796. control for leaves/enters/motion/up/down events. fix dropdown list
  5797. coordinate mangling and refactor it into the scrollbar subclass to
  5798. reduce code duplication. Fixes #78282 #78361 and #78457.
  5799. 2006-06-02 Mike Kestner <[email protected]>
  5800. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  5801. automatically in the Control.WndProc.
  5802. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  5803. * FileDialog.cs: fix crash when running SharpChess, which sets the
  5804. FilterIndex to 2 with only one Filter.
  5805. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  5806. * ToolBar.cs: add SizeSpecified property.
  5807. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  5808. try to figure out our real size, otherwise fallback to what the
  5809. container says.
  5810. 2006-06-01 Peter Dennis Bartok <[email protected]>
  5811. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  5812. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  5813. up the event
  5814. 2006-06-01 Mike Kestner <[email protected]>
  5815. * ListView.cs: revamp the focus management in ListView. It still
  5816. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  5817. better than not handling focus at all. Will revisit when pdb feels
  5818. the general focus handling is solid. Fixes #78526.
  5819. 2006-06-01 Jackson Harper <[email protected]>
  5820. * TreeView.cs: Set the default border style in the constructor.
  5821. - Move painting to use OnPaintInternal instead of capturing
  5822. WM_PAINT, this is the correct way of doing things
  5823. - UpdateBelow shouldn't invalidate the scrollbar area
  5824. - Cap the top on update below in case the node was above the top
  5825. of the viewport rectangle.
  5826. - ExpandBelow and Collapse below need to obey Begin/End Update.
  5827. * TreeNode.cs: Make is_expanded internal so the treenode
  5828. collection can change it without firing the whole event chain.
  5829. * TreeNodeCollection.cs: When clearing all the child nodes make
  5830. sure to recalc the visible order.
  5831. - Improve algo for remove the top node
  5832. 2006-06-01 Peter Dennis Bartok <[email protected]>
  5833. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  5834. SendMessage directly calling window procedures, which in turn might
  5835. call SetFocus()
  5836. 2006-06-01 Peter Dennis Bartok <[email protected]>
  5837. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  5838. has focus (works around X11 sending a FocusIn after our SetFocus)
  5839. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  5840. 2006-06-01 Alexander Olk <[email protected]>
  5841. * Mime.cs: Fix for the NET_2_0 build.
  5842. NameValueCollection needs StringComparer now.
  5843. 2006-05-31 Chris Toshok <[email protected]>
  5844. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  5845. return (via an out parameter) the starting X of the column.
  5846. (UpdateVisibleColumn): track change to FromPixelToColumn.
  5847. (HitTest): add a ColumnResize case here.
  5848. (DrawResizeLine): new function, probably poorly named.
  5849. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  5850. only need to keep one reference.
  5851. (set_ListManager): same.
  5852. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  5853. Also, add support for HitTestType.ColumnResize.
  5854. (OnMouseMove): add column resize behavior here, and change the
  5855. cursor to the correct one as we move around the datagrid.
  5856. (OnMouseUp): terminate the column resize if we're resizing.
  5857. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  5858. for the current cell.
  5859. (ConnectListManagerEvents): use cached_currencymgr.
  5860. (DisconnectListManagerEvents): fill this in, using
  5861. cached_currencymgr.
  5862. (SetCurrentCell): remove cached_currencymgr_events handling.
  5863. (SetDataMember): only call DisconnectListManagerEvents if
  5864. cached_currencymgr is != null.
  5865. (SetDataSource): same.
  5866. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  5867. cached_currencymgr.
  5868. 2006-05-31 Jackson Harper <[email protected]>
  5869. * BindingManagerBase.cs: Remove somedebug code that creeped into
  5870. SVN.
  5871. * TreeNode.cs: We get the indent level dynamically right now, so
  5872. don't track it as a member.
  5873. * TreeNodeCollection.cs: Make sure all nodes added to the list
  5874. have parents, treeviews/topnodes setup properly.
  5875. - Don't attempt to track indent level.
  5876. 2006-05-30 Jackson Harper <[email protected]>
  5877. * BindingContext.cs: Create the currency manager tables here.
  5878. This allows us to more easily create null tables (when bad data
  5879. members are used), and more easily create related currency
  5880. managers.
  5881. * CurrencyManager.cs: All the table creation stuff is done by the
  5882. binding context now.
  5883. - Current should throw an exception if listposition is -1.
  5884. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  5885. been bound yet.
  5886. 2006-05-30 Mike Kestner <[email protected]>
  5887. * ListView.cs: allow reexpansion of zero-width column headers.
  5888. Fixes #78528.
  5889. 2006-05-28 Chris Toshok <[email protected]>
  5890. * CurrencyManager.cs (get_Current): after the late binding
  5891. listposition = -1 fix, we need to guard against it here and return
  5892. null, otherwise we raise an exception (which is swallowed
  5893. elsewhere, and breaks datagrid databinding.)
  5894. 2006-05-26 Peter Dennis Bartok <[email protected]>
  5895. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  5896. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  5897. 2006-05-26 Jackson Harper <[email protected]>
  5898. * ControlPaint.cs:
  5899. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  5900. values, it's faster and it's all we care about (we don't care if
  5901. the names aren't equal).
  5902. * KeyboardLayouts.cs: Eliminate some dead code.
  5903. - Lazy init things
  5904. * X11Keyboard.cs: Lazy init keyboard detection.
  5905. - Cleanup access modifiers a little.
  5906. 2006-05-26 Peter Dennis Bartok <[email protected]>
  5907. * XplatUIX11.cs: Once again, attempting to get layout just right.
  5908. 2006-05-26 Peter Dennis Bartok <[email protected]>
  5909. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  5910. the sizes of each link section, that will result in sizes that
  5911. match DrawString's layout (Fixes #78391)
  5912. 2006-05-27 Alexander Olk <[email protected]>
  5913. * FileDialog.cs: If AddExtension property is true autocomplete the
  5914. extensions in SaveFileDialog correctly. Fixes bug #78453.
  5915. Set MyNetwork and MyComputer to "C:\" for windows. This should
  5916. fix part 8 of bug #78446 for now.
  5917. 2006-05-26 Chris Toshok <[email protected]>
  5918. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  5919. invalidate the current row header if we need to, but presumably
  5920. we'll invalidate the row corrsponding to the bounds or
  5921. editingControl.
  5922. (GridHScrolled): switch back to this method, as it's part of the
  5923. public api. *sigh*.
  5924. (GridVScrolled): same.
  5925. (OnMouseWheel): hack up something that more or less works. Call
  5926. GridHScrolled/GridVScrolled directly, instead of duplicating much
  5927. of their code here.
  5928. (EnsureCellVisibility): reinstate a bunch of this code, since we
  5929. can't just set the scrollbar Value and expect to do all the work
  5930. in the ValueChanged handler. Also, Call Update() after scrolling
  5931. in one direction so the other XplatX11.ScrollWindow call has the
  5932. proper stuff in the proper places.
  5933. (EditCell): set is_editing to true before calling .Edit.
  5934. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  5935. don't bother comparing first.
  5936. (OnKeyPress): call grid.ColumnStartedEditing before calling
  5937. base.OnKeyPress. this will set is_changing and invalidate the row
  5938. header if necessary.
  5939. (ProcessKeyMessage): for WM_CHAR messages, call
  5940. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  5941. and WM_KEYDOWN.
  5942. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  5943. it's done in the DataGrid.
  5944. (NextState): call grid.ColumnStartedEditing, which takes care of
  5945. invalidating the row header (and setting is_changing).
  5946. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  5947. here. it's done in the DataGrid.
  5948. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  5949. * Control.cs: allow changing the cursor when the mouse position is
  5950. out of bounds but Capture is set.
  5951. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  5952. linklabel but released somewhere else.
  5953. 2006-05-25 Jackson Harper <[email protected]>
  5954. * TreeView.cs: When we get focus if there is no selected node make
  5955. it the top node
  5956. - Remove some uneeded setup code from Draw.
  5957. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  5958. a new node is inserted make the new node the top.
  5959. * XplatUIX11.cs:
  5960. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  5961. be used (should be faster).
  5962. 2006-05-25 Chris Toshok <[email protected]>
  5963. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  5964. problem with the last commit.
  5965. 2006-05-25 Chris Toshok <[email protected]>
  5966. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  5967. need the invalidate call here, while scrolling right-to-left via
  5968. the left arrow key (i.e. moving the editing cell while scrolling).
  5969. * DataGrid.cs (.ctor): remove the initialization of
  5970. ctrl_pressed/shift_pressed. We no longer track them using key
  5971. up/down handlers, but by using Control.ModifierKeys. Also, switch
  5972. to using ValueChanged handlers on the scrollbars instead of
  5973. Scrolled event handlers. This simplifies a bunch of the scrolling
  5974. code.
  5975. (GridHValueChanged): rename from GridHScrolled, and change it to
  5976. work with the new event args.
  5977. (GridVValueChanged): same.
  5978. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  5979. (OnMouseWheel): actually scroll the datagrid. Don't change the
  5980. selected cell.
  5981. (ProcessGridKey): correct all the keyboard navigation stuff I
  5982. could find. Ctrl up/down/left/right/home/end work now.
  5983. (EnsureCellVisibility): correct method name spelling. Also,
  5984. simplify this a touch by not explicitly calling the
  5985. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  5986. scrollbar value.
  5987. (OnKeyUpDG): no need for this method now.
  5988. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  5989. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  5990. Fixes bug #78392.
  5991. 2006-05-25 Chris Toshok <[email protected]>
  5992. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  5993. r61019.
  5994. 2006-05-25 Peter Dennis Bartok <[email protected]>
  5995. * Application.cs: Moved setting of is_modal and closing to before
  5996. we create the control, to allow the event handlers called as a
  5997. result of creation affect closing. Also removed Gonzalo's previous
  5998. change to setting DialogResult, the behaviour has been moved to
  5999. Form.ShowDialog()
  6000. * Form.cs:
  6001. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  6002. handle it instead
  6003. - ShowDialog(): If no dialog result is set, we need to return Cancel
  6004. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  6005. the close is cancelled
  6006. 2006-05-25 Jackson Harper <[email protected]>
  6007. * StatusBar.cs: We only need to update the sizes of the other
  6008. panels when we have auto size contents. Also we are only updating
  6009. the contents of the panel, not the borders, so compensate for the
  6010. border width (TODO: get this width from the theme somehow).
  6011. * TreeView.cs: Scrollable is true by default
  6012. - Use invalidate instead of refresh where needed
  6013. - Factor the scrollable value into scrollbar updating
  6014. - Update the scrollbars if the Scrollable property is altered
  6015. - Update the selected node if its ImageIndex is changed
  6016. - Handle null nodes in UpdateNode (mainly so we don't have to
  6017. check if selected is null when updating it
  6018. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  6019. are factored into the visible count
  6020. - Use VisibleCount for clarity in the code
  6021. - When the font is changed we need to recurse through all the
  6022. nodes and invalidate their sizes
  6023. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  6024. * Application.cs: set the DialogResult to fixed when the main form is
  6025. hidden or destroyed while being modal.
  6026. 2006-05-25 Miguel de Icaza <[email protected]>
  6027. * Theme.cs: Use Tangoified messagebox icons.
  6028. (GetSizedResourceImage): Also cope with width = 0 and do not
  6029. trigger a warning in that case (0 means "give me your icon from
  6030. the resouce, no special size needed).
  6031. 2006-05-25 Peter Dennis Bartok <[email protected]>
  6032. * Application.cs: Leave runloop if the the main modal form is
  6033. hidden (fixes #78484)
  6034. 2006-05-25 Atsushi Enomoto <[email protected]>
  6035. * BindingContext.cs : reject null datasource in Contains() and
  6036. Item[].
  6037. * CurrencyManager.cs : check data_member validity when data_source
  6038. is dataset. When it is late binding, the initial position is -1.
  6039. 2006-05-24 Jackson Harper <[email protected]>
  6040. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  6041. inserted nodes that aren't visible. This changes the
  6042. max_visible_order which confuses scrollbar settings.
  6043. - Use the enumerator to get the prev node instead of duplicating
  6044. code.
  6045. * TreeView.cs: Use new method for setting scrollbar values
  6046. - Don't set the bounds every time the scrollbar is updated
  6047. - When updating below the root node use an invalidate instead of a
  6048. refresh to prevent the child controls (scrollbars) from being
  6049. refreshed. (UpdateBelow still needs to be reworked anyways).
  6050. - Reenable SetBottom now that visible orders are set correctly,
  6051. added some debug code incase we ever get bad values there again.
  6052. - Set the scrollbar max to 2 less then the max value, this
  6053. compensates for the max value being one above the node count, and
  6054. for scrollbars adding one extra "notch".
  6055. - When drawing image nodes if there is an imagelist we draw the
  6056. first image in the list if the supplied image index is out of the
  6057. image list's bounds.
  6058. 2006-05-24 Peter Dennis Bartok <[email protected]>
  6059. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  6060. we receive a size change from the WM (Fixes #78503)
  6061. 2006-05-24 Peter Dennis Bartok <[email protected]>
  6062. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  6063. rectangle (Fixes #78501)
  6064. 2006-05-24 Peter Dennis Bartok <[email protected]>
  6065. * ButtonBase.cs:
  6066. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  6067. as a bitfield.
  6068. - Fixed MouseMove to no longer switch pressed state unless the left
  6069. mouse button is pressed. Atsushi provided the original patch (#78485)
  6070. 2006-05-24 Jackson Harper <[email protected]>
  6071. * ScrollBar.cs: New internal methods that allow us to change a
  6072. couple values on the scrollbar (the most common case is maximum
  6073. and large change) without getting multiple invalidates.
  6074. 2006-05-24 Chris Toshok <[email protected]>
  6075. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  6076. (Edit): save off the original state in oldState, and set
  6077. grid.is_editing to true.
  6078. (OnKeyDown): abort editing if escape is pressed. also, call
  6079. NextState if space is pressed.
  6080. (OnMouseDown): call NextState.
  6081. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  6082. here. Also, only invalidate the row header once (on the initial
  6083. is_changing switch) to save on redraws.
  6084. 2006-05-24 Chris Toshok <[email protected]>
  6085. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  6086. if the value in the cell is different than it was before. This
  6087. keeps us from triggering a layout when we move around a datarid
  6088. with a highlighted cell.
  6089. (Edit): suspend layout when creating/positining the text box, and
  6090. resume passing false so we don't ever actually re-layout.
  6091. (ReleaseHostedControl): same.
  6092. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  6093. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  6094. control-key sequences should go to the datagrid - remove that
  6095. lock. Also, modify the conditions under which we move between
  6096. cells when moving the cursor within a cell, and remove the "this"
  6097. and "base" from field accesses. We weren't even consistent, given
  6098. they all were in the base class.
  6099. 2006-05-24 Atsushi Enomoto <[email protected]>
  6100. * Binding.cs : (.ctor)
  6101. An obvious NRE fix for BindingTest.CtorNullTest().
  6102. 2006-05-23 Chris Toshok <[email protected]>
  6103. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  6104. them between lines. This fixes some quirks editing cells in the
  6105. datagrid.
  6106. 2006-05-23 Jackson Harper <[email protected]>
  6107. * TreeView.cs: Use begin/end update when doing expand/collapse all
  6108. so that we don't get flicker on the scrollbar.
  6109. 2006-05-23 Jackson Harper <[email protected]>
  6110. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  6111. treenode calculations to be independant of the painting code. To
  6112. do this nodes track a visible order which is calculated by the
  6113. treeview.
  6114. - Call new methods for expanding/collapsing nodes. These methods
  6115. use scrollwindow so we don't have to update everything below the
  6116. node.
  6117. * TreeView.cs: Refactored drawing and scrolling code. We don't
  6118. need to update nodes when drawing anymore or calculate scrollbar
  6119. stuff.
  6120. - Added new methods for expanding/collapsing nodes. These methods
  6121. use ScrollWindow so as to not have to redraw all the nodes below.
  6122. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  6123. we add/remove nodes or sort.
  6124. - Handle removing the selected and the top node properly.
  6125. 2006-05-23 Chris Toshok <[email protected]>
  6126. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  6127. maybe this should actually happen in the datagrid code?
  6128. (EndEdit): no need to invalidate anything, given that
  6129. ReleaseHostedControl causes the datagrid to relayout, which
  6130. invalidates everything anyway.
  6131. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  6132. in SetCurrentCell).
  6133. (set_SelectionBackColor): call InvalidateSelection instead of
  6134. Refresh.
  6135. (set_SelectionForeColor): same.
  6136. (BeginEdit): Flesh this out a bit.
  6137. (CancelEditing): only do any of this if we're editing/adding.
  6138. (EndEdit): same.
  6139. (OnMouseDown): there's no need to cancel editing here, it's done
  6140. in SetCurrentCell.
  6141. (SetCurrentCell): only invalidate the current row header if it's a
  6142. different row than the new one.
  6143. (ShiftSelection): fix this to work like MS does.
  6144. (ResetSelection): factor out the invalidation of selected_rows to
  6145. InvalidateSelection.
  6146. (SetDataSource): cancel any editing that's going on.
  6147. * DataGridColumnStyle.cs
  6148. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  6149. call the non-interface version.
  6150. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  6151. header rectangle with the clip rectangle so we don't redraw the
  6152. entire header for just a small area. Gets rid of the last flicker
  6153. when horizontally scrolling.
  6154. (DataGridPaintRow): same.
  6155. 2006-05-23 Mike Kestner <[email protected]>
  6156. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  6157. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  6158. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  6159. Critical bug report.
  6160. 2006-05-23 Peter Dennis Bartok <[email protected]>
  6161. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  6162. and this fixes #78493
  6163. 2006-05-23 Miguel de Icaza <[email protected]>
  6164. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  6165. size is not found.
  6166. * FileDialog.cs: Do not change the background for the side bar as
  6167. it wont work nicely with the theme, and also reduces the artifacts
  6168. in rendering the icons (which I want to fix too).
  6169. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  6170. resources, not resgen resources.
  6171. (PlatformDefaultHandler): Pull images using the new API.
  6172. 2006-05-23 Peter Dennis Bartok <[email protected]>
  6173. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  6174. a reference to the hwnd and will not remove it unless there are
  6175. no pending exposures (fixes #78341)
  6176. * XplatUI.cs: Improved debug
  6177. 2006-05-23 Atsushi Enomoto <[email protected]>
  6178. * MenuAPI.cs : don't handle OnClick event when it was not the left
  6179. button. Fixed bug #78487.
  6180. 2006-05-23 Mike Kestner <[email protected]>
  6181. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  6182. prefer submenus to the top menu for item lookup, to avoid popping down
  6183. top-row items.
  6184. 2006-05-23 Alexander Olk <[email protected]>
  6185. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  6186. Graphics.FillRectangle as the visual results are really bad (even
  6187. on win). We now draw perfect arrows (and perfect shadows when the
  6188. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  6189. Pen.DashPattern to draw the dots of each line.
  6190. 2006-05-22 Alexander Olk <[email protected]>
  6191. * FileDialog.cs: Update the filename combobox when navigating through
  6192. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  6193. 2006-05-22 Mike Kestner <[email protected]>
  6194. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  6195. Fixes #78463.
  6196. 2006-05-22 Mike Kestner <[email protected]>
  6197. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  6198. requests. Fix a misspelled parameter and a copy paste exception error
  6199. in Select.
  6200. 2006-05-22 Peter Dennis Bartok <[email protected]>
  6201. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  6202. to get the same width/height (5/13) on X11 as the default font has on
  6203. win32. This means that our DefaultFont emSize is smaller than the
  6204. the MS SWF equivalent (even thought the width/height stays the same)
  6205. 2006-05-20 Jackson Harper <[email protected]>
  6206. * MdiClient.cs:
  6207. * MdiWindowManager.cs:
  6208. * InternalWindowManager.cs: Make sure to use the border width from
  6209. the theme.
  6210. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  6211. * PrintDialog.cs: Implements printer details
  6212. 2006-05-19 Alexander Olk <[email protected]>
  6213. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  6214. Fixes part 1 and 2 of bug #78446
  6215. 2006-05-19 Peter Dennis Bartok <[email protected]>
  6216. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  6217. instead of sticking to the first ever calculated value
  6218. 2006-05-19 Mike Kestner <[email protected]>
  6219. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  6220. PointToClient, since Capture is set. Fixes #78344.
  6221. 2006-05-19 Mike Kestner <[email protected]>
  6222. * ListView.cs: match MS behavior in Details view where items are not
  6223. drawn if Columns.Count == 0.
  6224. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  6225. Use a separate pen to draw the check, since changing the width affects
  6226. the box as well. Fixes #78454.
  6227. 2006-05-18 Miguel de Icaza <[email protected]>
  6228. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  6229. exception should throw the name of the invalid argument.
  6230. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  6231. there are no files listed.
  6232. 2006-05-18 Jackson Harper <[email protected]>
  6233. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  6234. up.
  6235. 2006-05-18 Peter Dennis Bartok <[email protected]>
  6236. * Control.cs: Brought back our old UpdateZOrder method as a private
  6237. function and switched our calls from UpdateZOrder to the new one.
  6238. This fixes the Paint.Net canvas disappearing bug.
  6239. 2006-05-18 Jackson Harper <[email protected]>
  6240. * Theme.cs:
  6241. * ThemeWin32Classic.cs:
  6242. * InternalWindowManager.cs: Move the drawing into the theme,
  6243. expose everything the theme should need from the window manager.
  6244. 2006-05-18 Peter Dennis Bartok <[email protected]>
  6245. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  6246. from the call to NativeWindow to avoid walking up the parent chain
  6247. further than needed (speeds up setting cursors and avoids setting
  6248. the wrong cursor if a parent has another cursor defined)
  6249. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  6250. the icon as hotspot, not what's contained as hotspot in the icon
  6251. file. This fixes the perceived drawing offset seen with Paint.Net
  6252. 2006-05-18 Peter Dennis Bartok <[email protected]>
  6253. * XplatUIX11.cs:
  6254. - Store the calculated rectangle in Hwnd object and use it when
  6255. setting the client size
  6256. - Force Toolwindows to always be type Dock, to ensure they're on top
  6257. 2006-05-18 Mike Kestner <[email protected]>
  6258. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  6259. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  6260. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  6261. Substantial refactoring to remove confusing nested classes. Coding
  6262. standard and Get+Set->property refactorings. Shift to index based
  6263. highlighting in ComboListBox instead of constantly using IndexOf and
  6264. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  6265. in FileDialog growth. Draw borders manually since Simple mode needs
  6266. to look like two independent controls. Make listbox border
  6267. conditional to DropDownStyle. Improved OwnerDraw support.
  6268. 2006-05-18 Sebastien Pouliot <[email protected]>
  6269. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  6270. Don't set the disposed graphics to null, so we can throw the "right"
  6271. exception if the graphics is reused later (added a flag to avoid
  6272. double disposing). Some behaviours are different under 2.0 and are
  6273. filled under bug #78448.
  6274. 2006-05-18 Peter Dennis Bartok <[email protected]>
  6275. * Control.cs: When double-buffering is enabled, we need to reset
  6276. our graphics context between paint calls. Otherwise, any
  6277. transformations and other alterations on the context will
  6278. become cumulative (#77734)
  6279. 2006-05-18 Mike Kestner <[email protected]>
  6280. * ListView.cs: do focused item selection like MS on clicks.
  6281. Rework focus handling for ItemControl so LostFocus invalidates as
  6282. well.
  6283. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  6284. the ListView ItemControl has focus.
  6285. 2006-05-17 Peter Dennis Bartok <[email protected]>
  6286. * XplatUIX11.cs: If client_window ends up being width or height zero
  6287. due to border settings, move it off window inside whole_window (#78433)
  6288. 2006-05-17 Alexander Olk <[email protected]>
  6289. * Mime.cs: Shrink the mime file cache correctly.
  6290. 2006-05-17 Alexander Olk <[email protected]>
  6291. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  6292. 2006-05-16 Peter Dennis Bartok <[email protected]>
  6293. * XplatUIX11.cs (AddExpose): More sanity checks
  6294. 2006-05-16 Peter Dennis Bartok <[email protected]>
  6295. * XplatUIX11.cs:
  6296. - AddExpose: Don't add expose ranges outside the size of our
  6297. window
  6298. - Cast opacity values to Int32 to avoid crashes with certain
  6299. values
  6300. - Added disabled code paths that protect against illegal cross-
  6301. thread painting (Developers.exe)
  6302. 2006-05-16 Peter Dennis Bartok <[email protected]>
  6303. * ProgressBar.cs: Invalidate the control when it's resized
  6304. since block size is based on control size. (#78388)
  6305. 2006-05-16 Miguel de Icaza <[email protected]>
  6306. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  6307. of setting the incoming argument to the "reset" value, we set the
  6308. this.datamember to string.empty (before we were invalidating the
  6309. incoming data).
  6310. Fixes 78420
  6311. 2006-05-16 Peter Dennis Bartok <[email protected]>
  6312. * Form.cs: Only apply transparency settings after the form
  6313. is created. (Fixes #77800)
  6314. 2006-05-16 Peter Dennis Bartok <[email protected]>
  6315. * ApplicationContext.cs: Grab the HandleDestroyed event so
  6316. we know when to fire OnMainFormClosed
  6317. 2006-05-16 Peter Dennis Bartok <[email protected]>
  6318. * Application.cs: Introduced sub-class to allow tracking of
  6319. threads and centralized triggering of the event mess for
  6320. ThreadExit, AppExit, etc.. (#76156)
  6321. 2006-05-16 Alexander Olk <[email protected]>
  6322. * MimeIcon.cs:
  6323. - Do not return a null icon index value for a mime subclass.
  6324. Instead try the main mime type class too.
  6325. - Seems that some newer distributions don't have a link to some
  6326. gnome default icons anymore. So check the default gnome dir too.
  6327. 2006-05-16 Jackson Harper <[email protected]>
  6328. * MdiClient.cs: Don't paint the parent background image if we have
  6329. our own background image.
  6330. 2006-05-16 Peter Dennis Bartok <[email protected]>
  6331. * Control.cs:
  6332. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  6333. controls, all filled controls are supposed to overlap (#78080)
  6334. - UpdateZOrder is supposed to update the control's z-order in the
  6335. parent's z-order chain. Fixed to behave like that
  6336. - BringToFront: Removed obsolete code
  6337. - SendToBack: Simplyfied
  6338. - SetChildIndex: Trigger layout calculations when Z-order changes
  6339. since layout is done by z-order
  6340. 2006-05-16 Chris Toshok <[email protected]>
  6341. [ fixes bug #78410 ]
  6342. * DataGrid.cs (set_AlternatingBackColor): use
  6343. grid_drawing.InvalidateCells instead of Refresh().
  6344. (set_BackColor): call grid_drawing.InvalidateCells.
  6345. (set_BackgroundColor): use Invalidate instead of Refresh.
  6346. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  6347. invalidate the cell area.
  6348. 2006-05-15 Chris Toshok <[email protected]>
  6349. [ fixes bug #78011 ]
  6350. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  6351. on to DataGridPaintRow.
  6352. (DataGridPaintRow): take a clip argument, and only draw the cells
  6353. which intersect it. same with the not_usedarea.
  6354. * Theme.cs (DataGridPaintRow) add @clip parameter.
  6355. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  6356. XplatUI.ScrollWindow.
  6357. (ScrollToRow): same.
  6358. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  6359. with last column which was causing a gray swath to appear with the
  6360. XplatUI.ScrollWindow code.
  6361. 2006-05-15 Chris Toshok <[email protected]>
  6362. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  6363. use XplatUI.ScrollWindow.
  6364. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  6365. 2006-05-15 Peter Dennis Bartok <[email protected]>
  6366. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  6367. 2006-05-15 Peter Dennis Bartok <[email protected]>
  6368. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  6369. file since there are no equivalent X11 cursors
  6370. 2006-05-15 Atsushi Enomoto <[email protected]>
  6371. * MonthCalendar.cs : DateTimePicker should reflect selected date
  6372. on mouse*up*, not mouse*down*. Fixed originally reported part of
  6373. bug #76474.
  6374. 2006-05-15 Atsushi Enomoto <[email protected]>
  6375. * TabControl.cs : When argument index is equal or more than tab
  6376. count, just ignore. Fixed bug #78395.
  6377. 2006-05-15 Peter Dennis Bartok <[email protected]>
  6378. * Control.cs: Dispose all child controls when control is diposed (#78394)
  6379. 2006-05-14 Alexander Olk <[email protected]>
  6380. * ColorDialog.cs: Finally it is possible to select the color with
  6381. the text boxes
  6382. 2006-05-14 Alexander Olk <[email protected]>
  6383. * PrintDialog.cs: Fix typo
  6384. 2006-05-14 Alexander Olk <[email protected]>
  6385. * PrintDialog.cs: PrintDialog is not resizable
  6386. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  6387. color. Made some ToolBar drawing methods protected virtual.
  6388. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  6389. * PrintDialog.cs: Implementation of the PrintDialog
  6390. 2006-05-12 Chris Toshok <[email protected]>
  6391. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  6392. thumb, instead use MoveThumb. This has the side effect of making
  6393. most of the other thumb moving machinery use MoveThumb as well.
  6394. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  6395. need to actually invalidate the rectangle where the new thumb will
  6396. go.
  6397. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  6398. We force an Update() after, so it's not as fast as it could be,
  6399. but at least there's zero flicker and no droppings.
  6400. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  6401. (UpdateThumbPos): add another argument (dirty), which says whether
  6402. or not to calculate/add dirty regions which we later invalidate.
  6403. For cases where we know we're going to use MoveThumb, we pass
  6404. false for this. Otherwise, pass true.
  6405. 2006-05-12 Jackson Harper <[email protected]>
  6406. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  6407. the status bar.
  6408. 2006-05-12 Peter Dennis Bartok <[email protected]>
  6409. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  6410. and GetClipRegion methods and UserClipWontExposeParent property.
  6411. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  6412. overriding UserClipWontExposeParent property, setting to false, since
  6413. Win32 handles the required expose messages to draw our clipped parent
  6414. areas internally
  6415. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  6416. PaintEventStart to set the user clip region if set.
  6417. * Control.cs:
  6418. - Now internally tracking the Region for the control since we need to
  6419. store it if the handle is not yet created and only set it when it
  6420. becomes created. Before setting the region forced handle creation
  6421. - Added code to draw the parents underneath a user-clipped region
  6422. * Hwnd.cs: Added UserClip property
  6423. 2006-05-12 Chris Toshok <[email protected]>
  6424. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  6425. (set_Maximum): same.
  6426. (set_Minimum): same.
  6427. (set_SmallChange): same.
  6428. (OnMouseUpSB): remove the call to refresh when releasing the
  6429. thumb. We shouldn't need it.
  6430. 2006-05-12 Miguel de Icaza <[email protected]>
  6431. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  6432. AutoSize set to None, we do not need to relayout everything, we
  6433. just need to invalidate the current region.
  6434. (Draw): Do not draw the entire ClientArea, just redraw the
  6435. clip area being passed.
  6436. * MdiClient.cs: Make MdiClient constructor with the Form argument
  6437. internal.
  6438. 2006-05-12 Jackson Harper <[email protected]>
  6439. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  6440. parents background image, but strangely not their own.
  6441. - (DrawStatusBarPanel): Take into account horizontal alignment
  6442. when drawing the strings and icons.
  6443. 2006-05-12 Mike Kestner <[email protected]>
  6444. * ListBox.cs: avoid invalidations for focus when the collection is
  6445. empty.
  6446. 2006-05-12 Chris Toshok <[email protected]>
  6447. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  6448. invalidate the entire thumb area. Call InvalidateDirty which
  6449. limits the redraw to the thumb itself and surrounding pixels.
  6450. * XplatUIX11.cs (ScrollWindow): optimize copying.
  6451. 2006-05-12 Chris Toshok <[email protected]>
  6452. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  6453. Figure out the positioning/layout in a single pass instead of
  6454. multiple recursive invocations. Speeds up the initial display of
  6455. the data grid. Also, make many things private that were
  6456. originally public but unused outside this class.
  6457. 2006-05-11 Jackson Harper <[email protected]>
  6458. * MdiClient.cs: Improved layout code.
  6459. 2006-05-11 Jonathan Chambers <[email protected]>
  6460. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  6461. not SelectedObject.
  6462. 2006-05-11 Chris Toshok <[email protected]>
  6463. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  6464. union of that will always be {0,0,width,height}.
  6465. 2006-05-11 Jackson Harper <[email protected]>
  6466. * Form.cs: Match MS's DefaultSize for forms (they must have
  6467. changed the size in sp2).
  6468. 2006-05-11 Atsushi Enomoto <[email protected]>
  6469. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  6470. 2006-05-11 Atsushi Enomoto <[email protected]>
  6471. * TextControl.cs : Fixed bug #78109. This incorrect position
  6472. comparison caused crash on automatic line split.
  6473. * TextBoxBase.cs : reduce duplicate code.
  6474. 2006-05-10 Jackson Harper <[email protected]>
  6475. * MdiClient.cs: Active form is only sent to the back when using
  6476. the Next form functionality, when a form is clicked the current
  6477. active shouldn't be sent to the back.
  6478. - Layout the mdi windows when the container is first made visible.
  6479. * Form.cs: Give the MdiClient a ref to the containing form when we
  6480. create it.
  6481. 2006-05-10 Atsushi Enomoto <[email protected]>
  6482. * LinkLabel.cs : link_font could be uninitialized, so populate one
  6483. before actual use. Fixed bug #78340.
  6484. 2006-05-10 Atsushi Enomoto <[email protected]>
  6485. * XplatUIX11.cs : clipboard format native value is IntPtr.
  6486. Fixed bug #78283.
  6487. 2006-05-10 Peter Dennis Bartok <[email protected]>
  6488. * Control.cs:
  6489. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  6490. which is passed up the parent chain by DefWndProc
  6491. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  6492. to DefWndProc (#77956)
  6493. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  6494. 2006-05-10 Jackson Harper <[email protected]>
  6495. * MdiClient.cs: We need to remove the controls from the mdi
  6496. collection, when we close the window.
  6497. * MdiWindowManager.cs: Special handling of closing mdi windows.
  6498. * InternalWindowManager.cs: Make the close method virtual so the
  6499. mdi window manager can handle it specially.
  6500. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  6501. * DataGrid.cs:
  6502. - Recalculate grid when the data source has changed
  6503. - Matches styles provided by user from all data sources types
  6504. * DataGridTableStyle.cs: For columns that provided by the user set the
  6505. with the preferred value is there was unassigned.
  6506. * CurrencyManager.cs: throw OnItemChanged event
  6507. 2006-05-10 Peter Dennis Bartok <[email protected]>
  6508. * PictureBox.cs: Don't animate until handle is created. Start animation
  6509. when handle is created.
  6510. 2006-05-10 Peter Dennis Bartok <[email protected]>
  6511. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  6512. current codebase.
  6513. * XEventQueue.cs: We don't need to provide the extra info
  6514. 2006-05-10 Jackson Harper <[email protected]>
  6515. * MdiClient.cs: If the mdi clients parent form has a background
  6516. image set, we draw that background image for the mdi area's
  6517. background.
  6518. 2006-05-10 Peter Dennis Bartok <[email protected]>
  6519. * TextBoxBase.cs: Set IBeam cursor (#78347)
  6520. 2006-05-10 Mike Kestner <[email protected]>
  6521. * ToolBar.cs: fix some text padding issues with ButtonSize
  6522. calculation. Update the default size to match MS documentation.
  6523. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  6524. button size. Fixes #78296.
  6525. 2006-05-10 Mike Kestner <[email protected]>
  6526. * ListBox.cs: use is_visible for scrollbar positioning in case the
  6527. control isn't on screen yet. Fix off by one with Right vs Width
  6528. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  6529. 2006-05-10 Jackson Harper <[email protected]>
  6530. * X11Dnd.cs: Drop to a control with another control on top of it.
  6531. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  6532. be modified in click handlers. TODO: Look for similar problems in
  6533. other controls.
  6534. 2006-05-09 Jackson Harper <[email protected]>
  6535. * Form.cs: Window managers need the old window state when setting
  6536. window state now.
  6537. * InternalWindowManager.cs: Allow the base mdi window manager to
  6538. handle more of the MDI only stuff (like maximize buttons).
  6539. * MdiWindowManager.cs: Fix some snafus in changing the window
  6540. state. Add all the menu functionality, for both popup and
  6541. maximized menus.
  6542. * MdiClient.cs: When a new form is selected the currently
  6543. activated form is sent to the back, this matches MS.
  6544. - Implement a new method to activate the next mdi child window.
  6545. 2006-05-08 Peter Dennis Bartok <[email protected]>
  6546. * Control.cs:
  6547. - Added new InternalCapture method to allow controls to prevent
  6548. the capture behaviour on the click handlers
  6549. - Switched to use InternalCapture
  6550. * ComboBox.cs:
  6551. - Using InternalCapture to prevent mouse captures from being released
  6552. on mouse button release (Fixes #78100)
  6553. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  6554. returns Form borders if a caption is present. (Fixes #78310)
  6555. 2006-05-08 Peter Dennis Bartok <[email protected]>
  6556. * TreeNode.cs: Changed serialization .ctor to not require every field
  6557. to be present. (#78265)
  6558. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  6559. 2006-05-05 Alexander Olk <[email protected]>
  6560. * MimeIcon.cs: for is faster than foreach for strings.
  6561. 2006-05-05 Mike Kestner <[email protected]>
  6562. * CheckedListBox.cs: update check handling code to not use selected.
  6563. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  6564. behavior for visual feedback, motion response, shift/ctrl handling,
  6565. and properly deal with all 4 selection modes. Updates to bounds
  6566. handling logic. Add scroll wheel support. [Fixes #77842]
  6567. 2006-05-05 Peter Dennis Bartok <[email protected]>
  6568. * ListView.cs:
  6569. - Moved adding of Implicit controls into .ctor. That way, subsequent
  6570. creation of the controls will not cause them to think they are
  6571. toplevel windows (fixes #78200 header problem)
  6572. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  6573. - Switched visibility setting of header control to use internal field
  6574. to avoid triggering handle creation
  6575. - Now checking if handle is created before causing a refresh when items
  6576. are added (This makes us now match handle creation time with MS)
  6577. * Splitter.cs: Removed loading of private splitter cursor, switched to
  6578. Cursors version now that that is loading the right ones
  6579. * Cursors.cs: Load proper splitter cursors from resources
  6580. * Cursor.cs: Added second method of loading resource cursors for the
  6581. VS.Net users amongst us
  6582. 2006-05-05 Mike Kestner <[email protected]>
  6583. * ListView.cs: give header_control a minimum size based on the
  6584. ListView size.
  6585. 2006-05-05 Peter Dennis Bartok <[email protected]>
  6586. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  6587. window seems to do that with metacity, so set that type. (#78120)
  6588. 2006-05-05 Mike Kestner <[email protected]>
  6589. * ListViewItem.cs: fix Details mode checkbox layout bug.
  6590. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  6591. at the end of the header, if it exists. [Fixes for #78200]
  6592. 2006-05-04 Jackson Harper <[email protected]>
  6593. * MdiClient.cs: Add a helper property to get the container form.
  6594. * MdiWindowManager.cs: We have to make sure to use the menu origin
  6595. when drawing the icons and buttons, this fixes maximized window
  6596. icons/buttons on win32.
  6597. * InternalWindowManager.cs: Reset the restore captions when a
  6598. window goes from Maximized to Minimized and vice versa. Move the
  6599. DrawMaximizedButtons into the MdiWindowManager source, tool
  6600. windows can't be maximized. NOTE: This could use a little
  6601. refactoring if time ever permits.
  6602. 2006-05-03 Jonathan Chambers <[email protected]>
  6603. * TextBox.cs: Add MWFCategoryAttributes
  6604. * TextBoxBase.cs: Add MWFCategoryAttributes
  6605. * Form.cs: Add MWFCategoryAttributes
  6606. 2006-05-03 Jonathan Chambers <[email protected]>
  6607. * Control.cs: Add MWFCategoryAttributes
  6608. * ScrollableControl.cs: Add MWFCategoryAttributes
  6609. 2006-05-03 Alexander Olk <[email protected]>
  6610. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  6611. Divider is true. Fix a little glitch in PropertyToolBar
  6612. drawing code
  6613. 2006-05-02 Peter Dennis Bartok <[email protected]>
  6614. * Control.cs:
  6615. - Dispose: Call base.Dispose, this causes the disposed event
  6616. to be fired (and probably other, more important stuff)
  6617. - SetVisibleCore: Set is_visible to true after creating the
  6618. window so that the window still gets created invisible (if
  6619. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  6620. to generate a WM_ACTIVE message
  6621. * Form.cs: Call Dispose when we want to destroy the window, instead of
  6622. just destroying the handle (Dispose will do that for us)
  6623. * XplatUIX11.cs:
  6624. - RootWindow also needs a queue, so we can properly process the
  6625. property change events from RootWindow (like Activate)
  6626. - Generatic synthetic WM_ACTIVE message when the active window is
  6627. being destroyed
  6628. 2006-05-01 Peter Dennis Bartok <[email protected]>
  6629. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  6630. bounds are changed
  6631. 2006-05-01 Peter Dennis Bartok <[email protected]>
  6632. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  6633. for determining width and height (image might not be assigned if
  6634. we're drawing an imagelist)
  6635. 2006-05-01 Peter Dennis Bartok <[email protected]>
  6636. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  6637. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  6638. height from system
  6639. * Theme.cs: No longer returns hardcoded menu height, instead calls
  6640. new driver method
  6641. * Form.cs (OnLoad): Scaling happens before triggering Load events
  6642. on MS (# 78257)
  6643. 2006-05-01 Mike Kestner <[email protected]>
  6644. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  6645. 2006-04-30 Peter Dennis Bartok <[email protected]>
  6646. * TextBoxBase.cs: Removed Fixme
  6647. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  6648. 2006-04-30 Peter Dennis Bartok <[email protected]>
  6649. * XplatUIX11.cs:
  6650. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  6651. the rectangle relative to the parent, considering borders. We
  6652. don't really want that.
  6653. - ScrollWindow: Fixed warning to be more understandable
  6654. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  6655. scrollbars and scroll only the visible area
  6656. * RichTextBox.cs: Removed debug output
  6657. 2006-04-29 Peter Dennis Bartok <[email protected]>
  6658. * NumericUpDown.cs (Text): Just use base
  6659. * UpDownBase.cs: Ensure txtView is created before using it
  6660. 2006-04-29 Peter Dennis Bartok <[email protected]>
  6661. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  6662. casting to IntPtr to avoid 64bit overflow errors
  6663. 2006-04-29 Peter Dennis Bartok <[email protected]>
  6664. * Control.cs:
  6665. - AllowDrop: Don't force handle creation.
  6666. - CreateHandle: Added call to tell driver if we're allowed to drop
  6667. 2006-04-27 Alexander Olk <[email protected]>
  6668. * FileDialog.cs: Remember the last directory not only for the
  6669. current instance but also for new FileDialog instances.
  6670. 2006-04-29 Peter Dennis Bartok <[email protected]>
  6671. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  6672. broke sending async messages
  6673. 2006-04-29 Peter Dennis Bartok <[email protected]>
  6674. * XplatUIX11.cs:
  6675. - ScrollWindow: Fixed method. We finally generate expose events again
  6676. for scrolled areas. This was causing 'garbage' when scrolling
  6677. textbox and other controls that used ScrollWindow
  6678. - Switched from using the regular queue for paint events to the MS
  6679. model of 'generating' paint events when the queue is empty.
  6680. We use the new XQueueEvent.Paint subclass to store which windows
  6681. need painting.
  6682. - AddExpose now takes the x/y/width/height of the exposed area
  6683. and inserts the window into the paint queue if not already there
  6684. - InvalidateWholeWindow: Switched to use new AddExpose method
  6685. - UpdateMessageQueue: Added which queue to monitor for paint events
  6686. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  6687. the unlikely case nothing above handles it. We reset the expose
  6688. pending states to get them off the queue.
  6689. - GetMessage: Now pulls a paint event if no other events are in the
  6690. queue
  6691. - Invalidate: Switched to new AddExpose method
  6692. - PeekMessage: Updated to understand pending paint events
  6693. - UpdateWindow: Fixed logic bug. We were only updating if the window
  6694. didn't need updating. Also switched to sending WM_PAINT directly,
  6695. like MS does.
  6696. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  6697. and random access Remove(). The random access is needed to handle
  6698. UpdateWindow() where a WM_PAINT is sent directly without accessing
  6699. the queue.
  6700. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  6701. allow for better feedback when scrolling. Scrollbars are small and
  6702. the immediate update should make it 'feel' more responsive without
  6703. slowing things down. ScrollBar still needs it's invaliate logic
  6704. updated to not always invalidate the whole bar on certain changes.
  6705. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  6706. * Control.cs:
  6707. (BackColor): if the control does not support a transparent background,
  6708. return the default backcolor when the parent backcolor is transparent.
  6709. 2006-04-28 Peter Dennis Bartok <[email protected]>
  6710. * Application.cs: Updated to new StartLoop/GetMessage API
  6711. * RichTextBox.cs: Provide some output on RTF parsing errors
  6712. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  6713. new queue_id argument to GetMessage and PeekMessage to allow faster
  6714. handling of per-thread queues in drivers.
  6715. * Hwnd.cs: Added Queue tracking and property
  6716. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  6717. * XEventQueue.cs: Added thread trackingA
  6718. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  6719. * XplatUIX11.cs:
  6720. - Implemented new per-thread queue
  6721. - GetMessage: Fixed return/break behaviour on several cases. We were
  6722. returning stale messages in some cases, instead of just processing
  6723. the next message
  6724. 2006-04-27 Jonathan Chambers <[email protected]>
  6725. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  6726. 2006-04-27 Peter Dennis Bartok <[email protected]>
  6727. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  6728. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  6729. 2006-04-27 Jonathan Chambers <[email protected]>
  6730. * PropertyGridView.cs: Fix drop down width.
  6731. 2006-04-27 Alexander Olk <[email protected]>
  6732. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  6733. a mess in DrawToolBar, so I removed one of them.
  6734. 2006-04-27 Alexander Olk <[email protected]>
  6735. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  6736. needed (clip). Otherwise we get artifacts.
  6737. 2006-04-26 Peter Dennis Bartok <[email protected]>
  6738. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  6739. dimension is fixed
  6740. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  6741. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  6742. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  6743. if it matches the scale base font (avoids unneeded scaling)
  6744. 2006-04-26 Alexander Olk <[email protected]>
  6745. * X11DesktopColors.cs: One gtk_init_check should be enough
  6746. 2006-04-26 Peter Dennis Bartok <[email protected]>
  6747. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  6748. match MS behaviour
  6749. 2006-04-26 Peter Dennis Bartok <[email protected]>
  6750. * TextBoxBase.cs:
  6751. - Generate OnTextChanged for Backspace even if we're only deleting
  6752. the current selection
  6753. - When setting the Text property, only select all text if the
  6754. control does not have focus when it is being set. Otherwise
  6755. just place the cursor at the beginning of the control
  6756. 2006-04-26 Alexander Olk <[email protected]>
  6757. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  6758. Added a little helper to draw PropertyGrid ToolBar with a different
  6759. border and a different BackColor.
  6760. * PropertyGrid.cs: Some background parts didn't get painted with the
  6761. correct background color. Added a class that helps us to draw the
  6762. correct border for PropertyGridView and a class that helps us to
  6763. draw ToolBars with a different backcolor
  6764. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  6765. 2006-04-25 Jonathan Chambers <[email protected]>
  6766. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  6767. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  6768. 2006-04-25 Peter Dennis Bartok <[email protected]>
  6769. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  6770. into the palette entries. Also, since we're working on a copy
  6771. we needed to copy the palette back onto the bitmap.
  6772. * Cursor.cs: Same fix as XplatUIWin32.cs.
  6773. 2006-04-25 Peter Dennis Bartok <[email protected]>
  6774. * ImageListStreamer.cs: Need to read the var (or we're off)
  6775. 2006-04-25 Peter Dennis Bartok <[email protected]>
  6776. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  6777. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  6778. TextBoxBase.cs: Unused var fixes
  6779. * AxHost.cs: Small 2.0 fix
  6780. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  6781. as it seems that is what at least Metacity expects. This will make
  6782. icons show up on 64bit platforms. We still have some 64bit size
  6783. issues, though, since the startup app window size still won't match.
  6784. 2006-04-25 Mike Kestner <[email protected]>
  6785. * *.cs: cleanup newly reported exception var unused warnings.
  6786. 2006-04-25 Alexander Olk <[email protected]>
  6787. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  6788. ms
  6789. 2006-04-25 Alexander Olk <[email protected]>
  6790. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  6791. image. The image position is always the same, no matter if the
  6792. button is pressed or not.
  6793. 2006-04-25 Alexander Olk <[email protected]>
  6794. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  6795. selection and set the correct filename for SaveFileDialog.
  6796. Patch by Emery Conrad.
  6797. 2006-04-24 Mike Kestner <[email protected]>
  6798. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  6799. check for item.X outside the ClientRect instead of item.Y. Fixes
  6800. #78151.
  6801. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  6802. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  6803. trust that value blindly and do some sanity check. Fixes bug #77814.
  6804. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  6805. * ImageListStreamer.cs: save the mask as a 1bpp image.
  6806. 2006-04-21 Mike Kestner <[email protected]>
  6807. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  6808. pass Checked and Indeterminate to the Theme Engine. Improve
  6809. encapsulation with ListBox.
  6810. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  6811. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  6812. nested types. Move all CheckState functionality to CheckedListBox.
  6813. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  6814. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  6815. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  6816. single base list. Fix scrollbar sizing and placement to mirror MS.
  6817. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  6818. used.
  6819. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  6820. for CheckedListBox by using new DrawItemState info. Center the
  6821. checkboxes on the items. Use new StringFormat property.
  6822. 2006-04-18 Jackson Harper <[email protected]>
  6823. * Form.cs: MdiChildren don't do default locations the same way as
  6824. regular forms. This prevents a crash when trying to position the
  6825. mdi windows.
  6826. 2006-04-17 Jonathan Chambers <[email protected]>
  6827. * PropertyGridTextBox.cs: Formatting, copyright
  6828. * PropertiesTab.cs: Formatting
  6829. * PropertyGrid.cs: Formatting
  6830. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  6831. click toggling of values
  6832. 2006-04-17 Peter Dennis Bartok <[email protected]>
  6833. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  6834. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  6835. every time a control is created
  6836. * Application.cs: Removed obsolete EnableRTLMirroring method
  6837. 2006-04-18 Gert Driesen <[email protected]>
  6838. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  6839. SelectedIndex to -1. Fixes bug #78121.
  6840. 2006-04-17 Jackson Harper <[email protected]>
  6841. * Binding.cs: Handle null values for Current and BindingContext.
  6842. This occurs when binding is a little delayed.
  6843. * CurrencyManager.cs: return null for Current when there are no
  6844. items in the list.
  6845. - Hookup to the listchanged event on the DataView and update
  6846. bindings when the list is changed. This fixes late binding of
  6847. controls.
  6848. 2006-04-17 Jackson Harper <[email protected]>
  6849. * X11Dnd.cs:
  6850. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  6851. Ringenbach.
  6852. 2006-04-15 Alexander Olk <[email protected]>
  6853. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  6854. place
  6855. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  6856. with the correct ButtonState
  6857. 2006-04-14 Peter Dennis Bartok <[email protected]>
  6858. * XplatUIX11.cs: Improved distinguishing between window types to
  6859. tell the WM a type closer to what the app wants (Fixes #78107)
  6860. 2006-04-14 Alexander Olk <[email protected]>
  6861. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  6862. GrabHandle
  6863. 2006-04-14 Alexander Olk <[email protected]>
  6864. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  6865. drawing code to reflect the size grip changes
  6866. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  6867. * ImageListStreamer.cs: fix handling of the mask that follows the main
  6868. bitmap when deserializing and serialize it properly. The generated mask
  6869. should better be a 1bpp image, but I'll do that later.
  6870. 2006-04-13 Alexander Olk <[email protected]>
  6871. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  6872. path doesn't fit into some of our Current.Places
  6873. 2006-04-13 Jackson Harper <[email protected]>
  6874. * ComboBox.cs: Use borders instead of drawing our own decorations,
  6875. try to obey correct rules for heights.
  6876. * Theme.cs:
  6877. * ThemeNice.cs:
  6878. * ThemeClearLooks.cs:
  6879. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  6880. this is now handled by borders.
  6881. - Remove unused DrawListBoxDecorationSize method.
  6882. 2006-04-13 Mike Kestner <[email protected]>
  6883. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  6884. reported by Alex.
  6885. 2006-04-13 Alexander Olk <[email protected]>
  6886. * ThemeWin32Classic.cs:
  6887. - Fixed CPDrawStringDisabled
  6888. - Corrected drawing of disabled menu items
  6889. - Fixed drawing of disabled radio buttons (bug #78095)
  6890. - Draw check in a disabled CheckBox with color ControlDark
  6891. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6892. * Form.cs: Use the provided width when calculating the menu size;
  6893. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  6894. and ClientSize.Width won't be updated yet
  6895. * Application.cs: Use Visible instead of Show() to make form visible,
  6896. this way we create the handle later and menusize is considered
  6897. 2006-04-12 Mike Kestner <[email protected]>
  6898. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  6899. reporting.
  6900. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6901. * TextBox.cs: Implemented context menu
  6902. 2006-04-12 Mike Kestner <[email protected]>
  6903. * ListView.cs: implement box selection. fixes #77838.
  6904. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  6905. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6906. * XplatUIX11.cs: Added setting of window type when transient window
  6907. is created (metacity would move it otherwise)
  6908. * X11Structs.cs: Added WINDOW_TYPE atoms
  6909. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  6910. background (the control is Opaque but still wants transparent
  6911. backgrounds)
  6912. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6913. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  6914. that set Opaque but don't mean it (like all ButtonBase-derived
  6915. controls) to still draw their background
  6916. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  6917. the background
  6918. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6919. * Control.cs (PaintControlBackground): Set the graphics object
  6920. on our PaintEvent to null to prevent it from being disposed
  6921. when the PaintEvent gets disposed
  6922. 2006-04-12 Alexander Olk <[email protected]>
  6923. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  6924. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  6925. 2006-04-12 Peter Dennis Bartok <[email protected]>
  6926. * Control.cs:
  6927. - Added transparency check to BackColor property. Transparent
  6928. backgrounds are only allowed if the control styles permit it
  6929. - Added recursive painting of parent control background and
  6930. foreground if a control with a transparent backcolor is drawn
  6931. (Thanks to Tim Ringenback for providing his 'hack' as a base
  6932. for this patch) Fixes #77985 and #78026.
  6933. - Added Opaque style check before calling OnPaintBackground, no
  6934. need to draw the background if the control is opaque
  6935. - Removed ControlAccessibleObject owner variable (inherited from
  6936. base, no need to define again)
  6937. - Added some documentation links explaining the drawing events
  6938. and styles
  6939. 2006-04-11 Peter Dennis Bartok <[email protected]>
  6940. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  6941. that the affected control is the located at the left border of our
  6942. parent (Fixes #77936)
  6943. 2006-04-11 Peter Dennis Bartok <[email protected]>
  6944. * TextBoxBase.cs: When rendering disabled or readonly controls,
  6945. draw the background with 'Control' instead of 'Window' color as
  6946. long as the user hasn't specifically set a color
  6947. 2006-04-11 Peter Dennis Bartok <[email protected]>
  6948. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  6949. since that won't be updated if the user types text (only if it's
  6950. programatically set)
  6951. 2006-04-11 Peter Dennis Bartok <[email protected]>
  6952. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  6953. layout changes do to app-triggered resizes will have the proper
  6954. display rectangle for layout
  6955. 2006-04-11 Alexander Olk <[email protected]>
  6956. * ThemeWin32Classic.cs:
  6957. - Make use of the SystemBrushes and SystemPens wherever possible
  6958. - Corrected some highlight colors
  6959. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  6960. drawing
  6961. * Theme.cs: Added Empty field to CPColor struct
  6962. 2006-04-11 Peter Dennis Bartok <[email protected]>
  6963. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  6964. is displayed when calculating the display rectangle. Thanks to Mike
  6965. for teaching me the err of my ways.
  6966. 2006-04-10 Peter Dennis Bartok <[email protected]>
  6967. * ScrollableControl.cs:
  6968. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  6969. (instead of 0,0) and we now return the real width/height instead of
  6970. just the clientrectangle, adjusted for padding. The rectangle is
  6971. now cached and created by the new CalculateDisplayRectangle method.
  6972. - Created new CalculateDisplayRectange method, which basically does
  6973. what get_DisplayRectangle() did originally, but now using the
  6974. right edge instead of DisplayRectangle to determine the size of
  6975. our scrollbars
  6976. - get_Canvas(): Fixed it to properly calculate canvas for
  6977. right/bottom controls which seem to be placed to the right/bottom
  6978. of any controls that have a fixed location
  6979. - Removed TODO that's taken care of
  6980. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  6981. and SetDisplayRectLocation according to new MSDN2 docs
  6982. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  6983. event when that is called, this is added for compatibility
  6984. - ScrollControlIntoView(): Implemented.
  6985. - Switched scrollbars to be implicit, they shouldn't be selectable
  6986. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  6987. call it when the active control is set/changed
  6988. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  6989. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  6990. implicit_control variable (used for native Win32 message generation)
  6991. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  6992. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  6993. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  6994. * XplatUIStructs.cs: Added ScrollBarCommands enum
  6995. 2006-04-10 Jackson Harper <[email protected]>
  6996. * ButtonBase.cs:
  6997. * CheckedListBox.cs:
  6998. * ComboBox.cs:
  6999. * DataGrid.cs:
  7000. * DataGridView.cs:
  7001. * Form.cs:
  7002. * GroupBox.cs:
  7003. * ListBox.cs:
  7004. * PrintPreviewControl.cs:
  7005. * ProgressBar.cs:
  7006. * PropertyGrid.cs:
  7007. * Splitter.cs:
  7008. * StatusBar.cs:
  7009. * TrackBar.cs:
  7010. * UpDownBase.cs: Fixup base event overrides.
  7011. 2006-04-06 Mike Kestner <[email protected]>
  7012. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  7013. all user-initiated value changes to min <= value <= max-thumbsz+1.
  7014. (set_Value): check for vert/horiz when calculating new thumb position.
  7015. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  7016. like MS does.
  7017. (OnMouseMoveSB): refactor the thumb dragging code and refine
  7018. invalidation logic to reduce flicker.
  7019. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  7020. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  7021. (UpdateThumbPosition): small code readability cleanup
  7022. 2006-04-10 Alexander Olk <[email protected]>
  7023. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  7024. different
  7025. 2006-04-08 Alexander Olk <[email protected]>
  7026. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  7027. 2006-04-08 Alexander Olk <[email protected]>
  7028. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  7029. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  7030. This dramatically reduces the number of Pen.Dispose calls.
  7031. Where possible call ResPool methods only once instead of calling it
  7032. over and over again (for example for the same color).
  7033. 2006-04-06 Mike Kestner <[email protected]>
  7034. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  7035. Also remove an unused private field on the collection. Fixes #77972.
  7036. 2006-04-06 Alexander Olk <[email protected]>
  7037. * ThemeNice.cs: Added ToolBar drawing code
  7038. 2006-04-06 Mike Kestner <[email protected]>
  7039. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  7040. I'm assuming that means we need to look up the toplevel for the
  7041. provided control. Fixes the crash trace in #77911 but exposes another
  7042. crash in some strange reflection usage in NDocGui.
  7043. 2006-04-06 Alexander Olk <[email protected]>
  7044. * ThemeNice.cs: Gave it a little silver touch and added Images
  7045. method
  7046. * FontDialog.cs: FontDialog is not resizable
  7047. * FileDialg.cs: Added SizeGripStyle.Show
  7048. 2006-04-05 Jackson Harper <[email protected]>
  7049. * KeyboardLayouts.cs: Remove warning.
  7050. 2006-04-05 Jackson Harper <[email protected]>
  7051. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  7052. all of our controls instead of Paint +=.
  7053. * ListBox.cs:
  7054. * ListView.cs:
  7055. * MenuAPI.cs:
  7056. * MessageBox.cs:
  7057. * NotifyIcon.cs:
  7058. * ProgressBar.cs:
  7059. * ScrollBar.cs:
  7060. * Splitter.cs:
  7061. * StatusBar.cs:
  7062. * TabControl.cs:
  7063. * TextBoxBase.cs:
  7064. * ToolBar.cs:
  7065. * TrackBar.cs:
  7066. * UpDownBase.cs:
  7067. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  7068. use OnPaintInternal. Remove Width/Height and Visible checks in
  7069. paint handler, this is done at a higher level now.
  7070. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  7071. * PaintEventArgs.cs: Add a handled flag so controls that don't
  7072. want anymore painting after OnPaintInternal can make sure OnPaint
  7073. isn't called.
  7074. 2006-04-05 Mike Kestner <[email protected]>
  7075. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  7076. state of the form, so that we don't process events when Modal dialogs
  7077. are up. Fixes #77922.
  7078. 2006-04-05 Alexander Olk <[email protected]>
  7079. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  7080. checking is done.
  7081. 2006-04-05 Mike Kestner <[email protected]>
  7082. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  7083. 2006-04-05 Mike Kestner <[email protected]>
  7084. * ListView.cs (HeaderMouseMove): null guarding for the over column
  7085. when setting up the drag_to_index. Fixes #78015.
  7086. 2006-04-04 Peter Dennis Bartok <[email protected]>
  7087. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  7088. in the taskbar. Transient windows seem to accomplish that.
  7089. 2006-04-04 Peter Dennis Bartok <[email protected]>
  7090. * Form.cs:
  7091. - Re-enabled CreateParams.X/Y code for FormStartPosition
  7092. - Added code for manual placement when creating the Control
  7093. - Incomplete patch to treat MDI forms differently when
  7094. setting the ClientSizeCore. (Still need to figure out handling
  7095. x/y coords there)
  7096. * XplatUIX11.cs:
  7097. - When we're explicitly setting the X/Y position of a non-Child
  7098. window, let the WM know. Metacity really wants this.
  7099. 2006-04-04 Alexander Olk <[email protected]>
  7100. * ThemeNice.cs: Added CPDrawButton
  7101. 2006-04-04 Alexander Olk <[email protected]>
  7102. * ThemeNice.cs: Changed the color for focused buttons and activated
  7103. the arrows for small scroll buttons.
  7104. 2006-04-04 Alexander Olk <[email protected]>
  7105. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  7106. anymore. Changed some method modifiers to protected (virtual)
  7107. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  7108. changes
  7109. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  7110. Updated drawing of menus, buttons and progressbars; added
  7111. CPDrawBorder3D
  7112. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  7113. * ImageListStreamer.cs: implemented serialization/deserialization
  7114. of the images.
  7115. 2006-04-03 Alexander Olk <[email protected]>
  7116. * ThemeWin32Classic.cs:
  7117. - Removed all the DrawFrameControl stuff; CPDrawButton,
  7118. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  7119. inside the methods
  7120. - Updated and corrected the drawing code of CPDrawButton,
  7121. CPDrawCheckBox and CPDrawRadioButton to better match ms
  7122. - Updated theme checkbox and radiobutton code to use the CP*
  7123. methods
  7124. 2006-03-31 Peter Dennis Bartok <[email protected]>
  7125. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  7126. bug is fixed
  7127. 2006-03-31 Jackson Harper <[email protected]>
  7128. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  7129. sometimes.
  7130. * UpDownBase.cs: Don't CreateGraphics manually, use a
  7131. Refresh. Ideally we would invalidate the correct areas here.
  7132. 2006-03-31 Peter Dennis Bartok <[email protected]>
  7133. * XplatUIX11.cs:
  7134. - We now track the mapping state of windows. If a window (or
  7135. one of it's parents) is not mapped we no longer permit
  7136. WM_PAINT messages to be generated since we'd otherwise get
  7137. lots of BadMatch X errors. Jackson did all the work figuring
  7138. out the problem.
  7139. - Destroying the caret if the window it's contained in is
  7140. destroyed. Can't use regular DestroyCaret method since it
  7141. might fall into a drawing function (trying to remove the
  7142. caret) and with that generate new BadMatch errors. Again,
  7143. Jackson tracked this down.
  7144. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  7145. make sure we send the messages to all windows. (The old code
  7146. would send the WM_DESTROY to the window, and then all child
  7147. windows would be 'gone' because the WM_DESTROY handle lookup
  7148. would no longer find the destroyed window)
  7149. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  7150. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  7151. 2006-03-31 Jackson Harper <[email protected]>
  7152. * ScrollableControl.cs: Dont recalc if we are not visible.
  7153. 2006-03-31 Mike Kestner <[email protected]>
  7154. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  7155. the visibility branch.
  7156. 2006-03-31 Jackson Harper <[email protected]>
  7157. * ScrollBar.cs: Cap values when incrementing/decrementing.
  7158. 2006-03-31 Mike Kestner <[email protected]>
  7159. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  7160. * ToolTip.cs: guard against timer expirations with no active control.
  7161. Not sure why it happened.
  7162. 2006-03-31 Mike Kestner <[email protected]>
  7163. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  7164. text.
  7165. * ToolTip.cs: Position the tooltip based on where the cursor is at
  7166. popup time, not at MouseEnter time. Add a Down state so that we don't
  7167. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  7168. positioning offset. Lookup DisplaySize at positioning time, since it
  7169. can theoretically change during invocation.
  7170. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  7171. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  7172. 2006-03-31 Alexander Olk <[email protected]>
  7173. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  7174. Fixes behaviour when the Text property of the box is String.Empty
  7175. 2006-03-31 Peter Dennis Bartok <[email protected]>
  7176. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  7177. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  7178. a window)
  7179. 2006-03-31 Alexander Olk <[email protected]>
  7180. * FileDialog.cs: Visual enhancement for the popup buttons in
  7181. PopupButtonPanel
  7182. 2006-03-31 Alexander Olk <[email protected]>
  7183. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  7184. code
  7185. 2006-03-30 Alexander Olk <[email protected]>
  7186. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  7187. highlighted menu items to match ms
  7188. 2006-03-30 Peter Dennis Bartok <[email protected]>
  7189. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  7190. 2006-03-30 Mike Kestner <[email protected]>
  7191. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  7192. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  7193. go active to account for HotLight to Selected transition.
  7194. * MenuItem.cs: add internal Selected prop. Fill out the Status
  7195. property by calculating it from item info. Add HotLight,
  7196. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  7197. 2006-03-30 Mike Kestner <[email protected]>
  7198. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  7199. 2006-03-29 Jackson Harper <[email protected]>
  7200. * Form.cs: Implement TODO.
  7201. 2006-03-29 Peter Dennis Bartok <[email protected]>
  7202. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  7203. missing proper dialog setup in the constructor
  7204. 2006-03-29 Peter Dennis Bartok <[email protected]>
  7205. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  7206. * Control.cs:
  7207. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  7208. - Fixed ResetBindings and removed TODO
  7209. - Added check for cross-thread calls to get_Handle()
  7210. - Added Marshaller attribute for set_Font to satisfy class status
  7211. * FontDialog.cs: Removed TODOs that seemed implemented
  7212. * UpDownBase.cs: Removed unneeded TODO and Fixme
  7213. * MessageBox.cs: Implemented support for Default button and removed TODO
  7214. * FileDialog.cs: Removed obsolete TODO
  7215. * DomainUpDown.cs: Removed obsolete TODO
  7216. * ButtonBase.cs: Removed obsolete TODO
  7217. * XplatUIWin32.cs: Removed obsolete TODO
  7218. * Form.cs:
  7219. - Removed obsolete TODO
  7220. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  7221. internal status updates
  7222. - Making sure the active control is selected when the control is created
  7223. * CurrencyManager.cs: Removed obsolete TODO
  7224. 2006-03-29 Mike Kestner <[email protected]>
  7225. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  7226. of PrintPreviewDialog and RichTextBox.
  7227. 2006-03-29 Alexander Olk <[email protected]>
  7228. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  7229. DarkDark, Light and LightLight colors for a specific color
  7230. * ThemeWin32Classic.cs:
  7231. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  7232. Appearance = Button
  7233. - Make use of the new ResPool helper CPColor
  7234. - Draw ProgressBar and StatusBar with correct 3D borders
  7235. 2006-03-29 Alexander Olk <[email protected]>
  7236. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  7237. 2006-03-28 Mike Kestner <[email protected]>
  7238. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  7239. calculating col/row counts.
  7240. 2006-03-28 Mike Kestner <[email protected]>
  7241. * ColumnHeader.cs:
  7242. * ListView.cs:
  7243. * ListViewItem.cs:
  7244. * Menu.cs:
  7245. switch to explicit interface method implementation for some methods
  7246. corcompare identifies as inconsistent with MS.
  7247. 2006-03-28 Mike Kestner <[email protected]>
  7248. * MainMenu.cs:
  7249. * Menu.cs:
  7250. add a few missing methods from the class status output.
  7251. 2006-03-28 Alexander Olk <[email protected]>
  7252. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  7253. correct.
  7254. 2006-03-28 Mike Kestner <[email protected]>
  7255. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  7256. 2006-03-27 Mike Kestner <[email protected]>
  7257. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  7258. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  7259. 2006-03-27 Alexander Olk <[email protected]>
  7260. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  7261. 2006-03-25 Alexander Olk <[email protected]>
  7262. * ThemeWin32Classic.cs:
  7263. - GroupBox: Inserted a little gap between the text and the lines
  7264. on the right side
  7265. - Made the code in CPDrawBorder3D more readable
  7266. - Corrected the drawing location of the up and down arrows in
  7267. CPDrawScrollButton
  7268. 2006-03-25 Alexander Olk <[email protected]>
  7269. * ControlPaint.cs: Corrected line widths in DrawBorder for
  7270. ButtonBorderStyle Inset and Outset
  7271. 2006-03-25 Alexander Olk <[email protected]>
  7272. * ThemeWin32Classic.cs:
  7273. - Rewrote the totally broken CPDrawBorder3D method. That was
  7274. one of the main problems for the terrific ThemeWin32Classic
  7275. look
  7276. - Updated and corrected Button drawing
  7277. - Correct the dimensions of the SizeGrip to match ms ones
  7278. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  7279. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  7280. Border3DStyle.Sunken to match ms.
  7281. 2006-03-25 Alexander Olk <[email protected]>
  7282. * ThemeWin32Classic.cs: First small part of the "de-uglify
  7283. ThemeWin32Classic" effort, SizeGrip
  7284. 2006-03-24 Jackson Harper <[email protected]>
  7285. * XplatUIX11.cs: Give a max idle time of one second, this matches
  7286. MS and forces an Idle event every second when there are no other
  7287. events in the queue.
  7288. 2006-03-24 Mike Kestner <[email protected]>
  7289. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  7290. * ListView.Item.cs: fix layout issues with null image lists and images
  7291. smaller than checkbox size.
  7292. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  7293. mode like MS does. It's weird, but consistent. ;-)
  7294. Fixes #77890.
  7295. 2006-03-24 Mike Kestner <[email protected]>
  7296. * ListView.cs: Scroll wheel support for the item control. Fixes
  7297. #77839.
  7298. 2006-03-23 Jackson Harper <[email protected]>
  7299. * ScrollableControl.cs: Special case negative sized areas, not
  7300. zero.
  7301. * MonthCalendar.cs: Save the rect of the clicked date so we can
  7302. use it for invalidation.
  7303. - Try to cut down on the number of invalidates
  7304. - Invalidate the rect the mouse is over and was over when moving
  7305. the mouse, so we get the focus box following the cursor.
  7306. 2006-03-23 Mike Kestner <[email protected]>
  7307. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  7308. focus rectangle drawing. Fixes #77835.
  7309. 2006-03-23 Mike Kestner <[email protected]>
  7310. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  7311. the if and else if and reverting back to the original == check on the
  7312. None conditional.
  7313. 2006-03-23 Alexander Olk <[email protected]>
  7314. * FontDialog.cs: Update the example panel if the selected index of
  7315. the fontListBox changes.
  7316. 2006-03-23 Alexander Olk <[email protected]>
  7317. * FileDialog.cs: Make FileDialog remember which directory it was in
  7318. last in the same execution.
  7319. 2006-03-22 Mike Kestner <[email protected]>
  7320. * FileDialog.cs: make the DropDownMenu on the toolbar display
  7321. RadioChecks since they are mutually exclusive and that's what MS does.
  7322. 2006-03-22 Mike Kestner <[email protected]>
  7323. * Theme.cs: add Color param to CPDrawMenuGlyph.
  7324. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  7325. checks and radio marks and arrows are visible on highlighted items.
  7326. * ControlPaint.cs: update to use new Theme signature.
  7327. 2006-03-22 Mike Kestner <[email protected]>
  7328. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  7329. is active. Fixes #77870.
  7330. 2006-03-22 Alexander Olk <[email protected]>
  7331. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  7332. to be focused/selected after startup
  7333. 2006-03-22 Alexander Olk <[email protected]>
  7334. * ColorDialog.cs:
  7335. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  7336. CustomColors and ShowHelp properties
  7337. - Some internal rewrites to get better results when using the
  7338. ColorMatrix
  7339. 2006-03-22 Mike Kestner <[email protected]>
  7340. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  7341. HoverSelection. Fixes #77836.
  7342. 2006-03-22 Mike Kestner <[email protected]>
  7343. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  7344. ToggleButtons. (De)Sensitize the Back button around a stack count of
  7345. 1, not 0. Update ButtonSize based on a pixel count of the win32
  7346. control. Adjust the toolbar size/location for new button size.
  7347. 2006-03-22 Jackson Harper <[email protected]>
  7348. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  7349. true.
  7350. * ScrollBar.cs: When doing increments and decrements we need to
  7351. set the Value property so that ValueChanged gets raised. A
  7352. possible optimization here would be to make an internal SetValue
  7353. that doesn't invalidate immediately.
  7354. * ToolTip.cs: Tooltips get added to their container (when
  7355. supplied) so they get disposed when the container is disposed.
  7356. - Don't create tooltips for String.Empty. This prevents all these
  7357. little 2-3 pixel windows from showing up when running nunit-gui
  7358. and driving me mad.
  7359. * Form.cs: Don't set topmost when setting the owner if the handles
  7360. haven't been created yet. The topmost set will happen when the
  7361. handles are created.
  7362. 2006-03-22 Peter Dennis Bartok <[email protected]>
  7363. * XplatUIX11.cs:
  7364. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  7365. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  7366. visible (to allow them to recalculate their sizes)
  7367. 2006-03-21 Mike Kestner <[email protected]>
  7368. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  7369. methods. Removed a ton of redundant code. Still not really happy with
  7370. the border rendering, but I think that's mainly because of the
  7371. ControlDarkDark being black instead of a dark grey. Depending on how
  7372. close we want to be, we might want to revisit those color choices.
  7373. Among the new features added during the refactor were DropDownArrow
  7374. pressed rendering, Disabled image rendering. Proper flat appearance
  7375. boundary rendering. Removed the Divider and Wrapping dividers since I
  7376. can't figure out any combination of themes and conditions to make the
  7377. MS control draw a horizontal line on a toolbar despite what the
  7378. Divider property docs indicate.
  7379. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  7380. conditions and incorrect layout. Updated to coding standard.
  7381. * ToolBarButton.cs: refactored layout and positioning code from
  7382. ToolBar to here. Invalidate wherever possible instead of forcing
  7383. redraws of the whole toolbar.
  7384. (Known remaining issues: explicit ButtonSize smaller than provided
  7385. images.)
  7386. 2006-03-21 Mike Kestner <[email protected]>
  7387. * ContextMenu.cs (Show): use the position parameter instead of just
  7388. showing at the MousePosition.
  7389. 2006-03-21 Jackson Harper <[email protected]>
  7390. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  7391. control handle this.
  7392. * TreeNodeCollection.cs: If we are clearing the root node we need
  7393. to reset top_node so calcs can still happen.
  7394. * ThemeWin32Classic.cs: This is a Flags so we need to check
  7395. properly.
  7396. 2006-03-21 Jackson Harper <[email protected]>
  7397. * DataGrid.cs: Create columns when the binding context has been
  7398. changed.
  7399. * X11Structs.cs: Keysyms are uints.
  7400. - Add size to fix build.
  7401. 2006-03-21 Peter Dennis Bartok <[email protected]>
  7402. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  7403. XplatUIOSX.cs:
  7404. - Added ResetMouseHover method to allow controls to retrigger
  7405. hovering if they need it more than once
  7406. - Implemented MouseHoverTime and MouseHoverSize properties
  7407. * Timer.cs: Start() must reset the interval
  7408. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  7409. properties
  7410. 2006-03-21 Jackson Harper <[email protected]>
  7411. * X11Keyboard.cs: improved layout detection. Move the nonchar
  7412. tables into this file.
  7413. * KeyboardLayouts.cs: Move the tables into resource files.
  7414. 2006-03-21 Mike Kestner <[email protected]>
  7415. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  7416. 2006-03-21 Alexander Olk <[email protected]>
  7417. * Mime.cs: Various speed optimizations. Looking up mime types
  7418. is now 2 times faster than before
  7419. 2006-03-17 Peter Dennis Bartok <[email protected]>
  7420. * CreateParams.cs: Added internal menu field
  7421. * Control.cs:
  7422. - Switched call order for UpdateBounds; now we always call
  7423. the one that also takes ClientSize, and we're calculating the
  7424. client size via driver method in the others. The previous
  7425. method of tracking client size by difference wasn't working
  7426. for forms where even the starting client size wouldn't match
  7427. the overall form size (due to borders) (Part of fix for #77729)
  7428. - CreateParams(): Do not use parent.Handle unless the handle is
  7429. already created. Causes havoc with Nexxia and throws off our
  7430. creation of controls
  7431. * XplatUIX11.cs:
  7432. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  7433. - Switched handling of ConfigureNotify over to new PerformNCCalc
  7434. method (consolidates code)
  7435. - Changed RequestNCRecalc to use new PerformNCCalc method
  7436. - Added calls to RequestNCRecalc when menus and borders are changed
  7437. to allow app to set NC size. (Part of fix for #77729) This matches
  7438. when MS send a WM_NCRECALC on Win32 windows.
  7439. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  7440. (Part of fix for #77729). This matches what MS does, they also
  7441. send that message when the form is made visible.
  7442. - XException.GetMessage: Improved usability of X errors by including
  7443. a translation of the window into Hwnd and Control class
  7444. - Improved debug info for window creation, reparenting and destruction
  7445. - Created helper method WindowIsMapped() [Currently not used]
  7446. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  7447. * Form.cs:
  7448. - CreateParams: Now setting our menu on the new internal menu field
  7449. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  7450. avoid calculating the same property twice
  7451. * Hwnd.cs:
  7452. - Improved usability of ToString() for debugging purposes
  7453. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  7454. determine the height of the menu, instead of just the font. This
  7455. required to also create a graphics context and to keep a bmp
  7456. around (for performance reasons)
  7457. 2006-03-17 Peter Dennis Bartok <[email protected]>
  7458. * MenuAPI.cs: Added OnMouseUp method
  7459. * Form.cs:
  7460. - Now remembering the requested client size, avoids size errors
  7461. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  7462. instead of base if the menu is active. This is required due to
  7463. control now capturing and releasing on down/up and it would
  7464. prematurely release our menu capture
  7465. 2006-03-17 Jackson Harper <[email protected]>
  7466. * KeyboardLayouts.cs: Add the czech layouts.
  7467. 2006-03-16 Jackson Harper <[email protected]>
  7468. * Control.cs: Use the viewport space when sizing not the controls
  7469. client size, so things like ScrollableControl that effect the
  7470. viewport size (when scrollbars are added) are computed correctly.
  7471. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  7472. of ManagerEntrys.
  7473. - Handle creating BindingManagers for null data sources.
  7474. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  7475. source, otherwise when rows are added they are added to the 'fake'
  7476. datasource and we will crash when trying to set the position in
  7477. those rows.
  7478. - Use Implicit scrollbars on the datagrid so they arent
  7479. selectable.
  7480. 2006-03-16 Jackson Harper <[email protected]>
  7481. * Binding.cs:
  7482. * InternalWindowManager.cs:
  7483. * MdiWindowManager.cs:
  7484. * X11Keyboard.cs: I really want Mike to love me again (fix
  7485. compiler warnings).
  7486. 2006-03-16 Peter Dennis Bartok <[email protected]>
  7487. * DataGrid.cs:
  7488. - OnMouseDown: Switch to editing mode when clicking on the cell
  7489. even if we're clicking on the cell that's currently
  7490. selected
  7491. - ProcessGridKey: Left/Right now wrap like MS.Net does
  7492. - ProcessGridKey: Tab now knows to add a new row when tab is
  7493. pressed in the cell of the last column of the
  7494. last row
  7495. - ProcessGridKey: Enter now adds another row if pressed in the last
  7496. row and selectes the new row, same column cell
  7497. - ProcessGridKey: Home/End navigate columns, not rows, like
  7498. originally implemented
  7499. - Broke ProcessKeyPreview code out into an extra Internal method
  7500. so it can be called from the edit code
  7501. * DataGridTextBox.cs (ProcessKeyMessage):
  7502. - Switched to accept Tab keypresses
  7503. - Added F2 handling to allow jumping to the end of the edited cell
  7504. - Added logic to allow moving caret left/right inside edited cell
  7505. and making the edited cell jump when the caret hits cell borders
  7506. - Tab and Enter are now passed to the datagrid after being handled
  7507. * TextBoxBase.cs:
  7508. - Removed capture code now that Control handles it
  7509. - set_SelectionStart now ensures caret is visible
  7510. 2006-03-16 Jackson Harper <[email protected]>
  7511. * TrackBar.cs: Debackwards the increment/decrement for handling
  7512. mouse clicks on the bar with vertical trackbars.
  7513. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  7514. bottom to match MS.
  7515. 2006-03-16 Mike Kestner <[email protected]>
  7516. * ListView.cs: make shift/ctrl keyboard and mouse selection
  7517. consistent with the MS control. Fix a bug in
  7518. SelectedListViewItemCollection.Clear that was pissing me off for the
  7519. better part of a day because the collection was being altered
  7520. underneath us as we walked the list.
  7521. 2006-03-16 Peter Dennis Bartok <[email protected]>
  7522. * Control.cs: Not sure how we could miss this so long, but it seems
  7523. that MS.Net has Capture set all the way from before calling
  7524. OnMouseDown through sending the mouse events until after
  7525. OnMouseUp. This will fix DataGrid's selection being set to end
  7526. at the location of the MouseUp.
  7527. 2006-03-15 Jackson Harper <[email protected]>
  7528. * BindingContext.cs: Check the binding after its added so that it
  7529. can initialize the binding managers and hookup to events.
  7530. * Binding.cs: Data members seem to sometimes include rows/cols in
  7531. the format Row.Column we now take this into account.
  7532. - Hookup to the position changed event so we can update the
  7533. control when the position has changed in the data set.
  7534. * CurrencyManager.cs: Take into account the row/col naming
  7535. convention when creating dataset tables.
  7536. * BindingContext.cs: Using a newer better way of storing
  7537. datasource/datamember pairs. Hopefully this better matches MS for
  7538. looking up binding managers.
  7539. 2006-03-15 Jackson Harper <[email protected]>
  7540. * BindingContext.cs: The currency manager needs the data member
  7541. name, if the member is a data set we use the name to find the
  7542. correct table.
  7543. * CurrencyManager.cs: When creating the list prefer an IList over
  7544. an IListSource.
  7545. - Attempt to create a DataTable from a DataSet (TODO: might need
  7546. some better error checking here, although MS doesn't seem to have much)
  7547. - If we have a DataTable create a view and use it as our list.
  7548. 2006-03-15 Mike Kestner <[email protected]>
  7549. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  7550. keyboard navigation. Support Up/Down/Left/Right selection correctly
  7551. for all 4 View modes.
  7552. * ListViewItem.cs: add internal row/col fields for icon layouts.
  7553. 2006-03-15 Jackson Harper <[email protected]>
  7554. * TabControl.cs: Redraw the tabs when we resize so their newly
  7555. calculated sizes are drawn on screen.
  7556. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  7557. composite characters.
  7558. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  7559. - filter events so that composite characters can be created
  7560. patches by peter
  7561. * X11Structs.cs: Add XIMProperties enum.
  7562. 2006-03-14 Peter Dennis Bartok <[email protected]>
  7563. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  7564. unless it's created
  7565. 2006-03-14 Peter Dennis Bartok <[email protected]>
  7566. * Control.cs (PerformLayout): We don't need to consider visiblity
  7567. for anchoring, only for docking. This fixes 'whacky' alignment
  7568. in listbox and other controls that use implicit scrollbars after
  7569. the previous PerformLayout patch
  7570. * ListBox.cs: Switched to use implicit scrollbars
  7571. 2006-03-14 Mike Kestner <[email protected]>
  7572. * ToolBar.cs:
  7573. * VScrollBar.cs:
  7574. - chain up the "new event" overrides to base and use
  7575. OnEvent to raise them. Part of fix for bug #76509.
  7576. 2006-03-14 Alexander Olk <[email protected]>
  7577. * FileDialog.cs: Do not select an item in the parent directory
  7578. on backspace
  7579. 2006-03-14 Peter Dennis Bartok <[email protected]>
  7580. * Control.cs (PerformLayout): It would seem that we considered
  7581. invisible windows for our layout. Not quite the right thing
  7582. to do. Now we don't any longer, thereby fixing bug #76889.
  7583. 2006-03-14 Peter Dennis Bartok <[email protected]>
  7584. * Control.cs (CanFocus): I goofed. A control can have focus
  7585. even though it's not selectable. Made it match MS docs.
  7586. 2006-03-13 Peter Dennis Bartok <[email protected]>
  7587. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  7588. center by default (fixes #76895)
  7589. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  7590. all uses of Border3DSides.All with the explicit ORd together
  7591. Left|Right|Top|Bottom because I assume that nobody was aware
  7592. that All also implies a center fill. Most places I checked had
  7593. a fill right above.
  7594. * ProgressBarStyle.cs: Added
  7595. 2006-03-13 Mike Kestner <[email protected]>
  7596. * ListView.cs: fix breakage in drag shadow header positioning
  7597. from Peter's csc compilation fix.
  7598. 2006-03-13 Mike Kestner <[email protected]>
  7599. * ListView.cs: fix NRE produced by backspacing twice in a focused
  7600. FileDialog.
  7601. 2006-03-13 Mike Kestner <[email protected]>
  7602. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  7603. 2006-03-13 Peter Dennis Bartok <[email protected]>
  7604. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  7605. be changed
  7606. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  7607. the allowed size before making programmatic size changes
  7608. 2006-03-13 Peter Dennis Bartok <[email protected]>
  7609. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  7610. set, metacity is broken and will still use the emty sizes in
  7611. the struct. (Fix for #77089)
  7612. 2006-03-13 Peter Dennis Bartok <[email protected]>
  7613. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  7614. WindowExStyles and marked both enums as Flags
  7615. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  7616. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  7617. to match WindowStyles split
  7618. * XplatUIX11.cs:
  7619. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  7620. - Updated to match WindowStyles split
  7621. * XplatUIWin32.cs:
  7622. - Fixed FosterParent creation, was using ExStyle on the Style field
  7623. (This should help with Popup focus issues)
  7624. - Updated to match WindowStyles split
  7625. 2006-03-13 Jackson Harper <[email protected]>
  7626. * MdiWindowManager.cs: Use the system menu height. Fixes some
  7627. strange sizing issues.
  7628. 2006-03-12 Peter Dennis Bartok <[email protected]>
  7629. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  7630. * TextBoxBase.cs:
  7631. - Scroll to caret after inserting text (#77672)
  7632. - Make scroll range one pixel higher, fixes off-by-one error (and
  7633. makes underlines visible on the last line)
  7634. 2006-03-12 Peter Dennis Bartok <[email protected]>
  7635. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  7636. the keyboard state from being stuck with keys in 'pressed' state when
  7637. focus is switched away via keyboard
  7638. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  7639. reset the keyboard if no X11 KeyUp events are expected to come
  7640. * X11Structs.cs: Switched type of Visible to bool to match driver
  7641. 2006-03-12 Peter Dennis Bartok <[email protected]>
  7642. * TextControl.cs:
  7643. - Switched caret to be just 1 pixel wide, matches MS and looks less
  7644. clunky
  7645. - Moved caret display 1 pixel down from the top of the control
  7646. to improve view
  7647. - InsertCharAtCharet: Update the selection start if moving the caret
  7648. (fixes bug #77696; based on patch suggested by [email protected])
  7649. - No longer always creating the caret when the caret methods are
  7650. called. Only the actual ShowCaret/HideCaret will do that now
  7651. - Only setting caret visible if the owner control has focus
  7652. - UpdateView: Added invalidation-shortcut logic for center and right
  7653. aligned text. Previously we'd update all according to the left
  7654. logic which caused drawing errors. Also fixed height of invalidated
  7655. areas, now properly invalidating the whole area (was off-by-one)
  7656. - owner_HandleCreated: Always generate the document when the
  7657. handle is created; this ensures that
  7658. * TextBoxBase.cs:
  7659. - Fixed situation where caret would disappear under the right
  7660. window border, also improved scrolling behaviour on left-
  7661. aligned textboxes
  7662. - Fixed right-aligned textboxes to have a border to the
  7663. right instead of the caret being under the right border
  7664. * XplatUIX11.cs:
  7665. - Switched from 'nested' to simple visible/not visible tracking
  7666. for caret (part of fix for #77671)
  7667. - No longer passing through translated FocusIn/FocusOut messages
  7668. since we were notifying too often and the wrong windows. Instead
  7669. we just notify our focussed window of receiving or loosing focus
  7670. * XplatUIWin32.cs: Switched from 'nested' show/hide
  7671. counting for caret to simple visible yes/no behaviour (part of
  7672. fix for #77671)
  7673. 2006-03-11 Alexander Olk <[email protected]>
  7674. * Mime.cs: Remove debug code...
  7675. 2006-03-11 Alexander Olk <[email protected]>
  7676. * MimeGenerated.cs: Removed
  7677. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  7678. and subclasses) from /usr/(local/)share/mime and
  7679. $HOME/.local/share/mime.
  7680. 2006-03-10 Jackson Harper <[email protected]>
  7681. * MdiWindowManager.cs: Recalc the NC area when a window is
  7682. maximized/restored so that the menu area is drawn on forms that
  7683. don't have a menu.
  7684. 2006-03-10 Peter Dennis Bartok <[email protected]>
  7685. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  7686. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  7687. us to force a WM_NCCALCRESIZE message being sent. This is needed
  7688. for MDI maximizing.
  7689. 2006-03-10 Jackson Harper <[email protected]>
  7690. * Form.cs: We need to use the ActiveMenu when calculating menu
  7691. height.
  7692. - Fix nullref when the window manager hasn't been created yet.
  7693. * Control.cs: Fix nullref when we try to bring a control to the
  7694. front that has no parent.
  7695. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  7696. height.
  7697. - Add a dummy item to the maximized menu so it always has the
  7698. correct height. Otherwise when there are no menus we don't get our
  7699. icon and buttons.
  7700. 2006-03-10 Jackson Harper <[email protected]>
  7701. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  7702. stuff.
  7703. * Form.cs: Make the window_state internal so the window managers
  7704. can track it.
  7705. - When an MDI child is maximized let its window manager create the
  7706. main menu (so it can add its icon).
  7707. - Notify the window managers of state changes
  7708. - Let the window manager paint its buttons and handle button
  7709. clicks on the menu when it is maximized.
  7710. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  7711. window manager, since tool windows don't use it, only mdi windows.
  7712. - Tell the main form that we don't want it to handle NCPAINT
  7713. itself to avoid extra painting.
  7714. - Handle clicks on a maximized windows menu.
  7715. - Handle window state changes
  7716. - Handle minimize/maximize clicks correctly by setting the window state.
  7717. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  7718. when clicking on the forms icon).
  7719. - New method to create a forms maximized menu. This is its normal
  7720. menu + an icon.
  7721. - Handle window state changes.
  7722. - Handle sizing of maximized windows. Maximized windows are just
  7723. drawn bigger then the parent visible area. All controls are still
  7724. there, they are just outside the visible area (this matches windows).
  7725. * MdiClient.cs: No scrollbars when a child window is maximized.
  7726. - Let the children windows figure out how big they should be when
  7727. sizing maximized windows.
  7728. - Implement a version of ArrangeIconicWindows somewhat similar to
  7729. Windows version. There are some little differences, but I don't
  7730. think any app will rely on the layout of minimized mdi windows.
  7731. 2006-03-10 Peter Dennis Bartok <[email protected]>
  7732. * Padding.cs: Several fixes to allow compiling with csc 2.0
  7733. 2006-03-09 Jackson Harper <[email protected]>
  7734. * Menu.cs:
  7735. * MenuItem.cs: Cheap hack so we can add items to the list without
  7736. the events being raised. This allows adding mdi items during
  7737. drawing. TODO: Should probably find a better time to add the items.
  7738. 2006-03-10 Peter Dennis Bartok <[email protected]>
  7739. * ThemeWin32Classic.cs:
  7740. - CheckBox_DrawText: Added logic to not wrap if not enough space
  7741. is available (Fix for bug #77727)
  7742. - RadioButton_DrawText: Added logic not to wrap if not enough
  7743. space is available (Fix for bug #77727). Also removed some
  7744. duplicate code, DrawString always drawing the regular text
  7745. before hitting the if statement.
  7746. 2006-03-10 Peter Dennis Bartok <[email protected]>
  7747. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  7748. 2006-03-10 Peter Dennis Bartok <[email protected]>
  7749. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  7750. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  7751. methods. Moved the new 2.0 properties into alphabetical order with
  7752. other properties and added MonoTODO tags
  7753. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7754. * AutoScaleMode.cs: Added. Fix build.
  7755. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7756. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  7757. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  7758. and was requiring premature handle creation for calls from above
  7759. * Form.cs, Control.cs: Removed handle arguments from calls to
  7760. CalculateClientRect()
  7761. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7762. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  7763. drag_column.column_rect is MarshalByRef and can't be used that way
  7764. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7765. * AxHost.cs: Added deserialization constructor for
  7766. AxHost+State (fixes 77743)
  7767. 2006-03-09 Mike Kestner <[email protected]>
  7768. * ListView.cs:
  7769. - Added column drag reordering for details view.
  7770. - fixed behavior when mouse is dragged off column and
  7771. AllowColumnReorder is false.
  7772. * ColumnHeader.cs: clone the format too in Clone.
  7773. * Theme.cs: add DrawListViewHeaderDragDetails method.
  7774. * ThemeWin32Classic.cs:
  7775. - impl new method for drawing drag column shadows and targets.
  7776. - support column offset for details mode in DrawListViewItem.
  7777. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7778. * TextControl.cs: Reset the char_count when the document is cleared
  7779. (Fixes bug reported on mono-winforms mailing list)
  7780. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7781. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  7782. of calling base we simply process the key ourselves, since both
  7783. DefWindowProc and the handled method would set m.Result.
  7784. (Fixes #77732)
  7785. 2006-03-09 Peter Dennis Bartok <[email protected]>
  7786. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  7787. method also moves the window; instead implemented a copy of
  7788. Control.ScaleCore (Part of fix for #77456)
  7789. * TextBoxBase.cs:
  7790. - Created new CreateGraphicsInternal method to allow providing
  7791. a graphics context when no handle is created without triggering
  7792. handle creation. (Part of fix for #77456)
  7793. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  7794. * TextControl.cs:
  7795. - Switched Constructor to require TextBoxBase instead of Control (to
  7796. allow uncast access to CreateGraphicsInternal)
  7797. - Safeguarded use of owner.Handle property. No longer accessing it
  7798. unless the handle is already created.
  7799. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  7800. - Now triggering a recalc when owning control becomes visible
  7801. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  7802. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  7803. premature handle creation (Part of fix for #77456)
  7804. * Control.cs:
  7805. - We now only destroy our double-buffering buffers when the
  7806. control is resized or disposed, but not when visibility
  7807. changes. (The code even re-created them twice every time)
  7808. - Now requiring a redraw of the buffer on visibility changes
  7809. (fixes bug 77654 part 2)
  7810. - Not passing OnParentVisibleChanged up unless the control
  7811. is visible
  7812. - CanFocus: Fixed to match MS documentation
  7813. - Focus: Fixed to return actual focus state and to check if
  7814. setting focus is legal before setting it
  7815. 2006-03-08 Peter Dennis Bartok <[email protected]>
  7816. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  7817. when to draw focus rectangle by looking at parent focus and
  7818. selected state instead. This fixes TabPages on Linux sometimes
  7819. having none or multiple focus rectangles.
  7820. * XplatUIX11.cs (SetFocus):
  7821. - Don't set the focus if the same window already has focus
  7822. - Use SendMessage instead of PostMessage (like it's Win32
  7823. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  7824. to match MS behaviour
  7825. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  7826. are not selectable.
  7827. 2006-03-07 Jackson Harper <[email protected]>
  7828. * PictureBox.cs: Revert line I accidently committed last week.
  7829. 2006-03-07 Peter Dennis Bartok <[email protected]>
  7830. * Control.cs:
  7831. - Added new IsRecreating and ParentIsRecreating properties to
  7832. allow testing if RecreateHandle has been called on ourselves
  7833. or one of our parents
  7834. - WndProc(WM_DESTROY): If our control handle is being recreated
  7835. we immediately need to create the handle when receiving the
  7836. destroy, that way our child windows find a valid parent handle
  7837. when they themselves are being recreated upon WM_DESTROY receipt
  7838. (fix for bug #77654 part 1)
  7839. * XplatUIX11.cs:
  7840. - DestroyWindow: WM_DESTROY must be sent to our own window before
  7841. notifying any child windows. MS documents that child windows
  7842. are still valid when WM_DESTROY is received. (Control now relies on
  7843. this behaviour)
  7844. - Added some fine-grain debug options
  7845. 2006-03-06 Jackson Harper <[email protected]>
  7846. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  7847. box and base calculations off this.
  7848. * MdiChildContext.cs:
  7849. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  7850. anymore.
  7851. 2006-03-06 Peter Dennis Bartok <[email protected]>
  7852. * Splitter.cs: In situations where the affected control is added
  7853. to the parent's control list after the splitter, we would not
  7854. populate affected. Now we try populating it on mousedown, if
  7855. it's not already set, and force it to be re-set whenever our
  7856. parent changes.
  7857. 2006-03-03 Matt Hargett <[email protected]>
  7858. * Control.cs: implement Control.Padding
  7859. * Padding.cs: -Padding.All returns -1 when constructing with the
  7860. implicit default ctor
  7861. -Padding.ToString() matches MS.NET
  7862. * ContainerControl.cs: implement
  7863. ContainerControl.AutoScaleDimensions
  7864. * ListControl.cs: implement ListControl.FormattingEnabled
  7865. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  7866. * ButtonBase.cs:
  7867. * TabPage.cs: Implement UseVisualStyleBackColor.
  7868. * PictureBox.cs: Implement PictureBox.InitialImage.
  7869. 2006-03-03 Mike Kestner <[email protected]>
  7870. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  7871. event declarations to proxy to base event.
  7872. * ListViewItem.cs: update to use ItemControl.
  7873. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  7874. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  7875. column header label rendering for 0 width columns.
  7876. 2006-03-03 Peter Dennis Bartok <[email protected]>
  7877. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  7878. that causes the control to be created. Fixes #77476.
  7879. 2006-03-02 Jackson Harper <[email protected]>
  7880. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  7881. expose_pending.
  7882. 2006-03-02 Peter Dennis Bartok <[email protected]>
  7883. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  7884. passed in for the EventArgs (fixes #77690)
  7885. 2006-03-01 Jackson Harper <[email protected]>
  7886. * ScrollBar.cs: Refresh afterbeing resized.
  7887. 2006-02-28 Mike Kestner <[email protected]>
  7888. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  7889. Clean up a tracker compile warning.
  7890. * MenuItem.cs: add internal PerformPopup method.
  7891. [Fixes #77457]
  7892. 2006-02-28 Peter Dennis Bartok <[email protected]>
  7893. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  7894. implicit expose) when the text is set to null
  7895. 2006-02-28 Peter Dennis Bartok <[email protected]>
  7896. * RichTextBox.cs (FlushText): When newline is true, we always
  7897. need to split the line, even if no text is on it and we may
  7898. never eat newlines. (Fixes #77669)
  7899. 2006-02-28 Mike Kestner <[email protected]>
  7900. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  7901. and set Selected instead.
  7902. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  7903. collections.
  7904. 2006-02-28 Peter Dennis Bartok <[email protected]>
  7905. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  7906. 2006-02-28 Alexander Olk <[email protected]>
  7907. * FontDialog.cs:
  7908. - Got rid of the panel. All controls are now directly added to
  7909. the dialog form
  7910. - It is now possible to set a font with the Font property
  7911. - MinSize and MaxSize property do now what they should
  7912. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  7913. - Searching and selecting a font with the font textbox works now,
  7914. the same applies to the style and size textbox
  7915. - Draw the correct 3D border in the example panel
  7916. - Fixed a little mem leak (unused fonts didn't get disposed)
  7917. - Many other internal updates/rewrites...
  7918. - Fix typo
  7919. 2006-02-27 Peter Dennis Bartok <[email protected]>
  7920. * TextControl.cs:
  7921. - InsertRTFFromStream: Added 'number of characters inserted' argument
  7922. - set_SelectedRTF: Now using the number of characters to calculate
  7923. the new location for the selection and cursor (x/y cannot be used
  7924. due to potentially already wrapped text)
  7925. 2006-02-27 Peter Dennis Bartok <[email protected]>
  7926. * TextControl.cs: Added property and implemented means to allow
  7927. disabling recalculation of a document (can be used to speed up
  7928. multiple inserts and is needed to make RTF inserts predictable, see
  7929. bug #77659)
  7930. * RichTextBox.cs: Using the new NoRecalc property of Document to
  7931. keep x/y insert locations predictable. Also makes it faster inserting
  7932. large chunks of RTF
  7933. 2006-02-27 Peter Dennis Bartok <[email protected]>
  7934. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  7935. it's easier for a child control to handle the other messages without
  7936. having to duplicate the special functionality
  7937. * TextBoxBase.cs
  7938. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  7939. code to handle processing the key ourselves, in order to get
  7940. access to the result of KeyEventArgs.Handled. We now only call
  7941. ProcessKey if they key hasn't been handled already. Fixes #77526.
  7942. - set_Text: If null or empty string is given, just clear the
  7943. document. Fixes part of #77526
  7944. 2006-02-27 Jackson Harper <[email protected]>
  7945. * SizeGrip.cs: Paint the background color before painting the grip
  7946. so things look right.
  7947. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  7948. 2006-02-27 Mike Kestner <[email protected]>
  7949. * ListView.cs:
  7950. - Restructure layout and invalidation model to remove a ton of
  7951. flicker from the control and speed up performance in general.
  7952. - Add manual column resize, flickers like crazy, but I already have
  7953. some ideas on how I'll fix that. (#76822)
  7954. - Merge the three Icon-based views into a single layout method.
  7955. - Move item selection interaction logic from the item since
  7956. interaction with the collections is more appropriate to the view.
  7957. - Deselection on non-item clicks.
  7958. * ListViewItem.cs:
  7959. - Encapsulate most of the layout. Add some internal props to trigger
  7960. layout. Move to a model where Items invalidate themselves instead
  7961. of just invalidating the whole control every time something changes.
  7962. - Invalidate on Text/Caption changes.
  7963. - switch to an offset based layout model to avoid having to absolute
  7964. position every element on item moves.
  7965. - correct checkbox layout to conform to MS layout.
  7966. * ThemeWin32Classic.cs:
  7967. - refactor some column header drawing code.
  7968. - fix string justification for column headers (#76821)
  7969. - make SmallIcon labels top justified for compat with MS impl.
  7970. * ThemeClearlooks.cs:
  7971. - adjust to new ListViewItem internal checkbox bounds api.
  7972. 2006-02-27 Jackson Harper <[email protected]>
  7973. * Control.cs: Change where implicit controls fall in the zorder.
  7974. They are now on top of all children.
  7975. - Synced AddImplicit code with Add
  7976. - Removed unused enumerator.
  7977. * SizeGrip.cs: Remove the TODO as its been TODONE.
  7978. 2006-02-26 Peter Dennis Bartok <[email protected]>
  7979. * TextControl.cs(Insert): Combine the last lines unless the insertion
  7980. string ends with \n\n, otherwise we leave one line too many (Fixes
  7981. something I noticed with the testapp for #77526; the bug itself was
  7982. already fixed in the previous checkin)
  7983. 2006-02-26 Peter Dennis Bartok <[email protected]>
  7984. * RichTextBox.cs:
  7985. - SelectionColor and SelectionFont methods no longer set absolute
  7986. styles. Instead, the keep font or color respectively (This
  7987. resolves a long-standing FIXME in the code)
  7988. - When flushing RTF text, the insert code now considers text trailing
  7989. behind the insertion point (Fixes the bug where when replacing
  7990. the selected text via SelectedRTF the remainder of the line behind
  7991. the selection would stay on the first insertion line)
  7992. * TextBoxBase.cs:
  7993. - AppendText now updates the selection points after inserting text
  7994. - AppendText now ensures that the last tag (sometimes 0-length) of
  7995. the document is used for the style information (Fixes part of
  7996. bug #77220)
  7997. * TextControl.cs:
  7998. - Created new FontDefiniton class to allow describing partial style
  7999. changes
  8000. - StreamLine() now takes a lines argument, to allow it to decide
  8001. whether an encountered zero-length tag is the last in the document
  8002. (which must be kept to not loose the font/color contained in it,
  8003. for later appends)
  8004. - Created Combine() and Split() methods for Marker structs, to
  8005. support marker updates due to reformatted documents (soft line
  8006. wraps)
  8007. - Implemented Document.CaretTag setter
  8008. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  8009. of the last line (Not the cause, but also exposed by bug #77220)
  8010. - Added LineTag argument to InsertString method, to allow callers
  8011. to force a certain tag to be used (required to force use of the
  8012. trailing zero-length tag of a document)
  8013. - Now updating markers in Combine(), to avoid stale tag markers
  8014. - Added some method descriptions to aid maintenance
  8015. - Implemented new FormatText concept, allowing additive/subtractive
  8016. formatting by only specifying the components that are to be
  8017. changed. This was needed for resolving the RTB.SelectedColor/
  8018. RTB.SelectedFont fixmes
  8019. - Added Break() support method to allow breaking up linetags (used
  8020. for partial formatting)
  8021. - Added GenerateTextFormat() method. It is used for partial
  8022. formatting and allows to generate a full font/color from given
  8023. attributes and an existing tag.
  8024. 2006-02-26 Jackson Harper <[email protected]>
  8025. * XplatUIX11.cs: Use the correct caption height.
  8026. - Translate hittest coordinates to screen coords to match MS.
  8027. * XplatUIWin32.cs: When we create MDI windows we need to reset
  8028. some of the style flags, so we get a nice blank window, and can
  8029. draw all the decorations ourselves.
  8030. - Set a clipping rectangle on the non client paint event, the
  8031. window manager drawing code needs one.
  8032. * Form.cs: The window manager needs to know when the window state
  8033. has been updated.
  8034. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  8035. don't need to factor in border and title sizes in these
  8036. methods. TODO: Remove the args and fix the call points.
  8037. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  8038. properly.
  8039. - Let the driver set the cursors.
  8040. - Improve active window handling
  8041. - Correct sizes for title bars and buttons.
  8042. - Match MS drawing better
  8043. * MdiWindowManager.cs: We don't need to handle border style
  8044. updates specially anymore.
  8045. - Check for scrollbars when windows are done moving
  8046. - Handle Active properly.
  8047. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  8048. correctly. I am spewing the exception though, so we don't hide the
  8049. bugs.
  8050. 2006-02-26 Pedro Martinez Julia <[email protected]>
  8051. * DataGridViewRowPostPaintEventArgs.cs,
  8052. DataGridViewCellPaintingEventArgs.cs,
  8053. DataGridViewRowCollection.cs,
  8054. DataGridViewRowPrePaintEventArgs.cs,
  8055. DataGridViewCell.cs: Clear a few warnings and implement a few
  8056. exceptions that should be thrown.
  8057. 2006-02-22 Peter Dennis Bartok <[email protected]>
  8058. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  8059. 'inheriting' our parent's (non-default) cursor. (Part of
  8060. the fix for #77479)
  8061. 2006-02-22 Peter Dennis Bartok <[email protected]>
  8062. * XplatUIX11.cs: Fixed cast to make csc happy
  8063. 2006-02-22 Peter Dennis Bartok <[email protected]>
  8064. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  8065. it's for the client area (part of fix for #77479 and needed
  8066. for MDI window cursor handling)
  8067. * XplatUIX11.cs
  8068. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  8069. the appropriate default cursors and also passing the message
  8070. up the parent chain
  8071. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  8072. for non-client areas
  8073. 2006-02-15 Jackson Harper <[email protected]>
  8074. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  8075. is a real MDI window
  8076. 2006-02-14 Alexander Olk <[email protected]>
  8077. * X11DesktopColors.cs: Instead of checking the desktop session
  8078. string for "KDE" check if it starts with "KDE"
  8079. 2006-02-10 Jackson Harper <[email protected]>
  8080. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  8081. systems).
  8082. 2006-02-10 Alexander Olk <[email protected]>
  8083. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  8084. errors
  8085. * ColorDialog.cs:
  8086. - Got rid of the panel. All controls are now directly added to
  8087. the dialog form
  8088. - Changed to mono coding style
  8089. 2006-02-10 Jackson Harper <[email protected]>
  8090. * InternalWindowManager.cs: We don't need the set visibility to
  8091. false hack anymore now that peter has written beautiful shutdown
  8092. code.
  8093. 2006-02-10 Peter Dennis Bartok <[email protected]>
  8094. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  8095. where already explicitly destroyed
  8096. 2006-02-10 Jackson Harper <[email protected]>
  8097. * MdiClient.cs: Handle the case where windows are too high or to
  8098. the left and we need scrollbars.
  8099. 2006-02-10 Alexander Olk <[email protected]>
  8100. * MimeIcon.cs: Added some icons
  8101. * FileDialog.cs:
  8102. - Fixed bug #77477
  8103. - Got rid of the panel. All controls are now directly added to
  8104. the dialog form
  8105. - Changed to mono coding style
  8106. - On Linux "My Computer" and "My Network" will now show some
  8107. more usefull information. A new class, MasterMount, gathers
  8108. this information from /proc/mount. Updated MWFFileView to make
  8109. use of this information
  8110. - Fixed a bug that caused FileDialog to crash when
  8111. ".recently_used" file had a zero size
  8112. - FilterIndex does now what it should
  8113. - Some Refactoring
  8114. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  8115. FileDialog changes
  8116. 2006-02-09 Jackson Harper <[email protected]>
  8117. * ComboBox.cs: Don't touch if null.
  8118. 2006-02-09 Peter Dennis Bartok <[email protected]>
  8119. * Cursor.cs: 64bit safeness fix
  8120. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  8121. 2006-02-09 Jackson Harper <[email protected]>
  8122. * Form.cs: If a form is made into an MDI form update the styles so
  8123. all the props can get set correctly.
  8124. - Kill the mdi_container when we dont need it anymore.
  8125. * InternalWindowManager.cs: Add missing NOT
  8126. 2006-02-08 Jackson Harper <[email protected]>
  8127. * InternalWindowManager.cs: Respek clipping when drawing MDi
  8128. decorations.
  8129. 2006-02-08 Jackson Harper <[email protected]>
  8130. * Hwnd.cs: Add bits to track non client expose events.
  8131. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  8132. gives us a proper invalid rect and will allow for some nice
  8133. optimizations with NC client drawing
  8134. - MDI windows are children windows, so move their style handling
  8135. into the child window block.
  8136. * InternalWindowManager.cs: Remove a state reset that was
  8137. getting invoked at the wrong time. Fixes managed windows getting
  8138. into a 'stuck' captured state.
  8139. 2006-02-07 Peter Dennis Bartok <[email protected]>
  8140. * TextControl.cs (Document.ctor): Now initializing
  8141. selection_anchor. Fixes #77493
  8142. 2006-02-07 Jackson Harper <[email protected]>
  8143. * TrackBar.cs: The increment/decrements were backwards.
  8144. 2006-02-07 Mike Kestner <[email protected]>
  8145. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  8146. to the instance itself.
  8147. 2006-02-07 Peter Dennis Bartok <[email protected]>
  8148. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  8149. on ulongs and pointers, the size differs between 32bit and 64bit
  8150. systems.
  8151. 2006-02-07 Mike Kestner <[email protected]>
  8152. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  8153. for 64 bit platforms to work around a metacity bug.
  8154. 2006-02-07 Jackson Harper <[email protected]>
  8155. * TrackBar.cs: Process the input keys we need, and hookup to
  8156. KeyDown instead of using WndProc, so we get key messages.
  8157. 2006-02-06 Peter Dennis Bartok <[email protected]>
  8158. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  8159. machine we're on.
  8160. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  8161. we need to translate the XdndVersion atoms array before sending it
  8162. 2006-02-06 Peter Dennis Bartok <[email protected]>
  8163. * XplatUIX11.cs:
  8164. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  8165. number of bits for the property, not the number of bytes. The
  8166. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  8167. but would not crash since it specified 8 bits instead of 4 bits)
  8168. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  8169. defined as XID -> long in the C headers)
  8170. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  8171. references since those are now IntPtr to begin with
  8172. - Switched all Atom.XXX 'int' casts to IntPtr casts
  8173. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  8174. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  8175. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  8176. * X11Structs.cs:
  8177. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  8178. - Changed atom in HoverStruct to be IntPtr
  8179. * X11DnD.cs:
  8180. - Removed local DllImports, switched code to use those from XplatUIX11
  8181. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  8182. 2006-02-06 Mike Kestner <[email protected]>
  8183. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  8184. method signatures in the import region. There may still be some
  8185. lingering struct marshaling issues, as I didn't drill down into those.
  8186. Yet.
  8187. 2006-02-06 Jackson Harper <[email protected]>
  8188. * ComboBox.cs: Dont manually set the top_item, this is computed
  8189. when the scrollbar position is set.
  8190. 2006-02-06 Mike Kestner <[email protected]>
  8191. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  8192. startup crashes on amd64. There's other fixes needed. All pinvoke
  8193. usage of Atom needs to be mapped to IntPtr for example. And there are
  8194. likely other int/long issues to be addressed.
  8195. 2006-02-04 Alexander Olk <[email protected]>
  8196. * FileDialog.cs: One more...
  8197. 2006-02-03 Alexander Olk <[email protected]>
  8198. * FileDialog.cs: Next try
  8199. 2006-02-03 Alexander Olk <[email protected]>
  8200. * FileDialog.cs: First part of fix for #77464
  8201. 2006-02-03 Alexander Olk <[email protected]>
  8202. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  8203. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  8204. AcceptButton border drawing.
  8205. 2006-02-03 Peter Dennis Bartok <[email protected]>
  8206. * Form.cs: Moved positioning of form after auto scaling is applied,
  8207. otherwise it would possibly use wrong form size.
  8208. 2006-02-03 Peter Dennis Bartok <[email protected]>
  8209. * Control.cs (RecreateHandle): No need to re-create any child
  8210. controls, the child windows will get destroyed automatically by
  8211. the windowing system or driver, and re-created when the handle
  8212. is being accessed the first time. Fixes #77456
  8213. * Form.cs: No longer setting the form to closing if the handle is
  8214. being recreated. This seems like the right thing to do, don't
  8215. have a bug or testcase for this, though.
  8216. 2006-02-02 Peter Dennis Bartok <[email protected]>
  8217. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  8218. controls to avoid unwanted side effects
  8219. 2006-02-02 Peter Dennis Bartok <[email protected]>
  8220. * Control.cs:
  8221. - ScaleCore needs to scale the bounds, not the ClientSize of the
  8222. control. Fixes #77416.
  8223. - DefaultSize is 0,0 for control
  8224. * TextBoxBase.cs:
  8225. - DefaultSize is 100, 20
  8226. - SetBoundsCore: Now enforcing the height, no matter if the provided
  8227. height is more or less than the preferred one, as long as AutoSize
  8228. is on
  8229. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  8230. 2006-02-02 Peter Dennis Bartok <[email protected]>
  8231. * Control.cs:
  8232. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  8233. call unless both performLayout is true *and* we have a pending
  8234. layout change
  8235. - ResumeLayout: MS does not completely nest Suspend and Resume,
  8236. they bottom out at 0, fixed our code to match that.
  8237. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  8238. SetBoundsCore, we were updating even when we shouldn't. This fixes
  8239. swf-anchors mis-anchoring when resizing the app fast and lots.
  8240. - UpdateDistances: Now only setting the left and top distance if
  8241. we have a parent and are not suspended, this is based on
  8242. a suggestion by Don Edvaldson in bug #77355.
  8243. - OnVisibleChanged: Fixed logic when to create the control. We may
  8244. not create the control if we have no parent or if it's not visible;
  8245. switched to using Visible property instead of is_visible field
  8246. since the property also considers parent states. This fixes a bug
  8247. when starting Paint.Net
  8248. 2006-02-02 Jackson Harper <[email protected]>
  8249. * Form.cs: If the forms handle hasn't been created yet don't call
  8250. into xplatui to make it top most, just set the topmost flag on the
  8251. form in CreateParams
  8252. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  8253. 2006-02-01 Jackson Harper <[email protected]>
  8254. * ScrollableControl.cs: Refactored the Recalculate method a
  8255. little, this wasn't handling all the variants of bottom and right
  8256. bars needed to be added and added/removed based on their
  8257. counterparts being added/removed (which changes the drawable
  8258. size). Also we special case client widths and heights of 0 and
  8259. don't add the scrollbar for those.
  8260. 2006-02-01 Peter Dennis Bartok <[email protected]>
  8261. * XplatUIX11.cs:
  8262. - Added method to get AbsoluteGeometry(); currently unused, but might
  8263. be used in the future, if we try again to figure out toplevel
  8264. coordinates with some more crappy window managers
  8265. - Added FrameExtents() method to retrieve the WM set decoration size
  8266. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  8267. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  8268. * Hwnd.cs:
  8269. - Added whacky_wm tracking var for metacity
  8270. - Added logic to have default menu height if the actual menu height
  8271. has not yet been calculated (part of fix for #77426)
  8272. * Form.cs: Keep track whether client size has been set and re-set
  8273. it if a menu is added/removed afterwards (Fixes #77426)
  8274. 2006-01-31 Jackson Harper <[email protected]>
  8275. * Control.cs: When a new Site is set on the component attempt to
  8276. pull the AmbientProperties from it.
  8277. 2006-01-31 Peter Dennis Bartok <[email protected]>
  8278. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  8279. in the background of the owning form. Fixes #77332
  8280. 2006-01-31 Alexander Olk <[email protected]>
  8281. * MimeIcon.cs: Fix for #77409
  8282. 2006-01-31 Alexander Olk <[email protected]>
  8283. * XplatUIX11GTK.cs: Initial import
  8284. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  8285. * FixedSizeTextBox: fixes class signature
  8286. 2006-01-30 Jackson Harper <[email protected]>
  8287. * FixedSizeTextBox.cs: New internal class that represents a
  8288. textBox that will not be scaled.
  8289. * TreeView.cs:
  8290. * ComboBox.cs:
  8291. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  8292. standard TextBox.
  8293. 2006-01-30 Peter Dennis Bartok <[email protected]>
  8294. * XplatUIX11.cs: Retrieve default screen number instead of
  8295. assuming 0. Attempted fix for #77318
  8296. 2006-01-30 Peter Dennis Bartok <[email protected]>
  8297. * XplatUIWin32.cs:
  8298. - GetWindowPos: When a window is parented by FosterParent, use
  8299. the desktop instead of FosterParent as the base to get coordinates
  8300. - CreateWindow: Don't make FosterParent the parent window for Popups
  8301. if we don't want a taskbar entry, Popups automatically don't get one
  8302. * Hwnd.cs: Need to call remove to actually remove the key from the
  8303. hash table
  8304. 2006-01-30 Mike Kestner <[email protected]>
  8305. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  8306. 2006-01-30 Jackson Harper <[email protected]>
  8307. * TreeView.cs:
  8308. * TreeNode.cs: Raise events no matter how the treenode is
  8309. checked. Patch by Don Edvalson.
  8310. 2006-01-30 Jackson Harper <[email protected]>
  8311. * TreeNode.cs: Signature fix.
  8312. 2006-01-29 Alexander Olk <[email protected]>
  8313. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  8314. 2006-01-20 Mike Kestner <[email protected]>
  8315. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  8316. event forwarding when menus are active.
  8317. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  8318. Most of the patch is pdb's with a little rework.
  8319. 2006-01-26 Peter Dennis Bartok <[email protected]>
  8320. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  8321. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  8322. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  8323. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  8324. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  8325. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  8326. the PaintWindowDecorations method
  8327. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  8328. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  8329. * MenuAPI.cs: Made tracker window invisible
  8330. * XplatUIWin32.cs:
  8331. - Removed GetMenuDC and ReleaseMenuDC methods
  8332. - Implemented the client=false path for PaintEventStart and
  8333. PaintEventEnd
  8334. 2006-01-26 Peter Dennis Bartok <[email protected]>
  8335. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  8336. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  8337. styles
  8338. * Form.cs:
  8339. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  8340. the style
  8341. - CreateParams: Reworked the styles to match MS look'n'feel,
  8342. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  8343. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  8344. 2006-01-26 Peter Dennis Bartok <[email protected]>
  8345. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  8346. window is not mapped, since otherwise every form that's being
  8347. created is considered minimized, which is wrong.
  8348. * Form.cs: Catching the exception and returning our internal value
  8349. instead
  8350. 2006-01-26 Peter Dennis Bartok <[email protected]>
  8351. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  8352. SetWindowMinMax() to have means to tell the driver about the minimum,
  8353. maximum and maximized state window sizes. (Part of the fix for #76485)
  8354. * Form.cs:
  8355. - Implemented tracking of minimum and maximum window size, now calling
  8356. new SetWindowMinMax() driver method to tell the driver (Part of the
  8357. fix for #76485)
  8358. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  8359. (Completes fix for #76485)
  8360. - Calling new SetWindowMinMax driver method when the handle for a
  8361. form is created, to make sure the driver knows about it even if
  8362. the values have been set before the window was created
  8363. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  8364. to avoid messing up our anchoring calculations (partial fix
  8365. for #77355)
  8366. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  8367. * XplatUIX11.cs:
  8368. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  8369. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  8370. (and presumably other freedesktop.org compliant WMs). Left the
  8371. assumption unmapped=minimized, needed for SetVisible to work.
  8372. - Now setting the window state when creating windows
  8373. - Fixed SetVisible to consider/set the window state when mapping
  8374. a Form. We cannot set the state before it's mapped, and we cannot
  8375. use Form.WindowState once it's mapped (since it would ask the
  8376. driver and get 'normal'. Therefore, we grab the state before
  8377. mapping, map, and then set state.
  8378. - Implmemented SetWindowMinMax method; Metacity does not seem to
  8379. honor the ZoomHints, though.
  8380. * XplatUIWin32.cs:
  8381. - Removed MINMAXINFO (moved to XplatUIStructs)
  8382. - Added SetWindowMinMax stub (on Win32 the only way to set that
  8383. information is in response to the WM_GETMINMAXINFO message, which
  8384. is handled in Form.cs)
  8385. - Added logic to SetVisible to set the proper window state when a
  8386. form is made visible (fixes #75720)
  8387. 2006-01-26 Jackson Harper <[email protected]>
  8388. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  8389. same way we handle them with Invoke.
  8390. 2006-01-25 Peter Dennis Bartok <[email protected]>
  8391. * Form.cs:
  8392. - Added tracking of window state so CreateParams can return
  8393. the appropriate style
  8394. - Moved setting of WS_CAPTION style in CreateParams to allow
  8395. styles without caption
  8396. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  8397. control if the TextBox property is accessed. Fixes #77345
  8398. * Control.cs:
  8399. - get_Created: now uses is_disposed and is_created to determine
  8400. return value (suggested by Jackson)
  8401. - CreateHandle: No longer exits if the handle is being recreated
  8402. - RecreateHandle: If the handle is not yet created call the
  8403. appropriate method to create either control or handle. If the
  8404. control is already created CreateHandle will simply exit instead
  8405. of just creating the handle
  8406. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  8407. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  8408. is called.
  8409. * XplatUIX11.cs:
  8410. - When DestroyWindow is called, instead of waiting for the
  8411. DestroyNotification from X11, we directly post it to the WndProc
  8412. and immediately dispose the hwnd object.
  8413. Same applies to DestroyChildWindows, and this obsoletes the
  8414. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  8415. child windows before our own, to avoid X11 errors.
  8416. - Removed the direct sending of WM_PAINT on UpdateWindow
  8417. * XplatUIWin32.cs:
  8418. - Reworked DoEvents and GetMessage to allow access to internal queue
  8419. even when trying non-blocking access to the queue. Fixes #77335.
  8420. Based on a patch suggestion by Don Edvalson. The new private
  8421. GetMessage can now also be used as a backend for a PeekMessage
  8422. frontend version.
  8423. * XplatUI.cs: Improved debug output for CreateWindow
  8424. 2006-01-25 Jackson Harper <[email protected]>
  8425. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  8426. 2006-01-24 Jackson Harper <[email protected]>
  8427. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  8428. when we have a MaxDropItems lower then the selected index.
  8429. 2006-01-24 Jackson Harper <[email protected]>
  8430. * Control.cs: Don't allow selection of non visible controls, allow
  8431. selection of controls without parents.
  8432. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  8433. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  8434. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  8435. 2006-01-23 Jackson Harper <[email protected]>
  8436. * UpDownBase.cs: Make the textbox handle all the selection and
  8437. tabbing. This fixes tabing to updown controls.
  8438. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  8439. * TextBoxBase.cs: fixes exception thown the object was null
  8440. 2006-01-23 Jackson Harper <[email protected]>
  8441. * ButtonBase.cs: Just use the base CreateParams. They set
  8442. visibility and enabled correctly.
  8443. * ComboBox.cs:
  8444. * TrackBar.cs:
  8445. * MonthCalendar.cs: Lets let the base set as much of the
  8446. createparams as possible so we don't have duplicate code all over
  8447. the place.
  8448. 2006-01-22 Alexander Olk <[email protected]>
  8449. * ThemeGtk.cs: Added TrackBar and some experimental code to
  8450. get double buffering back
  8451. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  8452. * DataGrid.cs: Allows row number set internally higher than the last
  8453. when creating a new row. Restores the editing functionality.
  8454. 2006-01-20 Mike Kestner <[email protected]>
  8455. * MimeIcon.cs: delay Image creation until the icons are accessed
  8456. instead of creating 190 scaled images on GnomeHandler startup.
  8457. 2006-01-19 Peter Dennis Bartok <[email protected]>
  8458. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  8459. first call base before processing the event. Fixes #77279
  8460. 2006-01-19 Peter Dennis Bartok <[email protected]>
  8461. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  8462. that the stride for the GDI bitmap would match the stride of
  8463. a DIB or a Cursor.
  8464. 2006-01-19 Alexander Olk <[email protected]>
  8465. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  8466. 2006-01-19 Jackson Harper <[email protected]>
  8467. * ComboBox.cs: Hookup the text controls keydown event so we get
  8468. those when the text control has the focus.
  8469. 2006-01-18 Peter Dennis Bartok <[email protected]>
  8470. * Label.cs: Now using the base events instead of defining new ones;
  8471. this allows us to just call the base properties without having to
  8472. duplicate all base property logic
  8473. 2006-01-18 Peter Dennis Bartok <[email protected]>
  8474. * Label.cs: A label by default is not a tabstop (Fixes one of our
  8475. failing nunit tests)
  8476. 2006-01-18 Peter Dennis Bartok <[email protected]>
  8477. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  8478. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  8479. 2006-01-18 Peter Dennis Bartok <[email protected]>
  8480. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  8481. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  8482. This fixes #77218
  8483. * XplatUIWin32.cs:
  8484. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  8485. constructor creates images that can't be saved. Part of the fix
  8486. for #76103
  8487. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  8488. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  8489. bug fix for handling window state in forms properly)
  8490. 2006-01-18 Alexander Olk <[email protected]>
  8491. * ThemeGtk.cs: Simplify ScrollBar drawing
  8492. 2006-01-18 Jackson Harper <[email protected]>
  8493. * Splitter.cs: Set the default dock style for the splitter control
  8494. in the constructor.
  8495. 2006-01-18 Alexander Olk <[email protected]>
  8496. * ThemeGtk.cs: Corrected StateType and ShadowType for
  8497. gtk_paint_box
  8498. 2006-01-18 Alexander Olk <[email protected]>
  8499. * Control.cs: Make use of Theme.DoubleBufferingSupported
  8500. * ThemeGtk.cs:
  8501. - Added drawing for flat style buttons
  8502. - Added ScrollBar drawing
  8503. 2006-01-18 Alexander Olk <[email protected]>
  8504. * ThemeClearlooks.cs: Removed some unneeded code.
  8505. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  8506. 2006-01-17 Peter Dennis Bartok <[email protected]>
  8507. * LinkLabel.cs: We need to update the hover drawing when
  8508. leaving the control as well.
  8509. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  8510. * DataGrid.cs: Clicking on non empty areas in the columns
  8511. area was giving an exception
  8512. 2006-01-17 Jackson Harper <[email protected]>
  8513. * ThemeWin32Classic.cs:
  8514. * ListView.cs: Do not draw/clip the headers when the header style
  8515. is None.
  8516. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  8517. * DataGrid.cs: Fixes 77260
  8518. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  8519. * DataGrid.cs: Clicking on a column on a empty grid was giving
  8520. an exception
  8521. 2006-01-17 Peter Dennis Bartok <[email protected]>
  8522. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  8523. or any keypress will crash the grid.
  8524. 2006-01-17 Mike Kestner <[email protected]>
  8525. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  8526. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  8527. invisible/previously-visible items.
  8528. [Fixes #76909]
  8529. 2006-01-17 Alexander Olk <[email protected]>
  8530. * ThemeClearlooks.cs:
  8531. - Added CL_Draw_Button method; now other theme controls that are
  8532. not derived from button or do not have a button can draw buttons
  8533. too
  8534. - Updated ComboBox drawing
  8535. - Beautified RadioButton drawing
  8536. - Corrected drawing of bottom and left tabs
  8537. - Beautified DateTimePicker and MonthCalendar
  8538. - Added CPDrawButton and CPDrawRadioButton
  8539. 2006-01-16 Jackson Harper <[email protected]>
  8540. * ComboBox.cs: Set the initial value of the scrollbar to the
  8541. current index. Reduce the numbers of refreshs and IndexOfs called.
  8542. 2006-01-14 Alexander Olk <[email protected]>
  8543. * FileDialog.cs: When the file listview is focused hitting the
  8544. backspace key moves the fileview to the parent directory
  8545. 2006-01-13 Peter Dennis Bartok <[email protected]>
  8546. * Form.cs:
  8547. - Added RecreateHandle call when changing taskbar visibility to
  8548. trigger reparenting in Win32 driver (Fixes #75719)
  8549. - If a window has minimize or maximize buttons, it cannot have
  8550. a help button
  8551. * XplatUIWin32.cs:
  8552. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  8553. the toplevel form with FosterParent (A toolwindow not on the
  8554. taskbar) (Fixes #75719)
  8555. - Made FosterParent a toolwindow
  8556. 2006-01-13 Alexander Olk <[email protected]>
  8557. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  8558. 2006-01-13 Alexander Olk <[email protected]>
  8559. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  8560. is currently over that control, make sure that tooltip_window.Text
  8561. gets updated
  8562. 2006-01-13 Mike Kestner <[email protected]>
  8563. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  8564. 2006-01-13 Jackson Harper <[email protected]>
  8565. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  8566. value passed. Also redraw the selected node when we recieve
  8567. focus, so tabbing between trees works correctly.
  8568. 2006-01-13 Alexander Olk <[email protected]>
  8569. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  8570. ~/.gconf/%gconf-tree.xml, so use
  8571. .gconf/desktop/gnome/interface/%gconf.xml
  8572. 2006-01-13 Peter Dennis Bartok <[email protected]>
  8573. * TextControl.cs: Draw text in gray if control is disabled
  8574. 2006-01-13 Peter Dennis Bartok <[email protected]>
  8575. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  8576. make sure it's always visible. Fixes #76680.
  8577. 2006-01-13 Peter Dennis Bartok <[email protected]>
  8578. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  8579. 2006-01-13 Jonathan Chambers <[email protected]>
  8580. * PageSetupDialog.cs: Added.
  8581. * PrintDialog.cs: Attributes.
  8582. * PrintPreviewControl.cs: Updates.
  8583. * PrintPreviewDialog.cs: Updates.
  8584. 2006-01-12 Peter Dennis Bartok <[email protected]>
  8585. * Control.cs: Undid my selection check fix, since it's not needed
  8586. * TextBoxBase.cs:
  8587. - Now considering the presence of hscroll/vscroll when sizing
  8588. vscroll/hscroll respectively. Fixed bug #77077
  8589. - Added Left/Up/Down/Right to IsInputKey list to prevent
  8590. ContainerControl from stealing them. This fixes what I broke
  8591. with my last checkin.
  8592. 2006-01-12 Peter Dennis Bartok <[email protected]>
  8593. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  8594. I finally understand how the property can be set without a setter :-)
  8595. 2006-01-12 Peter Dennis Bartok <[email protected]>
  8596. * Application.cs:
  8597. - Switched RunLoop to use static Message.Create to create a
  8598. Message object
  8599. - Added PreProcessMessage call in runloop for keyboard events; this
  8600. is part of the fix for #77219, I overlooked this originally in the
  8601. MSDN doc for PreProcessMessage
  8602. * Control.cs:
  8603. - Removed call to PreProcessMessage from handling of keyboard
  8604. messages; it's supposed to be done in the message pump
  8605. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  8606. per MSDN documentation.
  8607. - IsInputChar: All chars are input chars by default; removed the
  8608. parent calling chain, MS does not document that
  8609. - PreProcessMessage: If IsInputChar is true, we want to return false
  8610. to allow dispatching of the message
  8611. - When selecting the next control, now also check that we're not
  8612. selecting ourselves again and therefore return a false positive.
  8613. * TextBoxBase.cs:
  8614. - Tried to match return values for IsInputKey and ProcessDialogKey
  8615. to what MS returns; moved processing of our special keys outside
  8616. ProcessDialogKey since MS does not seem to return true on those.
  8617. - Moved code that previously was in ProcessDialogKey into new private
  8618. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  8619. - Reworked handling of WM_CHAR to not have to duplicate code from
  8620. Control.cs anymore, instead we simply call down to base.
  8621. 2006-01-12 Jackson Harper <[email protected]>
  8622. * ComboBox.cs: We always need to refresh the text area when
  8623. EndUpdate is called. Fixes the combobox in the file dialog.
  8624. * Control.cs: Don't create the creator_thread until the controls
  8625. handle is created. Also in InvokeRequired we check if the
  8626. creator_thread is null. This gives the effect of InvokeRequired
  8627. returning true if the controls handle is not created yet, and
  8628. matches MS.
  8629. 2006-01-12 Peter Dennis Bartok <[email protected]>
  8630. * XplatUI.cs:
  8631. - Added StartLoop() driver method. This is used to allow drivers to
  8632. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  8633. loop for a particular thread
  8634. - Added EndLoop() driver method. This is called once the message
  8635. pump for the thread is shut down
  8636. - Added SupportsTransparency method to allow the driver to indicate
  8637. opacity support for windows
  8638. * Form.cs:
  8639. - Removed TODO attribute, completed AllowTransparency property
  8640. - Added documented logic to Opacity
  8641. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  8642. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  8643. versions of CompatibleTextRendering
  8644. * X11Structs.cs: Added opacity atom to our atom enumeration
  8645. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  8646. of a form might be set before it's reparented by the WM, and we need
  8647. the opacity value without calling up to Form)
  8648. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  8649. SupportsTransparency() driver methods
  8650. * Application.cs: Now calling StartLoop and EndLoop driver methods
  8651. * XplatUIX11.cs:
  8652. - Added opacity atom registration
  8653. - Added StartLoop()/EndLoop() methods. They're empty right now but
  8654. will need to get implemented when we switch to a per-thread queue
  8655. - Implemented SupportsTransparency() method
  8656. - Implemented SetWindowTransparency() method
  8657. - Added support for setting the opacity value when a window is
  8658. reparented (since the opacity needs to be set on the WM frame)
  8659. * XplatUIOSX.cs, XplatUIWin32.cs:
  8660. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  8661. 2006-01-12 Alexander Olk <[email protected]>
  8662. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  8663. 2006-01-12 Alexander Olk <[email protected]>
  8664. * FileDialog.cs: Added ToolTip for MWFFileView
  8665. * MimeIcon.cs: Rewrote GnomeHandler.
  8666. - Get currently used gnome icon theme from
  8667. ($HOME)/.gconf/%gconf-tree.xml
  8668. - Make use of inherited icon themes
  8669. - Support SVG icon themes like Tango via librsvg
  8670. 2006-01-12 Miguel de Icaza <[email protected]>
  8671. Revert's Jackson's revert which broke 2.0 builds. Fix both
  8672. builds.
  8673. * Application.cs: Move the use_compatible_text_rendering outside
  8674. the NET_2_0 define. If we ever need to use the
  8675. use_compatible_text_rendering on the individual controls they will
  8676. access the variable from the common shared code paths.
  8677. 2006-01-12 Peter Dennis Bartok <[email protected]>
  8678. * XplatUI.cs:
  8679. - Added more granular debug options
  8680. - Added method to print both window text and id
  8681. - Switched debug output to use new Window() debug method
  8682. - Added IsEnabled() driver method
  8683. - Added EnableWindow() driver method
  8684. * Form.cs:
  8685. - Removed end_modal; no longer needed, new loop handles termination
  8686. via 'closing' variable
  8687. - If form is modal, setting DialogResult will now initiate loop
  8688. termination via 'closing' variable
  8689. - Added support for is_enabled/WS_DISABLED to CreateParams
  8690. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  8691. does all the work
  8692. - Removed code that's now in RunLoop from ShowDialog()
  8693. - Added various documented sanity checks to ShowDialog()
  8694. - Added handling of WM_DESTROY message; we set 'closing' on getting
  8695. the message to indicate the message pump to terminate
  8696. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  8697. send by the Application.ExitThread method. (We send the message
  8698. to destroy the window after all other events have been
  8699. processed through the queue, instead of destroying the handle
  8700. directly)
  8701. - Moved code from Close() method to WM_CLOSE handler; added logic
  8702. to only send close-related events if the form is not displayed
  8703. modal
  8704. * Splitter.cs (..ctor): Fixed typo in resource name
  8705. * Control.cs:
  8706. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  8707. brush now
  8708. - set_Cursor: Now only setting calling into XplatUI if the handle for
  8709. the control is already created; this avoids implict handle creation
  8710. or crashes if it's not created
  8711. - set_Enabled: Now setting the enabled state via the new driver method
  8712. instead of just tracking it
  8713. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  8714. - CreateControl: Reordered event firing and method calls to more
  8715. closely fire events in the order MS does. Now setting the
  8716. enabled state in the driver when creating the control.
  8717. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  8718. match MS order
  8719. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  8720. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  8721. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  8722. * Hwnd.cs:
  8723. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  8724. - Added EnabledHwnd property to easily allow a driver to find the
  8725. handle of the first enabled window in the parent chain (this is
  8726. used by drivers to pass up input events of disabled windows)
  8727. * XplatUIDriver.cs: Added IsEnabled() method
  8728. * Application.cs:
  8729. - Removed crude and obsolete exiting tracking variable
  8730. - Removed internal ModalRun(); replaced by RunLoop()
  8731. - Implemented private CloseForms() method to allow closing all
  8732. windows owned by a particular (or all) threads
  8733. - Exit() now properly closes all windows without forcing the message
  8734. pump to quit
  8735. - Removed obsolete InternalExit() method
  8736. - Changed Run() methods to use new RunLoop() message pump
  8737. - Implemented new RunLoop() method for both modal and non-modal forms
  8738. * CommonDialog.cs:
  8739. - get_CreateParams: Added setting of WS_DISABLED
  8740. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  8741. invoked via Form.ShowDialog()
  8742. * NativeWindow.cs: We don't remove the window from the collection when
  8743. the handle is destroyed; there might still be messages for it in the
  8744. queue (mainly the resulting WM_DESTROY); instead it will be removed
  8745. when Control calls InvalidateHandle in the WM_DESTROY handler
  8746. * XplatUIX11.cs:
  8747. - CreateWindow: Added logic to handle the WS_DISABLED window style
  8748. - EnableWindow: Implemented based on Hwnd.Enabled
  8749. - GetMessage: Reset PostQuitState so the method can be called again
  8750. - Implemented support for disabled windows (passing messages to the
  8751. first enabled parent) in handling all input messages
  8752. - Added optimizations for handling Expose events
  8753. - Implemeted new driver method IsEnabled()
  8754. - Now always resetting paint pending tracking vars when we start paint
  8755. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  8756. * XplatUIOSX.cs: Added IsEnabled method stub
  8757. * XplatUIWin32.cs: Implemented new IsEnabled() method
  8758. 2006-01-11 Jackson Harper <[email protected]>
  8759. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  8760. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  8761. variables a little.
  8762. * ColorDialog.cs: Clear out the old form before adding the new
  8763. panel.
  8764. 2006-01-11 Jackson Harper <[email protected]>
  8765. * X11Dnd.cs: Make sure to add all the text formats when adding
  8766. strings to the data object.
  8767. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  8768. do some redrawing too. Also change the UpdateNode to an
  8769. UpdateBelow so the newly added node gets painted.
  8770. 2006-01-11 Miguel de Icaza <[email protected]>
  8771. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  8772. LinkLabel.cs, PropertyGrid.cs: Implement the
  8773. UseCompatibleTextRendering property for 2.x
  8774. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  8775. 2006-01-11 Jackson Harper <[email protected]>
  8776. * TreeView.cs: Use the property for setting the selected node so
  8777. the correct events get raised.
  8778. * TreeNode.cs: Update the tree when the fore/back colours of a
  8779. node are set.
  8780. 2006-01-10 Jackson Harper <[email protected]>
  8781. * TreeView.cs: Allow setting SelectedNode to null.
  8782. 2006-01-9 Jonathan Chambers <[email protected]>
  8783. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  8784. 2006-01-9 Jonathan Chambers <[email protected]>
  8785. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  8786. 2006-01-9 Jonathan Chambers <[email protected]>
  8787. * PrintDialog.cs: Added attributes and set default property values.
  8788. 2006-01-9 Jonathan Chambers <[email protected]>
  8789. * PrintControllerWithStatusDialog.cs:
  8790. Added PrintControllerWithStatusDialog.
  8791. 2006-01-9 Jonathan Chambers <[email protected]>
  8792. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  8793. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  8794. 2006-01-9 Jonathan Chambers <[email protected]>
  8795. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  8796. 2006-01-09 Jonathan Chambers <[email protected]>
  8797. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  8798. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  8799. 2006-01-08 Alexander Olk <[email protected]>
  8800. * MimeIcon.cs: Added internal class SVGUtil.
  8801. 2006-01-08 Alexander Olk <[email protected]>
  8802. * FileDialog.cs: Don't crash if there are two files with the
  8803. same name but different locations.
  8804. 2006-01-08 John BouAntoun <[email protected]>
  8805. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  8806. dates across multiple month grids. Used to not highlight entire
  8807. month, but does now.
  8808. 2006-01-06 Jackson Harper <[email protected]>
  8809. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  8810. message loop. Change timer intervals to numbers that seem more
  8811. natural.
  8812. 2006-01-06 John BouAntoun <[email protected]>
  8813. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  8814. object for location info since screen object is now implemented.
  8815. 2006-01-05 Jackson Harper <[email protected]>
  8816. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  8817. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  8818. AsyncMethodResult, this is because we ALWAYS want the
  8819. ManualResetEvent to get set.
  8820. * Control.cs: When disposing use an async invoke to call shutdown
  8821. code, so that thigns don't block on the finalizer thread. Also
  8822. check if we even have a message loop before trying to send
  8823. messages, if we don't then don't bother sending messages.
  8824. - No more weak references for async methods
  8825. * XplatUIDriver.cs: No more weak references for async methods.
  8826. 2006-01-04 Alexander Olk <[email protected]>
  8827. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  8828. returns two FontFamily with the same name
  8829. 2006-01-04 Peter Dennis Bartok <[email protected]>
  8830. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  8831. drawing disabled text. Instead using the ColorGrayText color
  8832. 2006-01-04 Jackson Harper <[email protected]>
  8833. * TreeNode.cs: redraw the node when its image index is changed.
  8834. 2006-01-04 Peter Dennis Bartok <[email protected]>
  8835. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  8836. time I checked there are no others like it.
  8837. 2006-01-04 Jackson Harper <[email protected]>
  8838. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  8839. this gives the behavoir I was looking for.
  8840. * Control.cs: Special case Invoking EventHandlers, this matches MS
  8841. and fixes part of bug #76326.
  8842. 2006-01-04 Alexander Olk <[email protected]>
  8843. * ThemeClearlooks.cs, FileDialog.cs:
  8844. - Reflect the latest Theme class changes
  8845. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  8846. with DateTime
  8847. 2006-01-04 Alexander Olk <[email protected]>
  8848. * Theme.cs: Cache UI resource images and resize them if needed
  8849. 2006-01-03 Peter Dennis Bartok <[email protected]>
  8850. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  8851. is called. This fixes the crash in Nexxia when setting the font
  8852. attributes in the chat. [However, RTF needs a look-over to make sure
  8853. that all SelectionXXX methods handle the special case that selection
  8854. is empty and therefore the change must be applied to all text starting
  8855. at the cursor/selection start]
  8856. 2006-01-03 Peter Dennis Bartok <[email protected]>
  8857. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  8858. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  8859. * X11Keyboard.cs: Switched to new way of calling PostMessage
  8860. 2006-01-03 Peter Dennis Bartok <[email protected]>
  8861. * Theme.cs: Added theme interface for images to allow the theme to
  8862. control what images are used for things like FileDialog, MessageBox
  8863. icons, etc.
  8864. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  8865. 2006-01-03 Alexander Olk <[email protected]>
  8866. * FileDialog.cs:
  8867. - Removed some dead code
  8868. - Opening a recently used file does work now
  8869. - Small UI enhancements
  8870. - Refactoring
  8871. 2006-01-02 Alexander Olk <[email protected]>
  8872. * FileDialog.cs: Forgot too add __MonoCS__
  8873. 2006-01-02 Alexander Olk <[email protected]>
  8874. * FileDialog.cs: We are able to read recently used files now let's
  8875. go on and write them.
  8876. 2006-01-01 Alexander Olk <[email protected]>
  8877. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  8878. button
  8879. * MimeIcon.cs: Do a check for the top level media type also
  8880. 2005-12-31 Alexander Olk <[email protected]>
  8881. * ThemeClearlooks.cs:
  8882. - Added CPDrawStringDisabled
  8883. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  8884. some chars if the text doesn't fit into text_rect
  8885. - DrawListViewItem: If View = View.LargeIcon center the image;
  8886. rewrote the drawing of ListViewItem.Text if View =
  8887. View.LargeIcon
  8888. 2005-12-31 Alexander Olk <[email protected]>
  8889. * MimeIcon.cs: Use default KDE icon theme if there is no
  8890. "48x48" directory for the current icon theme, fixes #77114
  8891. * Mime.cs: Disable not working and actually not used code.
  8892. * ThemeWin32Classic.cs:
  8893. - Replace "new SolidBrush" in GetControlBackBrush and
  8894. GetControlForeBrush with ResPool.GetSolidBrush
  8895. - Changed DrawListViewItem from private to protected virtual
  8896. * FileDialog.cs:
  8897. - Added form.MaximizeBox = true
  8898. - Don't throw an exception if there is a broken symbolic link
  8899. 2005-12-23 Jackson Harper <[email protected]>
  8900. * TabControl.cs: Give the panels focus, keyboard navigation is
  8901. fixed so this works correctly now.
  8902. - We need these key events also.
  8903. * ToolBar.cs: Remove some of the poor mans double buffering.
  8904. 2005-12-24 Alexander Olk <[email protected]>
  8905. * ComboBox.cs: The internal TextBox now returns the focus.
  8906. 2005-12-23 Jackson Harper <[email protected]>
  8907. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  8908. 2005-12-23 Peter Dennis Bartok <[email protected]>
  8909. * Control.cs: Removed debug code
  8910. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  8911. implicit children
  8912. 2005-12-23 Peter Dennis Bartok <[email protected]>
  8913. * Control.cs: When creating the control, update the Z-order after
  8914. all it's children are created, too. (Fixes nexxia not showing
  8915. picturebox bug)
  8916. 2005-12-23 Peter Dennis Bartok <[email protected]>
  8917. * Control.cs: Do not update the anchoring distances if layout is
  8918. suspended, instead do it once layout is resumed
  8919. 2005-12-22 Peter Dennis Bartok <[email protected]>
  8920. * Control.cs:
  8921. - After many hours of debugging, for both Jackson and
  8922. myself, it turns out that it helps to set the parent of a control
  8923. if you want to actually see it onscreen. In the spirit of that
  8924. discovery, we're now setting the parent of the control and
  8925. it's children when the control's handle is created. This fix
  8926. will make Lutz Roeder's Reflector run happily.
  8927. - now just creating the handle instead of the whole control when
  8928. getting a graphics context for the control.
  8929. 2005-12-22 Peter Dennis Bartok <[email protected]>
  8930. * ScrollableControl.cs: When calculating the canvas, don't consider
  8931. the scrollbar widths. Instead, predict if horizontal scrollbar
  8932. will affect canvas when deciding on vertical display and vice versa.
  8933. 2005-12-22 Peter Dennis Bartok <[email protected]>
  8934. * RichTextBox.cs: Set default RTF font for documents that don't
  8935. have a font table (Fixes #77076)
  8936. 2005-12-22 Jackson Harper <[email protected]>
  8937. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  8938. clipboard. This prevents a NullRef in that case.
  8939. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  8940. clipboard. PRIMARY is for the currently selected text only. (We
  8941. should implement PRIMARY at some point.
  8942. 2005-12-21 Peter Dennis Bartok <[email protected]>
  8943. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  8944. a Unicode function with a structure that was defined in Ansi way.
  8945. This fixes #76942.
  8946. 2005-12-21 Jackson Harper <[email protected]>
  8947. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  8948. on. Because thats how it rolls. (and this avoids it using ambient
  8949. colours).
  8950. * ThemeWin32Classic.cs: Use the proper back color for filling.
  8951. * Menu.cs: Use the system menu bar color for drawing menu
  8952. bars. Using the window back color will bring ambient colours into
  8953. the picture.
  8954. 2005-12-21 Alexander Olk <[email protected]>
  8955. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  8956. Bitmaps were created and not disposed.
  8957. 2005-12-21 Peter Dennis Bartok <[email protected]>
  8958. * Control.cs (CreateControl): Don't do anything if the control is
  8959. already created, otherwise we'd fire the OnCreated event more than
  8960. once
  8961. 2005-12-21 Peter Dennis Bartok <[email protected]>
  8962. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  8963. will always match. Instead return -1. Fixes #76464.
  8964. 2005-12-21 Peter Dennis Bartok <[email protected]>
  8965. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  8966. neither the beginning nor the end of the line (Fixes bug #76479)
  8967. 2005-12-21 Peter Dennis Bartok <[email protected]>
  8968. * Control.cs:
  8969. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  8970. where handle is invalid
  8971. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  8972. instead of slower linear search
  8973. * NativeWindow.cs: Don't remove the window from the hashtable until
  8974. after the driver has destroyed it (since the driver might use
  8975. Control.FromHandle to lookup the control object
  8976. * Hwnd.cs: Added DestroyPending property to track if a window is
  8977. already destroyed as far as the driver is concerned and only hasn't
  8978. yet notified the control
  8979. * XplatUIX11.cs:
  8980. - Activate(): Check if the window is still valid before using the
  8981. handle
  8982. - Implemented DestroyChildWindow() method to mark child windows as
  8983. destroyed when a window is destroyed. This prevents situations
  8984. where we might call an X method based on queued events for a
  8985. window that already has been destroyed but we haven't yet pulled
  8986. the destroy method from the queue.
  8987. - Added a call to the new DestroyChildWindow() method to the drivers
  8988. DestroyWindow code. Also now marking the destroyed window itself
  8989. as pending
  8990. 2005-12-20 Jackson Harper <[email protected]>
  8991. * StatusBar.cs:
  8992. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  8993. anymore. Just do them when needed, also track the rects of panels
  8994. so that we can optimize refreshing more in the future.
  8995. 2005-12-20 Alexander Olk <[email protected]>
  8996. * ColorDialog.cs: Fixed focus drawing in small color controls
  8997. 2005-12-19 Jackson Harper <[email protected]>
  8998. * InternalWindowManager.cs:
  8999. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  9000. moving windows works properly.
  9001. 2005-12-19 Peter Dennis Bartok <[email protected]>
  9002. * Control.cs:
  9003. - Removed call to InitLayout() from SetBoundsCore(); doc says
  9004. it's only called when a control is added to a container
  9005. - Split InitLayout logic, moved to separate UpdateDistances() method
  9006. since we need to perform those calculations more often than just
  9007. when adding the control to a container. (Needed to fix #77022)
  9008. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  9009. - Reduced the OnBindingContextChanged events count, don't send them
  9010. unless the control is created, we still aren't totally matching
  9011. MS, but I can't quite figure out some of their rules
  9012. 2005-12-18 Alexander Olk <[email protected]>
  9013. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  9014. stripes
  9015. 2005-12-18 Alexander Olk <[email protected]>
  9016. * ThemeClearlooks.cs:
  9017. - Updated ProgressBar drawing
  9018. - Corrected drawing of ScrollBars and scroll buttons
  9019. - Some temporary fixes for minor pixel artefacts
  9020. 2005-12-18 Peter Dennis Bartok <[email protected]>
  9021. * Control.cs:
  9022. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  9023. cause events to be sent in the same order as MS does.
  9024. - Added ChangeParent() method to trigger various OnXXXChanged events
  9025. that need to be fired when a parent changes (This is a reworking
  9026. of the patch from r54254, with the X11 errors fixed)
  9027. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  9028. since on MS we get OnLayoutChanged events when calling Clear()
  9029. - Changed Enabled property to consider parent state as well, if a
  9030. parent is not enabled, the control will not be either
  9031. - Changed Parent property to simply call Controls.Add() since that
  9032. now does all the work required, this way we avoid code duplication
  9033. - Threw in a few OnBindingsContextChanged calls to try and match
  9034. when MS sends them. We seem to send a few too many, though.
  9035. - Added call to CreateControl when adding the control to a parent.
  9036. We were never calling CreateControl. Still needs some work, in
  9037. some places we treat HandleCreated and ControlCreated as equal,
  9038. which is wrong
  9039. - Removed obsolete commented out code from UpdateZOrder()
  9040. 2005-12-18 Alexander Olk <[email protected]>
  9041. * ThemeClearlooks.cs: Updated TrackBar drawing.
  9042. 2005-12-17 Alexander Olk <[email protected]>
  9043. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  9044. 2005-12-17 Alexander Olk <[email protected]>
  9045. * FileDialog.cs: Add the Help button and the open readonly
  9046. checkbox only if needed
  9047. 2005-12-16 Jackson Harper <[email protected]>
  9048. * Control.cs: Make sure we have an active menu before trying to
  9049. process commands on it. Prevents menu-less forms from crashing
  9050. when Alt is pressed.
  9051. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  9052. Dieter Bremes.
  9053. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  9054. 2.0 build.
  9055. 2005-12-16 Jackson Harper <[email protected]>
  9056. * InternalWindowManager.cs: Don't translate tool windows screen
  9057. coordinates. This fixes windows 'bouncing' around when being moved.
  9058. 2005-12-15 Peter Dennis Bartok <[email protected]>
  9059. * TextBoxBase.cs:
  9060. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  9061. not quite MS compatible, MS uses that number only for single line
  9062. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  9063. the limit at 2GB)
  9064. - Now enforcing the MaxLength limit when entering characters
  9065. - Added argument to internal Paste() method to track if it's called
  9066. from programatically or via keyboard, since keyboard driven pastes
  9067. need to enforce max-length
  9068. - Added logic to Paste to only paste as many chars as MaxLength
  9069. allows
  9070. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  9071. * TextControl.cs:
  9072. - Added Length property to return number of characters in document
  9073. - Added private CharCount property which only tracks actual chars
  9074. in the document (no linefeeds) and fires event when CharCount
  9075. changes
  9076. - Added tracking of character count to all methods that alter it
  9077. - Added LengthChanged event to allow applications to subscribe
  9078. to any changes to the document
  9079. 2005-12-15 Peter Dennis Bartok <[email protected]>
  9080. * TextBox.cs:
  9081. - Removed local password_char field (moved to TextBoxBase)
  9082. - Now setting the document's password var when password is
  9083. set
  9084. * TextBoxBase.cs:
  9085. - Added password_char field (needed here so MultiLine can
  9086. access it)
  9087. - Added logic to MultiLine property setter to set the document's
  9088. variable when password display is allowed
  9089. - Removed debug code and made some debug code conditional
  9090. * TextControl.cs:
  9091. - Added RecalculatePasswordLine() method to handle special password
  9092. char only lines
  9093. - Added PasswordChar property, also added related tracking vars
  9094. - Draw() method now uses local text var for grabbing text to draw,
  9095. this var is set to line.text unless we're doing password display,
  9096. then it is set to the pre-generated all-password-chars line
  9097. - Added calling RecalculatePasswordLine() method for password lines
  9098. 2005-12-14 Peter Dennis Bartok <[email protected]>
  9099. * Hwnd.cs:
  9100. - Added Reparented property to allow tracking of Window Manager
  9101. reparenting actions (which affect X/Y calculations of toplevel
  9102. windows)
  9103. - Made ToString() print window handles in hex
  9104. * XplatUIX11.cs:
  9105. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  9106. determine if X/Y needs offsetting
  9107. - AddConfigureNotify(): Fixed offset calculations
  9108. - Now adds ReparentNotify messages into the queue
  9109. - Now processes ReparentNotify messages and causes a
  9110. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  9111. is reparented (as most likely it's X/Y coordinates are changed
  9112. due to that)
  9113. 2005-12-14 Jackson Harper <[email protected]>
  9114. * XplatUIX11.cs: Tool windows still need to respek focus.
  9115. 2005-12-14 Peter Dennis Bartok <[email protected]>
  9116. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  9117. have a working release
  9118. 2005-12-13 Jackson Harper <[email protected]>
  9119. * Form.cs: Update styles after setting the border style regardless
  9120. of whether or not the window is using a window manager.
  9121. 2005-12-13 Jackson Harper <[email protected]>
  9122. * Form.cs: We now hook into an internal window manager instead of just an
  9123. MDI subsystem, this is so we can have properly behaving tool windows.
  9124. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  9125. * InternalWindowManager.cs: New internal class that acts as a
  9126. window manager for tool windows and as a base for mdi windows.
  9127. * MdiWindowManager.cs: New class that acts as a window manager for
  9128. mdi windows.
  9129. 2005-12-12 Jackson Harper <[email protected]>
  9130. * Control.cs: Updates so we match behavoir for for implicit
  9131. controls. Fixes explosions in MDI.
  9132. 2005-12-12 Jackson Harper <[email protected]>
  9133. * Control.cs: Implement Invalidate (Region).
  9134. 2005-12-12 Peter Dennis Bartok <[email protected]>
  9135. * Control.cs:
  9136. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  9137. the same events as MS does. MS fires events for each property
  9138. except, for unknown reasons, Cursor, when the control is reparented.
  9139. I can't seem to totally match add/remove since MS also fires some
  9140. VisibleChanged events, which makes no sense. Consolidated the
  9141. parenting code into a separate method so it can be called from
  9142. both Add and Remove. set_Parent no longer needs any special logic
  9143. as it calls the parent's add method which implicitly fires
  9144. all events
  9145. - Removed some obsolete code and debug output
  9146. - Enabled state is inherited from parents, if this is enabled
  9147. 2005-12-08 Peter Dennis Bartok <[email protected]>
  9148. * Form.cs: Removed commented out code
  9149. 2005-12-08 Peter Dennis Bartok <[email protected]>
  9150. * Control.cs:
  9151. - Added internal version of Invoke, with additional argument
  9152. indicating if we're calling it from a Dispose() handler. That
  9153. way we can avoid BeginInvoke throwing an exception if we're
  9154. calling for an already destroyed window.
  9155. - Added a dispose argument to BeginInvokeInternal, and made the
  9156. check if a valid window handle chain exists conditional on
  9157. it not being a dispose call
  9158. - Removed code in DestroyHandle to destroy our children. Since we
  9159. now handle the WM_DESTROY message we will catch all our children
  9160. being destroyed.
  9161. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  9162. * Form.cs:
  9163. - Added a field to track the application context of the form.
  9164. - No need to set closing variable as response to WM_CLOSE, instead
  9165. we destroy the window. We also call PostQuitMessage if the form
  9166. has an application context (which makes it the main app form,
  9167. which, when closed terminates the app)
  9168. * XplatUI.cs:
  9169. - Dropped Exit() method, it's naming was confusing
  9170. - Added PostQuitMessage() which causes GetMessage to return false
  9171. once the message queue is empty
  9172. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  9173. PostQuitMessage()
  9174. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  9175. no longer a valid XplatUI method, but left it in since it's used
  9176. internally. Added empty PostQuitMessage() method.
  9177. * MenuAPI.cs: Replaced call to Exit() with call to
  9178. PostQuitMessage, even though this is probably no longer needed.
  9179. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  9180. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  9181. * Application.cs:
  9182. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  9183. - Removed old debug code that would call XplatUI for exception
  9184. display, enabled standard exception handling (Still not enabled
  9185. though, until NativeWindow's ExternalExceptionHandler define
  9186. is removed
  9187. * NativeWindow.cs:
  9188. - Added internal method to allow control to update NativeWindow
  9189. after a window has been destroyed
  9190. - Added handling of already destroyed windows when calling i
  9191. DestroyWindow
  9192. - Added removal of handle from list on ReleaseHandle
  9193. * XplatUIX11.cs:
  9194. - Dropped GetMessageResult var and related code
  9195. - Added PostQuitState to field to track if PostQuitMessage has been
  9196. called
  9197. - Dropped Exit() method
  9198. - Added PostQuitMessage() method
  9199. - GetMessage now will return false if PostQuitState is set and no
  9200. more messages are in the queue.
  9201. - Expose handler will no longer generate WM_PAINT messages if we are
  9202. in PostQuitState since it's very likely any windows have already
  9203. been destroyed, and since Hwnd won't get updated until we have
  9204. processed the DestroyNotify we'd be causing X errors.
  9205. 2005-12-07 Peter Dennis Bartok <[email protected]>
  9206. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  9207. Thanks to Mike for pointing out the err of my ways.
  9208. 2005-12-07 Peter Dennis Bartok <[email protected]>
  9209. * Control.cs(PreProcessMessage): Moved menu handling back, but
  9210. after all other key handling, to match MS (who handles Menu in
  9211. DefWndProc)
  9212. * Menu.cs (WndProc): Removed my brainfart
  9213. 2005-12-07 Peter Dennis Bartok <[email protected]>
  9214. * Control.cs(PreProcessMessage): Removed special menu handling
  9215. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  9216. 2005-12-07 Mike Kestner <[email protected]>
  9217. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  9218. state according in tracker.
  9219. * Menu.cs : promote tracker field to base class and provide a tracker
  9220. lookup capability. Add/Remove shortcuts dynamically if the top menu
  9221. has a tracker. Unparent items that are removed from the collection.
  9222. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  9223. * Theme*.cs: add always_show_hotkeys field to support configurability
  9224. of mnemonic display. win32 doesn't show mnemonics until Alt is
  9225. pressed.
  9226. 2005-12-07 Jackson Harper <[email protected]>
  9227. * MdiChildContext.cs: Use Control.ResetCursor.
  9228. * Control.cs: ResetCursor needs to set the property so that the
  9229. correct XplatUI call gets made.
  9230. 2005-12-07 Peter Dennis Bartok <[email protected]>
  9231. * Control.cs: More fixes to make our key events match MS. We
  9232. were not setting the modifier state on KeyData, and we were
  9233. not generating any events when Alt was pressed with a key
  9234. since handling of WM_SYSxxx was missing for the OnKey methods.
  9235. 2005-12-07 Jackson Harper <[email protected]>
  9236. * MdiChildContext.cs: reenable the sizing code.
  9237. - When the mouse leaves a window reset its cursor.
  9238. 2005-12-07 Alexander Olk <[email protected]>
  9239. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  9240. 2005-12-07 Peter Dennis Bartok <[email protected]>
  9241. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  9242. widths of Fixed3D borders
  9243. 2005-12-07 Jackson Harper <[email protected]>
  9244. * MdiClient.cs: Fix warnings. Earn Mike's love.
  9245. 2005-12-07 Alexander Olk <[email protected]>
  9246. * ThemeClearlooks.cs:
  9247. - Adjusted mouse over button color
  9248. - Added first parts of CheckBox drawing
  9249. - Added correct color for selected text background
  9250. - Fixed ComboBox drawing
  9251. - Added CPDrawBorder3D and CPDrawBorder
  9252. 2005-12-06 Peter Dennis Bartok <[email protected]>
  9253. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  9254. 2005-12-06 Peter Dennis Bartok <[email protected]>
  9255. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  9256. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  9257. alert users via sound. We could add an enum arg with different
  9258. types of alerts in the future
  9259. 2005-12-06 Peter Dennis Bartok <[email protected]>
  9260. * Control.cs: Fix behaviour problems pointed out by Mike
  9261. 2005-12-05 Mike Kestner <[email protected]>
  9262. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  9263. prop setters. Calls parent.Refresh for now, but could be maybe be
  9264. optimized with an internal method on StatusBar at some point.
  9265. [Fixes #76513]
  9266. 2005-12-05 Peter Dennis Bartok <[email protected]>
  9267. * RichTextBox.cs: Implemented get_SelectionColor
  9268. 2005-12-05 Alexander Olk <[email protected]>
  9269. * ThemeClearlooks.cs:
  9270. - Removed dead code
  9271. - Draw black button border only if button is Form.AcceptButton
  9272. - Draw correct button color for pressed RadioButton if the mouse
  9273. has entered the button
  9274. - Updated ProgressBar drawing!
  9275. - Updated CPDrawSizeGrip drawing
  9276. - Updated StatusBarPanel drawing
  9277. 2005-12-05 Mike Kestner <[email protected]>
  9278. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  9279. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  9280. 2005-12-04 Alexander Olk <[email protected]>
  9281. * ThemeClearlooks.cs: Initial check-in, activate with
  9282. export MONO_THEME=clearlooks
  9283. * ThemeEngine.cs: Added ThemeClearlooks
  9284. 2005-12-03 Mike Kestner <[email protected]>
  9285. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  9286. [Fixes #76897]
  9287. 2005-12-02 Jackson Harper <[email protected]>
  9288. * Form.cs: If the child form has no menu the default main menu is
  9289. used as the active menu.
  9290. 2005-12-02 Peter Dennis Bartok <[email protected]>
  9291. * ListBox.cs: Check if any items exist before trying to resolve
  9292. coordinates into items
  9293. 2005-12-02 Peter Dennis Bartok <[email protected]>
  9294. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  9295. as the second color for the background hatch
  9296. 2005-12-02 Peter Dennis Bartok <[email protected]>
  9297. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  9298. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  9299. sure that what we pass to FormatText is always 1-based. Fixes #76885
  9300. 2005-11-29 Miguel de Icaza <[email protected]>
  9301. * NumericUpDown.cs (EndInit): When we are done initializing,
  9302. reflect any updates on the UI.
  9303. 2005-12-02 Jackson Harper <[email protected]>
  9304. * ImplicitHScrollBar.cs:
  9305. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  9306. their container controls.
  9307. * TreeView.cs: Use the new implicit scrollbars.
  9308. 2005-12-02 Jackson Harper <[email protected]>
  9309. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  9310. can play with it.
  9311. * TreeNodeCollection.cs: If we remove the topnode we need to
  9312. update topnode to the next node in line.
  9313. - When clearing nodes go through the same process as removing
  9314. them, so they get depareneted and checked if they are top node.
  9315. 2005-12-01 Jackson Harper <[email protected]>
  9316. * TreeView.cs: When imagelists are used the image area is
  9317. selectable as well as the text.
  9318. - If there are no selected nodes select the first one.
  9319. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  9320. so don't do it more then we need to.
  9321. 2005-12-01 Jackson Harper <[email protected]>
  9322. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  9323. that arrows can be scaled.
  9324. 2005-12-01 Jackson Harper <[email protected]>
  9325. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  9326. fail. Patch by Dieter Bremes
  9327. 2005-11-30 Jackson Harper <[email protected]>
  9328. * Form.cs: Property is 2.0 only
  9329. * PrintDialog.cs: Signature fix.
  9330. 2005-11-30 Peter Dennis Bartok <[email protected]>
  9331. * TextControl.cs:
  9332. - No longer artificially moves text 2 pixels down (now that we have
  9333. borders this is no longer needed)
  9334. - Added calcs for left, hanging and right indent
  9335. 2005-11-23 Mike Kestner <[email protected]>
  9336. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  9337. 2005-11-30 Jackson Harper <[email protected]>
  9338. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  9339. get cloned as part of CloneMenu ().
  9340. * Menu.cs: Make sure the parent of the items get set correctly
  9341. when they are added. And the owners are notified of the changes.
  9342. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  9343. we can change the menu being displayed/handled by the form without
  9344. changing the menu assosciated with the form.
  9345. - Don't let Mdi children draw/handle menus.
  9346. 2005-11-30 Jackson Harper <[email protected]>
  9347. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  9348. a MenuChanged event. Just to make the API a little more
  9349. consistent.
  9350. * MainMenu.cs:
  9351. * MenuItem.cs: Use the new OnMenuChanged
  9352. * MdiChildContext.cs: Handle menu merging.
  9353. * Form.cs: Implement MergedMenu.
  9354. 2005-11-30 Jackson Harper <[email protected]>
  9355. * Menu.cs: We were misusing Add. Add goes behind the specified
  9356. index according to the docs, and does not replace the specified
  9357. index. So I added an Insert method.
  9358. 2005-11-30 Peter Dennis Bartok <[email protected]>
  9359. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  9360. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  9361. is for Jackson
  9362. * RichTextBox.cs: Added calls to base for DnD events
  9363. 2005-11-28 Peter Dennis Bartok <[email protected]>
  9364. * TextControl.cs:
  9365. - Fixed drag-selection related crash; style fixes
  9366. - Implemented undo class
  9367. o Implemented method to capture document state for specified
  9368. range in document tree
  9369. o Implemented method to restore captured document state
  9370. o Implemented cursor tracking
  9371. o Implemented basic undo stack
  9372. - Added undo cursor tracking to methods altering cursor location
  9373. - Added undo tracking to selection deletion (still missing
  9374. other text-altering hookups)
  9375. * RichTextBox.cs:
  9376. - Added SelectionLength property
  9377. - Implemented CanPaste()
  9378. - Implemented Paste()
  9379. - Added missing protected methods
  9380. - Fixed RTF->Document conversion; now uses font index 0 and color
  9381. index 0 as the default font for the parsed text
  9382. - Fixed RTF<->Document font size translation
  9383. - Fixed RTF generation, now properly handles cross-tag boundaries
  9384. for single line selection
  9385. - No longer always appends blank line to generated RTF
  9386. - Removed TODOs
  9387. - Added missing attributes
  9388. - Hooked up undo-related methods
  9389. * TextBoxBase.cs:
  9390. - Implemented Copy()
  9391. - Implemented Paste()
  9392. - Implemented Cut()
  9393. - Fixed caret mis-behaviour on backspace across line-boundaries
  9394. 2005-11-29 Jackson Harper <[email protected]>
  9395. * MdiClient.cs: Add a method for activating mdi children. Very
  9396. basic right now. I imagine someday it might need more girth.
  9397. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  9398. children windows names are added to the menu item.
  9399. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  9400. mdilist. This happens regardless of whether or not there are any
  9401. mdi windows to see in the list, and according to my tests happens
  9402. before the items are even added. Also happens if there isn't even
  9403. an mdi client to get windows from.
  9404. 2005-11-29 Alexander Olk <[email protected]>
  9405. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  9406. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  9407. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  9408. * DataGridTableStyle.cs:
  9409. - Create always the styles for the missing columns even if they are
  9410. provided by the user (not default table style)
  9411. * DataGrid.cs:
  9412. - Fixes bug 76770
  9413. - Fixes SetDataBinding (always re-attach source)
  9414. - Fixes SetNewDataSource (only clear styles if they are not for
  9415. this source)
  9416. - Expands OnTableStylesCollectionChanged to handle style refresh
  9417. and remove properly
  9418. 2005-11-29 Jackson Harper <[email protected]>
  9419. * FileDialog.cs: Implement missing bits, remove some dead
  9420. code.
  9421. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  9422. creation of the panel so that the options set on the dialog are
  9423. seen when the panel is created.
  9424. * TreeView.cs: raise a click when items are clicked.
  9425. 2005-11-29 Jackson Harper <[email protected]>
  9426. * MdiClient.cs: Pass some signature methods through to base.
  9427. 2005-11-28 Jackson Harper <[email protected]>
  9428. * ListView.cs: Raise the click event when items are clicked.
  9429. 2005-11-28 Jackson Harper <[email protected]>
  9430. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  9431. a nullref.
  9432. 2005-11-27 Alexander Olk <[email protected]>
  9433. * ThemeNice.cs: - Removed 1 pixel bitmaps
  9434. - Use SmoothingMode.AntiAlias where it makes sense
  9435. (ScrollButton arrow for example)
  9436. - Enhanced Button focus drawing
  9437. - Fixed ComboBox drawing (no artefacts anymore, focus
  9438. rectangle is back again, reduced size of ComboButton, etc.)
  9439. - Fixed RadioButton focus drawing for Appearence.Button
  9440. - Slight ScrollButton redesign
  9441. - Some LinearGradientBrush size fixes
  9442. - GroupBoxes have now rounded edges
  9443. - Fixed StatusBar drawing
  9444. 2005-11-25 Alexander Olk <[email protected]>
  9445. * ThemeNice.cs: - Remove dead code
  9446. - use correct background colors for menus, etc.
  9447. - Fake pixel drawing with 1 pixel bitmaps
  9448. 2005-11-24 Jackson Harper <[email protected]>
  9449. * MdiClient.cs: Size the scrollbars when resizing the window.
  9450. - Resize the maximized windows when the client is resized
  9451. * Form.cs: Make the child context available
  9452. 2005-11-23 Jackson Harper <[email protected]>
  9453. * MdiChildContext.cs: Don't size windows if they are maximized.
  9454. 2005-11-23 Mike Kestner <[email protected]>
  9455. * ContextMenu.cs: use MenuTracker.
  9456. * Control.cs: remove menu handle usage.
  9457. * Form.cs: remove menu handle usage.
  9458. * Hwnd.cs: remove menu handle usage.
  9459. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  9460. motion and clicks to the new Tracker handlers.
  9461. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  9462. and handle usage.
  9463. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  9464. Killed the MENU and MENUITEM data types and associated collections
  9465. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  9466. MenuTracker class that exposes the leftovers from the old MenuAPI
  9467. static methods. Restructured Capture handling so that only one grab is
  9468. done for the entire menu hierarchy instead of handing off grabs to
  9469. submenus. Tracker now has an invisible control to Capture when active.
  9470. * MenuItem.cs: add sizing accessors, kill Create
  9471. and handle usage.
  9472. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  9473. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  9474. MENU(ITEM). remove menu handle usage, use Menu directly.
  9475. * XplatUIDriver.cs: remove menu handle usage.
  9476. * XplatUIOSX.cs: remove menu handle usage.
  9477. * XplatUIWin32.cs: remove menu handle usage.
  9478. * XplatUIX11.cs: remove menu handle usage.
  9479. 2005-11-22 Jackson Harper <[email protected]>
  9480. * Hwnd.cs: Don't compute the menu size for
  9481. DefaultClientRectangle.
  9482. - Reenable menu sizes being computed for GetClienRectangle.
  9483. * Form.cs: Remove comment of trechery
  9484. 2005-11-22 Jackson Harper <[email protected]>
  9485. * Hwnd.cs: The adjustments for the menu bar are made when it is
  9486. attached to the form.
  9487. 2005-11-19 Jackson Harper <[email protected]>
  9488. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  9489. (just like on windows).
  9490. 2005-11-19 Jackson Harper <[email protected]>
  9491. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  9492. use real buttons anymore because they are in non client area. The
  9493. one TODO here is that I need to somehow invalidate a section of
  9494. the non client area.
  9495. 2005-11-18 Jackson Harper <[email protected]>
  9496. * Control.cs: Put the enum check back in now that MDI doesnt have
  9497. to use this to set border styles.
  9498. * Form.cs: Only set mdi child windows borders if the handle has
  9499. been created.
  9500. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  9501. this directly on to the driver.
  9502. - Get the move start position before adjusting for the titlebar
  9503. height, this fixes the windows "skipping" when they are first
  9504. moved.
  9505. 2005-11-18 Jackson Harper <[email protected]>
  9506. * XplatUIX11.cs: Just compute the mdi borders separately as they
  9507. don't totally match up with normal form borders.
  9508. 2005-11-18 Jackson Harper <[email protected]>
  9509. * Control.cs: Set WS_ styles for borders, so that the driver does
  9510. not have to retrieve the control instance to figure out what kind
  9511. of borders it should have.
  9512. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  9513. driver can know its an mdi child easily.
  9514. * XplatUIX11.cs: Get the border styles and whether the window is
  9515. MDI from the Styles and ExStyles params instead of having to get a
  9516. control. This prevents a chicken and egg problem.
  9517. 2005-11-18 Jackson Harper <[email protected]>
  9518. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  9519. 2005-11-18 Jackson Harper <[email protected]>
  9520. * MdiClient.cs: Calculate when to add and remove scrollbars
  9521. correctly.
  9522. * MdiChildContext.cs: Adjust the y position to take the titlebar
  9523. into account.
  9524. - No height for FormBorderStyle.None
  9525. 2005-11-18 Jackson Harper <[email protected]>
  9526. * Control.cs: Allow non enum values to be used for
  9527. InternalBorderStyle. MDI does this to set a special border style.
  9528. - New utility methods for converting points to/from client coords
  9529. - Add the newly created control to the Controls collection before
  9530. updating its style. This way UpdateStyle can walk the control
  9531. heirarchy to find the control if needed.
  9532. so I don't need to create a new Point object all the time.
  9533. * Form.cs: Let MDI windows handle their border styles.
  9534. - Set styles on MDI windows so the correct title style is derived.
  9535. * MdiChildContext.cs: Move all the painting and window handling
  9536. into the non client area.
  9537. - Use correct sizing and put correct buttons on frames based on
  9538. the FormBorderStyle.
  9539. - Notify the mdi client about scrolling
  9540. - Need to handle the buttons ourselves now, because they are all
  9541. in non client areas and we can't add controls there.
  9542. * MdiClient.cs: Halfway to scrolling, this implementation is
  9543. somewhat broken though, we need to check to make sure other
  9544. windows aren't causing scrolling before removing the bars. Also
  9545. the bars need to be drawn on top, maybe I can switch implicit
  9546. controls to be on top.
  9547. * Hwnd.cs: caption_height and tool_caption_height are now
  9548. properties of an hwnd, this way they can be set by the driver
  9549. based on the type of window they are. In X11 the window manager
  9550. handles the decorations so caption_height is zero unless its an
  9551. MDI window.
  9552. - Add 3 pixel borders for MDI windows (0xFFFF).
  9553. - Get rid of some code duplication, have DefaultClientRectanle
  9554. just call GetClientRectangle.
  9555. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  9556. Hwnd now.
  9557. - Set border styles differently for mdi windows.
  9558. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  9559. Hwnd now.
  9560. 2005-11-15 Mike Kestner <[email protected]>
  9561. * Menu.cs: when adding an item to the collection, if item is already
  9562. parented, remove it from the parent.
  9563. 2005-11-13 Alexander Olk <[email protected]>
  9564. * X11DesktopColors.cs: Added KDE support
  9565. 2005-11-11 Peter Dennis Bartok <[email protected]>
  9566. * XplatUIWin32.cs:
  9567. - Clipboard methods now can translate Rtf format
  9568. - No longer removes clipboard contents whenever a new format is added
  9569. to allow placing multiple formats on the clipboard
  9570. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  9571. will place all formats contained in it onto the clipboard. Also
  9572. now cleans the clipboard before placing a new object onto it
  9573. * RichTextBox.cs:
  9574. - Implemented set_Rtf
  9575. - Implemented set_SelectedRtf
  9576. - Created InsertRTFFromStream() method to allow single code base
  9577. for all properties and methods that insert RTF into document
  9578. - Removed debug output
  9579. * TextControl.cs:
  9580. - Fixed Delete(int) to fix up line numbers
  9581. - Fixed ReplaceSelection to combine start and end line
  9582. - Fixed serious DeleteChars bug that would leave the document tree
  9583. broken
  9584. - Improved DumpTree with several logic checks to detect broken
  9585. document trees
  9586. - Removed debug lines
  9587. - Fixed Caret.WordForward/WordBack moving code, now always also
  9588. updates caret.tag (fixes crash when word-selecting across tag
  9589. boundaries via keyboard)
  9590. - Added Insert() method for inserting multiline text into documents
  9591. - Fixed DeleteChars() calculation errors that would cause a broken
  9592. tag chain with multiple tag lines
  9593. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  9594. - Split() no longer moves caret if split is at caret location
  9595. - ReplaceSelection() now updates the cursor and re-displays it
  9596. - ReplaceSelection() now uses new Insert() method to avoid code
  9597. duplication
  9598. - FormatText() can now handle formatting partial lines
  9599. * TextBoxBase.cs:
  9600. - Append now uses new TextControl.Insert() method (this avoids
  9601. duplicate code)
  9602. - Implemented Ctrl-X (Cut) (
  9603. - Implemented Ctrl-C (Copy)
  9604. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  9605. regeneration when pasting text; roundtripping Copy&Paste within
  9606. edit control still fails due to some calculation bugs in GenerateRTF)
  9607. - The Delete key will now remove the current selection if it is visible
  9608. * TextBox.cs: Removed debug lines
  9609. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  9610. driver to be initialized and can't therefore be done via a static ctor)
  9611. 2005-11-10 Peter Dennis Bartok <[email protected]>
  9612. * TextControl.cs: Added backend code for finding char arrays and strings
  9613. * TextBoxBase.cs:
  9614. - Added mouse wheel scroll support
  9615. - Added support for VScroll and HScroll events
  9616. * RichTextBox.cs:
  9617. - Implemented all seven Find() variants
  9618. - Implemented GetCharFromPosition()
  9619. - Implemented GetCharIndexFromPosition()
  9620. - Implemented GetLineFromIndex()
  9621. - Implemented GetPositionFromCharIndex();
  9622. - Implemented SaveFile for PlainText and UnicodeText
  9623. - Fixed set_Font, now setting a new font applies that font to
  9624. the whole document
  9625. - Implemented generic Document to RTF converter
  9626. - Implemented SaveFile for RichText format (still missing unicode
  9627. conversion for non-ansi chars)
  9628. - Implemented get_Rtf
  9629. - Implemented get_SelectedRtf
  9630. 2005-11-09 Peter Dennis Bartok <[email protected]>
  9631. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  9632. to allow any captures to be released before triggering OnClick. This
  9633. way a click handler may capture the mouse without interference.
  9634. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  9635. This way we send them even though X may not allow a grab (if the window
  9636. isn't visible, for example)
  9637. 2005-11-08 Pedro Martinez Julia <[email protected]>
  9638. * DataGridViewRowEventArgs.cs: DataGridView implementation
  9639. * DataGridViewElement.cs: DataGridView implementation
  9640. * DataGridViewComboBoxCell.cs: DataGridView implementation
  9641. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  9642. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  9643. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  9644. * ImageLayout.cs: DataGridView implementation
  9645. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  9646. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  9647. * DataGridViewSelectionMode.cs: DataGridView implementation
  9648. * IDataGridViewEditingControl.cs: DataGridView implementation
  9649. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  9650. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  9651. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  9652. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  9653. * DataGridViewColumnSortMode.cs: DataGridView implementation
  9654. * DataGridView.cs: DataGridView implementation
  9655. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  9656. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  9657. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  9658. * Padding.cs: DataGridView implementation
  9659. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  9660. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  9661. * DataGridViewRowEventHandler.cs: DataGridView implementation
  9662. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  9663. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  9664. * DataGridViewButtonCell.cs: DataGridView implementation
  9665. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  9666. * DataGridViewEditMode.cs: DataGridView implementation
  9667. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  9668. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  9669. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  9670. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  9671. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  9672. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  9673. * DataGridViewCellEventHandler.cs: DataGridView implementation
  9674. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  9675. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  9676. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  9677. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  9678. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  9679. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  9680. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  9681. * QuestionEventArgs.cs: DataGridView implementation
  9682. * IDataGridViewEditingCell.cs: DataGridView implementation
  9683. * DataGridViewTriState.cs: DataGridView implementation
  9684. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  9685. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  9686. * DataGridViewColumnCollection.cs: DataGridView implementation
  9687. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  9688. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  9689. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  9690. * DataGridViewColumn.cs: DataGridView implementation
  9691. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  9692. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  9693. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  9694. * DataGridViewRow.cs: DataGridView implementation
  9695. * DataGridViewImageCellLayout.cs: DataGridView implementation
  9696. * DataGridViewImageCell.cs: DataGridView implementation
  9697. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  9698. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  9699. * DataGridViewHeaderCell.cs: DataGridView implementation
  9700. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  9701. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  9702. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  9703. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  9704. * QuestionEventHandler.cs: DataGridView implementation
  9705. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  9706. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  9707. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  9708. * DataGridViewCell.cs: DataGridView implementation
  9709. * DataGridViewCellEventArgs.cs: DataGridView implementation
  9710. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  9711. * DataGridViewCellStyle.cs: DataGridView implementation
  9712. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  9713. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  9714. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  9715. * TextFormatFlags.cs: DataGridView implementation
  9716. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  9717. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  9718. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  9719. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  9720. * DataGridViewButtonColumn.cs: DataGridView implementation
  9721. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  9722. * HandledMouseEventArgs.cs: DataGridView implementation
  9723. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  9724. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  9725. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  9726. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  9727. * DataGridViewRowCollection.cs: DataGridView implementation
  9728. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  9729. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  9730. * DataGridViewHitTestType.cs: DataGridView implementation
  9731. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  9732. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  9733. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  9734. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  9735. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  9736. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  9737. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  9738. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  9739. * DataGridViewContentAlignment.cs: DataGridView implementation
  9740. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  9741. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  9742. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  9743. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  9744. * DataGridViewPaintParts.cs: DataGridView implementation
  9745. * DataGridViewCellCollection.cs: DataGridView implementation
  9746. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  9747. * DataGridViewImageColumn.cs: DataGridView implementation
  9748. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  9749. * DataGridViewElementStates.cs: DataGridView implementation
  9750. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  9751. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  9752. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  9753. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  9754. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  9755. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  9756. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  9757. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  9758. * DataGridViewTextBoxCell.cs: DataGridView implementation
  9759. * DataGridViewBand.cs: DataGridView implementation
  9760. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  9761. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  9762. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  9763. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  9764. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  9765. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  9766. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  9767. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  9768. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  9769. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  9770. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  9771. 2005-11-08 Peter Dennis Bartok <[email protected]>
  9772. * ThemeWin32Classic.cs:
  9773. - Draw the outside focus rectangle around buttons
  9774. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  9775. doesn't use end caps for every dash of a line anymore. This
  9776. workaround ignores the forecolor.
  9777. 2005-11-08 Kornél Pál <[email protected]>
  9778. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  9779. endian safe.
  9780. 2005-11-07 Jackson Harper <[email protected]>
  9781. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  9782. 2005-11-07 Jackson Harper <[email protected]>
  9783. * ScrollableControl.cs: Calculate the maximum and change vars
  9784. (more) correctly so that scrollbars appear as a sensible size.
  9785. 2005-11-04 Jackson Harper <[email protected]>
  9786. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  9787. collection.
  9788. * TreeView.cs: When the tree is sorted null out the top_node so
  9789. that it is recalculated.
  9790. - Use dotted lines instead of dashed lines to match MS better.
  9791. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  9792. * ListView.cs:
  9793. - Implements key search for items. Useful when browsing files with FileDialog
  9794. - When changing view mode or when clear the items reset scrollbar positions
  9795. 2005-11-04 Jackson Harper <[email protected]>
  9796. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  9797. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  9798. as to what the method may do as there is no real way of creating a
  9799. derived CurrencyManager and calling the method.
  9800. 2005-11-03 Jackson Harper <[email protected]>
  9801. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  9802. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  9803. method which seems to just be used internally to refresh the tabs.
  9804. 2005-11-03 Jackson Harper <[email protected]>
  9805. * TabControl.cs: Implement the remove method. Fix some broken
  9806. comments.
  9807. 2005-11-03 Peter Dennis Bartok <[email protected]>
  9808. * DateTimePicker.cs:
  9809. - Added missing DateTimePickerAccessibleObject class
  9810. - Added missing events
  9811. - Added OnFontChanged method
  9812. * Form.cs: Added missing attributes
  9813. * TreeView.cs: Added missing attributes
  9814. 2005-11-03 Peter Dennis Bartok <[email protected]>
  9815. * GridItemCollection.cs: Fix signatures
  9816. 2005-11-03 Peter Dennis Bartok <[email protected]>
  9817. * XplatUI.cs: Updated build rev/date
  9818. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  9819. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  9820. * Application.cs: Trigger context-specific ExitThread events
  9821. 2005-11-03 Jackson Harper <[email protected]>
  9822. * Menu.cs:
  9823. * MainMenu.cs:
  9824. * GridTableStylesCollection.cs:
  9825. * Timer.cs:
  9826. * TabPage.cs:
  9827. * HelpProvider.cs:
  9828. * StatusBar.cs:
  9829. * MonthCalendar.cs: Signature fixes
  9830. 2005-11-03 Jackson Harper <[email protected]>
  9831. * TreeNodeCollection.cs: Remove should not be virtual.
  9832. * TreeView.cs: Implement the last of the missing methods.
  9833. 2005-11-03 Jackson Harper <[email protected]>
  9834. * TreeNodeConverter.cs: Implement to get off my class-status back.
  9835. 2005-11-03 Jackson Harper <[email protected]>
  9836. * TreeView.cs: Hookup the bits for drag and drop.
  9837. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  9838. that nodes can be moved from tree to tree easily this just causes
  9839. all sorts of problems.
  9840. * TreeNodeCollection: Don't need to give treenodes an index and
  9841. treeview anymore when they are added, these are computed on the
  9842. fly. Also make sure to remove a node before its added.
  9843. 2005-11-03 Peter Dennis Bartok <[email protected]>
  9844. * TextControl.cs:
  9845. - Added CaretSelection enum
  9846. - Added comparison methods to Marker struct, makes selection code
  9847. more readable
  9848. - Added SelectionStart and SelectionEnd as 'moveable' location for
  9849. the CaretDirection enum and handler
  9850. - Added selection_prev variable to track optimized invalidation for
  9851. word and line selection
  9852. - Added SelectionVisible property (returns true if there is a valid
  9853. selection)
  9854. - Switched CaretHasFocus to only display the caret if there is no
  9855. visible selection
  9856. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  9857. using the direct character index; should be much faster
  9858. - Added various conditional debug statements
  9859. - Fixed invalidation calculation for selection ranges
  9860. - Added ExpandSelection() method to support word and line selection
  9861. - Switched SetSelectionToCaret to use new Marker compare overloads
  9862. - Added central IsWordSeparator() method to determine word
  9863. separators/whitespace and FindWordSeparator() to streamline common
  9864. usage of IsWordSeparator()
  9865. * TextBoxBase.cs:
  9866. - Removed unneeded grabbed variable, it was just mirroring
  9867. Control.Capture
  9868. - No longer firing OnTextChanged event when Text setter is called,
  9869. since the base will fire the event for us
  9870. - Added handling of Ctrl-Up/Down selection
  9871. - Added handling of Shift-Cursorkey selection
  9872. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  9873. words
  9874. - Added handling of Shift and Ctrl-Shift-Home/End selection
  9875. - Removed some debug output
  9876. - Added handling for single/double/tripple-click to place caret/
  9877. select word/select line respectively (Fixes bug #76031)
  9878. - Added support for drag expansion of word/line selection
  9879. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  9880. current selection
  9881. 2005-11-02 Jackson Harper <[email protected]>
  9882. * X11Dnd.cs: If the drag is going to and from a MWF window just
  9883. copy the data instead of sending it out through the X Selection
  9884. mechanism.
  9885. 2005-11-02 Jackson Harper <[email protected]>
  9886. * X11Dnd.cs:
  9887. * XplatUIX11.cs: When in a drag we don't want motion notify
  9888. messages to get passed on to the other controls. This prevents
  9889. mouse move messages from showing up in the drag source.
  9890. 2005-11-02 Jackson Harper <[email protected]>
  9891. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  9892. the correct button is release to end a drag.
  9893. * XplatUIX11.cs: Make the button state internal so the drag system
  9894. can access it. Dragging needs to know about all button releases,
  9895. not just left button.
  9896. 2005-11-02 Miguel de Icaza <[email protected]>
  9897. * Form.cs (Icon): If the icon is null, reset the icon to the
  9898. default value.
  9899. * Cursor.cs: When writing the AND-mask bitmap do not include the
  9900. number of colors, but hardcode those to two (black and white),
  9901. fixes the loading of color cursors (Paint Dot Net).
  9902. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  9903. turn off autoscaling.
  9904. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  9905. 2005-11-02 Jackson Harper <[email protected]>
  9906. * X11Dnd.cs: Make sure to send a status message if the pointer
  9907. enters a control that can not accept a drop, otherwise the cursor
  9908. isn't updated correctly. Also tried to compress the lines of code
  9909. a bit.
  9910. 2005-11-02 Jackson Harper <[email protected]>
  9911. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  9912. set actions correctly. This isn't perfect as XDND and win32 have
  9913. some differences on how you allow actions. I'll clear this up by
  9914. adding a path for drag from MWF to MWF windows.
  9915. * XplatUIX11.cs: Hook into the dnd system.
  9916. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  9917. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  9918. previously shown but they are no longer need it. Very obvious when
  9919. browsing files with FileDialog.
  9920. 2005-11-01 Peter Dennis Bartok <[email protected]>
  9921. * Control.cs: We always need to call OnPaintBackground. We pretty much
  9922. ignore AllPaintingInWmPaint and always do the painting there, whether
  9923. it's set or not, since we always ignore the WM_ERASEBKGND message
  9924. (which we don't generate on X11). This fixes #76616.
  9925. * Panel.cs: Removed unneeded background painting. This happens properly
  9926. in Control.cs already
  9927. 2005-10-31 Mike Kestner <[email protected]>
  9928. * Menu.cs: Add items to collection before setting their index.
  9929. * MenuItem.cs : add range checking with ArgumentException like MS.
  9930. [Fixes #76510]
  9931. 2005-10-31 Jackson Harper <[email protected]>
  9932. * ListBox.cs: Invalidate if the area is visible at all not just
  9933. contained in the visible rect. Fixes unselection of semi visible
  9934. items.
  9935. 2005-10-31 Jackson Harper <[email protected]>
  9936. * Control.cs: Consistently name the dnd methods. Make them
  9937. internal so we can override them to match some MS behavoir
  9938. internally.
  9939. * Win32DnD.cs: Use the new consistent names.
  9940. 2005-10-31 Jackson Harper <[email protected]>
  9941. * TreeView.cs: Don't draw the selected node when we lose focus.
  9942. 2005-10-31 Jackson Harper <[email protected]>
  9943. * X11Dnd.cs: We still need to reset the state even though a full
  9944. reset isn't being done, otherwise status's still get sent all over
  9945. the place.
  9946. 2005-10-31 Jackson Harper <[email protected]>
  9947. * Control.cs: Make the dnd_aware flag internal so the dnd
  9948. subsystem can check it. Catch exceptions thrown in dnd handlers to
  9949. match MS behavoir.
  9950. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  9951. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  9952. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  9953. flags to reduce the number of dnd enters/status's sent.
  9954. 2005-10-31 Jackson Harper <[email protected]>
  9955. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  9956. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  9957. * PictureBox.cs: Fixes 76512
  9958. 2005-10-28 Jackson Harper <[email protected]>
  9959. * X11Dnd.cs: Early implementation to support winforms being a drag
  9960. source for data on X11. Also restructured the converters so they
  9961. can go both ways now.
  9962. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  9963. 2005-10-27 Peter Dennis Bartok <[email protected]>
  9964. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  9965. clipboard requests
  9966. 2005-10-27 Jackson Harper <[email protected]>
  9967. * TreeNode.cs: Implement serialization so my DnD examples will work.
  9968. 2005-10-24 Kornél Pál <[email protected]>
  9969. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  9970. TreeView.cs: Don't dispose objects that are not owned.
  9971. 2005-10-24 Peter Dennis Bartok <[email protected]>
  9972. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  9973. should retrieve the current cursor and report that, but XplatUI
  9974. doesn't (yet) have an interface for that (and I'm not sure I even
  9975. can, on X11)
  9976. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  9977. until any message loop processing is done (and the WM_SETCURSOR
  9978. replaces the cursor to the proper one)
  9979. * XplatUIX11.cs:
  9980. - Fixed override behaviour, we can't set the cursor globally on X11,
  9981. just for our windows.
  9982. - Invalidating the System.Drawing X11 display handle when we are
  9983. shutting down
  9984. * Control.cs: Fix to make csc happy
  9985. 2005-10-23 Peter Dennis Bartok <[email protected]>
  9986. * TextBoxBase.cs:
  9987. - get_Text: Add last line (without trailing newline) to returned
  9988. value (Fixes 76212)
  9989. - get_TextLength: Count last line in returned length
  9990. - ToString: Call Text property instead of duplicating code
  9991. 2005-10-23 Kornél Pál <[email protected]>
  9992. * ImageList.cs: Dispose ImageAttributes objects.
  9993. 2005-10-22 Kornél Pál <[email protected]>
  9994. * ImageList.cs: Use attribute constructors with less arguments where
  9995. possible.
  9996. 2005-10-22 Kornél Pál <[email protected]>
  9997. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  9998. Use typeof instead of strings when assembly is referenced. Added
  9999. some more comments.
  10000. 2005-10-21 Jackson Harper <[email protected]>
  10001. * ListView.cs: Raise a double click event. Also tried to somewhat
  10002. fix when the selectedindexchanged event is raised. Its still
  10003. broken though.
  10004. 2005-10-21 Jackson Harper <[email protected]>
  10005. * TreeView.cs: New method to invalidate the plus minus area of a
  10006. node without invalidating the whole node (maybe this can be used
  10007. in some more places).
  10008. * TreeNodeCollection.cs: When adding to an empty node we need to
  10009. invalidate its plus minus area so the little block shows up.
  10010. 2005-10-21 Jackson Harper <[email protected]>
  10011. * TreeView.cs: Make sure that when we invalidate a node the bounds
  10012. are big enough to cover the selected box and the focus
  10013. rectangle. Use a different colour for the lines connecting nodes
  10014. so they show up with all themes.
  10015. 2005-10-21 Peter Dennis Bartok <[email protected]>
  10016. * NativeWindow.cs: Don't call anything that could call into the driver,
  10017. we might be on a different thread.
  10018. 2005-10-21 Peter Dennis Bartok <[email protected]>
  10019. * Control.cs(Dispose): Since Dispose might run on a different thread,
  10020. make sure that we call methods that could call into the driver via
  10021. invoke, to avoid thread issues
  10022. 2005-10-21 Peter Dennis Bartok <[email protected]>
  10023. * XplatUI.cs: Removed finalizer
  10024. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  10025. not allowing to be called on the finalizer thread.
  10026. 2005-10-21 Kornél Pál <[email protected]>
  10027. * ImageList.cs:
  10028. - Reverted r51889 and r51891.
  10029. - Added ImageListItem class that stores unmodified image items and image
  10030. properties required to create list images until handle is created.
  10031. - Added AddItem and moved image creation logic to AddItemInternal.
  10032. - Added CreateHandle method that creates images based on unmodified items.
  10033. - Added DestroyHandle that changes state to store unmodified items.
  10034. - Add and AddStrip methods no more create handle.
  10035. - ReduceColorDepth has no return value.
  10036. - Dispose destroys handle.
  10037. - Modified other methods to reflect the above changes.
  10038. - Implemented key support.
  10039. - Added profile 2.0 members and attributes.
  10040. - Added private Reset and ShouldSerialize methods that provide the same
  10041. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  10042. them as they are private.
  10043. - Added some more comments about implementation details.
  10044. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  10045. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  10046. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  10047. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  10048. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  10049. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  10050. * DataGridColumnStyle.cs: Remove debug message
  10051. 2005-10-20 Jackson Harper <[email protected]>
  10052. * TreeView.cs: We can always get input keys regardless of whether
  10053. or not editing is enabled. They are used for navigation.
  10054. 2005-10-20 Jackson Harper <[email protected]>
  10055. * TreeNode.cs: Use the viewport rect for determining if a node
  10056. needs to be moved for visibility. Don't use Begin/End edit. This
  10057. calls a full refresh when its done.
  10058. * TreeView.cs: New SetBottom works correctly. Make the viewport
  10059. rect property internal so the treenodes can see it. When clicking
  10060. on a node we need to ensure that its visible because it might just
  10061. be partly visible when clicked.
  10062. 2005-10-20 Jackson Harper <[email protected]>
  10063. * TreeNodeCollection.cs: Remove debug code.
  10064. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  10065. * Datagrid.cs: Implements column sorting in Datagrid
  10066. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  10067. 2005-10-20 Jackson Harper <[email protected]>
  10068. * TreeNodeCollection.cs: Remove items properly. Update the correct
  10069. area after removing them.
  10070. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  10071. * Datagrid.cs: Should not call base.OnPaintBackground
  10072. 2005-10-20 Peter Dennis Bartok <[email protected]>
  10073. * XplatUIX11.cs (GetMessage):
  10074. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  10075. window instead of client window
  10076. - Now properly calculates NC_xBUTTONUP message coordinates
  10077. - ScreenToMenu now properly calculates it's coordinates of whole
  10078. window, since menus are in the whole window, not in the client
  10079. window
  10080. - Added WholeToScreen coordinate translation method
  10081. 2005-10-20 Peter Dennis Bartok <[email protected]>
  10082. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  10083. want to return a message, loop back to the beginning of the function
  10084. and grab the next real message to process instead.
  10085. 2005-10-20 Peter Dennis Bartok <[email protected]>
  10086. * Splitter.cs: Properly set limits if no filler control is used
  10087. 2005-10-19 Jackson Harper <[email protected]>
  10088. * ColorDialog.cs: Don't show the help button if it is not enabled
  10089. instead of disabling it (this is what MS does). Don't create the
  10090. panel until the dialog is run, otherwise the vars (such as
  10091. ShowHelp) are not set yet.
  10092. 2005-10-19 Jackson Harper <[email protected]>
  10093. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  10094. are reduced when adding nodes.
  10095. * TreeNode.cs:
  10096. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  10097. tree.
  10098. 2005-10-19 Jackson Harper <[email protected]>
  10099. * FolderBrowserDialog.cs: End editing our treeview so the window
  10100. actually gets refreshed.
  10101. 2005-10-18 Peter Dennis Bartok <[email protected]>
  10102. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  10103. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  10104. inside of WM_PAINT
  10105. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  10106. * MenuAPI.cs: Returns after Hidding window
  10107. * XplatUIX11.cs: Added TODO found while debugging menu issues
  10108. 2005-10-18 Peter Dennis Bartok <[email protected]>
  10109. * XplatUIX11.cs: Do not re-map the whole window when it's size
  10110. becomes non-zero unless it's supposed to be actually visible
  10111. 2005-10-18 Jackson Harper <[email protected]>
  10112. * TreeView.cs: We don't need to keep a count anymore.
  10113. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  10114. use the Grow method.
  10115. 2005-10-18 Jackson Harper <[email protected]>
  10116. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  10117. implement it manually here.
  10118. 2005-10-18 Jackson Harper <[email protected]>
  10119. * ImageList.cs: Dont kill the list when the colour depth is
  10120. changed, just change the colour depth of all the images.
  10121. - Same goes for setting the image size. Just resize them all
  10122. instead of killing the list softly.
  10123. 2005-10-18 Jackson Harper <[email protected]>
  10124. * Control.cs: Don't invalidate empty rectangles.
  10125. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  10126. * ListViewItem.cs:
  10127. - Adds checked item to the Checked/Item lists (where empty before)
  10128. - Do not add items to the Selected lists if they are already present
  10129. * ListView.cs:
  10130. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  10131. - When deleting items make sure that we delete them for the Selected
  10132. and Checked list also.
  10133. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  10134. * Label.cs: Dispose objects no longer used
  10135. * ThemeWin32Classic.cs: Dispose objects no longer used
  10136. 2005-10-18 Jackson Harper <[email protected]>
  10137. * TabControl.cs: Don't refresh the whole control when the tabs are
  10138. scrolled, we just need to refresh the tab area.
  10139. 2005-10-17 Jackson Harper <[email protected]>
  10140. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  10141. after handle when we need it.
  10142. 2005-10-17 Peter Dennis Bartok <[email protected]>
  10143. * Control.cs: When the parent size changes, recalculate anchor
  10144. positions. Partial fix for #76462
  10145. 2005-10-17 Peter Dennis Bartok <[email protected]>
  10146. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  10147. drawn. Fixes #76462
  10148. 2005-10-17 Jackson Harper <[email protected]>
  10149. * MonthCalendar.cs: Don't create the numeric up down until our
  10150. handle is created. Otherwise our handle is created in the
  10151. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  10152. yet.
  10153. 2005-10-17 Jackson Harper <[email protected]>
  10154. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  10155. correctly.
  10156. 2005-10-17 Rafael Teixeira <[email protected]>
  10157. * TreeNode.cs : small logical fix (was using local var instead of field)
  10158. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  10159. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  10160. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  10161. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  10162. 2005-10-16 Peter Dennis Bartok <[email protected]>
  10163. * Control.cs:
  10164. - Re-implemented anchoring code. My first version was really broken.
  10165. This fixes bug #76033. Unlike the previous implementation we will
  10166. no longer have round errors since all numbers are calculated from
  10167. scratch every time. Removed various anchor-related obsolete vars.
  10168. - InitLayout no longer causes layout event firing and layout to be
  10169. performed
  10170. 2005-10-16 Jackson Harper <[email protected]>
  10171. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  10172. which was broken).
  10173. 2005-10-16 Jackson Harper <[email protected]>
  10174. * TabControl.cs: Remove debug code.
  10175. 2005-10-16 Jackson Harper <[email protected]>
  10176. * XEventQueue.cs: Increase the default queue size (very simple
  10177. apps needed to grow the queue).
  10178. * Hwnd.cs: No finalizer so we don't need to suppress
  10179. finalization. Compute the invalid area manually so a new rectangle
  10180. does not newto be created.
  10181. * ScrollableControl.cs: Don't set any params (otherwise visibility
  10182. isn't set correctly).
  10183. * MdiChildContext.cs: New constructor takes the mdi parent so it
  10184. doesn't have to be computed and avoids a crash on windows. Draw
  10185. the window icon properly, and allow the text to be seen.
  10186. * Form.cs: Use new MdiChildContext constructor. Make sure the
  10187. child context isn't null in wndproc.
  10188. * TabControl.cs: Don't set focus, this is muddling keyboard
  10189. behavoir. Expand the tab rows when a window size increase will
  10190. allow extra tabs to be seen. Don't allow tabs smaller than the
  10191. width of a window to be scrolled out of view.
  10192. * TreeNode.cs:
  10193. * TreeView.cs: Use measure string to calculate a nodes width, the
  10194. width is cached and only updated when the text or the font is
  10195. changed. Don't check for expand/collapse clicks on the first level
  10196. nodes if root lines are disabled.
  10197. 2005-10-16 Ritvik Mayank <[email protected]>
  10198. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  10199. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  10200. * DataGridBoolColumn.cs: fixes warning
  10201. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  10202. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  10203. to match more to match more precisely the MS Net behavior
  10204. 2005-10-13 Peter Dennis Bartok <[email protected]>
  10205. * Hwnd.cs: Added field to track if window is mapped
  10206. * XplatUIX11.cs:
  10207. - Unmap windows if they become 0-size, re-map when
  10208. they are >0 again; fixes #76035
  10209. - Re-set our error handler after initializing X11Desktop
  10210. to override any error handlers Gtk or whatever was called
  10211. may have set.
  10212. 2005-10-13 Peter Dennis Bartok <[email protected]>
  10213. * CheckedListBox.cs: Removed unused vars
  10214. * ListView.cs: Fixed signatures
  10215. * RichTextBox.cs: Removed unused vars
  10216. * TextBoxBase.cs: Removed unused vars
  10217. * XplatUIWin32.cs: Removed unused vars
  10218. * XplatUIX11.cs: Removed unused vars
  10219. * XplatUI.cs: Updated version and date to latest published
  10220. 2005-10-13 Peter Dennis Bartok <[email protected]>
  10221. * Cursor.cs: Added private .ctor to work around a bug in
  10222. resourceset (Thanks to Geoff Norton for the help on this)
  10223. * SplitterEventArgs.cs: Made fields accessible so we don't
  10224. waste boatloads of objects and can reuse the same one
  10225. in Splitter
  10226. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  10227. any captions and borders when generating screen coordinates
  10228. * Splitter.cs: Reimplemented control, now fully complete, uses
  10229. rubberband drawing, supports and obeys all properties, has
  10230. proper cursors
  10231. 2005-10-13 Miguel de Icaza <[email protected]>
  10232. * Form.cs (Form): Setup default values for autoscale and
  10233. autoscale_base_size; Make these instance variables, not static
  10234. variables.
  10235. (OnLoad): on the first load, adjust the size of the form.
  10236. 2005-10-13 Peter Dennis Bartok <[email protected]>
  10237. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  10238. width argument to DrawReversibleRectangle()
  10239. * XplatUIWin32.cs, XplatUIX11.cs:
  10240. - Implemented width for DrawReversibleRectangle()
  10241. - Added logic to DrawReversibleRectangle that recognizes a zero
  10242. width or height and only draws a line in that situation
  10243. 2005-10-12 Peter Dennis Bartok <[email protected]>
  10244. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  10245. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  10246. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  10247. method (it uses our FosterParent window to get a graphics context)
  10248. 2005-10-12 Peter Dennis Bartok <[email protected]>
  10249. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  10250. and SetWindowBackground methods
  10251. * Control.cs:
  10252. - Setting proper ControlStyles
  10253. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  10254. EraseWindowBackground, instead we draw the window background
  10255. ourselves in PaintControlBackground. This behaviour is
  10256. required to match MS, where, when OnPaintBackground is not
  10257. called, the background is not drawn.
  10258. - Removed unneeded Refresh() in set_Text
  10259. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  10260. * XplatUIX11.cs:
  10261. - Created DeriveStyles method to translate from CreateParams to
  10262. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  10263. matches FormBorderStyle enum values)
  10264. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  10265. style calculations into single DeriveStyles method
  10266. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  10267. from redrawing the whole window on any resize or expose.
  10268. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  10269. all styles were applied to our whole/client window appropriately
  10270. - Removed EraseWindowBackground() and SetWindowBackground() methods
  10271. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  10272. no longer clear/redraw the background through X
  10273. - Removed handling of erase_pending bit, we have no use for it (or
  10274. so it seems)
  10275. * XplatUIOSX.cs:
  10276. - Removed generation and handling of WM_ERASEBKGND message
  10277. - Removed EraseWindowBackground() and SetWindowBackground() methods
  10278. - Removed handling of hwnd.ErasePending flag
  10279. * XplatUIWin32.cs:
  10280. - Removed EraseWindowBackground() and SetWindowBackground() methods
  10281. - We no longer call EraseWindowBackground on PaintEventStart, we
  10282. ignore the fErase flag, erasing is handled in Control in the
  10283. background handler
  10284. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  10285. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  10286. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  10287. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  10288. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  10289. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  10290. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  10291. 2005-10-12 Jonathan Chambers <[email protected]>
  10292. * PropertyGrids.cs: Get sub properties
  10293. * PropertyGridView.cs: Fix drawing code
  10294. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  10295. * ListBox.cs: Fixes 76383
  10296. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  10297. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  10298. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  10299. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  10300. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  10301. * ComboBox.cs: Fixes border drawing
  10302. 2005-10-10 Miguel de Icaza <[email protected]>
  10303. * MimeIcon.cs: Ignore errors if the file can not be read.
  10304. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  10305. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  10306. - Fixed border calculations
  10307. - Fixed horizontal scrolling in single column listboxes
  10308. - Fixed drawing issues
  10309. 2005-10-10 Peter Dennis Bartok <[email protected]>
  10310. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  10311. FormBorderStyle enum
  10312. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  10313. code to determine FormBorderStyles from CreateParams
  10314. * Form.cs:
  10315. - Fixed bug where we'd set the wrong window styles if we were
  10316. not creating an MDI window
  10317. - Added call to XplatUI.SetBorderStyle when form borders are set
  10318. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  10319. * Hwnd.cs:
  10320. - Removed obsolete edge style
  10321. - Switched from BorderStyle to FormBorderStyle
  10322. 2005-10-10 Jackson Harper <[email protected]>
  10323. * Form.cs: Use the property to get the window handle instead of
  10324. accessing it directly. Prevents a null reference exception.
  10325. 2005-10-10 Jackson Harper <[email protected]>
  10326. * TreeView.cs: Don't adjust the rect given to DrawString now that
  10327. our libgdiplus draws correctly.
  10328. 2005-10-08 Jackson Harper <[email protected]>
  10329. * TreeView.cs: Don't try to find the clicked on node if there are
  10330. no nodes in the tree.
  10331. 2005-10-08 Alexander Olk <[email protected]>
  10332. * RichTextBox.cs:
  10333. restore
  10334. 2005-10-08 Alexander Olk <[email protected]>
  10335. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  10336. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  10337. ErrorProvider.cs:
  10338. Use ResPool for brushes and dispose System.Drawing objects that
  10339. are not used anymore.
  10340. 2005-10-07 Jackson Harper <[email protected]>
  10341. * MdiChildContext.cs: Use the new borders instead of drawing them
  10342. ourselves.
  10343. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  10344. * Calling UpdateBounds after changing the window's BorderStyle
  10345. since the style can change the ClientSize
  10346. 2005-10-06 Peter Dennis Bartok <[email protected]>
  10347. * Control.cs: Made PaintControlBackground virtual
  10348. * Panel.cs: Overriding PaintControlBackground instead of using paint
  10349. event; paint event method was interfering with 'real' users of the
  10350. event.
  10351. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  10352. * ThemeWin32Classic.cs: remove border drawing since it is handled
  10353. by the base control class now and was causing double border drawing.
  10354. 2005-10-06 Peter Dennis Bartok <[email protected]>
  10355. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  10356. but it does seem to match MS behaviour. This fixes bug #75324
  10357. 2005-10-06 Peter Dennis Bartok <[email protected]>
  10358. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  10359. somewhat hackish looking
  10360. 2005-10-06 Peter Dennis Bartok <[email protected]>
  10361. * TextBoxBase.cs:
  10362. - We now accept Enter even if AcceptEnter is false, if the containing
  10363. form does not have an AcceptButton configured (fixes bug #76355)
  10364. - Calculations are now fixed to no longer use Width/Height, but
  10365. ClientSize.Width/Height, since we now support borders (this was
  10366. a result of fixing borders and therefore bug #76166)
  10367. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  10368. true (fixes bug #76354)
  10369. 2005-10-06 Peter Dennis Bartok <[email protected]>
  10370. * Control.cs:
  10371. - Defaulting BorderStyle and setting it in XplatUI when our window
  10372. is created
  10373. - Added enum check to InternalBorderStyle setter
  10374. * XplatUIX11.cs:
  10375. - Added drawing of window borders
  10376. - Now properly calculates WM decorations offset for toplevel
  10377. windows (fixes bug #74763)
  10378. * XplatUIWin32.cs:
  10379. - Implemented BorderStyles for windows (we're letting win32 draw
  10380. the border for us)
  10381. - Fixed the signature for SetWindowLong
  10382. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  10383. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  10384. setting borders
  10385. * UpDownBase.cs: Remove drawing of borders, this is handled by
  10386. the driver, outside the client area
  10387. * ListView.cs: Removed bogus border calculations. The control should
  10388. be oblivious to borders, since those are not part of the client
  10389. area.
  10390. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  10391. * ThemeWin32Classic.cs: Removed border calculations from ListView
  10392. drawing code
  10393. 2005-10-06 Jackson Harper <[email protected]>
  10394. * MdiChildContext.cs: Clear out the old virtual position remove
  10395. all the unneeded calls to CreateGraphics.
  10396. 2005-10-06 Peter Dennis Bartok <[email protected]>
  10397. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  10398. 2005-10-06 Peter Dennis Bartok <[email protected]>
  10399. * Form.cs:
  10400. - Added loading and setting of our new default icon
  10401. - Only set icon if window is already created
  10402. 2005-10-06 Peter Dennis Bartok <[email protected]>
  10403. * Label.cs:
  10404. - Do not explicitly set the foreground and background colors, to
  10405. allow inheriting from parents (fixes #76302)
  10406. - Use Control's InternalBorderStyle property to deal with borders
  10407. 2005-10-06 Jackson Harper <[email protected]>
  10408. * MdiChildContext.cs: Use the new xplatui function to draw a
  10409. reversible rect.
  10410. 2005-10-06 Jackson Harper <[email protected]>
  10411. * Form.cs: Add the parent before creating the child context cause
  10412. we need the parent when setting up the child.
  10413. 2005-10-06 Jackson Harper <[email protected]>
  10414. * FolderBrowserDialog.cs: redo the tree population code so a
  10415. second thread isn't used. Should be a lot faster and more stable
  10416. now.
  10417. 2005-10-05 Jackson Harper <[email protected]>
  10418. * TreeView.cs: There are no expand/collapse boxes if the node has
  10419. no children.
  10420. 2005-10-05 Jackson Harper <[email protected]>
  10421. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  10422. 2005-10-05 Alexander Olk <[email protected]>
  10423. * FileDialog.cs: Fix InitialDirectory
  10424. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  10425. * ComboBox.cs:
  10426. - Fixes changing between styles
  10427. - Fixes simple mode
  10428. - Fixes last item crashing when navigating with keyboard
  10429. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  10430. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  10431. 2005-10-05 Jackson Harper <[email protected]>
  10432. * TreeView.cs: If updating the root node do a full refresh.
  10433. * TreeNode.cs: The root node should be expanded by default. Also
  10434. added a utility prop to tell if we are the root node.
  10435. * TreeNodeCollection.cs: Only refresh if the node we are being
  10436. added to is expanded. Also added a comment on a potential
  10437. optimization.
  10438. 2005-10-04 Peter Dennis Bartok <[email protected]>
  10439. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  10440. in dispose method. Fixes #76330
  10441. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  10442. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  10443. - Implements vertical and horizontal scrolling using XplatUI
  10444. - Fixes keyboard navagation
  10445. - Fixes EnsureVisible
  10446. - Drawing fixes
  10447. - Handles and draws focus properly
  10448. 2005-10-04 Kornél Pál <[email protected]>
  10449. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  10450. Create handle. NET_2_0: Destroy handle when value is null.
  10451. 2005-10-03 Jackson Harper <[email protected]>
  10452. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  10453. revert and a new patch to prevent the thumb from refreshing so
  10454. much.
  10455. 2005-10-02 Jackson Harper <[email protected]>
  10456. * ScrollBar.cs: Don't update position if it hasn't actually
  10457. changed. This occurs when you hold down the increment/decrement
  10458. buttons and the thumb gets to the max/min.
  10459. 2005-10-01 Jackson Harper <[email protected]>
  10460. * Form.cs:
  10461. * MdiChildContext.cs:
  10462. * MdiClient.cs: Implement ActiveMdiChild in Form.
  10463. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  10464. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  10465. 2005-10-01 Peter Dennis Bartok <[email protected]>
  10466. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  10467. be found
  10468. 2005-09-30 Jackson Harper <[email protected]>
  10469. * ListBox.cs: Don't do a full refresh unless some data has
  10470. actually changed.
  10471. 2005-09-30 Jackson Harper <[email protected]>
  10472. * TreeView.cs: Make sure that the checkboxes size is factored in
  10473. even when not visible.
  10474. 2005-09-30 Peter Dennis Bartok <[email protected]>
  10475. * FileDialog.cs: Fix Jordi's build break
  10476. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  10477. * FileDialog.cs:
  10478. - Use standard the Windows colours for the combobox as espected
  10479. - Dispose objects that use resouces when no longer need them
  10480. 2005-09-30 Peter Dennis Bartok <[email protected]>
  10481. * X11DesktopColors.cs: Initial incomplete implementation
  10482. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  10483. 2005-09-30 Peter Dennis Bartok <[email protected]>
  10484. * Theme.cs:
  10485. - Switched Theme color names to match the names defined in
  10486. System.Drawing.KnownColors. Life's hard enough, no need to make
  10487. it harder.
  10488. - Added setters to all theme color properties so themes can set
  10489. their color schemes. The setters also propagate the color changes
  10490. to System.Drawing.KnownColors via reflection
  10491. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  10492. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  10493. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  10494. use the new, more logical theme color names
  10495. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  10496. post-NT colors
  10497. * ThemeWin32Classic.cs:
  10498. - Removed code to set the old classic Windows colors. Instead it
  10499. now relies on the colors returned by System.Drawing.KnownColors
  10500. which will be either modern static colors (Unix) or colors
  10501. read from the user's configuration (Win32)
  10502. - Updated to use the new, more logical theme color names
  10503. - Switched DataGrid drawing code to use only Theme colors instead of
  10504. a mix of System.Drawing.KnownColors and Theme colors
  10505. - DrawFrameControl(): Removed code that fills the button area, the
  10506. fill would overwrite any previous fill done by a control. This
  10507. fixes bug #75338
  10508. - Added DrawReversibleRectangle() stub
  10509. * ScrollableControl.cs: Set visible state to false when scrollbars
  10510. are removed (pdn fix)
  10511. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  10512. DrawReversibleRectangle() method to allow drawing primitive
  10513. 'rubber bands'
  10514. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  10515. 2005-09-30 Kornél Pál <[email protected]>
  10516. * ImageList.cs: Add(Icon): Create handle.
  10517. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  10518. * ListView.cs:
  10519. * ThemeWin32Classic.cs:
  10520. - Fixes detail mode
  10521. - Sets clippings
  10522. - Issues with drawing
  10523. 2005-09-30 Kornél Pál <[email protected]>
  10524. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  10525. source has to be the ImageList.
  10526. 2005-09-30 Kornél Pál <[email protected]>
  10527. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  10528. 2005-09-30 Kornél Pál <[email protected]>
  10529. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  10530. 2005-09-30 Kornél Pál <[email protected]>
  10531. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  10532. 2005-09-29 Jonathan Chambers <[email protected]>
  10533. * GridItem.cs: Fixed TODOs
  10534. * GridItemCollection.cs: Added ICollection interface
  10535. 2005-09-30 Kornél Pál <[email protected]>
  10536. * ImageList.cs: Resize icons when needed.
  10537. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  10538. * ListViewItem.cs
  10539. - Fixes GetBounds and returns on screen rects
  10540. * ListView.cs:
  10541. - Fixes vertical and horzintal scrolling of items
  10542. * ThemeWin32Classic.cs:
  10543. - Fixes drawing
  10544. 2005-09-29 Raja R Harinath <[email protected]>
  10545. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  10546. 2005-09-29 Kornél Pál <[email protected]>
  10547. * ImageList.cs: Added comments about handle creation. Moved Handle,
  10548. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  10549. Handle is created in Add methods.
  10550. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  10551. * DataGridDrawingLogic.cs:
  10552. - Takes rows into account on Colum calculations
  10553. - Returns the column when clickig
  10554. * DataGrid.cs:
  10555. - Fixes default HitTestInfo values
  10556. - Fixes HitTestInfo.ToString
  10557. - Fixes ResetBackColor
  10558. 2005-09-28 Jackson Harper <[email protected]>
  10559. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  10560. sizing or cursor changes). Also added some temp code to draw the
  10561. titlebars text (Makes dev a little easier).
  10562. 2005-09-28 Kornél Pál <[email protected]>
  10563. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  10564. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  10565. * ListBox.cs: Fixes bug 76253
  10566. 2005-09-28 Kornél Pál <[email protected]>
  10567. * ImageList.cs: Added comments about the current implementation. Added
  10568. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  10569. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  10570. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  10571. with Bitmap.LockBits for better performance. Revised the whole file to
  10572. match MS.NET behaviour and provide better performance. Non-public
  10573. interface members are calling public members even when they throw
  10574. NotSupportedException for better maintainability. Moved ColorDepth,
  10575. ImageSize, ImageStream and TransparentColor implementations to
  10576. ImageCollection for better performance as these properties are not used
  10577. by ImageList.
  10578. * ImageListStreamer.cs: Added a new internal constructor that takes an
  10579. ImageList.ImageCollection and serializes Images based on
  10580. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  10581. match ImageList property name.
  10582. 2005-09-28 Kazuki Oikawa <[email protected]>
  10583. * ListBox.cs: Fixes IndexFromPoint for last item
  10584. 2005-09-27 Jackson Harper <[email protected]>
  10585. * Form.cs: Set the position of new mdi children correctly.
  10586. 2005-09-27 Jackson Harper <[email protected]>
  10587. * MdiClient.cs: New mdi children need to be added to the back of
  10588. the controls collection so the zorder is set correctly. Also add a
  10589. count of all the child windows that have been created.
  10590. 2005-09-27 Jackson Harper <[email protected]>
  10591. * Form.cs (CreateParams): Setup MDI forms correctly.
  10592. 2005-09-27 Jackson Harper <[email protected]>
  10593. * MdiChildContext.cs:
  10594. * MonthCalendar.cs:
  10595. * UpDownBase.cs:
  10596. * ListBox.cs:
  10597. * ListView.cs:
  10598. * TextBoxBase.cs:
  10599. * TreeView.cs:
  10600. * ScrollableControl.cs:
  10601. * ComboBox.cs: Add implicit controls using the new implict control
  10602. functionality in ControlCollection. Also try to block multiple
  10603. control add in a suspend/resume layout to save some cycles.
  10604. 2005-09-27 Jackson Harper <[email protected]>
  10605. * Control.cs: Add functionality to the controls collection to add
  10606. 'implicit controls' these are controls that are created by the
  10607. containing control but should not be exposed to the user. Such as
  10608. scrollbars in the treeview.
  10609. * Form.cs: The list var of the ControlsCollection is no longer
  10610. available because of the potential of implicit controls getting
  10611. ignored by someone accessing the list directly.
  10612. 2005-09-26 Peter Dennis Bartok <[email protected]>
  10613. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  10614. loose it's parent. (Fixed bug introduced in r49103 when we added
  10615. setting the child parent to null on Remove)
  10616. 2005-09-26 Gert Driesen <[email protected]>
  10617. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  10618. * Splitter.cs: Added missing attributes for BorderStyle property.
  10619. * TextBoxBase.cs: Marked Calculate* methods internal.
  10620. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  10621. MS.NET.
  10622. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  10623. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  10624. 2005-09-25 Jackson Harper <[email protected]>
  10625. * TreeView.cs: Update the node bounds correctly regardless of
  10626. whether the node is visible.
  10627. 2005-09-25 Jackson Harper <[email protected]>
  10628. * ImageList.cs: Don't dispose the image after it is added to the
  10629. image list. Only reformat images that need to be resized.
  10630. 2005-09-25 Jackson Harper <[email protected]>
  10631. * ImageList.cs: Don't set the format when changing the image.
  10632. 2005-09-25 Jackson Harper <[email protected]>
  10633. * TreeView.cs: We can't just assume the node has a font. Use the
  10634. treeviews font if no node font is available.
  10635. 2005-09-25 Jackson Harper <[email protected]>
  10636. * TreeView.cs: Allow the scrollbars to be reset with negative
  10637. values.
  10638. - Don't add scrollbars to negative sized windows.
  10639. 2005-09-23 Jackson Harper <[email protected]>
  10640. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  10641. old Mono.Posix. Also remove some stray code that shouldn't have
  10642. been committed.
  10643. 2005-09-23 Jackson Harper <[email protected]>
  10644. * TreeView.cs: Attempt at proper sizing of the horizontal
  10645. scrollbar. Also don't resize the scrollbars unless they are
  10646. visible.
  10647. 2005-09-23 Jackson Harper <[email protected]>
  10648. * TreeView.cs: We don't need to expand the invalid area when the
  10649. selection changes, as this is all drawn in the node's bounding
  10650. box. The area needs to be expanded (previous typo was contracting
  10651. it) when the focus rect moves.
  10652. 2005-09-23 Jackson Harper <[email protected]>
  10653. * TreeView.cs: Display the selection box under the correct
  10654. circumstances. We were rendering white text with no selection box
  10655. before.
  10656. 2005-09-23 Peter Dennis Bartok <[email protected]>
  10657. * TextControl.cs(Split): Now updates selection start/end if it points
  10658. into a line that's being split. Fixes a FIXME and bug #75258
  10659. 2005-09-23 Jackson Harper <[email protected]>
  10660. * Binding.cs:
  10661. * ListControl.cs: Don't use the path when retrieving binding
  10662. managers from the binding context. My bat sense tells me that the
  10663. path is only used on insertion.
  10664. 2005-09-22 Jackson Harper <[email protected]>
  10665. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  10666. 2005-09-22 Jackson Harper <[email protected]>
  10667. * Splitter.cs: There are special cursors used for splitting.
  10668. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  10669. 2005-09-22 Jackson Harper <[email protected]>
  10670. * Splitter.cs: Change the cursor appropriately when the splitter
  10671. is moused over, so the user actually knows there is a splitter
  10672. there.
  10673. 2005-09-22 Hisham Mardam Bey <[email protected]>
  10674. * Label.cs : Fix ToString method to give same output as MS.NET
  10675. 2005-09-22 Jackson Harper <[email protected]>
  10676. * TreeView.cs: Create the scrollbars when the handle is created
  10677. and add them right away, just make them invisble. Also account for
  10678. the window being shrunk vertically to the point that the vert
  10679. scrollbar needs to be added.
  10680. - Remove some 0.5 adjustments to get around anti aliasing issues.
  10681. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  10682. * MainMenu.cs: Fixes default value
  10683. * MenuItem.cs: Fixes default value
  10684. 2005-09-22 Kazuki Oikawa <[email protected]>
  10685. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  10686. 2005-09-21 Jackson Harper <[email protected]>
  10687. * Control.cs: Don't try to set the border style on the window if
  10688. it hasn't been created. When the window is created the border
  10689. style will be used.
  10690. 2005-09-21 Peter Dennis Bartok <[email protected]>
  10691. * Control.cs (Update): Don't call XplatUI if we don't have a
  10692. window handle yet
  10693. 2005-09-21 Peter Dennis Bartok <[email protected]>
  10694. * ContainerControl.cs: Instead of throwing an exception, print
  10695. a one-time warning about Validate not being implemented
  10696. * XplatUIWin32.cs: Removed debug output
  10697. 2005-09-21 Peter Dennis Bartok <[email protected]>
  10698. * Control.cs: Only set XplatUI background if we expect the windowing
  10699. system to handle the background. This stops controls that draw their
  10700. own background from flickering
  10701. * XplatUIX11.cs: Support custom visuals and colormaps for window
  10702. creation. This allows, amongst other things, using MWF X11 windows
  10703. with OpenGL.
  10704. 2005-09-21 Peter Dennis Bartok <[email protected]>
  10705. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  10706. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  10707. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  10708. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  10709. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  10710. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  10711. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  10712. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  10713. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  10714. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  10715. GridColumnStylesCollection.cs,
  10716. IDataGridColumnStyleEditingNotificationService.cs,
  10717. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  10718. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  10719. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  10720. TreeNodeCollection.cs, AmbientProperties.cs,
  10721. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  10722. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  10723. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  10724. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  10725. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  10726. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  10727. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  10728. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  10729. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  10730. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  10731. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  10732. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  10733. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  10734. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  10735. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  10736. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  10737. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  10738. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  10739. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  10740. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  10741. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  10742. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  10743. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  10744. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  10745. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  10746. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  10747. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  10748. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  10749. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  10750. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  10751. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  10752. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  10753. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  10754. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  10755. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  10756. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  10757. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  10758. 2005-09-21 Jackson Harper <[email protected]>
  10759. * TreeNode.cs: Call Before/After Expand not Collapse when
  10760. expanding.
  10761. 2005-09-20 Jackson Harper <[email protected]>
  10762. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  10763. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  10764. * ListViewItem.cs:
  10765. - Fixes bug 76120
  10766. - Fixes proper storing of subitems
  10767. - Fixes not updated items
  10768. 2005-09-20 Peter Dennis Bartok <[email protected]>
  10769. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  10770. things if our window handle isn't created yet. Also disabled
  10771. debug for TextBoxBase
  10772. 2005-09-20 Peter Dennis Bartok <[email protected]>
  10773. * MenuAPI.cs: Remove filtering of events to allow menu usage
  10774. 2005-09-20 Miguel de Icaza <[email protected]>
  10775. * Cursor.cs: Allow null to be passed to Cursor.Current.
  10776. 2005-09-20 Alexander Olk <[email protected]>
  10777. * ThemeWin32Classic.cs:
  10778. - Change some private methods/fields to protected virtual so that
  10779. they can be accessed and overriden in derived classes
  10780. - First refactoring of some methods. Derived themes now don't
  10781. need to duplicate the complete code from ThemeWin32Classic
  10782. * ThemeNice.cs:
  10783. - Added nice StatusBar
  10784. - Derive from ThemeWin32Classic and not Theme
  10785. - Removed duplicate ThemeWin32Classic code
  10786. 2005-09-20 Miguel de Icaza <[email protected]>
  10787. * Control.cs (ControlCollection.Add): If the value null is passed
  10788. the control is ignored.
  10789. Optimize this loop.
  10790. 2005-09-19 Peter Dennis Bartok <[email protected]>
  10791. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  10792. PostQuitMessage state.
  10793. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  10794. 2005-09-19 Peter Dennis Bartok <[email protected]>
  10795. * Application.cs: Our constructor will never get called, move
  10796. initialization to fields; fixes bug #75933
  10797. 2005-09-19 Hisham Mardam Bey <[email protected]>
  10798. * FileDialog.cs :
  10799. - Allow files to be selected properly using file name
  10800. combo box.
  10801. - Add ability to change diretory (absolute / relative)
  10802. using file name combo box.
  10803. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  10804. * ListBox.cs:
  10805. - Fixes Multicolumn listboxes item wrong calculations
  10806. - Allows to click when only one item is in the listbox
  10807. - Fixes crash when no items using keyboard navigation
  10808. 2005-09-16 Alexander Olk <[email protected]>
  10809. * ComboBox.cs: Reverted almost everything from the latest patch which
  10810. broke ComboBox
  10811. 2005-09-16 Kazuki Oikawa <[email protected]>
  10812. * ToolTip.cs:
  10813. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  10814. * ComboBox.cs:
  10815. - When DropDownStyle is Simple, it does not show scrollbar
  10816. to the last item of the list.
  10817. - When DropDownStyle is Simple, it crashed when the list was
  10818. scrolled down with the down cursor key.
  10819. - Fixed a bug that when DropDownStyle is DropDownList, the
  10820. selected item was not shown.
  10821. - The position of the selected item was not preserved when
  10822. the next dropdown happened.
  10823. * ThemeWin32Classic.cs:
  10824. - Items were wrapped at the right end.
  10825. * CheckedListBox.cs:
  10826. - Fixed Add method
  10827. * ListBox.cs:
  10828. - Items should be fully shown.
  10829. - When resizing and vertical scrollbar disappeared, the item
  10830. of index 0 should be on the top of the list.
  10831. - GetItemRectangle should consider the size of ver. scrollbar
  10832. * StatusBar.cs:
  10833. - SizingGrip area should not be allocated when it is not
  10834. displayed.
  10835. - Now it reflects MinWidth of the containing panel and
  10836. fixed a crash that happens when its width becomes so small.
  10837. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  10838. * CheckedListBox.cs: Fixes bug 76028
  10839. * ListBox.cs: Fixes bug 76028
  10840. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  10841. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  10842. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  10843. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  10844. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  10845. 2005-09-09 Jonathan Chambers <[email protected]>
  10846. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  10847. 2005-09-09 Jonathan Chambers <[email protected]>
  10848. * IRootGridEntry.cs: Added
  10849. * PropertyGridCommands.cs: Added
  10850. * PropertiesTab.cs: Added missing methods and property
  10851. * PropertyGridView.cs: Made class internal
  10852. * PropertyGridTextBox.cs: Made class internal
  10853. 2005-09-09 Alexander Olk <[email protected]>
  10854. * MimeIcon.cs: Try to check some other environment variables
  10855. if "DESKTOP_SESSION" returns "default"
  10856. 2005-09-09 Alexander Olk <[email protected]>
  10857. * ThemeNice.cs: Corrected background colors (e.g. menus)
  10858. * ColorDialog.cs: Use correct background colors for controls
  10859. 2005-09-09 Alexander Olk <[email protected]>
  10860. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  10861. 2005-09-08 Peter Dennis Bartok <[email protected]>
  10862. * RichTextBox.cs: Added initial implementation
  10863. * lang.cs: Removed. Was accidentally checked in long time ago
  10864. * TODO: Removed. Contents were obsolete
  10865. 2005-09-06 Jonathan Chambers <[email protected]>
  10866. * PropertiesTab.cs : Added
  10867. 2005-09-06 Jonathan Chambers <[email protected]>
  10868. * PropertyGrid.cs : Update
  10869. * PropertyGridView.cs : Update
  10870. * System.Windows.Forms.resx : Added images and strings
  10871. 2005-09-06 Peter Dennis Bartok <[email protected]>
  10872. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  10873. 2005-09-06 Peter Dennis Bartok <[email protected]>
  10874. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  10875. a busy loop right after the Ungrab the X11 display is otherwise
  10876. blocked
  10877. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  10878. * ThemeWin32Classic.cs: Optimise the use of clipping
  10879. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  10880. * DataGrid.cs: fixes recursion bug
  10881. 2005-09-03 Alexander Olk <[email protected]>
  10882. * ThemeNice.cs:
  10883. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  10884. - Cleanup
  10885. 2005-09-02 Alexander Olk <[email protected]>
  10886. * ThemeNice.cs: Draw nice ProgressBars
  10887. 2005-09-01 Miguel de Icaza <[email protected]>
  10888. * VScrollBar.cs: Another buglet found by Aaron's tool.
  10889. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  10890. bug finder.
  10891. 2005-08-30 Alexander Olk <[email protected]>
  10892. * ThemeNice.cs:
  10893. - Added nicer menu drawing
  10894. - Updated DrawTab
  10895. - some refactoring
  10896. 2005-08-30 Peter Dennis Bartok <[email protected]>
  10897. * CreateParams.cs (ToString): Made output match MS
  10898. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  10899. handle is already created (to avoid forcing window creation)
  10900. * XplatUIX11.cs: Set window text to caption after creating window,
  10901. in case Text was set before window was created
  10902. * Form.cs: Use this.Text instead of a static string as caption
  10903. 2005-08-30 Peter Dennis Bartok <[email protected]>
  10904. * NotifyIcon.cs: Don't set the window to visible; this screws
  10905. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  10906. OnPaint without a bitmap)
  10907. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  10908. happen very often anyway; we could add the check to the WM_PAINT
  10909. event generation code
  10910. 2005-08-30 Peter Dennis Bartok <[email protected]>
  10911. * NotifyIcon.cs: Fill the icon area with a background color, to
  10912. avoid 'residue' when transparent icons are drawn
  10913. * XplatUIX11.cs:
  10914. - Handle whole_window == client_window when destroying windows
  10915. - SystrayAdd(): Set client_window to whole_window value to
  10916. get mouse and other events passed to NotifyIcon
  10917. 2005-08-30 Peter Dennis Bartok <[email protected]>
  10918. * Form.cs: Set proper default for Opacity property
  10919. * NotifyIcon.cs:
  10920. - ShowSystray(): Don't bother creating telling the OS
  10921. about the systray item if no icon is provided
  10922. - Now handles WM_NCPAINT message to deal with whole/client window
  10923. split
  10924. - Create window as visible to not get caught by Expose optimization
  10925. * Hwnd.cs: Removed debug message
  10926. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  10927. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  10928. PaintEventStart/End to use new client argument
  10929. * TextBoxBase.cs:
  10930. - Commented out debug messages
  10931. - Switched PaintEventStart/End to use new client argument
  10932. * XplatUI.cs: Added client window bool to PaintEventStart()/
  10933. PaintEventEnd() calls, to support drawing in non-client areas
  10934. * XplatUIDriver.cs:
  10935. - Added client window bool to PaintEventStart()/PaintEventEnd()
  10936. calls, to support drawing in non-client areas
  10937. - Added conditional compile to allow using MWF BeginInvoke
  10938. on MS runtime
  10939. * XplatUIX11.cs:
  10940. - Added some conditional debug output
  10941. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  10942. whole/client window split
  10943. - Implemented handling of client argument to PaintEventStart()/End()
  10944. * Control.cs:
  10945. - Throw exception if BeginInvoke() is called and the window handle
  10946. or one of the window's parent handles is not created
  10947. - Added conditional compile to allow using MWF BeginInvoke on
  10948. MS runtime
  10949. - get_Parent(): Only sets parent if handle is created. This avoids
  10950. forcing window handle creation when parent is set.
  10951. - Now fires Layout and Parent changed events in proper order
  10952. - Switched to use Handle instead of window.Handle for Z-Order setting,
  10953. the get_Parent() patch above causes us to possibly get null for 'window'
  10954. - Implemented handling of client argument to PaintEventStart()/End()
  10955. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  10956. default handling)
  10957. - Now sends a Refresh() to all child windows when Refresh() is called
  10958. 2005-08-29 Peter Dennis Bartok <[email protected]>
  10959. * Form.cs: Added (non-functional) Opacity property
  10960. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  10961. 2005-08-29 Alexander Olk <[email protected]>
  10962. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  10963. use export MONO_THEME=nice to activate it.
  10964. Currently supported controls:
  10965. - Button
  10966. - ComboBox
  10967. - ScrollBar
  10968. - TabControl (TabAlignment.Top only, other will follow)
  10969. * ThemeEngine.cs: Add theme nice
  10970. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  10971. if enabled
  10972. 2005-08-25 Jonathan Chambers <[email protected]>
  10973. * Splitter.cs: Resize docked control and its neighbor.
  10974. 2005-08-24 Rafael Teixeira <[email protected]>
  10975. -- Making Windows with Menus layout correctly --
  10976. * Form.cs : The first leg of the fix
  10977. Menu setter - adjust Client Size as needed to make space for the menu
  10978. SetClientSizeCore - doesn't call base version to be able to pass the
  10979. menu handle to XplatUI.CalculateWindowRect
  10980. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  10981. * XplatUIX11.cs: The critical second leg of the fix
  10982. GetWindowPos needs to use a recalculated client_rect
  10983. so that resizing the window doesn't break layout of child controls.
  10984. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  10985. Lots of \t\n killed
  10986. 2005-08-23 Peter Dennis Bartok <[email protected]>
  10987. * Label.cs: Now properly recalculates width and height on Font and Text
  10988. changes if AutoSize is set
  10989. 2005-08-19 Rafael Teixeira <[email protected]>
  10990. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  10991. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  10992. * ImageList.cs: Makes ToString method compatible with MS
  10993. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  10994. * MenuAPI.cs: fixes bug 75716
  10995. 2005-08-11 Umadevi S <[email protected]>
  10996. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  10997. 2005-08-11 Umadevi S <[email protected]>
  10998. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  10999. 2005-08-10 Umadevi S <[email protected]>
  11000. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  11001. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  11002. * Menu.cs: fixes bug 75700
  11003. * MenuAPI.cs: fixes navigation issues
  11004. 2005-08-09 Umadevi S <[email protected]>
  11005. * CheckedListBox.cs - simple fix for GetItemChecked.
  11006. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  11007. * ComboBox.cs: Serveral fixes
  11008. * ListBox.cs: Serveral fixes
  11009. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  11010. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  11011. * ListBox.cs: Fixes FindString methods
  11012. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  11013. * DataGrid.cs: fixes bugs exposed by new tests
  11014. 2005-08-04 Peter Dennis Bartok <[email protected]>
  11015. * Mime.cs: Compile Mono assembly references only if compiling
  11016. with Mono (Allows to build with VS.Net again)
  11017. 2005-07-28 Marek Safar <[email protected]>
  11018. * Control.cs (PaintControlBackground): Draw background image
  11019. corrrectly.
  11020. (CheckForIllegalCrossThreadCalls): Stubbed.
  11021. * Form.cs (OnCreateControl): Center when should be centered.
  11022. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  11023. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  11024. * Binding.cs: Binding to properties should be case unsensitive
  11025. 2005-07-18 [email protected]
  11026. * DataGrid.cs: fixes setmember order
  11027. 2005-07-07 Alexander Olk <[email protected]>
  11028. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  11029. * FileDialog.cs: FileDialog is now resizable and uses the new
  11030. MimeIconEngine
  11031. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  11032. * DataGridTextBoxColumn.cs: default value
  11033. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  11034. * GridTableStylesCollection.cs: fixes checking MappingName
  11035. * DataGridDrawingLogic.cs: fixes drawing logic issues
  11036. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  11037. * DataGrid.cs: fixes
  11038. 2005-07-06 Alexander Olk <[email protected]>
  11039. * MimeGenerated.cs: Use case sensitive comparer for
  11040. NameValueCollections
  11041. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  11042. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  11043. * ThemeWin32Classic.cs: bug fixes, code refactoring
  11044. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  11045. * DataGrid.cs: bug fixes, code refactoring
  11046. * DataGridTextBox.cs: bug fixes, code refactoring
  11047. * DataGridColumnStyle.cs: bug fixes, code refactoring
  11048. * Theme.cs: bug fixes, code refactoring
  11049. 2005-07-01 Peter Bartok <[email protected]>
  11050. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  11051. and other text box usage
  11052. 2005-07-01 Jackson Harper <[email protected]>
  11053. * TabControl.cs: Make sure the bottom of the tab covers the pages
  11054. border.
  11055. 2005-06-30 Peter Bartok <[email protected]>
  11056. * Form.cs (ShowDialog): Assign owner of the dialog
  11057. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  11058. might have been moved to a tag with different height
  11059. 2005-06-30 Jackson Harper <[email protected]>
  11060. * Form.cs: Don't create an infinite loop when setting focus
  11061. * MenuItem.cs: Don't dirty the parents if we don't have any
  11062. 2005-06-29 Ben Maurer <[email protected]>
  11063. * LibSupport.cs: Rename
  11064. 2005-06-29 Peter Bartok <[email protected]>
  11065. * TextBoxBase.cs: Re-align caret after deleting a character
  11066. * TextControl.cs:
  11067. - DeleteChars(): Ensure that tag covers the provided position
  11068. - StreamLine(): Drop reference for dropped tag
  11069. 2005-06-29 Peter Bartok <[email protected]>
  11070. * TextControl.cs:
  11071. - Selections now work properly, anchoring at the initial location
  11072. and properly extending in either direction (SetSelectionToCaret(),
  11073. SetSelectionStart() and SetSelectionEnd())
  11074. - No longer redraws the whole control on selection change, now
  11075. calculates delta between previous and new selection and only
  11076. invalidates/redraws that area
  11077. - Fixed FindPos() math off-by-one errors
  11078. - Changed DeleteChars() to verify the provided tag covers the
  11079. provided position, selections may have a tag that doesn't cover
  11080. the position if the selection is at a tag border
  11081. - Fixed off-by-one errors in DeleteChars()
  11082. - Added missing streamlining check in DeleteChars() to remove
  11083. zero-length tags
  11084. - Implemented Invalidate() method, now properly calculates exposures
  11085. between two given lines/positions
  11086. - Implemented SetSelection()
  11087. - Obsoleted and removed FixupSelection()
  11088. - Improved RecalculateDocument() logic, removing code duplication
  11089. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  11090. * LibSupport.cs: changes to match different input/output arguments.
  11091. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  11092. * LibSupport.cs: added libsupport.so init routine.
  11093. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  11094. * ControlBindingsCollection.cs
  11095. - Throws an exception on null datasource when adding
  11096. - Checks for duplicated bindings when adding
  11097. 2005-06-28 Jackson Harper <[email protected]>
  11098. * TreeView.cs (OnKeyDown): Support left and right properly
  11099. (navigates as well as expanding and collapsing.
  11100. - Add support for Multiply, this expands all the selected nodes
  11101. children.
  11102. - Fix some tabbing.
  11103. 2005-06-28 Jackson Harper <[email protected]>
  11104. * TreeView.cs: Implement keyboard navigation, currently supports,
  11105. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  11106. support for toggling checkboxes with the space bar.
  11107. 2005-06-28 Jackson Harper <[email protected]>
  11108. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  11109. tree.
  11110. 2005-06-28 Jackson Harper <[email protected]>
  11111. * TreeView.cs: Add missing event.
  11112. 2005-06-27 Peter Bartok <[email protected]>
  11113. * TextControl.cs:
  11114. - Made line ending size configurable (now allows for counting
  11115. lineendings as \n or \r\n)
  11116. - Added margin to viewport to keep caret visible on right side
  11117. - Fixed translation routines for line/pos to documentpos to consider
  11118. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  11119. - Fixed some line-endings to be unix style
  11120. - Fixed Document.FormatText to perform it's calculations 1-based
  11121. - Added descriptions for a few methods that might otherwise get
  11122. used wrong
  11123. - Added NOTE section with some basic conventions to remember at
  11124. the top of the file
  11125. - Major fixup for RichTextBox selection drawing:
  11126. * Fixed crashes when multiple tags on a single line were selected
  11127. * fixed selection box drawing not overlaying text
  11128. * fixed bogus offset calculation for tags not starting at index 1
  11129. * Switched behaviour from using multiple Substrings of a
  11130. StringBuilder.ToString() to using multiple
  11131. StringBuilder.ToString(start, length) statements, hoping this is
  11132. faster (kept original version commented out in the code, in case
  11133. original version was faster)
  11134. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  11135. alignment != Left
  11136. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  11137. call it as well
  11138. 2005-06-27 Jackson Harper <[email protected]>
  11139. * TabControl.cs: Move to the left and right with the arrow
  11140. keys. These keys don't cycle beyond first and last like
  11141. tab. Refresh all the tabs when scrolling them to the left or
  11142. right.
  11143. 2005-06-27 Jackson Harper <[email protected]>
  11144. * TabControl.cs:
  11145. - ToString: Added method
  11146. - CreateParams: Remove TODO and comment
  11147. - OnKeyDown: Cycle through bounds properly.
  11148. - SelectedIndex: Scroll to the right or left if we need to
  11149. display the newly selected tab.
  11150. 2005-06-23 Jackson Harper <[email protected]>
  11151. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  11152. set.
  11153. 2005-06-23 Jackson Harper <[email protected]>
  11154. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  11155. CTRL-SHIFT-TAB, and HOME, END are there any others?
  11156. 2005-06-23 Jackson Harper <[email protected]>
  11157. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  11158. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  11159. * DataGridTextBoxColumn.cs: fixes and enhancements
  11160. * ThemeWin32Classic.cs: fixes and enhancements
  11161. * DataGridBoolColumn.cs: fixes and enhancements
  11162. * DataGridDrawingLogic.cs: fixes and enhancements
  11163. * CurrencyManager.cs: fixes and enhancements
  11164. * DataGrid.cs: fixes and enhancements
  11165. * DataGridColumnStyle.cs: fixes and enhancements
  11166. 2005-06-22 Jackson Harper <[email protected]>
  11167. * TabControl.cs: Add some missing methods that just call into the
  11168. base. Make the TabPageCollection's IList interface behave in the
  11169. same manner as the MS implementation.
  11170. 2005-06-22 Peter Bartok <[email protected]>
  11171. * TextControl.cs: Added sanity check
  11172. * TextBoxBase.cs:
  11173. - Fixed wrapping behaviour, don't set wrap on single line controls
  11174. (this fixes the breakage of colordialog introduced in an earlier
  11175. checkin)
  11176. - Added rudimentary support for autoscrolling right-aligned controls
  11177. (still needs fixing, also, center alignment scroll is missing)
  11178. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  11179. * ScrollBar.cs: Fixes thumbpos on Maximum values
  11180. 2005-06-21 Jonathan Chambers <[email protected]>
  11181. * PropertyGridView.cs: Pass context information to UITypeEditors
  11182. 2005-06-21 Peter Bartok <[email protected]>
  11183. * TextBoxBase.cs:
  11184. - Now calling PositionCaret with absolute space coordinates
  11185. - Enabled vertical scrolling
  11186. - Better tracking of scrollbar changes, tied into WidthChange
  11187. event
  11188. - Improved cursor tracking
  11189. - Removed debug output
  11190. * TextControl.cs:
  11191. - PositionCaret coordinates are now works in absolute space, not
  11192. the canvas
  11193. - Improved tracking of document size
  11194. - Added events for width and height changes
  11195. 2005-06-21 Peter Bartok <[email protected]>
  11196. * Form.cs: Set focus to active control when form is activated
  11197. * TextControl.cs:
  11198. - Added word-wrap functionality to RecalculateLine()
  11199. - Added some short function descriptions for VS.Net to aid in
  11200. writing dependent controls
  11201. - Added Caret property, returning the current coords of the caret
  11202. - Added ViewPortWidth and ViewPortHeight properties
  11203. - Added Wrap property
  11204. - Added CaretMoved event
  11205. - Removed some old debug code
  11206. - Split() can now create soft splits
  11207. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  11208. - Added method to format existing text
  11209. - Fixed size/alignment calculations to use viewport
  11210. - RecalculateDocument now can handle changing line-numbers while
  11211. calculating lines
  11212. * TextBox.cs:
  11213. - Added some wrap logic, we don't wrap if alignment is not left
  11214. - Added casts for scrollbar var, base class switched types to
  11215. also support RichTextBoxA
  11216. - Implemented handling of scrollbar visibility flags
  11217. * TextBoxBase.cs:
  11218. - Switched scrollbars type to RichTextBoxScrollBars to support
  11219. RichTextBox
  11220. - Added tracking of canvas width/height
  11221. - Switched scrollbars to be not selectable (to keep focus on text)
  11222. - Added central CalculateDocument() method to handle all redraw
  11223. requirements
  11224. - Added ReadOnly support
  11225. - Added WordWrap support
  11226. - Fixed handling of Enter key (we now treat it as a DialogKey)
  11227. - Fixed caret positioning when h or v scroll is not zero
  11228. - Fixed placing/generation of vertical scrollbar
  11229. - Added CalculateScrollBars() method to allow updating scrollbar
  11230. limits and visibility
  11231. - Fixed handling of horizontal scroll
  11232. - Added handling of vertical scroll
  11233. - Implemented auto-'jump' when caret moves to close to a left or
  11234. right border and there is text to be scrolled into view (currently
  11235. there's the potential for a stack overflow, until a bug in
  11236. scrollbar is fixed)
  11237. 2005-06-21 Geoff Norton <[email protected]>
  11238. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  11239. 2005-06-19 Alexander Olk <[email protected]>
  11240. * Mime.cs:
  11241. - added inodes.
  11242. - return application/x-zerosize for files with size zero
  11243. (if no extension pattern matches).
  11244. - check matches collection for strings too.
  11245. - return only the first mime type if the name value
  11246. collection has more than one mime type.
  11247. 2005-06-18 Jonathan Chambers <[email protected]>
  11248. * PropertyGrid.cs: Cleaned up some TODOs
  11249. * PropertyGridView.cs: Added support for UITypeEditors
  11250. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  11251. * DataGrid.cs: clears cached value
  11252. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  11253. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  11254. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  11255. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  11256. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  11257. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  11258. * ThemeWin32Classic.cs: fixes colour
  11259. 2005-06-15 Peter Bartok <[email protected]>
  11260. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  11261. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  11262. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  11263. * Control.cs: Added some MWFCategory and MWFDescription attributes
  11264. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  11265. 2005-06-15 Alexander Olk <[email protected]>
  11266. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  11267. usage
  11268. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  11269. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  11270. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  11271. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  11272. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  11273. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  11274. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  11275. 2005-06-13 Jackson Harper <[email protected]>
  11276. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  11277. isn't printed when the user enables dropping. (X11 does accept
  11278. drops).
  11279. 2005-06-13 Jackson Harper <[email protected]>
  11280. * TreeView.cs: Remove some TODOS.
  11281. 2005-06-13 Jackson Harper <[email protected]>
  11282. * Form.cs: Hook into the mdi framework.
  11283. * MdiClient.cs: Use the base control collections add method so
  11284. parents get setup correctly. Set the default back colour and dock
  11285. style.
  11286. * MdiChildContext.cs: New class, this bad actor handles an
  11287. instance of an MDI window. Right now there is only basic
  11288. support. You can drag, close, and resize windows. Minimize and
  11289. Maximize are partially implemented.
  11290. 2005-06-13 Jackson Harper <[email protected]>
  11291. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  11292. freaky when both vals are negative. NOTE: There are probably other
  11293. places in XplatUIX11 that this needs to be done.
  11294. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  11295. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  11296. * DataGridColumnStyle.cs: fixes signature
  11297. 2005-06-12 Jackson Harper <[email protected]>
  11298. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  11299. windows.
  11300. 2005-06-11 Jackson Harper <[email protected]>
  11301. * StatusBarPanel.cs: Signature cleanups. Implement
  11302. BeginInit/EndInit.
  11303. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  11304. * DataGridTextBoxColumn.cs: Honors aligment
  11305. * GridColumnStylesCollection.cs: Contains is case unsensitive
  11306. * GridTableStylesCollection.cs: several fixes
  11307. * DataGridTableStyle.cs: default column creation
  11308. * DataGridDrawingLogic.cs: fixes
  11309. * CurrencyManager.cs: ListName property
  11310. * DataGrid.cs: multiple styles support
  11311. * DataGridColumnStyle.cs: fixes
  11312. 2005-06-10 Peter Bartok <[email protected]>
  11313. * Control.cs(Select): Moved SetFocus call to avoid potential
  11314. loops if controls change the active control when getting focus
  11315. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  11316. the up/down buttons
  11317. 2005-06-10 Matthias Felgner <[email protected]>
  11318. * ImageListConverter.cs: Implemented
  11319. 2005-06-10 John BouAntoun <[email protected]>
  11320. * MonthCalendar.cs: Wired in NumericUpDown control for year
  11321. 2005-06-10 John BouAntoun <[email protected]>
  11322. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  11323. DoubleClick events, since they are not meant to be fired.
  11324. 2005-06-09 Peter Bartok <[email protected]>
  11325. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  11326. Jonathan's standalone controls into MWF, implemented missing
  11327. events, attributes and methods; added xxxAccessible classes
  11328. * AccessibleObject.cs: Made fields internal so other classes
  11329. can change them if needed
  11330. 2005-06-09 Jonathan Gilbert <[email protected]>
  11331. * UpDownBase.cs: Complete implementation
  11332. * NumericUpDown.cs: Complete implementation
  11333. * DomainUpDown.cs: Complete implementation
  11334. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  11335. * DataGridTextBoxColumn.cs: drawing fixes
  11336. * DataGridCell.cs: fixes ToString method to match MSNet
  11337. * DataGridTableStyle.cs: fixes
  11338. * DataGridBoolColumn.cs: fixes, drawing
  11339. * DataGridDrawingLogic.cs: fixes, new methods
  11340. * DataGridTextBox.cs: Keyboard and fixes
  11341. * DataGrid.cs:
  11342. - Keyboard navigation
  11343. - Scrolling fixes
  11344. - Row selection (single, multiple, deletion, etc)
  11345. - Lots of fixes
  11346. 2005-06-07 Jackson Harper <[email protected]>
  11347. * ThemeWin32Classic.cs: Clear the background area when drawing
  11348. buttons.
  11349. 2005-06-06 Peter Bartok <[email protected]>
  11350. * ImageListStreamer.cs: Fixed signature for GetData
  11351. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  11352. * ComboBox.cs:
  11353. - Added missing ChildAccessibleObject class
  11354. - Added missing OnXXXFocus overrides, switched to using those
  11355. instead of the event handler
  11356. * Control.cs:
  11357. - Added Parent property for ControlAccessibleObject
  11358. - Fixed signatures
  11359. - Fixed attributes
  11360. - Added ResetBindings()
  11361. * ListBindingConverter.cs: Implemented some methods
  11362. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  11363. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  11364. * ContainerControl.cs: Fixed signature, now subscribing to the
  11365. ControlRemoved event instead of overriding the handler, LAMESPEC
  11366. * CurrencyManager.cs: Added missing attribute
  11367. * MonthCalendar.cs: Added missing properties
  11368. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  11369. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  11370. 2005-06-06 Gaurav Vaish and Ankit Jain
  11371. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  11372. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  11373. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  11374. * Control.cs: fixes CreateParams Width / Height.
  11375. 2005-06-05 Peter Bartok <[email protected]>
  11376. * Win32DnD.cs: Removed compilation warnings
  11377. 2005-06-05 Peter Bartok <[email protected]>
  11378. * Control.cs (CreateParams): Since we don't know if one of the
  11379. properties we use is overridden, lets make sure if we fail accessing
  11380. we continue with a backup plan
  11381. 2005-06-05 Peter Bartok <[email protected]>
  11382. * Win32DnD.cs:
  11383. - Removed debug output
  11384. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  11385. struct
  11386. - Plugged resource leak
  11387. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  11388. MS size
  11389. 2005-06-05 Peter Bartok <[email protected]>
  11390. * XplatUIWin32.cs: Removed DnD code
  11391. * Win32DnD.cs: Implemented drop source and drop target functionality
  11392. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  11393. * UpDownBase.cs: remove duplicate addition of event, enable some code
  11394. that was commented out.
  11395. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  11396. Validate input when a key is pressed. It works fine now for every
  11397. combination of Hexadecimal. Only missing some drawing love when sharing
  11398. space with other controls.
  11399. 2005-06-04 Peter Bartok <[email protected]>
  11400. * Control.cs:
  11401. - We need to pass a window for DragDrop, so enable callback events
  11402. - Added DnD callback events when being a DragSource
  11403. * XplatUI.cs (StartDrag): Added window handle argument
  11404. * XplatUIDriver.cs (StartDrag): Added window handle argument
  11405. * QueryContinueDragEventArgs: Made fields internally accessible so
  11406. drivers can set them
  11407. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  11408. can set them
  11409. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  11410. * DataGridTextBoxColumn.cs: column text editing
  11411. * DataGridTableStyle.cs: Respect columns styles created by the user
  11412. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  11413. * DataGridBoolColumn.cs: bool column editing
  11414. * DataGrid.cs: fixes to scrolling, properties, etc
  11415. * DataGridTextBox.cs: handle keyboard
  11416. * DataGridColumnStyle.cs: fixes
  11417. 2005-06-02 Jackson Harper <[email protected]>
  11418. * ImageListStreamer.cs: Somewhat broken implementation of
  11419. GetObjectData. The RLE needs some work to match MS properly.
  11420. 2005-06-02 Jackson Harper <[email protected]>
  11421. * X11Dnd.cs: Attempting to keep at least one file in MWF
  11422. monostyled.
  11423. 2005-06-02 Peter Bartok <[email protected]>
  11424. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  11425. that way
  11426. 2005-06-02 Peter Bartok <[email protected]>
  11427. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  11428. * XplatUI.cs: Added DoDragDrop() method
  11429. * XplatUIDriver.cs: Added DoDragDrop() method
  11430. 2005-06-02 Jackson Harper <[email protected]>
  11431. * Splitter.cs: Implement BorderStyle.
  11432. 2005-06-02 Jackson Harper <[email protected]>
  11433. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  11434. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  11435. X11 using XDND.
  11436. 2005-06-02 Peter Bartok <[email protected]>
  11437. * DataObject.cs:
  11438. - Added Data setter
  11439. - Fixed broken insertion code for SetData, now also
  11440. overwrites any existing entry of the same format name
  11441. * Hwnd.cs: Added list of pointers that automatically gets
  11442. freed when the window is disposed
  11443. * XplatUI.cs: Call driver initialization method when loading
  11444. a driver
  11445. * Control.cs:
  11446. - OnDragLeave takes EventArgs, not DragEventArgs
  11447. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  11448. supported
  11449. - Forces style update when drop state changes
  11450. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  11451. not perfect since we cannot (yet) call the IDataObject.GetData()
  11452. method, we keep getting 0x80004005 error, dunno why)
  11453. 2005-06-02 Peter Bartok <[email protected]>
  11454. * DragEventArgs.cs: Make fields internal so we can cache the
  11455. object and re-set the fields from XplatUI
  11456. 2005-06-02 Jackson Harper <[email protected]>
  11457. * Control.cs: Add some internal methods so the DnD subsystem can
  11458. raise DnD events. Also call into the driver when AllowDrop is set.
  11459. * XplatUI.cs:
  11460. * XplatUIDriver.cs: New method for setting whether or not a window
  11461. is allowed to accept drag and drop messages.
  11462. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  11463. * ScrollBar.cs: Make sure that values sent in Scroll events
  11464. are always between Maximum and Minimum.
  11465. 2005-06-01 Marek Safar <[email protected]>
  11466. * Menu.cs: Call MenuChanged when menuitem visibility has been
  11467. changed.
  11468. * MenuItem.cs: Rebuild menu when item is (not) visible.
  11469. * MainMenu.cs: MainMenu has special MenuChanged.
  11470. * Theme.cs: Caption and FrameBorderSize are not fixed.
  11471. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  11472. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  11473. * XplatUIX11.cs,
  11474. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  11475. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  11476. 2005-05-30 Jackson Harper <[email protected]>
  11477. * DataFormat.cs: We can't statically initialize this stuff because
  11478. it calls into the xplatui and could create a loop. So we lazy init
  11479. it.
  11480. 2005-05-28 Jackson Harper <[email protected]>
  11481. * Control.cs: Proper implementation of Product(Name/Version).
  11482. 2005-05-27 Jackson Harper <[email protected]>
  11483. * DataObject.cs: Dont crash if no data is found.
  11484. 2005-05-26 Rafael Teixeira <[email protected]>
  11485. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  11486. as per status page, guessing it should be set to true
  11487. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  11488. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  11489. * DataGridTableStyle.cs: set proper formatting text, def header text
  11490. * ThemeWin32Classic.cs: new themable paramaters
  11491. * DataGridBoolColumn.cs: paint check box, get data, fixes
  11492. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  11493. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  11494. * DataGridColumnStyle.cs: fixes
  11495. * Theme.cs: new themable paramaters
  11496. 2005-05-26 Peter Bartok <[email protected]>
  11497. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  11498. 2005-05-24 Jonathan S. Chambers <[email protected]>
  11499. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  11500. 2005-05-24 Peter Bartok <[email protected]>
  11501. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  11502. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  11503. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  11504. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  11505. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  11506. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  11507. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  11508. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  11509. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  11510. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  11511. missing attributes, etc
  11512. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  11513. 2005-05-24 Peter Bartok <[email protected]>
  11514. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  11515. when user tries to get help
  11516. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  11517. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  11518. to suppress warnings
  11519. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  11520. avoid unreachable code warning
  11521. 2005-05-20 Peter Bartok <[email protected]>
  11522. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  11523. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  11524. * DataGridTextBoxColumn.cs: Basic painting methods
  11525. * DataGridTableStyle.cs: Set table style in the column
  11526. * ThemeWin32Classic.cs: Use Theme for colors
  11527. * DataGridDrawingLogic.cs: Implement more drawing
  11528. * DataGrid.cs: drawing, theming, enhacements, fixes
  11529. * DataGridColumnStyle.cs: fixes, drawing
  11530. * Theme.cs: theming for Datagrid
  11531. 2005-05-20 Peter Bartok <[email protected]>
  11532. * Cursor.cs: Implemented GetObjectData() method
  11533. 2005-05-20 Peter Bartok <[email protected]>
  11534. * Cursors.cs: Added setting of cursor name
  11535. * Cursor.cs:
  11536. - Implemented constructors
  11537. - Implemented Draw and DrawStretched
  11538. - Implemented Current property
  11539. - Implemented == and != operators
  11540. - Implemented Dispose()
  11541. - Implemented ToString
  11542. - Added missing attributes
  11543. * XplatUIX11.cs:
  11544. - Added missing reset for OverrideCursor when DoEvents is called
  11545. - Fixed creation of cursor, logic was wrong
  11546. * XplatUIWin32.cs:
  11547. - Added missing reset for OverrideCursor when DoEvents is called
  11548. - Fixed creation of cursor, bit arrays were swapped
  11549. * Clipboard.cs: Removed obsolete MonoTODO attribute
  11550. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  11551. * ComboBox.cs: fixes OnSelectedItemChanged
  11552. * ControlBindingsCollection.cs: fixes item range check
  11553. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  11554. * UpDownBase.cs:
  11555. - Calc preferred height properly
  11556. - Implement missing properties
  11557. * NumericUpDown.cs: Implement missing events
  11558. 2005-05-19 Jackson Harper <[email protected]>
  11559. * TabControl.cs: New method that resizes the tab pages before
  11560. redrawing them. This as needed as the control is double buffered
  11561. and sizing will not be recalculated unless ResizeTabPages is
  11562. called.
  11563. * TabPage.cs: Set base.Text instead of Text in the constructor so
  11564. that UpdateOwner does not get called. Use the new Redraw method of
  11565. TabControl instead of Refresh so the sizing is recalculated.
  11566. * ThemeWin32Classic.cs: Draw the text for button tabs.
  11567. 2005-05-19 Jackson Harper <[email protected]>
  11568. * Control.cs: Paint control background images. Fix typo where
  11569. PaintControlBackground was not getting called correctly.
  11570. 2005-05-19 Peter Bartok <[email protected]>
  11571. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  11572. I can investigate, apparently I broke FileDialog
  11573. 2005-05-19 Marek Safar <[email protected]>
  11574. * AxHost.cs: Some simple properties.
  11575. * Control.cs: window must be accessible after ctor.
  11576. * Form.cs: Added TransparencyKey property.
  11577. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  11578. * XplatUIWin32.cs: SetBorderStyle implemented.
  11579. 2005-05-18 Peter Bartok <[email protected]>
  11580. * DataObject.cs: Entries are not global but particular to the
  11581. DataObject, now it behaves that way
  11582. * XplatUIWin32.cs: Implemented Clipboard methods
  11583. * Clipboard.cs: Implemented
  11584. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  11585. * XplatUIOSX.cs: Updated to final clipboard prototypes
  11586. * XplatUIX11.cs: Implemented Clipboard methods
  11587. * XplatUIDriver.cs: Updated to final clipboard prototypes
  11588. * XplatUIStructs.cs:
  11589. - Added BITMAPINFOHEADER struct
  11590. - Added ClipboardFormats enum
  11591. * X11Structs.cs:
  11592. - Added ClipboardStruct
  11593. - Added Atom enum items for clipboard types
  11594. - Fixed atom types for Selection event structures
  11595. * DataFormats.cs:
  11596. - Added internal properties and methods for drivers to enumerate
  11597. all known formats
  11598. - Switched initialization method to allow drivers to assign their
  11599. own IDs even for the MS predefined clipboard IDs
  11600. * XplatUI.cs: Updated to final clipboard interface
  11601. 2005-05-18 Jonathan S. Chambers <[email protected]>
  11602. * PropertyGridView.cs: Fixed compiler warnings.
  11603. 2005-05-18 Jonathan S. Chambers <[email protected]>
  11604. * PropertyGrid.cs: Added some event calls
  11605. * PropertyGridView.cs: Change drawing code to use double buffering
  11606. * PropertyGridTextBox.cs: Changed Text property name
  11607. * GridItem.cs: Added Bounds property.
  11608. * GridEntry.cs: Added Bounds property.
  11609. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  11610. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  11611. since GetType() may not return the correct type if the object is
  11612. a remoting proxy.
  11613. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  11614. * TreeNodeCollection.cs: fixes get/set item ranges
  11615. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  11616. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  11617. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  11618. * ComboBox.cs: Fix item range comparation
  11619. * ListView.cs: Fix item range comparation
  11620. 2005-05-03 Alexander Olk <[email protected]>
  11621. * FontDialog.cs:
  11622. - Clear example panel when OnPaint is called
  11623. - Better solution for displaying the example panel text
  11624. - Select default indexes in the ListBoxes
  11625. 2005-05-11 Geoff Norton <[email protected]>
  11626. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  11627. 2005-05-11 Peter Bartok <[email protected]>
  11628. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  11629. * SelectionRangeConverter.cs: Implemented
  11630. * PropertyGrid.cs: Fixed attribute value
  11631. * Control.cs:
  11632. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  11633. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  11634. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  11635. that's common to all drivers. First methods to go there are
  11636. Sebastien Pouliot's CAS Stack Propagation helper methods
  11637. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  11638. Sebastien Pouliot for CAS Stack Propagation
  11639. 2005-05-11 Geoff Norton <[email protected]>
  11640. * OSXStructs.cs:
  11641. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  11642. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  11643. * DataGridTextBoxColumn.cs: fixed some members
  11644. * GridColumnStylesCollection.cs: indexed column is case insensitive
  11645. * DataGridTableStyle.cs: fixes
  11646. * ThemeWin32Classic.cs: add new theme parameter
  11647. * Theme.cs: add new theme parameter
  11648. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  11649. * DataGrid.cs: fixes, new internal properties, etc.
  11650. * DataGridColumnStyle.cs: allows to set grid value
  11651. *
  11652. 2005-05-10 Peter Bartok <[email protected]>
  11653. * AccessibleObject.cs:
  11654. - Removed MonoTODO attribute on help, method is correct
  11655. - Fixed Bounds property
  11656. * AxHost.cs: Moved MonoTODO
  11657. * ButtonBase.cs: Now setting AccessibleObject properties
  11658. * RadioButton.cs: Setting proper AccessibleObject role
  11659. * CheckBox.cs: Setting proper AccessibleObject role
  11660. * ControlBindingsCollection.cs: Added properties, methods and attributes
  11661. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  11662. userdefined DataFormats.Format items as well
  11663. * ListControl.cs: Removed data_member from the public eye
  11664. * OpenFileDialog.cs:
  11665. - Made class sealed
  11666. - Added missing attributes
  11667. * SaveFileDialog.cs: Added missing attributes
  11668. * ImageListStreamer.cs: Fixed code that caused warnings
  11669. * LinkLabel.cs: Removed unreachable code
  11670. * TreeView.cs: Fixed code that caused warnings
  11671. * PropertyGridView.cs: Fixed code that caused warnings
  11672. * GridColumnStylesCollection.cs: Added missing attributes
  11673. * GridTableStylesCollection: Added missing attribute
  11674. * PropertyManager: Added .ctor
  11675. * SecurityIDType: Added
  11676. * DataObject.cs: Implemented class
  11677. * LinkArea.cs: Added missing attribute
  11678. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  11679. * RadioButton.cs: call base method to allow to fire OnClick event
  11680. * UpDownBase.cs: OnMouseUp call base method
  11681. * CheckedListBox.cs: call base method before returning
  11682. * TrackBar.cs: call base method before returning
  11683. 2005-05-10 Peter Bartok <[email protected]>
  11684. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  11685. for messages
  11686. 2005-05-10 Peter Bartok <[email protected]>
  11687. * DataFormats.cs: Implemented
  11688. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  11689. XplatUIX11.cs: Added Clipboard APIs
  11690. * XplatUIWin32.cs: Implemented Clipboard APIs
  11691. * FolderBrowserDialog.cs: Added missing event, attributes
  11692. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  11693. * CheckBox.cs: call base method to allow to fire OnClick event
  11694. 2005-05-09 Sebastien Pouliot <[email protected]>
  11695. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  11696. 2005-05-06 Peter Bartok <[email protected]>
  11697. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  11698. * Screen.cs: Implemented
  11699. * HelpNavigator.cs: Added
  11700. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  11701. property
  11702. * HelpProvider.cs: Implemented all we can do until we have a CHM
  11703. help library (which means that "What's This" does work now)
  11704. 2005-05-06 Jackson Harper <[email protected]>
  11705. * XplatUIX11.cs: Fix waking up the main loop.
  11706. 2005-05-05 Peter Bartok <[email protected]>
  11707. * XplatUI.cs: Updated revision
  11708. * Form.cs: Removed enless loop
  11709. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  11710. * Label.cs (OnPaint): Added call to base.OnPaint()
  11711. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  11712. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  11713. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  11714. * AxHost.cs: Added
  11715. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  11716. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  11717. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  11718. reuse of ToolTipWindow by other controls
  11719. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  11720. * XplatUIX11.cs: Now clipping drawing area (experimental)
  11721. * PictureBox.cs: Moved base.OnPaint() call to end of method
  11722. * Theme.cs: Fixed ToolTip abstracts to match new format
  11723. * ErrorProvider.cs: Implemented
  11724. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  11725. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  11726. * LinkLabel.cs:
  11727. - Adds cursors
  11728. - Handles focus
  11729. - Implements LinkBehavior
  11730. - Fixes many issues
  11731. 2005-05-03 Jackson Harper <[email protected]>
  11732. * ListView.cs: Calculate the scrollbar positioning on resize and
  11733. paint, so they get put in the correct place.
  11734. 2005-05-03 Alexander Olk <[email protected]>
  11735. * ColorDialogs.cs: The small color panels are now handled by
  11736. SmallColorControl. This fixes drawing of the focus rectangle
  11737. and adds a 3D border.
  11738. 2005-05-03 Peter Bartok <[email protected]>
  11739. * Control.cs: Modified version of Jonathan Chamber's fix for
  11740. double-buffering
  11741. 2005-05-03 Jackson Harper <[email protected]>
  11742. * ListView.cs: Remove redraw variable. Control now handles whether
  11743. or not a redraw needs to be done, and will only raise the paint
  11744. event if redrawing is needed.
  11745. 2005-05-03 Jackson Harper <[email protected]>
  11746. * Splitter.cs: No decorations for the splitter form. Cache the
  11747. hatch brush.
  11748. 2005-05-03 Jackson Harper <[email protected]>
  11749. * TreeView.cs: Use dashed lines to connect nodes. Use the
  11750. ControlPaint method for drawing the focus rect instead of doing
  11751. that in treeview.
  11752. 2005-05-02 Peter Bartok <[email protected]>
  11753. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  11754. 2005-04-29 Jackson Harper <[email protected]>
  11755. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  11756. entire image buffer. Just clear the clipping rectangle.
  11757. 2005-04-29 Jackson Harper <[email protected]>
  11758. * ThemeWin32Classic.cs: Don't draw list view items that are
  11759. outside the clipping rectangle.
  11760. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  11761. * ListBox.cs: added horizontal item scroll
  11762. 2005-04-29 Jackson Harper <[email protected]>
  11763. * ThemeWin32Classic.cs: Remove some old debug code that was
  11764. causing flicker with the new double buffering code.
  11765. 2005-04-29 John BouAntoun <[email protected]>
  11766. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  11767. behave like combobox and comboboxlist (still not sure if this is
  11768. correct though).
  11769. 2005-04-28 Jackson Harper <[email protected]>
  11770. * ThemeWin32Classic.cs: Don't fill the middle of progress
  11771. bars. This fills areas outside of the clip bounds that don't need
  11772. to be filled.
  11773. 2005-04-28 Jackson Harper <[email protected]>
  11774. * Control.cs: Don't expose functionality to touch the image buffers.
  11775. * ProgressBar.cs:
  11776. * ListView.cs: We do not need to (and no longer can) manipulate
  11777. the image buffers directly. All of this is handled by Control.
  11778. 2005-04-28 Peter Bartok <[email protected]>
  11779. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  11780. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  11781. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  11782. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  11783. * Combobox:
  11784. - Adjust control's height for non-simple comboboxes (bug fix)
  11785. - Remove dead code
  11786. * MenuAPI.cs: remove unused var
  11787. * ScrollBar.cs: remove unsed var
  11788. * ListBox.cs: unselect items when clearing
  11789. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  11790. * ListControl.cs: honors OnPositionChanged and default Selected Item
  11791. * ListBox.cs: unselect items when clearing
  11792. 2005-04-27 Jackson Harper <[email protected]>
  11793. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  11794. if a "correct" keyboard is not found. This will make us not crash,
  11795. but might give some users bad keyboard layouts...seems to be the
  11796. same thing rewind does.
  11797. 2005-04-27 Jackson Harper <[email protected]>
  11798. * BindingManagerBase.cs: Attach the current/position changed
  11799. handlers to their respective events.
  11800. 2005-04-27 Jackson Harper <[email protected]>
  11801. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  11802. not just a blit.
  11803. * ThemeWin32Classic.cs: Don't fill the background for picture
  11804. boxes. This could overright user drawing.
  11805. * ComboBox.cs: Just fill the clipping rect not the entire client
  11806. rect when drawing the background. This prevents pieces of the
  11807. image buffer from getting overwritten and is theoretically faster.
  11808. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  11809. * ComboBox.cs: Databinding support fixes, fire missing events
  11810. * ListControl.cs: implement missing methods and properties, fixes
  11811. * ThemeWin32Classic.cs: Databiding support on Drawing
  11812. * CheckedListBox.cs: Databinding support fixes, fire missing events
  11813. * ListBox.cs: Databinding support fixes, fire missing events
  11814. 2005-04-25 Peter Bartok <[email protected]>
  11815. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  11816. 2005-04-25 Jackson Harper <[email protected]>
  11817. * TreeView.cs: Use the horizontal scrollbars height not width when
  11818. determining how much of the client area is available.
  11819. 2005-04-25 Jackson Harper <[email protected]>
  11820. * Control.cs: Double buffering is handled differently now. As per
  11821. the spec, the extra buffer is created in the WM_PAINT message and
  11822. passed down to the control's drawing code.
  11823. * GroupBox.cs:
  11824. * Label.cs:
  11825. * CheckBox.cs:
  11826. * ProgressBar.cs:
  11827. * RadioButton.cs:
  11828. * ColorDialog.cs:
  11829. * ComboBox.cs:
  11830. * PropertyGridView.cs:
  11831. * UpDownBase.cs:
  11832. * MessageBox.cs:
  11833. * MenuAPI.cs:
  11834. * ListView.cs:
  11835. * ButtonBase.cs:
  11836. * SizeGrip.cs:
  11837. * ScrollBar.cs:
  11838. * ListBox.cs:
  11839. * TrackBar.cs:
  11840. * ToolBar.cs:
  11841. * PictureBox.cs:
  11842. * DateTimePicker.cs:
  11843. * StatusBar.cs:
  11844. * TreeView.cs: Update to new double buffering system.
  11845. * MonthCalendar.cs: Uncomment block, as Capture is now
  11846. working. Update to new double buffering
  11847. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  11848. * PaintEventArgs.cs: New internal method allows us to set the
  11849. graphics object. This is used for double buffering.
  11850. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  11851. rectangle. The internal paint_area var has been removed from
  11852. StatusBar. The clipping rect should be used instead.
  11853. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  11854. * TabPage.cs: The RefreshTabs method was removed, so just call the
  11855. tab controls Refresh method now.
  11856. * TabControl.cs: Update to new double buffering. Make sure the
  11857. handle is created before sizing the tab pages, otherwise we will
  11858. get stuck in a loop.
  11859. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  11860. * LinkLabel.cs: Fix typo, bug #74719; patch
  11861. from Borja Sanchez Zamorano
  11862. 2005-04-22 Jackson Harper <[email protected]>
  11863. * TreeNode.cs: Implement Handle stuff.
  11864. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  11865. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  11866. * DataGridTextBoxColumn.cs: call base constructors, fixes
  11867. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  11868. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  11869. * DataGridTableStyle.cs: implements create default column styles
  11870. * DataGridBoolColumn.cs: which types can handle
  11871. * DataGrid.cs: missing methods, fixes, new functionality
  11872. * DataGridColumnStyle.cs: fixes
  11873. 2005-04-20 Alexander Olk <[email protected]>
  11874. * FolderBrowserDialog.cs:
  11875. - Use a thread to fill the TreeView
  11876. - Adjusted some sizes
  11877. 2005-04-19 Peter Bartok <[email protected]>
  11878. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  11879. property. Fixes #74360.
  11880. 2005-04-19 Jackson Harper <[email protected]>
  11881. * XEventQueue.cs: Lock when getting the lockqueue size.
  11882. * PictureBox.cs: Call base OnPaint
  11883. 2005-04-19 Peter Bartok <[email protected]>
  11884. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  11885. messages were no longer being processed (this broke BeginInvoke)
  11886. 2005-04-18 Jackson Harper <[email protected]>
  11887. * TreeView.cs: buglet that caused node images to get drawn
  11888. regardless of whether or not they were in the clipping rectangle.
  11889. 2005-04-18 Jackson Harper <[email protected]>
  11890. * CurrencyManager.cs: There are four rules for GetItemProperties:
  11891. - If the type is an array use the element type of the array
  11892. - If the type is a typed list, use the type
  11893. - If the list contains an Item property that is not an object, use
  11894. that property
  11895. - use the first element of the list if there are any elements in
  11896. the list.
  11897. 2005-04-17 Jackson Harper <[email protected]>
  11898. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  11899. click. This handles offsets for scrolling properly and reduces
  11900. memory. Also fixed GetNode to not offset now that TopNode works
  11901. properly.
  11902. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  11903. 2005-04-17 Jackson Harper <[email protected]>
  11904. * CursorConverter.cs: Initial implementation.
  11905. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  11906. * ListControl.cs: work towards complex data binding support on ListControl
  11907. * CurrencyManager.cs: work towards complex data binding support on ListControl
  11908. * ListBox.cs: work towards complex data binding support on ListControl
  11909. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  11910. * GridTableStylesCollection.cs: fixes name and constructor
  11911. * DataGridTableStyle.cs: fixes
  11912. * DataGridBoolColumn.cs: fixes names and constructors
  11913. * DataGrid.cs: define methods and properties. Some init implementations
  11914. * DataGridCell.cs: define methods and properties. Some init implementations
  11915. * GridTablesFactory.cs: Define methods and properties
  11916. 2005-04-15 Geoff Norton <[email protected]>
  11917. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  11918. graphics port changes. We still want the coordinates in global screen
  11919. coordinates.
  11920. 2005-04-14 Jackson Harper <[email protected]>
  11921. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  11922. check plus minus or checkbox clicks unless those features are enabled.
  11923. 2005-04-14 Jackson Harper <[email protected]>
  11924. * TreeView.cs: Add methods for setting the top and bottom visible
  11925. nodes. TreeNode::EnsureVisible uses these methods.
  11926. * TreeNode.cs: Implement EnsureVisible
  11927. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  11928. * Form.cs: Pospone menu assignation if the window has not been created yet
  11929. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  11930. size and position
  11931. 2005-04-12 Jackson Harper <[email protected]>
  11932. * TreeView.cs: Set the TopNode properly when scrolling
  11933. occurs. This has the added benifit of reducing the amount of
  11934. walking that needs to be done when drawing. Also removed an old
  11935. misleading TODO.
  11936. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  11937. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  11938. * Timer.cs: fixes interval setting when the timer is already enabled
  11939. 2005-04-10 Alexander Olk <[email protected]>
  11940. * FolderBrowserDialog.cs: First approach
  11941. 2005-04-09 Peter Bartok <[email protected]>
  11942. * FolderBrowserDialog: Added
  11943. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  11944. * LinkLabel.cs: move drawing code into the theme
  11945. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  11946. * Theme.cs: define DrawLinkLabel method
  11947. 2005-04-05 Jackson Harper <[email protected]>
  11948. * BindingContext.cs: Use weak references so these bad actors don't
  11949. stay alive longer then they need to.
  11950. 2005-04-05 Jackson Harper <[email protected]>
  11951. * ListControl.cs: Basic implementation of complex databinding.
  11952. * ComboBox.cs:
  11953. * ListBox.cs: Add calls to ListControl databinding methods.
  11954. 2005-04-05 Alexander Olk <[email protected]>
  11955. * FileDialog.cs:
  11956. - Don't change PopupButtonState to Normal when the
  11957. PopupButton gets pressed several times.
  11958. - Renamed ButtonPanel to PopupButtonPanel
  11959. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  11960. * ColorDialog.cs: Use cached objects instead of creating them
  11961. * LinkLabel.cs: Use cached objects instead of creating them
  11962. * Splitter.cs: Use cached objects instead of creating them
  11963. * FontDialog.cs: Use cached objects instead of creating them
  11964. * PropertyGridView.cs: Use cached objects instead of creating them
  11965. * MessageBox.cs: Use cached objects instead of creating them
  11966. * FileDialog.cs: Use cached objects instead of creating them
  11967. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  11968. * TreeView.cs: Use cached objects instead of creating them
  11969. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  11970. * Control.cs: use Equals to compare the font since no == op
  11971. * ScrollBar.cs: use Equals to compare the font since no == op
  11972. 2005-04-04 Alexander Olk <[email protected]>
  11973. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  11974. 2005-04-01 Jackson Harper <[email protected]>
  11975. * Binding.cs: Implement IsBinding.
  11976. * BindingManagerBase.cs:
  11977. * PropertyManager.cs:
  11978. * CurrencyManager.cs: Add IsSuspended property.
  11979. 2005-04-01 Jackson Harper <[email protected]>
  11980. * Binding.cs: Had some IsAssignableFrom calls backwards.
  11981. 2005-04-01 Jackson Harper <[email protected]>
  11982. * Binding.cs: Handle null data members when pulling data.
  11983. * PropertyManager.cs: Handle the data member being a property that
  11984. does not exist.
  11985. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  11986. * DataGridTextBoxColumn.cs: fixes signature
  11987. * DataGrid.cs: calls right constructor
  11988. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  11989. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  11990. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  11991. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  11992. * DataGridTableStyle.cs: implements DataGridTableStyle
  11993. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  11994. * DataGridTextBox.cs: implements DataGridTextBox
  11995. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  11996. 2005-03-31 Alexander Olk <[email protected]>
  11997. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  11998. 2005-03-29 Peter Bartok <[email protected]>
  11999. * Application.cs:
  12000. - Properly implemented CompanyName property
  12001. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  12002. returns a path that includes CompanyName, ProductName and
  12003. Version (fixes bug #70330)
  12004. 2005-03-29 Stefan Buehler <[email protected]>
  12005. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  12006. fixes bug #72588.
  12007. 2005-03-28 Alexander Olk <[email protected]>
  12008. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  12009. - Added ReadOnly CheckBox
  12010. - Further refactoring: moved some code from Open-/SaveFileDialog
  12011. to FileDialog
  12012. 2005-03-28 Alexander Olk <[email protected]>
  12013. * OpenFileDialog.cs: Fixed CheckFileExists
  12014. * FileDialog.cs:
  12015. Moved FileView and DirComboBox outside FileDialog class.
  12016. They can now be used outside FileDialog
  12017. 2005-03-27 Alexander Olk <[email protected]>
  12018. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  12019. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  12020. 2005-03-27 Alexander Olk <[email protected]>
  12021. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  12022. - Added missing CreatePrompt property in SaveDialog
  12023. - Overall SaveDialog handling should be better now
  12024. - Added non standard ShowHiddenFiles property
  12025. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  12026. - Added InitialDirectory and RestoreDirectory support
  12027. 2005-03-26 Alexander Olk <[email protected]>
  12028. * FileDialog.cs: Made dirComboBox usable
  12029. 2005-03-24 Alexander Olk <[email protected]>
  12030. * FileDialog.cs: Added Filter support (case sensitiv)
  12031. 2005-03-24 Jackson Harper <[email protected]>
  12032. * TabControl.cs: Need a couple more pixels for the lines.
  12033. 2005-03-23 Jackson Harper <[email protected]>
  12034. * TabControl.cs: Give the tab page focus when it is selected.
  12035. 2005-03-23 Jackson Harper <[email protected]>
  12036. * TabControl.cs: Account for the drawing of tabs borders when
  12037. invalidating. If the slider was clicked dont do click detection on
  12038. the tabs.
  12039. 2005-03-23 Jackson Harper <[email protected]>
  12040. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  12041. 2005-03-22 Jonathan Chambers <[email protected]>
  12042. * CategoryGridEntry.cs: Added
  12043. * GridItem.cs: Added helper properties
  12044. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  12045. * GridEntry.cs: Updated code for collection
  12046. * PropertyGrid.cs: Cleaned up some formatting
  12047. * PropertyGridView.cs: Added drop down functionality for enums.
  12048. * GridItemCollection.cs: Added enumerator logic
  12049. * PropertyGridEntry.cs: Added
  12050. 2005-03-19 Alexander Olk <[email protected]>
  12051. * FileDialog.cs:
  12052. - Removed unnecessary commented code
  12053. - Fixed handling for entering the filename manually in the combobox
  12054. 2005-03-19 Alexander Olk <[email protected]>
  12055. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  12056. 2005-03-18 Peter Bartok <[email protected]>
  12057. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  12058. them being touching the border
  12059. 2005-03-18 Peter Bartok <[email protected]>
  12060. * TextControl.cs: Quick hack to center text better
  12061. 2005-03-18 Peter Bartok <[email protected]>
  12062. * ControlPaint.cs:
  12063. - Don't throw NotImplemented exceptions, just print a notice once
  12064. instead (requested by Miguel). This makes running existing SWF
  12065. apps a bit easier
  12066. * Control.cs:
  12067. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  12068. - Added context menu trigger on right click
  12069. * Panel.cs: Trigger invalidate on resize
  12070. * StatusBar.cs:
  12071. - Removed old double-buffer drawing
  12072. - Added ResizeRedraw style to force proper update of statusbar
  12073. * ListView.cs:
  12074. - Removed debug output
  12075. * ThemeWin32Classic.cs:
  12076. - Fixed drawing of status bar, now draws Text property if there
  12077. are no defined panels
  12078. 2005-03-18 Jackson Harper <[email protected]>
  12079. * ImageList.cs: When the image stream is set pull all the images
  12080. from it.
  12081. * ImageListStreamer.cs: Implement reading image list streams.
  12082. 2005-03-18 Peter Bartok <[email protected]>
  12083. * ThemeWin32Classic.cs (DrawPictureBox):
  12084. - Fixed calculations for centered drawing
  12085. - Fixed drawing for normal mode, not scaling the image on normal
  12086. 2005-03-18 Peter Bartok <[email protected]>
  12087. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  12088. textbox
  12089. * FileDialog.cs:
  12090. - Made Open/Save button the accept button for FileDialog
  12091. - Tied the cancel button to the IButtonControl cancel button
  12092. - Save/Open now properly builds the pathname
  12093. - Now handles user-entered text
  12094. - Preventing crash on right-click if no item is selected
  12095. - Fixed Text property, now uses contents of textbox
  12096. - Fixed SelectedText property, now just returns the text part that
  12097. is selected in the text box
  12098. 2005-03-18 Jackson Harper <[email protected]>
  12099. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  12100. rect, make sure to de-adjust the interior rect after drawing the
  12101. tab text.
  12102. 2005-03-18 Peter Bartok <[email protected]>
  12103. * MenuAPI.cs: Remove menu *before* executing selected action to
  12104. prevent the menu from 'hanging around'
  12105. 2005-03-17 Geoff Norton <[email protected]>
  12106. * XplatUIOSX.cs: Implemented WorkingArea property
  12107. 2005-03-17 Peter Bartok <[email protected]>
  12108. * XplatUIX11.cs: Fixed menu coord calculations
  12109. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  12110. for calculating offsets
  12111. 2005-03-17 Peter Bartok <[email protected]>
  12112. * Hwnd.cs: Do not consider menu presence for default client
  12113. rectangle location/size
  12114. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  12115. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  12116. translation functions
  12117. * FileDialog.cs: Fixed (what I presume is a) typo
  12118. 2005-03-17 Jonathan Gilbert <[email protected]>
  12119. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  12120. X access (avoids X-Async errors)
  12121. 2005-03-16 Jackson Harper <[email protected]>
  12122. * TabControl.cs: Raise the SelectedIndexChanged event.
  12123. 2005-03-16 Alexander Olk <[email protected]>
  12124. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  12125. - Removed vertical ToolBar and replaced it with a custom panel
  12126. (desktop and home button already work)
  12127. - Added Help button (some controls get resized or relocated then)
  12128. - Draw correct text depending on Open or Save.
  12129. - Fixed some typos...
  12130. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  12131. * ScrollBar.cs:
  12132. - Only change Maximum and Minimum when need it (bug fix)
  12133. 2005-03-15 Peter Bartok <[email protected]>
  12134. * Form.cs: Use Handle for icon, to trigger creation if
  12135. the window does not yet exist
  12136. * Control.cs:
  12137. - CanSelect: Slight performance improvement
  12138. - Focus(): Preventing possible recursion
  12139. - Invalidate(): Removed ControlStyle based clear flag setting
  12140. - WM_PAINT: fixed logic for calling OnPaintBackground
  12141. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  12142. EraseWindowBackground if the control doesn't paint background
  12143. * XplatUIWin32.cs:
  12144. - Moved EraseWindowBackground() method to internal methods
  12145. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  12146. is sent via SendMessage on BeginPaint call on Win32
  12147. * XplatUIX11.cs:
  12148. - Added EraseWindowBackground() method
  12149. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  12150. PaintEventStart, which more closely matches Win32 behaviour
  12151. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  12152. - Fixed SetFocus() to properly deal with client and whole windows
  12153. * Hwnd.cs: Added ErasePending property
  12154. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  12155. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  12156. 2005-03-12 Geoff Norton <[email protected]>
  12157. * XplatUIOSX.cs:
  12158. - Fix hard loop when timers exist.
  12159. - Fix bugs with middle and right click for 3 button mice.
  12160. 2005-03-11 Peter Bartok <[email protected]>
  12161. * XplatUIX11.cs:
  12162. - get_WorkingArea: Need to call X directly, GetWindowPos only
  12163. returns cached data now
  12164. - Added sanity check to GetWindowPos hwnd usage
  12165. 2005-03-11 Jackson Harper <[email protected]>
  12166. * BindingManagerBase.cs: This method isn't used anymore as
  12167. PullData now updates the data in the control.
  12168. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  12169. * Form.cs: fixes menu drawing on X11
  12170. * MenuAPI.cs: fixes menu drawing on X11
  12171. 2005-03-11 Peter Bartok <[email protected]>
  12172. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  12173. from Jonathan Gilbert; should fix bug #73606
  12174. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  12175. in Screen coordinates. Thanks, Jordi.
  12176. * Form.cs: Added missing attribute
  12177. 2005-03-11 Peter Bartok <[email protected]>
  12178. * Form.cs:
  12179. - Rudimentary Mdi support
  12180. - Removed outdated FormParent code
  12181. - Implemented lots of missing properties and methods, still missing
  12182. transparency support
  12183. - Added missing attributes
  12184. - Implemented support for MaximumBounds
  12185. - Added firing of various events
  12186. * XplatUI.cs: Added SetIcon() method
  12187. * XplatUIDriver.cs: Added SetIcon() abstract
  12188. * XplatUIOSX.cs: Stubbed out SetIcon() method
  12189. * XplatUIX11.cs:
  12190. - Implemented SetIcon() support
  12191. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  12192. - Switched to unix line endings
  12193. * XplatUIWin32.cs:
  12194. - Made POINT internal so for can access it as part of MINMAX
  12195. - Implemented SetIcon() support
  12196. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  12197. native Mdi support again, might have to go managed)
  12198. * Control.cs: Now fires the StyleChanged event
  12199. * MdiClient.cs: Added; still mostly empty
  12200. 2005-03-10 Peter Bartok <[email protected]>
  12201. * SaveFileDialog.cs: Added emtpy file
  12202. 2005-03-08 Peter Bartok <[email protected]>
  12203. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  12204. in turn triggers OnCreateContro) when creating a handle for the
  12205. first time.
  12206. * TextControl.cs: Fixed endless loop in certain cases when
  12207. replacing the current selection
  12208. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  12209. * ScrollBar.cs:
  12210. - Honors NewValue changes in Scroll events allowing apps to change it
  12211. - Adds First and Last Scroll events
  12212. - Fixes Thumb events
  12213. 2005-03-07 Peter Bartok <[email protected]>
  12214. * Hwnd.cs: Added DefaultClientRectangle property
  12215. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  12216. more detailed debug information
  12217. * XplatUIX11.cs:
  12218. - Fixed size-change feedback loop, where we would pull an old size
  12219. off the queue and mistakenly change our window's size to an
  12220. earlier value
  12221. - Now compressing ConfigureNotify events, to reduce looping and
  12222. redraw issues
  12223. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  12224. is called
  12225. 2005-03-07 Jackson Harper <[email protected]>
  12226. * Binding.cs: Push data pushes from data -> property. Check if the
  12227. property is readonly when attempting to set it.
  12228. 2005-03-07 Jackson Harper <[email protected]>
  12229. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  12230. instead of IsSubclassOf. Pulling data now sets the value on the
  12231. control.
  12232. * PropertyManager.cs:
  12233. * CurrencyManager.cs: Just need to pull data when updating now,
  12234. because PullData will set the value on the control.
  12235. 2005-03-04 Jackson Harper <[email protected]>
  12236. * Binding.cs: Implement data type parsing and converting on pulled
  12237. data. TODO: Are there more ways the data can be converted?
  12238. 2005-03-04 Jackson Harper <[email protected]>
  12239. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  12240. controls Validating method so we can repull the data when the
  12241. control loses focus.
  12242. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  12243. * ColumnHeader.cs:
  12244. - Fixes null string format
  12245. * ListView.cs:
  12246. - Adds enum type checks
  12247. - Fixes redrawing and recalc need after changing some properties
  12248. - Fixes on focus_item set after the event
  12249. - Fixes adding columns after the control has been created
  12250. * ThemeWin32Classic.cs:
  12251. - Fixes CheckBox focus rectangle
  12252. - Fixes ColumnHeader drawing
  12253. 2005-03-03 Jackson Harper <[email protected]>
  12254. * Binding.cs: Bind to <Property>Changed events so we can detect
  12255. when properties are changed and update the data.
  12256. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  12257. * ImageList.cs:
  12258. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  12259. - Fixes ImageList constructor with ImageList container
  12260. - Fixes image scaling (wrong parameters at DrawImage)
  12261. 2005-02-02 Jackson Harper <[email protected]>
  12262. * Binding.cs: Make property searches case-insensitive. Eliminate
  12263. some duplicated code.
  12264. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  12265. * ComboBox.cs:
  12266. - Handle focus event
  12267. - Fix scrollbar events
  12268. - Discard highlighted item if remove it
  12269. - Fixes SelectedItem with strings
  12270. 2005-03-01 Peter Bartok <[email protected]>
  12271. * Control.cs:
  12272. - Fixed Visible property, now follows (once again) parent chain
  12273. to return false if any control in the chain is visible=false
  12274. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  12275. - Fixed several places where is_visible instead of Visible was used
  12276. - Implemented FIXME related to focus selection when setting focused
  12277. control to be invisible
  12278. * XplatUIWin32.cs: Now using proper method to find out if window is
  12279. visible. Thanks to Jordi for pointing it out
  12280. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  12281. * ComboBox.cs: show/hide scrollbar instead of creating it
  12282. 2005-02-27 Jackson Harper <[email protected]>
  12283. * CurrencyManager.cs: Add PositionChanged stuff.
  12284. 2005-02-27 Peter Bartok <[email protected]>
  12285. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  12286. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  12287. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  12288. * XplatUIX11.cs:
  12289. - Implemented GetMenuDC()
  12290. - Implemented GetMenuOrigin()
  12291. - Implemented ReleaseMenuDC()
  12292. - Implemented generation of WM_NCPAINT message
  12293. - Implemented generation and handling of WM_NCCALCSIZE message
  12294. * Form.cs: Added debug helper message for Jordi's menu work
  12295. * Hwnd.cs:
  12296. - Modified ClientRect property; added setter, fixed getter to handle
  12297. setting of ClientRect
  12298. - Added MenuOrigin property
  12299. 2005-02-26 Peter Bartok <[email protected]>
  12300. * XplatUIX11.cs:
  12301. - Destroys the caret if a window that's being destroyed contains it
  12302. - Ignores expose events coming from the X11 queue for windows that
  12303. already are destroyed
  12304. - Now uses the proper variable for handling DestroyNotify, before we
  12305. marked the wrong window as destroyed
  12306. - Improved/added some debug output
  12307. 2005-02-26 Peter Bartok <[email protected]>
  12308. * X11Keyboard.cs: Fixes to work on 64bit systems
  12309. 2005-02-26 Peter Bartok <[email protected]>
  12310. * Control.cs:
  12311. - Now calling OnHandleDestroyed from DestroyHandle()
  12312. instead of Dispose()
  12313. - Removed bogus call to controls.Remove() from DestroyHandle()
  12314. 2005-02-26 Peter Bartok <[email protected]>
  12315. * Control.cs: Properly destroy child windows when our handle is
  12316. destroyed
  12317. 2005-02-25 Peter Bartok <[email protected]>
  12318. * XplatUI.cs:
  12319. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  12320. - Alphabetized Static Methods and Subclasses
  12321. * XplatUIX11.cs:
  12322. - Added XException class to allow custom handling of X11 exceptions
  12323. - Created custom X11 error handler, tied into XException class
  12324. - Added support for MONO_XEXCEPTIONS env var to allow the user
  12325. to either throw an exception on X errors or continue running
  12326. after displaying the error
  12327. - Added handling of DestroyNotify message
  12328. - Added handler for CreateNotify message (still disabled)
  12329. - Improved (tried to at least) Where method to provide file and lineno
  12330. * X11Structs.cs:
  12331. - Added XErrorHandler delegate
  12332. - Added XRequest enumeration (to suppor translation of errors)
  12333. 2005-02-25 Jackson Harper <[email protected]>
  12334. * PropertyManager.cs: Implement editing features
  12335. * CurrencyManager.cs:
  12336. * Binding.cs: First attempt at UpdateIsBinding
  12337. * BindingManagerBase.cs: Call UpdateIsBinding before
  12338. pushing/pulling data.
  12339. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  12340. * MenuAPI.cs: Respect disabled items
  12341. * ThemeWin32Classic.cs
  12342. - Caches ImageAttributes creation for DrawImageDisabled
  12343. - Fixes vertical menu line drawing
  12344. - Draws disabled arrows in disable menu items
  12345. 2005-02-24 Peter Bartok <[email protected]>
  12346. * Hwnd.cs:
  12347. - Added UserData property to allow associating arbitrary objects
  12348. with the handle
  12349. - Fixed leak; now removing Hwnd references from static windows array
  12350. * XplatUIWin32.cs:
  12351. - Fixed Graphics leak in PaintEventEnd
  12352. - Removed usage of HandleData, switched over to Hwnd class
  12353. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  12354. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  12355. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  12356. * ScrollBar.cs: Fixes bug
  12357. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  12358. keyboard navigation enhancements
  12359. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  12360. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  12361. * GroupBox.cs: Add control styles
  12362. * Label.cs: Add control styles
  12363. * UpDownBase.cs: Add control styles
  12364. * ListBox.cs: Add control styles
  12365. * XplatUIWin32.cs: Fixes wrong parameter order
  12366. 2005-02-23 Chris Bacon <[email protected]>
  12367. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  12368. 2005-02-23 Jackson Harper <[email protected]>
  12369. * PropertyManager.cs: Implement property binding. This doesn't
  12370. seem to work yet though as (I think) there are some bugs in
  12371. System.ComponentModel.PropertyDescriptor.
  12372. * BindingContext.cs: Use new PropertyManager constructor.
  12373. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  12374. * ProgressBar.cs: use clip region in ProgressBar
  12375. * ThemeWin32Classic.cs: use clip region in ProgressBar
  12376. 2004-02-22 Jackson Harper <[email protected]>
  12377. * BindingsCollection.cs: Remove some debug code.
  12378. 2005-02-22 Jackson Harper <[email protected]>
  12379. * BindingContext.cs:
  12380. * ControlBindingsCollection.cs:
  12381. * CurrencyManager.cs:
  12382. * Binding.cs:
  12383. * BindingManagerBase.cs: Initial implementation
  12384. * BindingsCollection.cs: Add an internal contains method that the
  12385. BindingManagerBase uses to ensure bindings aren't added twice to
  12386. the collection.
  12387. * PropertyManager.cs: Stubbed out.
  12388. * Control.cs:
  12389. * ContainerControl.cs: Hook up databinding
  12390. 2005-02-22 Geoff Norton <[email protected]>
  12391. * XplatUIOSX.cs:
  12392. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  12393. Fixed Invalidate/Update chain.
  12394. Fixed tons of other minor bugs (this is almost a complete rewrite).
  12395. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  12396. * ComboBox.cs: do subcontrol creation when the control is created
  12397. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  12398. * Label.cs: fixes image drawing (image and imagelist)
  12399. * ThemeWin32Classic.cs: cache brushes
  12400. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  12401. * Form.cs: Move menu drawing code to Theme class
  12402. * ComboBox.cs: Move ComboBox drawing code to Theme class
  12403. * MenuItem.cs: Move menu drawing code to Theme class
  12404. * MenuAPI.cs: Move menu drawing code to Theme class
  12405. * ThemeWin32Classic.cs: New methods
  12406. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  12407. * ListBox.cs: Move Listbox drawing code to Theme class
  12408. * Theme.cs: New methods
  12409. 2005-02-20 Peter Bartok <[email protected]>
  12410. * Control.cs:
  12411. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  12412. only process mnemonics on those)
  12413. - Fixed event sequence for key handling; first calling
  12414. ProcessKeyEventArgs now
  12415. * TextBoxBase.cs:
  12416. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  12417. for processing non-character keys
  12418. - Fixed WM_CHAR to generate proper event sequence before processing
  12419. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  12420. generation
  12421. 2005-02-19 Peter Bartok <[email protected]>
  12422. * UserControl.cs: Added TextChanged event; added attributes
  12423. * SizeGrip.cs: Implemented resizing and optional display of grip
  12424. * Form.cs: Fixed attribute
  12425. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  12426. Changed meaning of ScrollWindow bool argument; instead of the
  12427. clear attribute (which will be true usually anyway), it gives the
  12428. option of moving child controls as well.
  12429. * XplatUIX11.cs:
  12430. - Changed to match new ScrollWindow argument
  12431. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  12432. now handles the implicit parent window a WM puts around us
  12433. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  12434. to work)
  12435. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  12436. * TreeView.cs: Adjusted to new ScrollWindow arguments
  12437. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  12438. * Form.cs: Menu integration with non-client area
  12439. * MenuItem.cs: Menu integration with non-client area
  12440. * MenuAPI.cs: Menu integration with non-client area
  12441. 2005-02-18 Peter Bartok <[email protected]>
  12442. * MethodInvoker.cs: Added
  12443. * MdiLayout.cs: Added
  12444. * SendKeys.cs: Started implementation
  12445. * ErrorIconAlignment.cs: Added
  12446. 2005-02-18 Peter Bartok <[email protected]>
  12447. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  12448. * Form.cs: Added handling for Menu-related Non-client messages
  12449. 2005-02-17 Peter Bartok <[email protected]>
  12450. * UpDownBase.cs: Fixed typo, compilation errors
  12451. * DomainUpDown.cs: Fixed attribute value
  12452. 2005-02-16 Miguel de Icaza <[email protected]>
  12453. * UpDownBase.cs: Attach entry events.
  12454. Propagate events.
  12455. Add ForeColor property, Focused, InterceptArrowKeys (interception
  12456. does not work yet).
  12457. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  12458. * Form.cs:
  12459. - Redraw non client are on Setmenu
  12460. - Calc proper menu starting point
  12461. 2005-02-17 Peter Bartok <[email protected]>
  12462. * Application.cs: Fixed message_filter check
  12463. 2005-02-17 Peter Bartok <[email protected]>
  12464. * Application.cs: Now calls registered message filters
  12465. * DockStyle.cs: Fixed attribute
  12466. * Form.cs: Fixed attribute
  12467. * Menu.cs: Fixed attribute
  12468. * ToolTip.cs: Fixed attribute
  12469. * TreeNode.cs: Added missing attributes and arranged in regions
  12470. * PropertyGrid.cs: Fixed signatures
  12471. * TreeNodeCollection.cs: Added attributes
  12472. * Splitter.cs: Added missing attributes; arranged into regions
  12473. * TabPage.cs: Added missing attributes; arranged into regions
  12474. * TextBoxBase.cs: Added missing attributes
  12475. * TextBox.cs: Added missing attributes
  12476. * ArrangeDirection.cs: Added missing attributes
  12477. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  12478. * ToolBarButton.cs: Fixed attributes
  12479. * AnchorStyles.cs: Fixed attribute
  12480. * TrackBar.cs: Fixed attributes
  12481. * TabControl.cs: Added missing attributes and arranged into regions
  12482. * ToolBar.cs: Fixed attribute
  12483. * StatusBar.cs: Fixed signature, organized into regions and added
  12484. attributes
  12485. * StatusBarPanel.cs: Fixed attributes
  12486. * ContentsResizedEventArgs.cs: Implemented
  12487. * ContentsResizedEventHandler.cs: Implemented
  12488. * DateBoldEventArgs.cs: Implemented
  12489. * DateBoldEventHandler.cs: Implemented
  12490. * UpDownEventArgs.cs: Implemented
  12491. * UpDownEventHandler.cs: Implemented
  12492. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  12493. * Form.cs: first Menu NC refactoring
  12494. * MenuAPI.cs: first Menu NC refactoring
  12495. 2005-02-16 Peter Bartok <[email protected]>
  12496. * ImeMode.cs: Added missing attributes
  12497. * Menu.cs: Fixed attribute
  12498. * GroupBox.cs: Fixed attribute
  12499. * Label.cs: Fixed attribute
  12500. * ColorDialog.cs (RunDialog): Removed TODO attribute
  12501. * ComboBox.cs: Fixed attributes
  12502. * ListControl.cs: Added missing attributes
  12503. * PropertyGrid.cs: Fixed attributes
  12504. * Control.cs: Fixed attributes
  12505. * ListViewItem.cs: Added TypeConverter attribute
  12506. * NotifyIcon.cs: Fixed attributes
  12507. * ListView.cs: Fixed attributes
  12508. * ButtonBase.cs: Fixed attribute
  12509. * ImageList.cs: Added missing attributes
  12510. * ContainerControl.cs: Fixed signature
  12511. * CheckedListBox.cs: Fixed attribute; added missing attributes
  12512. * Panel.cs: Fixed attributes
  12513. * PropertyTabChangedEventArgs.cs: Added missing attribute
  12514. * PropertyValueChangedEventArgs.cs: Added missing attribute
  12515. * Binding.cs: Fixed attribute
  12516. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  12517. * ListBox.cs: Fixed attribute; added missing attributes;
  12518. * ScrollableControl.cs: Added missing attributes
  12519. * PictureBox.cs: Added missing attributes; implemented missing property
  12520. * DateTimePicker.cs: Added missing attributes
  12521. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  12522. * MonthCalendar.cs: Fixed attributes
  12523. * StatusBarPanel.cs: Added missing attributes
  12524. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  12525. 2005-02-16 Peter Bartok <[email protected]>
  12526. * TextBoxBase.cs: The previous method to enforce height yet remember
  12527. the requested high was less than ideal, this is an attempt to do
  12528. it better.
  12529. * Control.cs: Added comment about possible problem
  12530. * Copyright: Updated format
  12531. * GridItemType.cs: Fixed swapped values
  12532. 2005-02-15 Jackson Harper <[email protected]>
  12533. * BaseCollection.cs: Use property so we never access an
  12534. uninitialized list. Also initialize the list in the property.
  12535. 2005-02-15 Peter Bartok <[email protected]>
  12536. * GroupBox.cs (ProcessMnemonic): Implemented
  12537. * Label.cs (ProcessMnemonic): Implemented
  12538. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  12539. hotkeys
  12540. 2005-02-15 Peter Bartok <[email protected]>
  12541. * RadioButton.cs (ProcessMnemonic): Implemented
  12542. * CheckBox.cs (ProcessMnemonic): Implemented
  12543. * Control.cs:
  12544. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  12545. handling
  12546. - Added internal method to allow calling ProcessMnemonic from other
  12547. controls
  12548. * ContainerControl.cs:
  12549. - Started support for handling validation chain handling
  12550. - Implemented ProcessMnemonic support
  12551. - Added Select() call to Active, to make sure the active control
  12552. receives focus
  12553. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  12554. FormParent rewrite)
  12555. * ThemeWin32Classic.cs:
  12556. - DrawCheckBox(): Fixed stringformat to show hotkeys
  12557. - DrawRadioButton(): Fixed stringformat to show hotkeys
  12558. * CommonDialog.cs: Removed WndProc override, not needed
  12559. 2005-02-14 Peter Bartok <[email protected]>
  12560. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  12561. missed those in the rewrite
  12562. 2005-02-14 Miguel de Icaza <[email protected]>
  12563. * NumericUpDown.cs (Increment, ToString): Add.
  12564. (DecimalPlaces): implement.
  12565. Add attributes.
  12566. * UpDownBase.cs: Add the designer attributes.
  12567. 2005-02-13 Peter Bartok <[email protected]>
  12568. * Panel.cs: Removed border_style, now in Control
  12569. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  12570. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  12571. 2005-02-13 Peter Bartok <[email protected]>
  12572. * MouseButtons.cs: Added missing attributes
  12573. * XplatUIStructs.cs: Added enumeration for title styles
  12574. * LeftRightAlignment.cs: Added missing attributes
  12575. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  12576. it compatible with Graphics.FromHwnd()
  12577. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  12578. * Keys.cs: Added missing attributes
  12579. * SelectionRange.cs: Added missing attributes
  12580. * SelectionRangeConverter.cs: Added
  12581. * XplatUI.cs:
  12582. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  12583. ReleaseMenuDC methods
  12584. - Renamed ReleaseWindow to UngrabWindow
  12585. - Added proper startup notice to allow version identification
  12586. * Form.cs:
  12587. - Added missing attributes
  12588. - Removed FormParent concept
  12589. * Label.cs: Removed border_style field, now in Control
  12590. * RadioButton.cs: Now properly selects RadioButton when focus is
  12591. received
  12592. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  12593. * Control.cs:
  12594. - Added missing attributes
  12595. - Added borderstyle handling
  12596. - Removed FormParent concept support
  12597. - Fixed calls to XplatUI to match changed APIs
  12598. - Fixed bug that would case us to use disposed Graphics objects
  12599. - Removed unneeded internal methods
  12600. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  12601. - SelectNextControl(): Fixed to properly check common parents
  12602. * TextBoxBase.cs: Removed border_style field (now in Control)
  12603. * MessageBox.cs:
  12604. - Patch by Robert Thompson ([email protected]): Added icon support,
  12605. fixed calculations for form size
  12606. - Added support for localized strings and icons
  12607. - Improved form size calculations, added border
  12608. * ListView.cs: Removed border_style field (now in Control)
  12609. * X11Structs.cs: Moved several structs from X11 driver here
  12610. * X11Keyboard.cs: Changed debug message
  12611. * Application.cs: Removed FormParent concept support
  12612. * CommonDialog.cs:
  12613. - Resetting end_modal flag
  12614. - Removed FormParent concept support
  12615. * NativeWindow.cs: Removed FormParent concept support
  12616. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  12617. Client area and Non-Client whole window to allow support for WM_NC
  12618. messages
  12619. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  12620. prevent using it until it supports Hwnd as per Geoff Norton's request
  12621. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  12622. * PictureBox.cs: Removed border_style field, now in Control
  12623. * XplatUIWin32.cs: Added new driver methods
  12624. 2005-02-12 Peter Bartok <[email protected]>
  12625. * OpacityConverter.cs: Implemented
  12626. * Hwnd.cs: Internal class to support drivers that need to emulate
  12627. client area/non-client area window behaviour
  12628. 2005-02-11 Peter Bartok <[email protected]>
  12629. * KeysConverter.cs: Implemented
  12630. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  12631. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  12632. * LinkLabel: Added missing attributes
  12633. * MainMenu.cs: fixes ToString
  12634. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  12635. * ListBox.cs: fixes event position
  12636. * TrackBar.cs: adds missing attributes and events
  12637. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  12638. * MenuItem.cs: Use SystemInformation and bug fixes
  12639. * MenuAPI.cs: Use SystemInformation and bug fixes
  12640. 2005-02-09 Jackson Harper <[email protected]>
  12641. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  12642. their keystate otherwise things like VK_MENU get stuck "on".
  12643. 2005-02-09 Kazuki Oikawa <[email protected]>
  12644. * ListBox.cs: Fixes AddRange bug
  12645. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  12646. * ProgressBar.cs
  12647. - Add missing attributes
  12648. - Add missing method
  12649. * CheckedListBox.cs: Added missing attributes
  12650. - Add missing attributes
  12651. - Remove extra method
  12652. * ComboBox.cs: Added missing attributes
  12653. * VScrollBar.cs: Added missing attributes
  12654. * ScrollBar.cs: Added missing attributes
  12655. * ListBox.cs: Fixes signature, add missing consts
  12656. * LinkArea.cs: Added missing attributes
  12657. 2005-02-08 Peter Bartok <[email protected]>
  12658. * Menu.cs: Added missing attributes
  12659. * MainMenu.cs: Added missing attributes
  12660. * GroupBox.cs: Added missing attributes
  12661. * Label.cs: Added missing attributes
  12662. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  12663. * ColorDialog.cs:
  12664. - Added Instance and Options properties
  12665. - Added missing attributes
  12666. * Cursor.cs: Made Serializable
  12667. * NotifyIcon: Added missing attributes
  12668. * MenuItem.cs: Added missing attributes
  12669. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  12670. * Panel.cs: Added Missing attributes
  12671. * MonthCalendar.cs: Fixed CreateParams
  12672. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  12673. * LinkLabel.cs:
  12674. - Fixes signature
  12675. - Fixes issues with links
  12676. - Adds the class attributes
  12677. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  12678. * ComboBox.cs:
  12679. - Fixes button when no items available in dropdown
  12680. - Fixes repainting problems
  12681. - Adds the class attributes
  12682. 2005-02-07 Geoff Norton <[email protected]>
  12683. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  12684. the current theme. Cache these on startup.
  12685. 2005-02-07 Jackson Harper <[email protected]>
  12686. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  12687. the scrollbar buttons when they are depressed.
  12688. 2005-02-07 Geoff Norton <[email protected]>
  12689. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  12690. Get the display size from the main displayid. We currently dont
  12691. support multiple display configurations.
  12692. 2005-02-07 Geoff Norton <[email protected]>
  12693. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  12694. 2005-02-07 Miguel de Icaza <[email protected]>
  12695. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  12696. 2005-02-05 Jonathan Chambers <[email protected]>
  12697. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  12698. 2005-02-04 Jackson Harper <[email protected]>
  12699. * ThemeWin32Classic.cs: Respect the clipping rect when
  12700. drawing. Only fill the intersection of clips and rects so there
  12701. isn't a lot of large fills.
  12702. * ScrollBar.cs: Pass the correct clipping rect to the theme
  12703. engine. Remove some debug code.
  12704. 2005-02-05 John BouAntoun <[email protected]>
  12705. * DateTimePicker.cs:
  12706. - Fixed crash on DateTime.Parse, use Constructor instead
  12707. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  12708. * MenuItem.cs:
  12709. * MenuAPI.cs:
  12710. - Owner draw support (MeasureItem and DrawItem)
  12711. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  12712. * Menu.cs:
  12713. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  12714. - Fixes MenuItems.Add range
  12715. * MenuItem.cs:
  12716. - MergeMenu and Clone and CloneMenu functions
  12717. 2005-02-03 Jackson Harper <[email protected]>
  12718. * ScrollBar.cs: Make abstract
  12719. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  12720. is abstract.
  12721. 2005-02-03 Jackson Harper <[email protected]>
  12722. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  12723. all the unneeded refreshes and uses invalidates with properly
  12724. computed rects.
  12725. 2005-02-03 Peter Bartok <[email protected]>
  12726. * ComponentModel.cs: Added
  12727. * IDataGridEditingService.cs: Added
  12728. * Timer.cs: Added missing attributes
  12729. * ToolTip.cs: Added missing attributes
  12730. 2005-02-03 Jonathan Chambers <[email protected]>
  12731. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  12732. 2005-02-03 Peter Bartok <[email protected]>
  12733. * ListBox.cs: Added missing attributes
  12734. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  12735. * ListBox.cs:
  12736. - Fixes font height after font change
  12737. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  12738. 2005-02-02 Peter Bartok <[email protected]>
  12739. * HandleData.cs: Introduced static methods to allow class
  12740. to be more self-contained and track it's own HandleData objects
  12741. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  12742. HandleData to use new static methods
  12743. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  12744. * Combobox.cs:
  12745. - Fixes default size and PreferredHeight
  12746. - Missing events
  12747. - ObjectCollection.Insert implementation
  12748. * ListControl.cs
  12749. - Fixes signature
  12750. * ListBox.cs:
  12751. - Several fixes
  12752. - ObjectCollection.Insert implementation
  12753. - No selection after clean
  12754. - Small fixes
  12755. 2005-01-31 John BouAntoun <[email protected]>
  12756. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  12757. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  12758. * Combobox.cs:
  12759. - Caches ItemHeight calculation for OwnerDrawVariable
  12760. - Handles dropdown properly
  12761. - Fixes several minor bugs
  12762. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  12763. * ListBox.cs:
  12764. - Fixes 71946 and 71950
  12765. - Fixes changing Multicolumn on the fly
  12766. - Fixes keyboard navigation on Multicolumn listboxes
  12767. 2005-01-31 Geoff Norton <[email protected]>
  12768. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  12769. crash reporter log.
  12770. 2005-01-31 Geoff Norton <[email protected]>
  12771. * XplatUIOSX.cs: Allow applications to actually exit.
  12772. 2005-01-31 Geoff Norton <[email protected]>
  12773. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  12774. their parent at creation time rather than lazily later. Fixes a major
  12775. regression we were experiencing.
  12776. 2005-01-31 John BouAntoun <[email protected]>
  12777. * ThemeWin32Classic.cs: more date time picker painting fixes
  12778. * DateTimePicker.cs: more monthcalendar drop down fixes
  12779. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  12780. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  12781. * ScrollBar.cs:
  12782. - When moving the thumb going outside the control should stop the moving
  12783. - Adds the firing of missing events
  12784. - Fixes no button show if Size is not specified
  12785. - End / Home keys for keyboard navigation
  12786. 2005-01-30 Peter Bartok <[email protected]>
  12787. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  12788. sanity check to prevent theoretical loop
  12789. * XplatUIWin32.cs (SetVisible): Removed debug output
  12790. * XplatUIX11.cs (SystrayChange): Added sanity check
  12791. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  12792. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  12793. behaviour, valid until the X11 client window rewrite is done
  12794. * TextBox.cs (ctor): Setting proper default foreground and background
  12795. colors
  12796. 2005-01-30 John BouAntoun <[email protected]>
  12797. * Theme: Added DrawDateTimePicker to interface
  12798. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  12799. * DateTimePicker.cs: Created (still needs keys and painting code)
  12800. * DateTimePickerFormat.cs: added
  12801. * MonthCalendar.cs: fixed CreateParams for popup window mode
  12802. 2005-01-29 Peter Bartok <[email protected]>
  12803. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  12804. this should also the calculations for ligher/darker
  12805. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  12806. 2005-01-29 Peter Bartok <[email protected]>
  12807. * ArrangeDirection.cs: Added
  12808. * ArrangeStartingPositon.cs: Added
  12809. * SystemInformation.cs: Implemented
  12810. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  12811. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  12812. used by SystemInformation class
  12813. * X11Strucs.cs: Added XSizeHints structure
  12814. * MenuAPI.cs:
  12815. - Fixed CreateParams to make sure the menu window is always visible
  12816. - TrackPopupMenu: Added check to make sure we don't draw the
  12817. menu offscreen
  12818. 2005-01-29 Peter Bartok <[email protected]>
  12819. * HandleData.cs: Added method for altering invalid area
  12820. * TextBoxBase.cs: Implemented TextLength
  12821. 2005-01-28 Peter Bartok <[email protected]>
  12822. * XplatUIX11.cs: Improvement over last patch, not sending
  12823. the WM_PAINT directly anymore, instead we scroll any pending
  12824. exposed areas and let the system pick out the WM_PAINT later
  12825. 2005-01-28 Peter Bartok <[email protected]>
  12826. * SWF.csproj: Deleted, no longer used. Instead,
  12827. Managed.Windows.Forms/SWF.csproj should be used
  12828. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  12829. directly, to avoid a potential race condition with the next
  12830. scroll
  12831. 2005-01-28 Peter Bartok <[email protected]>
  12832. * XplatUI.cs: Made class internal
  12833. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  12834. * CheckedListBox.cs:
  12835. - Draw focus
  12836. - Fixed Drawing
  12837. - Missing methods and events
  12838. 2005-01-27 Peter Bartok <[email protected]>
  12839. * Application.cs (Run): Don't use form if we don't have one
  12840. 2005-01-27 Peter Bartok <[email protected]>
  12841. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  12842. 2005-01-27 Peter Bartok <[email protected]>
  12843. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  12844. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  12845. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  12846. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  12847. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  12848. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  12849. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  12850. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  12851. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  12852. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  12853. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  12854. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  12855. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  12856. * Combobox.cs:
  12857. - Draw focus on Simple Combobox
  12858. - Fixes drawing issues
  12859. - fixes 71834
  12860. 2005-01-27 Peter Bartok <[email protected]>
  12861. * Form.cs:
  12862. - Place window in default location, instead of hardcoded 0/0
  12863. - Send initial LocationChanged event
  12864. * Control.cs:
  12865. - UpdateBounds after creation to find out where the WM placed us
  12866. - Make sure that if the ParentForm changes location the Form
  12867. is notified
  12868. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  12869. to the root, but to whatever the WM placed around us.
  12870. Translate to root coordinates before returning toplevel
  12871. coordinates
  12872. * XplatUIWin32.cs: Removed debug output
  12873. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  12874. flag to GetWindowPos, to allow translation of coordinates on X11
  12875. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  12876. * ListBox.cs: connect LostFocus Event
  12877. 2005-01-27 Peter Bartok <[email protected]>
  12878. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  12879. XplatUIX11.cs: Extended the Systray API
  12880. * Form.cs: Removed debug output
  12881. * Application.cs: Fixed focus assignment, always need to call
  12882. XplatUI.Activate() since Form.Activate() has rules that may
  12883. prevent activation
  12884. * NotifyIcon.cs: Should be complete now
  12885. * ToolTip.cs: Worked around possible timer bug
  12886. 2005-01-27 Jackson Harper <[email protected]>
  12887. * TabControl.cs:
  12888. - Only invalidate the effected tabs when the
  12889. selected index changes. This reduces drawing and gets rid of some
  12890. flicker.
  12891. - Only refresh if the tabs need to be shifted, otherwise only
  12892. invalidate the slider button.
  12893. - On windows the tabs are not filled to right if the slider is
  12894. visible.
  12895. 2005-01-27 Jackson Harper <[email protected]>
  12896. * TabControl.cs: Only refresh on mouseup if we are showing the
  12897. slider. Also only invalidate the button whose state has changed.
  12898. 2005-01-26 Peter Bartok <[email protected]>
  12899. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  12900. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  12901. and SystrayRemove() methods
  12902. * XplatUIOSX.cs: Stubbed Systray methods
  12903. * XplatUIX11.cs:
  12904. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  12905. methods
  12906. - Fixed broken XChangeProperty calls (marshalling messed up things)
  12907. * X11Structs.cs: Added enums and structs required for Size hinting
  12908. * NotifyIcon.cs: Added & implemented
  12909. 2005-01-26 Jackson Harper <[email protected]>
  12910. * TabControl.cs: Space vertically layed out tabs properly.
  12911. 2005-01-26 Peter Bartok <[email protected]>
  12912. * Form.cs (CreateClientParams): Always set the location to 0,0
  12913. since we're a child window.
  12914. * Control.cs (SetVisibleCore): Always explicitly setting the location
  12915. of a toplevel window, apparently X11 doesn't like to move windows
  12916. while they're not mapped.
  12917. 2005-01-26 Jackson Harper <[email protected]>
  12918. * TabControl.cs: Implement FillToRight size mode with vertically
  12919. rendered tabs.
  12920. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  12921. * ControlPaint.cs, ThemeWin32Classic.cs
  12922. - Fixes DrawFocusRectangle
  12923. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  12924. * MenuAPI.cs:
  12925. - MenuBar tracking only starts when item is first clicked
  12926. - Fixes menu hidding for multiple subitems
  12927. - Unselect item in MenuBar when item Executed
  12928. - Fixes bug 71495
  12929. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  12930. * ListControl.cs:
  12931. - IsInputKey for ListBox
  12932. * ListBox.cs:
  12933. - Focus item
  12934. - Shift and Control item selection
  12935. - Implement SelectionMode.MultiExtended
  12936. - Fixes RightToLeft
  12937. * ComboBox.cs:
  12938. - IsInputKey implemented
  12939. - Do not generate OnTextChangedEdit on internal txt changes
  12940. 2005-01-23 Peter Bartok <[email protected]>
  12941. * AccessibleObject.cs: Partially implemented Select()
  12942. * MonthCalendar.cs: Added missing attributes and events
  12943. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  12944. form can properly override CreateParams.
  12945. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  12946. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  12947. Control performs Invalidate & Update
  12948. * NativeWindow (CreateHandle): Added special handling for Form
  12949. and Form.FormParent classes to allow overriding of From.CreateParams
  12950. * Control.cs:
  12951. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  12952. name 'owner'
  12953. - ControlNativeWindow: Added Owner property
  12954. - Removed usage of Refresh() on property changes, changed into
  12955. Invalidate(), we need to wait until the queue is processed for
  12956. updates, direct calls might cause problems if not all vars for
  12957. Paint are initialized
  12958. - Added call to UpdateStyles() when creating the window, to set any
  12959. styles that CreateWindow might have ignored.
  12960. - Added support for Form CreateParent overrides to UpdateStyles()
  12961. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  12962. CreateParams are now properly overridable
  12963. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  12964. CreateParams are now properly overridable
  12965. 2005-01-23 Miguel de Icaza <[email protected]>
  12966. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  12967. OnTextBoxChanged.
  12968. Capture LostFocus and OnTextBoxChanged. The later introduces a
  12969. recursive invocation that I have not figured out yet.
  12970. Reset the timer when not using (it was accumulating).
  12971. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  12972. user has made changes that require validation.
  12973. Reset changing to avoid loops.
  12974. 2005-01-22 Miguel de Icaza <[email protected]>
  12975. * NumericUpDown.cs: Display value at startup.
  12976. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  12977. ValidateEditText.
  12978. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  12979. filled in. Added some basic parsing of text.
  12980. Still missing the OnXXX method overrides, and figuring out the
  12981. events that must be emitted.
  12982. * UpDownBase.cs: Handle UserEdit on the Text property.
  12983. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  12984. * ComboBox.cs:
  12985. - Fixes IntegralHeight
  12986. - ToString method
  12987. 2005-01-21 Jackson Harper <[email protected]>
  12988. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  12989. is set so that the page visibility is updated and the tabs are
  12990. sized correctly.
  12991. 2005-01-21 Jackson Harper <[email protected]>
  12992. * TabControl.cs: Use cliping rectangle for blitting. Give the
  12993. theme the clipping rect so we can do clipping while
  12994. drawing. Remove some debug code.
  12995. 2005-01-21 Jackson Harper <[email protected]>
  12996. * TabPage.cs: Add a new method so tab pages can force the tab
  12997. control to recalculate the tab page sizes.
  12998. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  12999. sizes.
  13000. 2005-01-20 Jackson Harper <[email protected]>
  13001. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  13002. 2005-01-20 Jackson Harper <[email protected]>
  13003. * TreeView.cs: Set the bounds for nodes properly. They were
  13004. getting screwed up when checkboxes were not enabled, but images
  13005. were.
  13006. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  13007. * ListBox.cs:
  13008. - Owner draw support
  13009. - Fixes
  13010. 2005-01-20 Jackson Harper <[email protected]>
  13011. * XplatUIStructs.cs: More misc keys
  13012. * X11Keyboard.cs: Ignore some control keys.
  13013. 2005-01-20 Jackson Harper <[email protected]>
  13014. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  13015. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  13016. 2005-01-19 Peter Bartok <[email protected]>
  13017. * Control.cs: Un-selecting the control when it is loosing focus
  13018. 2005-01-19 Jackson Harper <[email protected]>
  13019. * TreeView.cs: Hook up to the text controls leave event so we can
  13020. end editing when the users clicks outside the text box.
  13021. 2005-01-19 Jackson Harper <[email protected]>
  13022. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  13023. get set in the conversion array.
  13024. 2005-01-19 Peter Bartok <[email protected]>
  13025. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  13026. focus is properly set
  13027. * Button.cs:
  13028. - Added missing attributes
  13029. - removed styles, those are already set in the base class
  13030. * ButtonBase.cs:
  13031. - Added missing attributes
  13032. - Added clip window styles
  13033. * CheckBox.cs: Added missing attributes
  13034. * CommonDialog.cs:
  13035. - FormParentWindow.CreateParams: Added required clip styles
  13036. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  13037. also filters modifier keys
  13038. * MessageBox.cs:
  13039. - Added assignment of Accept and Cancel button to enable Enter
  13040. and Esc keys in MessageBox dialogs
  13041. - FormParentWindow.CreateParams: Added required clip styles
  13042. * RadioButton.cs: Added missing attributes
  13043. * TextControl.cs: No longer draws selection if control does not
  13044. have focus
  13045. * TextBoxBase.cs:
  13046. - Now draws simple rectangle around test area to make it obvious
  13047. there's a control. This is a hack until we properly support borders
  13048. - A few simple fixes to support selections better, now erases selected
  13049. text when typing, and resets selection when using movement keys
  13050. 2005-01-19 Miguel de Icaza <[email protected]>
  13051. * UpDownBase.cs: Added some new properties.
  13052. * DomainUpDown.cs: Implement a lot to get my test working.
  13053. 2005-01-19 Geoff Norton <[email protected]>
  13054. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  13055. 2005-01-19 Geoff Norton <[email protected]>
  13056. * OSXStructs (WindowAttributes): Fixed csc complaints
  13057. 2005-01-19 Geoff Norton <[email protected]>
  13058. * XplayUIOSX.cs:
  13059. OSXStructs.cs: Initial refactor to move enums and consts into
  13060. OSXStructs and use them in the driver for greater readability.
  13061. 2005-01-19 Geoff Norton <[email protected]>
  13062. * XplatUIOSX.cs: Initial support for Standard Cursors.
  13063. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  13064. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  13065. * ComboBox.cs: ability to change style when the ctrl is already
  13066. created, missing methods and events, bug fixes, signature fixes
  13067. 2005-01-19 Peter Bartok <[email protected]>
  13068. * Cursors.cs (ctor): Added ctor to fix signature
  13069. 2005-01-18 Peter Bartok <[email protected]>
  13070. * Button.cs: Implemented DoubleClick event
  13071. * ButtonBase.cs:
  13072. - Fixed keyboard handling to behave like MS, where the press of
  13073. Spacebar is equivalent to a mousedown, and the key release is
  13074. equivalent to mouseup. Now a spacebar push will give the same
  13075. visual feedback like a mouse click.
  13076. - Added missing attributes
  13077. - Added ImeModeChanged event
  13078. - Added support for generating DoubleClick event for derived classes
  13079. * CheckBox.cs:
  13080. - Implemented DoubleClick event
  13081. - Added missing attributes
  13082. * CommonDialog.cs: Added missing attribute
  13083. * ContextMenu.cs: Added missing attributes
  13084. * RadioButton.cs:
  13085. - AutoChecked buttons do not allow to be unselected when clicked
  13086. (otherwise we might end up with no selected buttons in a group)
  13087. - Added missing attributes
  13088. - Implemented DoubleClickEvent
  13089. * ThreadExceptionDialog.cs: Enabled TextBox code
  13090. 2005-01-18 Peter Bartok <[email protected]>
  13091. * Form.cs: Removed debug output
  13092. * Button.cs: Added support for DoubleClick method
  13093. 2005-01-18 Peter Bartok <[email protected]>
  13094. * Form.cs:
  13095. - Added method to parent window that allows triggering size
  13096. calculations when a menu is added/removed
  13097. - set_Menu: Cleaned up mess from early days of Form and Control,
  13098. now properly triggers a recalc when a menu is added/removed
  13099. - Added case to select form itself as focused form if no child
  13100. controls exist
  13101. - Added PerformLayout call when showing dialog, to ensure properly
  13102. placed controls
  13103. * Control.cs:
  13104. - Select(): Made internal so Form can access it
  13105. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  13106. status
  13107. * Application.cs (Run): Removed hack and calls PerformLayout instead
  13108. to trigger calculation when Form becomes visible
  13109. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  13110. * ComboBox.cs: fixes for ownerdraw
  13111. 2005-01-18 Peter Bartok <[email protected]>
  13112. * TextControl.cs:
  13113. - Sentinel is no longer static, each Document gets it's own, this
  13114. avoids locking or alternatively overwrite problems when more
  13115. than one text control is used simultaneously.
  13116. - Switched to use Hilight and HilightText brushes for text selection
  13117. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  13118. 2005-01-18 Peter Bartok <[email protected]>
  13119. * Control.cs:
  13120. - Hooked up the following events:
  13121. o ControlAdded
  13122. o ControlRemoved
  13123. o HandleDestroyed
  13124. o ImeModeChanged
  13125. o ParentChanged
  13126. o TabStopChanged
  13127. o Invalidated
  13128. o SystemColorsChanged
  13129. o ParentFontChanged
  13130. o Move
  13131. - Removed debug output
  13132. - Added a call to the current theme's ResetDefaults when a color change
  13133. is detected
  13134. * Form.cs: Now setting the proper ImeMode
  13135. * Theme.cs: Defined a method to force recreation of cached resources
  13136. and rereading of system defaults (ResetDefaults())
  13137. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  13138. 2005-01-17 Peter Bartok <[email protected]>
  13139. * Control.cs: Added missing attributes
  13140. 2005-01-17 Jackson Harper <[email protected]>
  13141. * TreeNode.cs: Implement editing. Add missing properties selected
  13142. and visible.
  13143. * TreeView.cs: Implement node editing. Also some fixes to use
  13144. Invalidate (invalid area) instead of Refresh when selecting.
  13145. 2005-01-17 Peter Bartok <[email protected]>
  13146. * Control.cs:
  13147. - Implemented InvokeGotFocus() method
  13148. - Implemented InvokeLostFocus() method
  13149. - Implemented InvokePaint() method
  13150. - Implemented InvokePaintBackground() method
  13151. - Implemented InvokeClick() method
  13152. - Implemented FindForm() method
  13153. - Implemented RectangleToClient() method
  13154. - Implemented ClientToRectangle() method
  13155. - Implemented ResetBackColor() method
  13156. - Implemented ResetCursor() method
  13157. - Implemented ResetFont() method
  13158. - Implemented ResteForeColor() method
  13159. - Implemented ResetImeMode() method
  13160. - Implemented ResetLeftToRight() method
  13161. - Implemented ResetText() method
  13162. - Implemented Scale() methods
  13163. - Implemented ScaleCore() method
  13164. - Implemented Update() method
  13165. - Removed unused variables
  13166. - Stubbed AccessibilityNotifyClients and
  13167. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  13168. with those yet)
  13169. - Now setting proper default for RightToLeft property
  13170. - Fixed bug in SetClientSizeCore that would cause windows to get
  13171. really big
  13172. - Now sending Click/DoubleClick events
  13173. - Now selecting controls when left mouse button is clicked on
  13174. selectable control
  13175. * AccessibleEvents.cs: Added
  13176. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  13177. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  13178. * XplatUIWin32.cs: Implemented UpdateWindow() method
  13179. * XplatUIX11.cs: Implemented UpdateWindow() method
  13180. * Form.cs: Removed stray semicolon causing CS0162 warning
  13181. * ThemeWin32Classic.cs: Fixed unused variable warnings
  13182. * ScrollableControl.cs: Now calls base method for ScaleCore
  13183. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  13184. style to avoid interference with internal click handler (which is
  13185. different than standard Control click handling)
  13186. * RadioButton.cs:
  13187. - Now unchecks all sibling radio buttons when control is
  13188. selected (Fixes #68756)
  13189. - Removed internal tabstop variable, using the one inherited from
  13190. Control
  13191. 2005-01-17 Jackson Harper <[email protected]>
  13192. * NavigateEventArgs.cs: Fix base type.
  13193. * LinkLabel.cs: Sig fix
  13194. 2005-01-17 Jackson Harper <[email protected]>
  13195. * TreeView.cs: Only invalidate the effected nodes bounds when
  13196. selecting nodes.
  13197. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  13198. * XplatUIWin32.cs: fixes Win32 marshaling
  13199. * XplatUIX11.cs: fixes method signature
  13200. 2005-01-17 Peter Bartok <[email protected]>
  13201. * XplatUIX11.cs: Clean up resources when we no longer need them
  13202. 2005-01-17 Peter Bartok <[email protected]>
  13203. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  13204. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  13205. and DestroyCursor() methods.
  13206. * Cursor.cs: Partially implemented, now supports standard cursors;
  13207. still contains some debug code
  13208. * Cursors.cs: Implemented class
  13209. * Control.cs:
  13210. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  13211. appropriate cursor
  13212. - Implemented Cursor property
  13213. - Replaced break; with return; more straightforwar and possibly
  13214. faster
  13215. - Now properly setting the result for WM_HELP
  13216. * X11Structs.cs: Added CursorFontShape enum
  13217. * XplatUIStructs.cs:
  13218. - Added StdCursor enum (to support DefineStdCursor() method)
  13219. - Added HitTest enum (to support sending WM_SETCURSOR message)
  13220. * XplatUIX11.cs:
  13221. - Now sends the WM_SETCURSOR message
  13222. - Implemented new cursor methods
  13223. * XplatUIOSX.cs: Stubbed new cursor methods
  13224. * XplatUIWin32.cs:
  13225. - Implemented new cursor methods
  13226. - Added GetSystemMetrics function and associated enumeration
  13227. 2005-01-15 Peter Bartok <[email protected]>
  13228. * Control.cs:
  13229. - WndProc(): Now handles EnableNotifyMessage
  13230. - SelectNextControl(): Fixed bug where if no child or sibling
  13231. controls exist we looped endlessly
  13232. 2005-01-14 Jackson Harper <[email protected]>
  13233. * TreeView.cs: Recalculate the tab pages when a new one is added
  13234. so that the proper bounding rects are created.
  13235. 2005-01-14 Jackson Harper <[email protected]>
  13236. * TreeView.cs: Draw a gray box instead of a grip in the lower
  13237. right hand corner when there are both horizontal and vertical
  13238. scroll bars.
  13239. 2005-01-14 Jackson Harper <[email protected]>
  13240. * Control.cs: When erasing backgrounds use FromHwnd instead of
  13241. FromHdc when there is a NULL wparam. This occurs on the X driver.
  13242. * XplatUIX11.cs: Set the wparam to NULL.
  13243. 2005-01-13 Jackson Harper <[email protected]>
  13244. * PictureBox.cs: Implement missing methods (except ToString, need
  13245. to test that on windows) and events. When visibility is changed we
  13246. need to redraw the image because the buffers are killed. When size
  13247. is changed refresh if the sizemode needs it.
  13248. 2005-01-13 Peter Bartok <[email protected]>
  13249. * Control.cs (SelectNextControl): Was using wrong method to select
  13250. a control
  13251. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  13252. * ComboBox.cs: fixes dropstyle
  13253. 2005-01-13 Peter Bartok <[email protected]>
  13254. * Form.cs:
  13255. - Implemented Select() override
  13256. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  13257. - Now sets keyboard focus on startup
  13258. * Control.cs (SelectNextControl): Now properly handles directed=true
  13259. * TextBoxBase.cs:
  13260. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  13261. - Added (really bad) focus rectangle (mostly for testing)
  13262. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  13263. to enforce redraw on focus changes
  13264. * ContainerControl.cs:
  13265. - Fixed detection of Shift-Tab key presses
  13266. - Fixed traversal with arrow keys
  13267. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  13268. gonna keep this or if it's complete yet
  13269. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  13270. * ComboBox.cs: missing properties, fixes
  13271. 2005-01-13 Peter Bartok <[email protected]>
  13272. * Panel.cs (ctor): Setting Selectable window style to off
  13273. * Splitter.cs (ctor): Setting Selectable window style to off
  13274. * GroupBox.cs (ctor): Setting Selectable window style to off
  13275. * Label.cs (ctor): Setting Selectable window style to off
  13276. 2005-01-12 Miguel de Icaza <[email protected]>
  13277. * UpDownBase.cs (InitTimer): If the timer has been already
  13278. created, enable it.
  13279. Use a TextBox instead of a Label.
  13280. 2005-01-12 Jackson Harper <[email protected]>
  13281. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  13282. draw the connecting node lines (when ShowLines is true).
  13283. * TreeNode.cs: The nodes index can now be updated. This is used
  13284. when a node collection is sorted.
  13285. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  13286. insert or an existing unsorted node collection can be sorted.
  13287. 2005-01-12 Peter Bartok <[email protected]>
  13288. * ContainerControl.cs: Implemented ProcessDialogKeys()
  13289. 2005-01-12 Peter Bartok <[email protected]>
  13290. * Control.cs:
  13291. - Implemented SelectNextControl() method
  13292. - Several focus related bug fixes
  13293. - Fixed Docking calculations to match MS documentation and
  13294. behaviour
  13295. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  13296. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  13297. bug fixes
  13298. 2005-01-12 Peter Bartok <[email protected]>
  13299. * Control.cs:
  13300. - Fixed broken Contains() method
  13301. - Implemented GetNextControl() method. Finally. This is the pre-
  13302. requisite for focus handling.
  13303. 2005-01-12 Peter Bartok <[email protected]>
  13304. * OSXStrucs.cs: Added
  13305. 2005-01-12 Peter Bartok <[email protected]>
  13306. * XplatUIWin32.cs:
  13307. - Removed PeekMessageFlags
  13308. - Implemented SetWindowStyle() method
  13309. * XplatUIStructs.cs: Added PeekMessageFlags
  13310. * X11Structs: Added missing border_width field to XWindowChanges struct
  13311. * XplatUIX11.cs:
  13312. - PeekMessage: Now throws exception if flags which are not yet
  13313. supported are passed
  13314. - Implemented SetWindowStyle() method
  13315. - Fixed SetZOrder to handle AfterHwnd properly
  13316. * XplatUI.cs: Added SetWindowStyle() method
  13317. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  13318. * Control.cs:
  13319. - Implemented UpdateStyles() method
  13320. - Implemented UpdateZOrder() method
  13321. * XplatUIOSX.cs: Added SetWindowStyle() stub
  13322. 2005-01-12 Geoff Norton <[email protected]>
  13323. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  13324. button mouse).
  13325. 2005-01-11 Jackson Harper <[email protected]>
  13326. * TreeView.cs: Still need to draw lines to siblings even if out of
  13327. the current node is out of the clip.
  13328. 2005-01-11 Jackson Harper <[email protected]>
  13329. * TreeView.cs: When setting the hbar/vbar/grip position use
  13330. SetBounds so that perform layout is only called once. Also suspend
  13331. and resume layout so layout is only done once for all controls.
  13332. - Removed some debug fluff
  13333. * SizeGrip.cs: Call base implmentation in overriding methods.
  13334. - When visibility is changed the drawing buffers are killed so we
  13335. need to redraw.
  13336. 2005-01-11 Jackson Harper <[email protected]>
  13337. * TreeView.cs: Calculate the open node count while drawing. This
  13338. saves us an entire tree traversal for every paint operation. Use
  13339. a member var for the open node count so less vars are passed around.
  13340. 2005-01-11 John BouAntoun <[email protected]>
  13341. * MonthCalendar.cs:
  13342. - fixed selection to use mousemove, not mouse polling on timer
  13343. * ThemeWin32Classic.cs
  13344. - removed redundant unused variable "no_more_content"
  13345. 2005-01-11 Peter Bartok <[email protected]>
  13346. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  13347. are pending, so it now calls PeekMessage instead of GetMessage;
  13348. implemented a incomplete version of PeekMessage
  13349. 2005-01-11 Peter Bartok <[email protected]>
  13350. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  13351. I18n issues
  13352. * TextBoxBase.cs: Added sending of TextChanged event
  13353. 2005-01-10 Jackson Harper <[email protected]>
  13354. * TreeView.cs: Try not to draw outside the clipping rectangle on
  13355. each node element.
  13356. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  13357. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  13358. 2005-01-10 Jackson Harper <[email protected]>
  13359. * TreeView.cs:
  13360. - Implement fast scrolling. Now only the newly
  13361. exposed nodes are drawn and the old image is moved using the
  13362. XplatUI::ScrollWindow method.
  13363. - Factor in height of nodes when calculating whether or not the
  13364. node is in the clipping rect.
  13365. 2005-01-10 Jackson Harper <[email protected]>
  13366. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  13367. 2005-01-10 Peter Bartok <[email protected]>
  13368. * Application.cs: Added temporary hack to resolve all our resize
  13369. required issues on startup. This will get fixed properly at
  13370. some point in the future
  13371. 2005-01-10 Jackson Harper <[email protected]>
  13372. * SizeGrip.cs: New internal class that is used as a sizing
  13373. grip control...hence the name.
  13374. 2005-01-10 Peter Bartok <[email protected]>
  13375. * Control.cs: Implemented proper TabIndex handling, now assigning
  13376. a tabindex when a control is added to a container
  13377. * GroupBox.cs (ctor): Now sets the Container style bit, required
  13378. for Control.GetNextControl()
  13379. 2005-01-09 Jackson Harper <[email protected]>
  13380. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  13381. 2005-01-09 Peter Bartok <[email protected]>
  13382. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  13383. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  13384. an overload for ScrollWindow to allow only scrolling a rectangle
  13385. 2005-01-09 Peter Bartok <[email protected]>
  13386. * Form.cs:
  13387. - Implemented SetDesktopBounds method
  13388. - Implemented SetDesktopLocation method
  13389. 2005-01-08 Jackson Harper <[email protected]>
  13390. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  13391. the node count has changed, this removes to VScroll::Refresh calls
  13392. when drawing.
  13393. 2005-01-08 Geoff Norton <[email protected]>
  13394. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  13395. 2005-01-07 Jackson Harper <[email protected]>
  13396. * TreeNode.cs: Just update the single node when it is
  13397. checked. Don't refresh after toggling, the Expand/Collapse already
  13398. handles this.
  13399. * TreeView.cs: Respect clipping a little more when drawing. Try
  13400. not to redraw things that don't need to be redrawn. Just hide the
  13401. scrollbars when they are no longer needed instead of removing
  13402. them, so they don't have to be created again and again.
  13403. 2005-01-07 Geoff Norton <[email protected]>
  13404. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  13405. coordinates to window space to place the caret properly, FIXED.
  13406. Implement GetWindowState & SetWindowState
  13407. 2005-01-06 Peter Bartok <[email protected]>
  13408. * Form.cs:
  13409. - Implemented ClientSize property
  13410. - Implemented DesktopBounds property
  13411. - Implemented DesktopLocation property
  13412. - Implemented IsRestrictedWindow property
  13413. - Implemented Size property
  13414. - Implemented TopLevel property
  13415. - Implemented FormWindowState property
  13416. * Control.cs:
  13417. - Implemented GetTopLevel() method
  13418. - Implemented SetTopLevel() method
  13419. * X11Structs.cs (Atom):
  13420. - Added AnyPropertyType definition
  13421. - Added MapState definiton and updated XWindowAttribute struct
  13422. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  13423. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  13424. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  13425. * XplatUIWin32.cs:
  13426. - Implemented GetWindowState() and SetWindowState() methods
  13427. - Fixed Win32GetWindowLong return type
  13428. * XplatUIX11.cs:
  13429. - Introduced central function for sending NET_WM messages
  13430. - Implemented GetWindowState() and SetWindowState() methods
  13431. * TextBoxBase.cs (set_Lines):
  13432. - Now uses Foreground color for text added via Text property (Duh!)
  13433. - Added code to remember programmatically requested size (fixes
  13434. behaviour when Multiline is set after Size)
  13435. - Added AutoSize logic
  13436. 2005-01-06 Jackson Harper <[email protected]>
  13437. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  13438. 2005-01-06 Jackson Harper <[email protected]>
  13439. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  13440. set to less then 0.
  13441. 2005-01-06 Jackson Harper <[email protected]>
  13442. * ScrollableControl.cs: Lazy init the scrollbars.
  13443. 2005-01-06 Jackson Harper <[email protected]>
  13444. * Theme.cs: Speed up getting pens and solid brushes, by using
  13445. their ARGB as a hash instead of tostring and not calling Contains.
  13446. 2005-01-06 Peter Bartok <[email protected]>
  13447. * Form.cs:
  13448. - Implemented OnActivated and OnDeactivate event trigger
  13449. - Implemented Activate() method
  13450. - Fixed ShowDialog() to activate the form that was active before
  13451. the dialog was shown
  13452. * XplatUIX11.cs:
  13453. - Added global active_window var that tracks the currently active
  13454. X11 window
  13455. - Now always grabs Property changes from the root window to always
  13456. catch changes on the active window property
  13457. - Added code to PropertyNotify handler to send Active/Inactive
  13458. messages when state changes. This puts X11 and Win32 en par on
  13459. WM_ACTIVATE notifications (except for double notifications when
  13460. the user clicks away from our modal window to another one of our
  13461. windows)
  13462. 2005-01-05 Jackson Harper <[email protected]>
  13463. * ImageList.cs: Implment ctor
  13464. 2005-01-05 Geoff Norton <[email protected]>
  13465. * XplatUIOSX.cs: Implement Activate/SetTopmost
  13466. 2005-01-05 Geoff Norton <[email protected]>
  13467. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  13468. 2005-01-05 Geoff Norton <[email protected]>
  13469. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  13470. 2005-01-05 Peter Bartok <[email protected]>
  13471. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  13472. XplatUIOSX.cs: Added GetActive method to return the currently
  13473. active window for the application (or null, if none is active)
  13474. * Form.cs:
  13475. - Implemented ActiveForm
  13476. - Commented out owner assignment for modal dialogs (causes problems
  13477. on Win32, since the owner will be disabled)
  13478. - Reworked some Active/Focus handling (still incomplete)
  13479. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  13480. (causes problems on Win32, since the owner will be disabled)
  13481. * IWin32Window: Added ComVisible attribute
  13482. 2005-01-05 Peter Bartok <[email protected]>
  13483. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  13484. required XplatUI functions.
  13485. 2005-01-05 Peter Bartok <[email protected]>
  13486. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  13487. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  13488. to implement focus and activation handling; still incomplete and
  13489. with debug output
  13490. 2005-01-04 Peter Bartok <[email protected]>
  13491. * TextBoxBase.cs: Changed access level for Document property to
  13492. match switch to internal for TextControl
  13493. 2005-01-04 Peter Bartok <[email protected]>
  13494. * AccessibleObject: Added ComVisible attribute
  13495. 2005-01-04 Jackson Harper <[email protected]>
  13496. * X11Keyboard.cs: Remove unneeded var.
  13497. 2005-01-04 Jackson Harper <[email protected]>
  13498. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  13499. but PAINT.
  13500. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  13501. ClientMessage. This makes apps exit cleanly (more often).
  13502. 2005-01-04 Jackson Harper <[email protected]>
  13503. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  13504. handling focus, return correct colors and fonts,
  13505. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  13506. handle selection, horizontal scrolling, and mouse interaction.
  13507. 2005-01-04 Peter Bartok <[email protected]>
  13508. * ICommandExecutor.cs: Added
  13509. * IDataGridColumnStyleEditingNotificationService.cs: Added
  13510. * IFeatureSupport.cs: Added
  13511. * IFileReaderService.cs: Added
  13512. * IDataObject.cs: Added ComVisible attribute
  13513. * AmbientProperties.cs: Added
  13514. * BaseCollection.cs: Added missing attributes
  13515. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  13516. * BaseCollection.cs: Added missing attributes
  13517. * Binding.cs: Added TypeConverter attribute
  13518. * BindingContext.cs: Added DefaultEvent attribute
  13519. * BindingsCollection.cs: Added DefaultEvent attribute
  13520. * Button.cs: Added DefaultValue attribute
  13521. * DragEventArgs.cs: Added ComVisible attribute
  13522. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  13523. * KeyEventArgs.cs: Added ComVisible attribute
  13524. * KeyPressEventArgs.cs: Added ComVisible attribute
  13525. * MouseEventArgs.cs: Added ComVisible attribute
  13526. * NavigateEventArgs.cs: Added
  13527. * NavigateEventHandler.cs: Added
  13528. * FeatureSupport.cs: Added
  13529. * OSFeature.cs: Added
  13530. * Theme.cs: Added abstract Version property to support OSFeature
  13531. * ThemeWin32Classic.cs: Added Version property to
  13532. support OSFeature.Themes
  13533. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  13534. the proper styles to avoid background drawing are set, also doesn't
  13535. match MS signature
  13536. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  13537. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  13538. * ScrollEventArgs.cs: Added ComVisible attribute
  13539. * SplitterEventArgs.cs: Added ComVisible attribute
  13540. * AccessibleSelection.cs: Added Flags attribute
  13541. * Appearance.cs: Added ComVisible attribute
  13542. * Border3DSide.cs: Added ComVisible attribute
  13543. * Border3DStyle.cs: Added ComVisible attribute
  13544. * BorderStyle.cs: Added ComVisible attribute
  13545. * DragAction.cs: Added ComVisible attribute
  13546. * ErrorBlinkStyle.cs: Added
  13547. * ScrollEventType.cs: Added ComVisible attribute
  13548. * AnchorStyles.cs: Added Editor attribute
  13549. * DockStyle.cs: Added Editor attribute
  13550. * HorizontalAlignment.cs: Added ComVisible attribute
  13551. * HelpEventArgs.cs: Added ComVisible attribute
  13552. * PaintEventArgs.cs: Added IDisposable
  13553. 2005-01-04 Peter Bartok <[email protected]>
  13554. * TextControl.cs: Switched Line, LineTag and Document classes to
  13555. internal
  13556. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  13557. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  13558. Simple mode, fixes, IntegralHeight, etc.
  13559. 2005-01-04 Peter Bartok <[email protected]>
  13560. * TextBoxBase.cs: Using proper font variable now
  13561. 2005-01-04 Peter Bartok <[email protected]>
  13562. * Form.cs (ShowDialog): Set parent to owner, if provided
  13563. * GroupBox.cs: Removed unused vars
  13564. * TextControl.cs:
  13565. - Added GetHashCode() for Document and LineTag classes
  13566. - Removed unused variables
  13567. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  13568. to allow translation between continuous char position and line/pos
  13569. * CheckBox.cs: Removed vars that are provided by base class
  13570. * RadioButton.cs: Removed vars that are provided by base class, added
  13571. new keyword where required
  13572. * LinkLabel.cs: Added new keyword where required
  13573. * Control.cs (WndProc): Removed unused variable
  13574. * TextBoxBase.cs:
  13575. - Finished SelectionLength property
  13576. - Implemented SelectionStart property
  13577. - Implemented Text property
  13578. - Removed unused vars
  13579. * MessageBox.cs: Added new keyword where required
  13580. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  13581. WndProc signature
  13582. * MenuAPI.cs: Added new keyword where required
  13583. * ButtonBase.cs: Removed vars that are provided by base class, added
  13584. new keyword where required
  13585. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  13586. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  13587. into this)
  13588. * Application.cs (Run): Now triggers the ThreadExit event
  13589. * CommonDialog.cs: Added new keyword where required; now properly sets
  13590. parent (owner) for dialog
  13591. * XplatUIX11.cs: Commented out unused vars
  13592. * StatusBar.cs: Fixed signature for Text property
  13593. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  13594. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  13595. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  13596. TrackBar.cs, MonthCalendar.cs: remove unused vars
  13597. 2005-01-03 Jackson Harper <[email protected]>
  13598. * ThemeWin32Classic.cs:
  13599. * X11Keyboard.cs: Remove unused vars.
  13600. 2005-01-03 Peter Bartok <[email protected]>
  13601. * TextBox.cs:
  13602. - set_Text: Tied into TextControl
  13603. - set_TextAlignment: Tied into TextControl
  13604. * TextControl.cs:
  13605. - Added alignment properties and implemented alignment handling
  13606. and drawing (still has a bug, not generating proper expose events)
  13607. - Added new Line() constructor to allow passing the line alignment
  13608. - Fixed selection setting, properly handling end<start now
  13609. - Added aligment considerations to RecalculateDocument()
  13610. * TextBoxBase.cs:
  13611. - Now properly enforces control height for single line controls
  13612. - Added support for CharacterCasing
  13613. - Added IsInputKey override
  13614. - Fixed Keys.Enter logic
  13615. - Added SetBoundsCore override
  13616. - Fixed mouse selection handling
  13617. 2005-01-03 Jackson Harper <[email protected]>
  13618. * TreeView.cs:
  13619. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  13620. - Checkboxes are always aligned to the bottom of the node,
  13621. regardless of item height.
  13622. - Use the node bounds to draw the text so we can center it when
  13623. the item height is greater then the font height.
  13624. - Node::Bounds are only the text part of the node.
  13625. * TreeNode.cs: New method to combine collapsing and unchecking all
  13626. nodes recursively.
  13627. 2005-01-02 Jackson Harper <[email protected]>
  13628. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  13629. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  13630. tree when a check is changed. TODO: Only refresh the checked node.
  13631. 2004-12-30 Jackson Harper <[email protected]>
  13632. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  13633. * TreeNode.cs: When collapsing make sure to never collapse the
  13634. root node.
  13635. 2004-12-29 Jackson Harper <[email protected]>
  13636. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  13637. 2004-12-28 Zoltan Varga <[email protected]>
  13638. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  13639. 2004-12-28 Peter Bartok <[email protected]>
  13640. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  13641. not yet assigned
  13642. 2004-12-28 Peter Bartok <[email protected]>
  13643. * Control.cs (WndProc): Added WM_HELP handler, now generates
  13644. HelpRequested event
  13645. * Form.cs: Added HelpButton property and required support code
  13646. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  13647. 2004-12-28 Peter Bartok <[email protected]>
  13648. * CommonDialog.cs:
  13649. - Made DialogForm.owner variable internal
  13650. - Added check to ensure owner form is set before setting
  13651. owner properties in CreateParams
  13652. 2004-12-28 Geoff Norton <[email protected]>
  13653. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  13654. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  13655. GetCursorPos. Fix major visibility issues. Rework the windowing
  13656. system to support borderless/titleless windows (implements menus).
  13657. Fix GetWindowPos. Implement initial background color support for
  13658. views.
  13659. 2004-12-28 Peter Bartok <[email protected]>
  13660. * Form.cs (get_CreateParams): Make sure we have an owner before using
  13661. the owner variable. Implement proper default if no owner exists
  13662. 2004-12-28 Peter Bartok <[email protected]>
  13663. * In preparation for making Managed.Windows.Forms the default build target
  13664. for System.Windows.Forms, the following stubbed files were added.
  13665. Dialogs are currently being implemented by contributors and are only
  13666. short-term place holders.
  13667. * ColorDialog.cs: Initial check-in (minmal stub)
  13668. * DataGrid.cs: Initial check-in (minimal stub)
  13669. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  13670. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  13671. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  13672. * FontDialog.cs: Initial check-in (minimal stub)
  13673. * FileDialog.cs: Initial check-in (minimal stub)
  13674. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  13675. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  13676. * OpenFileDialog: Initial check-in (minimal stub)
  13677. * IComponentEditorPageSite.cs: Initial check-in
  13678. * Splitter.cs: Initial check-in (for Jackson)
  13679. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  13680. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  13681. * TextBox.cs: Initial check-in; still needs some wiring to
  13682. TextControl backend
  13683. * Form.cs: Implemented ControlBox property
  13684. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  13685. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  13686. * TextControl.cs: Added selection functionality; added todo header
  13687. * TextBoxBase.cs:
  13688. - Implemented Lines property
  13689. - Implemented TextHeight property
  13690. - Implemented SelectedText property
  13691. - Implemented SelectionLength property
  13692. - Implemented SelectAll method
  13693. - Implemented ToString method
  13694. - Removed and cleaned up some debug code
  13695. - Implemented (still buggy) mouse text selection
  13696. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  13697. * ComboBox.cs: Complete DropDownList implementation, fixes.
  13698. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  13699. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  13700. * ComboBoxStyle.cs: ComboBoxStyle enum
  13701. * ComboBox.cs: Initial work on ComboBox control
  13702. 2004-12-21 Peter Bartok <[email protected]>
  13703. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  13704. forward so that anything that creates a window gets the default,
  13705. also no longer uses Visible property in CreateParams to avoid
  13706. walking up the parent chain and possibly get the wrong visible
  13707. status. Fixed IsVisible to no longer walk up to the parent.
  13708. 2004-12-21 Peter Bartok <[email protected]>
  13709. * Form.cs (ShowDialog): Unset modality for the proper window
  13710. 2004-12-20 Peter Bartok <[email protected]>
  13711. * CommonDialog.cs: Initial check-in
  13712. 2004-12-20 Peter Bartok <[email protected]>
  13713. * Control.cs (Visible): Now uses the parent window instead of the
  13714. client area window for the property
  13715. * Form.cs
  13716. - ShowDialog(): Now uses the proper window for modality
  13717. - The default visibility state for the form parent is now false. This
  13718. will prevent the user from seeing all the changes to the form and
  13719. its controls before the application hits Application.Run()
  13720. - Removed some stale commented out code
  13721. * NativeWindow.cs:
  13722. - Added FindWindow() method to have a method to check for existence
  13723. of a window handle
  13724. - Added ability to override default exception handling (for example
  13725. when debugging with VS.Net; to do this the ExternalExceptionHandler
  13726. define must be set
  13727. - Removed some useless debug output
  13728. * XplatUIX11.cs:
  13729. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  13730. not working as expected
  13731. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  13732. property to allow switching back to the modal window if focus is
  13733. given to another one of our windows (Application Modal)
  13734. - Now only sets override_redirect if we create a window
  13735. without WS_CAPTION
  13736. - Moved EventMask selection before mapping of newly created window
  13737. so we can catch the map event as well
  13738. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  13739. - Added various Atom related DllImports
  13740. - Implemented Exit() method
  13741. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  13742. in the CreateParams
  13743. * MessageBox.cs: Now properly deals with the FormParent window by
  13744. providing an override the FormParent CreateParams property to
  13745. set as POPUP instead of OVERLAPPED window.
  13746. 2004-12-19 Geoff Norton <[email protected]>
  13747. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  13748. Minor code cleanup.
  13749. 2004-12-19 Geoff Norton <[email protected]>
  13750. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  13751. 2004-12-18 Peter Bartok <[email protected]>
  13752. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  13753. implementing SetModal() method
  13754. 2004-12-18 Peter Bartok <[email protected]>
  13755. * X11Structs.cs (XGCValues): Fixed type of function element
  13756. * XplatUI.cs: Added ScrollWindow() method
  13757. * XplatUIDriver.cs: Added ScrollWindow() abstract
  13758. * XplatUIWin32.cs: Implemented ScrollWindow() method
  13759. * XplatUIX11.cs: Implemented ScrollWindow() method
  13760. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  13761. 2004-12-17 Geoff Norton <[email protected]>
  13762. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  13763. Some more keyboard support (INCOMPLETE)
  13764. 2004-12-17 Peter Bartok <[email protected]>
  13765. * TextControl.cs:
  13766. - Added color attribute to line tags.
  13767. - Added color argument to all functions dealing with tags
  13768. - Added color argument support to various functions
  13769. - Fixed miss-calculation of baseline/shift in certain circumstances
  13770. * TextBoxBase.cs: Added new color option to test code
  13771. 2004-12-17 Jackson Harper <[email protected]>
  13772. * TreeNode.cs:
  13773. * MonthCalendar.cs: Signature fixes
  13774. 2004-12-17 Geoff Norton <[email protected]>
  13775. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  13776. keyboard event moved it. Create a new graphics context for each paint resolves this
  13777. 2004-12-17 Geoff Norton <[email protected]>
  13778. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  13779. Make caret exist and go blink blink. Initial keyboard support.
  13780. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  13781. works.
  13782. 2004-12-17 Jackson Harper <[email protected]>
  13783. * XplatUIStructs.cs: Updated set of virtual keycodes.
  13784. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  13785. 2004-12-17 Jackson Harper <[email protected]>
  13786. * XplatUIX11.cs: Prune old keyboard code.
  13787. 2004-12-17 Jackson Harper <[email protected]>
  13788. * XplatUIX11.cs: When generating mouse wparams get the modifier
  13789. keys from the ModifierKeys property.
  13790. 2004-12-17 Jackson Harper <[email protected]>
  13791. * X11Keyboard.cs: Send up/down input when generating
  13792. messages. Remove some unused vars.
  13793. 2004-12-17 Jackson Harper <[email protected]>
  13794. * TabControl.cs:
  13795. * TreeView.cs: get rid of warnings.
  13796. 2004-12-17 Jackson Harper <[email protected]>
  13797. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  13798. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  13799. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  13800. CheckedListBox.cs: Implementation
  13801. 2004-12-17 Peter Bartok <[email protected]>
  13802. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  13803. 2004-12-16 Peter Bartok <[email protected]>
  13804. * TextControl.cs:
  13805. - InsertCharAtCaret(): Fixed start pos fixup
  13806. - CaretLine_get: No longer derives the line from the tag, the tag
  13807. could be stale if lines in the document have been added or deleted
  13808. - RebalanceAfterDelete(): Fixed bug in balancing code
  13809. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  13810. - Line.Streamline(): Now can also elminate leading empty tags
  13811. - DumpTree(): Added a few more tests and prevented exception on
  13812. uninitialized data
  13813. - Added Debug section for Combining lines
  13814. - Delete(): Now copies all remaining properties of a line
  13815. * TextBoxBase.cs:
  13816. - Left mousebutton now sets the caret (and middle button still acts
  13817. as formatting tester, which must go away soon)
  13818. - Added Debug section for Deleting/Combining lines
  13819. - Fixed calculations for UpdateView after Combining lines
  13820. 2004-12-16 Peter Bartok <[email protected]>
  13821. * TextControl.cs: Now properly aligns text on a baseline, using the
  13822. new XplatUI.GetFontMetrics() method. Simplified several calculations
  13823. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  13824. defined
  13825. 2004-12-16 Peter Bartok <[email protected]>
  13826. * XplatUI.cs: Added GetFontMetrics() method
  13827. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  13828. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  13829. into libgdiplus, our private GetFontMetrics function
  13830. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  13831. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  13832. 2004-12-16 Jackson Harper <[email protected]>
  13833. * XplatUIStruct.cs: Add enum for dead keys
  13834. * X11Keyboard.cs: Map and unmap dead keys.
  13835. 2004-12-16 Jackson Harper <[email protected]>
  13836. * X11Keyboard.cs: Detect and use the num lock mask.
  13837. 2004-12-16 Peter Bartok <[email protected]>
  13838. * Control.cs (CreateGraphics): Added check to make sure the
  13839. handle of the window exists before calling Graphics.FromHwnd()
  13840. 2004-12-16 Peter Bartok <[email protected]>
  13841. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  13842. contains a lot of code that's not supposed to be there for the
  13843. real thing, but required for developing/testing the textbox
  13844. backend.
  13845. 2004-12-16 Peter Bartok <[email protected]>
  13846. * TextControl.cs:
  13847. - Fixed Streamline method
  13848. - Added FindTag method to Line
  13849. - Added DumpTree method for debugging
  13850. - Added DecrementLines() method for deleting lines
  13851. - Fixed UpdateView to update the cursor to end-of-line on single-line
  13852. updates
  13853. - Added PositionCaret() method
  13854. - Fixed MoveCaret(LineDown) to move into the last line, too
  13855. - Added InsertChar overload
  13856. - Fixed InsertChar tag offset calculations
  13857. - Added DeleteChar() method
  13858. - Added Combine() method for folding lines
  13859. - Fixed Delete() method, no longer allocates wasted Line object and
  13860. now copies all properties when swapping nodes
  13861. - Delete() method now updates document line counter
  13862. 2004-12-15 Jackson Harper <[email protected]>
  13863. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  13864. * X11Keyboard.cs: Expose the currently selected modifier keys
  13865. through a property.
  13866. 2004-12-15 Peter Bartok <[email protected]>
  13867. * TextControl.cs: Initial check-in. Still incomplete
  13868. 2004-12-15 Jackson Harper <[email protected]>
  13869. * TreeNode.cs:
  13870. * TreeView.cs: Fix build on csc (second time today ;-))
  13871. 2004-12-15 Jackson Harper <[email protected]>
  13872. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  13873. is calculated and use this for click testing.
  13874. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  13875. 2004-12-15 Jackson Harper <[email protected]>
  13876. * TreeView.cs: Pass the nodes image index to the image list when
  13877. drawing that image.
  13878. 2004-12-15 Jackson Harper <[email protected]>
  13879. * X11Keyboard.cs: Set messages hwnd.
  13880. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  13881. post_message calls.
  13882. 2004-12-15 Jackson Harper <[email protected]>
  13883. * X11Keyboard.cs: Fix to compile with csc.
  13884. 2004-12-15 Jackson Harper <[email protected]>
  13885. * X11Structs.cs: Add key mask values
  13886. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  13887. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  13888. down/up foo into WM_CHAR foo
  13889. * KeyboardLayouts.cs: Common keyboard layouts
  13890. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  13891. post messages into the main queue.
  13892. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  13893. * Button.cs: implement ProcessMnemonic
  13894. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  13895. brushes everytime
  13896. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  13897. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  13898. 2004-12-12 John BouAntoun <[email protected]>
  13899. * MonthCalendar.cs: Implemented click-hold for next/previous month
  13900. and date selection
  13901. 2004-12-11 Peter Bartok <[email protected]>
  13902. * X11Structs.cs:
  13903. - Added XKeyboardState (moved from XplatUIX11.cs)
  13904. - Added XCreateGC related enums and structures
  13905. - Added GXFunction for XSetFunction
  13906. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  13907. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  13908. CaretVisible() calls
  13909. * ToolTip.cs: Added code to prevent stealing focus from app windows
  13910. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  13911. DestroyCaret, SetCaretPos and CaretVisible)
  13912. * XplatUIX11.cs:
  13913. - Added implementation for caret functions
  13914. - Moved hover variables into a struct, to make it a bit easier
  13915. on the eyes and to debug
  13916. - Removed XKeyboardState (moved to XplatUIX11.cs)
  13917. - Moved Keyboard properties into the properties region
  13918. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  13919. call to get a graphics context for our control
  13920. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  13921. * TreeView.cs: Fixed bug. No matter what color was set it would always
  13922. return SystemColors.Window
  13923. * XplatUIWin32.cs: Implemented caret overrides
  13924. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  13925. * ListBox.cs: fire events, implement missing methods and properties,
  13926. sorting.
  13927. 2004-12-10 John BouAntoun <[email protected]>
  13928. * MonthCalendar.cs: invalidation bug fixing
  13929. * ThemeWin32Classic.cs: paint fixing
  13930. 2004-12-09 Geoff Norton <[email protected]>
  13931. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  13932. prepare the CGContextRef there now.
  13933. 2004-12-09 John BouAntoun <[email protected]>
  13934. * MonthCalendar.cs:
  13935. - optimisationL only invalidate areas that have changed
  13936. * ThemeWin32Classic.cs:
  13937. - only paint parts that intersect with clip_area
  13938. 2004-12-09 Peter Bartok <[email protected]>
  13939. * Application.cs: Undid changes from r37004 which cause problems
  13940. on X11
  13941. 2004-12-09 Ravindra <[email protected]>
  13942. * ToolBar.cs: Added support for displaying ContextMenu
  13943. attached to a button on ToolBar.
  13944. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  13945. property.
  13946. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  13947. * Label.cs: autosize works in text change and removes unnecessary
  13948. invalidate
  13949. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  13950. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  13951. remove warnings
  13952. 2004-12-08 Geoff Norton <[email protected]>
  13953. * XplatUIOSX.cs: Added mouse move/click/grab support
  13954. Remove some debugging WriteLines not needed anymore.
  13955. Add window resizing/positioning.
  13956. Fix visibility on reparenting.
  13957. 2004-12-08 Peter Bartok <[email protected]>
  13958. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  13959. 2004-12-07 Geoff Norton <[email protected]>
  13960. * XplatUIOSX.cs: Initial checkin
  13961. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  13962. 2004-12-03 Ravindra <[email protected]>
  13963. * ListView.cs: Added some keybindings and fixed scrolling.
  13964. ScrollBars listen to ValueChanged event instead of Scroll
  13965. Event. This would let us take care of all changes being
  13966. done in the scrollbars' values programmatically or manually.
  13967. * ListView.cs (CanMultiselect): Added a check for shift key.
  13968. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  13969. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  13970. of ListViewSubItemCollection as well.
  13971. 2004-12-06 Peter Bartok <[email protected]>
  13972. * Control.cs (Parent): Added check and exception to prevent
  13973. circular parenting
  13974. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  13975. * ListBox.cs: implemented clipping, selection single and multiple,
  13976. bug fixing
  13977. 2004-12-03 Ravindra <[email protected]>
  13978. * ListView.cs (ListView_KeyDown):
  13979. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  13980. when CTRL key is pressed.
  13981. * ListViewItem.cs (Selected): Fixed setting the property.
  13982. 2004-12-03 Marek Safar <[email protected]>
  13983. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  13984. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  13985. MinimizeBox, ShowInTaskbar, TopMost properties.
  13986. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  13987. will be implemented).
  13988. 2004-12-03 Marek Safar <[email protected]>
  13989. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  13990. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  13991. tests.
  13992. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  13993. * TreeView.cs: BackColor is Colors.Window.
  13994. 2004-12-01 Jackson Harper <[email protected]>
  13995. * TreeView.cs: When resizing the tree if the user is making it
  13996. smaller we don't get expose events, so we need to handle adding
  13997. the horizontal scrollbar in the size changed handler as well as
  13998. the expose handler.
  13999. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  14000. * DrawItemState.cs: fixes wrong enum values
  14001. 2004-12-01 Jackson Harper <[email protected]>
  14002. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  14003. 2004-12-01 Jackson Harper <[email protected]>
  14004. * NodeLabelEditEventArgs.cs:
  14005. * NodeLabelEditEventHandler.cs:
  14006. * OpenTreeNodeEnumerator.cs:
  14007. * TreeNode.cs:
  14008. * TreeNodeCollection.cs:
  14009. * TreeView.cs:
  14010. * TreeViewAction.cs:
  14011. * TreeViewCancelEventArgs.cs:
  14012. * TreeViewCancelEventHandler.cs:
  14013. * TreeViewEventArgs.cs:
  14014. * TreeViewEventHandler.cs: Initial implementation.
  14015. 2004-12-01 Ravindra <[email protected]>
  14016. * ListView.cs (CalculateListView): Fixed scrolling related
  14017. calculations. Also, removed some debug statements from other
  14018. places.
  14019. * ListViewItem.cs: Changed access to 'selected' instance variable
  14020. from private to internal.
  14021. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  14022. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  14023. * ThemeWin32Classic.cs: remove cache of brush and pens for
  14024. specific controls and use the global system, fixes scrollbutton
  14025. bugs (for small sizes, disabled, etc)
  14026. * ScrollBar.cs: does not show the thumb for very small controls
  14027. (as MS) and allow smaller buttons that the regular size
  14028. 2004-12-01 Miguel de Icaza <[email protected]>
  14029. * UpDownBase.cs: Add abstract methods for the interface.
  14030. Add new virtual methods (need to be hooked up to TextEntry when it
  14031. exists).
  14032. Add override methods for most features.
  14033. Computes the size, forces the height of the text entry.
  14034. * NumericUpDown.cs: Put here the current testing code.
  14035. * Set eol-style property on all files that do not have mixed line
  14036. endings, to minimize the future problems. There are still a few
  14037. files with mixed endings, and someone should choose whether they
  14038. want to move it or not.
  14039. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  14040. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  14041. System.Colors
  14042. 2004-11-30 Ravindra <[email protected]>
  14043. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  14044. drawing and replaced use of SystemColors by theme colors.
  14045. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  14046. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  14047. same ListViewItem is being added more than once.
  14048. 2004-11-30 John BouAntoun <[email protected]>
  14049. * MonthCalendar.cs:
  14050. - ControlStyles love to make the control not flicker
  14051. 2004-11-30 Peter Bartok <[email protected]>
  14052. * CharacterCasing.cs: Added
  14053. 2004-11-29 Peter Bartok <[email protected]>
  14054. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  14055. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  14056. I am removing these files as they conflict with already completed
  14057. work. While it is fantastic to get contributions to MWF, I
  14058. respectfully ask that everyone please coordinate their contributions
  14059. through mono-winforms-list or #mono-winforms at this time. We're
  14060. explicitly avoiding stubbing and don't want controls that don't have
  14061. their basic functionality implemented in svn. Please also see
  14062. http://www.mono-project.com/contributing/winforms.html
  14063. 2004-11-29 Marek Safar <[email protected]>
  14064. * Application.cs (ModalRun): Don't hang after exit.
  14065. * Theme.cs: New TreeViewDefaultSize property.
  14066. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  14067. with less hardcoded SystemColors constant.
  14068. Implemented TreeViewDefaultSize.
  14069. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  14070. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  14071. 2004-11-29 John BouAntoun <[email protected]>
  14072. * MonthCalendar.cs:
  14073. - Fix NextMonthDate and PrevMonthDate click moving calendar
  14074. 2004-11-26 John BouAntoun <[email protected]>
  14075. * MonthCalendar.cs:
  14076. - Fix usage of ScrollChange Property when scrolling months
  14077. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  14078. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  14079. - Fixes menu destroying
  14080. - Support adding and removing items on already created menus
  14081. 2004-11-26 John BouAntoun <[email protected]>
  14082. * MonthCalendar.cs:
  14083. - Re-worked all bolded dates handling to match win32
  14084. * ThemeWin32Classic.cs:
  14085. - Fixed rendering with bolded dates
  14086. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  14087. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  14088. - Horizontal scroolbar
  14089. - Multicolumn
  14090. - Fixes
  14091. 2004-11-25 John BouAntoun <[email protected]>
  14092. * MonthCalendar.cs:
  14093. - Fix Usage of MaxSelectionCount from SelectionRange
  14094. - Fixed Shift + Cursor Selection
  14095. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  14096. - Fixed normal cursor selection to be compat with win32
  14097. - Fixed Shift + Mouse Click selection
  14098. 2004-11-24 Peter Bartok <[email protected]>
  14099. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  14100. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  14101. * XplatUIX11.cs:
  14102. - CreatedKeyBoardMsg now updates keystate with Alt key
  14103. - Added workaround for timer crash to CheckTimers, Jackson will
  14104. develop a proper fix and check in later
  14105. - Implemented DispatchMessage
  14106. - Removed calling the native window proc from GetMessage (call
  14107. now moved to DispatchMessage)
  14108. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  14109. the keydata (Fixes bug #69831)
  14110. * XplatUIWin32.cs:
  14111. - (DispatchMessage): Switched to return IntPtr
  14112. - Added DllImport for SetFocus
  14113. 2004-11-24 Ravindra <[email protected]>
  14114. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  14115. background drawing.
  14116. * ListViewItem.cs: Fixed various properties, calculations
  14117. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  14118. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  14119. and some internal properties. Fixed MouseDown handler and Paint
  14120. method.
  14121. 2004-11-24 John BouAntoun <[email protected]>
  14122. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  14123. 2004-11-24 John BouAntoun <[email protected]>
  14124. * ContainerControl.cs: correct accidental check in of local changes
  14125. 2004-11-24 John BouAntoun <[email protected]>
  14126. * ThemeWin32Classic.cs:
  14127. - Fixed Drawing Last month in grid (sometimes not showing)
  14128. * MonthCalendar.cs:
  14129. - Fixed title width calculation bug (makeing title small)
  14130. 2004-11-23 Peter Bartok <[email protected]>
  14131. * XplatUIX11.cs:
  14132. - Added generation of WM_MOUSEHOVER event
  14133. - Added missing assignment of async_method atom
  14134. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  14135. 2004-11-23 John BouAntoun <[email protected]>
  14136. * ThemeWin32Classic.cs:
  14137. - Fixed Drawing of today circle when showtodaycircle not set
  14138. - fixed drawing of first and last month in the grid (gay dates)
  14139. * MonthCalendar.cs:
  14140. - Fixed Drawing of today circle
  14141. - Fixed drawing of grady dates
  14142. - Fixed HitTest for today link when ShowToday set to false
  14143. - Fixed DefaultSize to obey ShowToday
  14144. 2004-11-23 John BouAntoun <[email protected]>
  14145. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  14146. * System.Windows.Forms/Theme.cs
  14147. * MonthCalendar.cs: added for MonthCalendar
  14148. * SelectionRange.cs: added for MonthCalendar
  14149. * Day.cs: added for MonthCalendar: added for MonthCalendar
  14150. * DateRangeEventArgs.cs: added for MonthCalendar
  14151. * DateRangeEventHandler.cs: added for MonthCalendar
  14152. 2004-11-22 Ravindra <[email protected]>
  14153. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  14154. property.
  14155. 2004-11-22 Miguel de Icaza <[email protected]>
  14156. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  14157. event handler.
  14158. * NumericUpDown.cs: Added new implementation.
  14159. * UpDownBase.cs: Added new implementation.
  14160. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  14161. implementations.
  14162. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  14163. implementations.
  14164. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  14165. methods.
  14166. 2004-11-21 Miguel de Icaza <[email protected]>
  14167. * Timer.cs (Dispose): Should call the base dispose when
  14168. overriding.
  14169. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  14170. * ScrollBar.cs: updates thumb position when max, min or increment
  14171. is changed
  14172. 2004-11-21 Ravindra <[email protected]>
  14173. * ListView.cs: Implemented item selection, activation and
  14174. column header style. Fixed properties to do a redraw, if
  14175. required. Added support for MouseHover, DoubleClick, KeyDown
  14176. and KeyUp event handling and some minor fixes.
  14177. * ListViewItem.cs: Fixed constructor.
  14178. * ThemeWin32Classic.cs: Improved drawing for ListView.
  14179. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  14180. * ThemeWin32Classic.cs: initial listbox drawing code
  14181. * DrawMode.cs: new enumerator
  14182. * ListControl.cs: stubbed class
  14183. * ListBox.cs: initial implementation
  14184. * Theme.cs: new methods definitions
  14185. * SelectionMode.cs: new enumerator
  14186. 2004-11-17 Peter Bartok <[email protected]>
  14187. * XplatUIWin32.cs: Added double-click events to the class style
  14188. * Control.cs (WndProc):
  14189. - Added handling of click-count to MouseDown/ MouseUp events.
  14190. - Added handling of middle and right mouse buttons
  14191. - Removed old debug code
  14192. 2004-11-17 Jackson Harper <[email protected]>
  14193. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  14194. 2004-11-17 Ravindra <[email protected]>
  14195. * ListView.cs: Added event handling for MouseMove/Up/Down.
  14196. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  14197. * ThemeWin32Classic.cs: We need to clear the graphics context and
  14198. draw column header in a proper state.
  14199. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  14200. * Menu.cs: fixes signature
  14201. 2004-11-16 Peter Bartok <[email protected]>
  14202. * XplatUIX11.cs (GetMessage): Implemented generation of
  14203. double click mouse messages
  14204. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  14205. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  14206. not by menu
  14207. 2004-11-11 Peter Bartok <[email protected]>
  14208. * HandleData.cs: Added Visible property
  14209. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  14210. HandleData
  14211. * XplatUIX11.cs: Removed old debug leftovers
  14212. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  14213. * Control.cs (WndProc): Removed old debug leftovers,
  14214. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  14215. needed WM_SIZE handling
  14216. 2004-11-11 Jackson Harper <[email protected]>
  14217. * OwnerDrawPropertyBag.cs:
  14218. * TreeViewImageIndexConverter.cs: Initial implementation
  14219. 2004-11-10 Jackson Harper <[email protected]>
  14220. * ThemeWin32Classic.cs:
  14221. * TabControl.cs: instead of moving tabs by the slider pos just
  14222. start drawing at the tab that is offset by the slider. This way
  14223. scrolling always moves by exactly one tab.
  14224. 2004-11-10 Jackson Harper <[email protected]>
  14225. * TabControl.cs: You can only scroll left when the slider has
  14226. already ben moved right.
  14227. 2004-11-10 Jackson Harper <[email protected]>
  14228. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  14229. the clip area.
  14230. 2004-11-10 Jackson Harper <[email protected]>
  14231. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  14232. clip area.
  14233. 2004-11-09 Jackson Harper <[email protected]>
  14234. * TabControl.cs (CalcXPos): New helper method so we can determine
  14235. the proper place to start drawing vertical tabs.
  14236. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  14237. 2004-11-09 Jackson Harper <[email protected]>
  14238. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  14239. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  14240. and Bottom, left and right are illegal values for this and
  14241. multiline is enabled when the alignment is set to left or right.
  14242. (DrawTab): Each alignment block should draw the text itself now
  14243. because Left requires special love. Also add rendering for Left
  14244. aligned tabs.
  14245. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  14246. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  14247. does not destroy the windows, removes debugging messages
  14248. 2004-11-09 jba <[email protected]>
  14249. * ThemeWin32Classic.cs
  14250. (DrawButtonBase): Fix verticle text rect clipping in windows
  14251. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  14252. rendering and incorrect text rect clipping
  14253. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  14254. rendering and incorrect text rect clipping
  14255. 2004-11-08 Jackson Harper <[email protected]>
  14256. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  14257. bottom when they are bottom aligned so the bottoms of the tabs get
  14258. displayed.
  14259. * TabControl.cs (DropRow): Move rows up instead of down when the
  14260. tab control is bottom aligned.
  14261. 2004-11-08 13:59 pbartok
  14262. * XplatUIX11.cs:
  14263. - Added handling for various window styles
  14264. - Added handling for popup windows
  14265. - Added SetTopmost handling
  14266. 2004-11-08 13:55 pbartok
  14267. * XplatUIWin32.cs:
  14268. - Added argument to SetTopmost method
  14269. - Fixed broken ClientToScreen function
  14270. 2004-11-08 13:53 pbartok
  14271. * XplatUIStructs.cs:
  14272. - Added missing WS_EX styles
  14273. 2004-11-08 13:53 pbartok
  14274. * XplatUI.cs, XplatUIDriver.cs:
  14275. - Added argument to SetTopmost
  14276. 2004-11-08 13:52 pbartok
  14277. * X11Structs.cs:
  14278. - Added XSetWindowAttributes structure
  14279. - Improved XWindowAttributes structure
  14280. - Added SetWindowValuemask enum
  14281. - Added window creation arguments enum
  14282. - Added gravity enum
  14283. - Added Motif hints structure
  14284. - Added various Motif flags and enums
  14285. - Added PropertyMode enum for property functions
  14286. 2004-11-08 13:50 pbartok
  14287. * Form.cs:
  14288. - Fixed arguments for updated SetTopmost method
  14289. 2004-11-08 13:49 pbartok
  14290. * ToolTip.cs:
  14291. - Fixed arguments for updated SetTopmost function
  14292. - Fixed usage of PointToClient
  14293. 2004-11-08 13:44 pbartok
  14294. * MenuAPI.cs:
  14295. - Added Clipping of children and siblings
  14296. 2004-11-08 13:41 pbartok
  14297. * MainMenu.cs:
  14298. - Removed SetMenuBarWindow call. We do this in Form.cs
  14299. 2004-11-08 13:40 jackson
  14300. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  14301. scrolling jimmi in the correct location with bottom aligned tabs
  14302. 2004-11-08 13:36 pbartok
  14303. * ContainerControl.cs:
  14304. - Implemented BindingContext
  14305. - Implemented ParentForm
  14306. 2004-11-08 12:46 jackson
  14307. * TabControl.cs: Put bottom rendered tabs in the right location
  14308. 2004-11-08 07:15 jordi
  14309. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  14310. removes dead code
  14311. 2004-11-05 17:30 jackson
  14312. * TabControl.cs: When selected tabs are expanded make sure they
  14313. don't go beyond the edges of the tab control
  14314. 2004-11-05 14:57 jackson
  14315. * TabControl.cs: Reset show_slider so if the control is resized to
  14316. a size where it is no longer needed it's not displayed anymore
  14317. 2004-11-05 13:16 jackson
  14318. * TabControl.cs: Make tab pages non visible when added to the
  14319. control
  14320. 2004-11-05 12:42 jackson
  14321. * TabControl.cs: Implement SizeMode.FillToRight
  14322. 2004-11-05 12:16 jackson
  14323. * Control.cs: Do not call CreateHandle if the handle is already
  14324. created
  14325. 2004-11-05 11:46 jackson
  14326. * TabControl.cs: Remove superflous call to CalcTabRows
  14327. 2004-11-05 09:07 jackson
  14328. * XplatUIX11.cs: Update for Mono.Posix changes
  14329. 2004-11-05 07:00 ravindra
  14330. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  14331. scrolling.
  14332. 2004-11-04 22:47 jba
  14333. * ThemeWin32Classic.cs:
  14334. - Fix Button rendering for FlatStyle = Flat or Popup
  14335. - Fix RadioButton and CheckBox rendering when Appearance = Button
  14336. (normal and flatstyle).
  14337. - Correct outer rectangle color when drawing focus rectangle
  14338. - Adjust button bounds to be 1 px smaller when focused
  14339. - Make button not draw sunken 3d border when pushed (windows compat)
  14340. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  14341. - Offset the text in RadioButton and Checkbox when being rendered as
  14342. a button.
  14343. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  14344. radiobuttons
  14345. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  14346. - Fixed disabled text rendering for normally rendered radiobuttons
  14347. 2004-11-04 10:26 jackson
  14348. * TabControl.cs: Recalculate tab rows when resizing
  14349. 2004-11-04 07:47 jordi
  14350. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  14351. collection completion, drawing issues, missing features
  14352. 2004-11-04 05:03 ravindra
  14353. * ScrollBar.cs:
  14354. - We need to recalculate the Thumb area when
  14355. LargeChange/maximum/minimum values are changed.
  14356. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  14357. than minimum. This is required to handle the case if large_change is
  14358. more than max, and use LargeChange property instead of large_change
  14359. variable.
  14360. - We return max+1 when large_change is more than max, like MS does.
  14361. 2004-11-04 04:29 ravindra
  14362. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  14363. - Changed default value signatures (prefixed all with ListView).
  14364. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  14365. ListView.
  14366. - Fixed calculations for ListViewItem and implemented Clone()
  14367. method.
  14368. 2004-11-04 04:26 ravindra
  14369. * Theme.cs, ThemeWin32Classic.cs:
  14370. - Changed default ListView values signatures (prefixed all with
  14371. ListView).
  14372. - Fixed default size values for VScrollBar and HScrollBar.
  14373. - Fixed DrawListViewItem method.
  14374. 2004-11-04 04:05 ravindra
  14375. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  14376. 2004-11-04 04:04 ravindra
  14377. * ImageList.cs: Implemented the missing overload for Draw method.
  14378. 2004-11-03 19:29 jackson
  14379. * TabControl.cs: Handle dropping rows on selection properly
  14380. 2004-11-03 11:59 jackson
  14381. * TabControl.cs: remove debug code
  14382. 2004-11-03 11:52 jackson
  14383. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  14384. the scrolly widgerywoo
  14385. 2004-11-02 13:52 jackson
  14386. * TabControl.cs: Resize the tab pages and tabs when the tab control
  14387. is resized
  14388. 2004-11-02 13:40 jackson
  14389. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  14390. selected tab to the bottom
  14391. 2004-11-02 13:39 jackson
  14392. * TabPage.cs: Store the tab pages row
  14393. 2004-11-02 12:33 jordi
  14394. * MenuItem.cs: fixes handle creation
  14395. 2004-11-02 11:42 jackson
  14396. * TabControl.cs: signature fix
  14397. 2004-11-02 08:56 jackson
  14398. * TabControl.cs: Calculate whether the tab is on an edge properly.
  14399. Remove top secret debugging code
  14400. 2004-11-01 19:57 jackson
  14401. * TabControl.cs: Add click handling, and proper sizing
  14402. 2004-11-01 19:47 jackson
  14403. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  14404. tab controls
  14405. 2004-11-01 19:39 jackson
  14406. * TabPage.cs: add internal property to store the bounds of a tab
  14407. page
  14408. 2004-10-30 04:23 ravindra
  14409. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  14410. values.
  14411. 2004-10-30 04:21 ravindra
  14412. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  14413. fixed calculations.
  14414. 2004-10-30 03:06 pbartok
  14415. * XplatUIX11.cs:
  14416. - Removed extension of DllImported libs
  14417. 2004-10-29 09:55 jordi
  14418. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  14419. navigation, itemcollection completion, menu fixes
  14420. 2004-10-27 22:58 pbartok
  14421. * XplatUIX11.cs:
  14422. - Now throws a nice error message when no X display could be opened
  14423. 2004-10-26 13:51 jordi
  14424. * ListView.cs: removes warning
  14425. 2004-10-26 03:55 ravindra
  14426. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  14427. ThemeWin32Classic.cs: Some formatting for my last checkins.
  14428. 2004-10-26 03:36 ravindra
  14429. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  14430. control and default values.
  14431. 2004-10-26 03:35 ravindra
  14432. * Theme.cs: Added some default values for ListView control.
  14433. 2004-10-26 03:33 ravindra
  14434. * ToolBar.cs: ToolBar should use the user specified button size, if
  14435. there is any. Added a size_specified flag for the same.
  14436. 2004-10-26 03:33 ravindra
  14437. * ColumnHeader.cs: Added some internal members and calculations for
  14438. ColumnHeader.
  14439. 2004-10-26 03:32 ravindra
  14440. * ListViewItem.cs: Calculations for ListViewItem.
  14441. 2004-10-26 03:31 ravindra
  14442. * ListView.cs: Added some internal members and calculations for
  14443. ListView.
  14444. 2004-10-22 13:31 jordi
  14445. * MenuAPI.cs: speedup menus drawing
  14446. 2004-10-22 13:16 jackson
  14447. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  14448. expose event
  14449. 2004-10-22 11:49 jackson
  14450. * Control.cs: oops
  14451. 2004-10-22 11:41 jackson
  14452. * Control.cs: Check to see if the window should have its background
  14453. repainted by X when drawing.
  14454. 2004-10-22 11:31 jackson
  14455. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  14456. clear is true, this way we do not get flicker from X repainting the
  14457. background
  14458. 2004-10-22 11:28 jackson
  14459. * XEventQueue.cs: Queue properly
  14460. 2004-10-21 09:38 jackson
  14461. * XEventQueue.cs: Fix access modifier
  14462. 2004-10-21 09:36 jackson
  14463. * XEventQueue.cs: Don't loose messages
  14464. 2004-10-21 09:22 jackson
  14465. * XEventQueue.cs: Don't loose messages
  14466. 2004-10-20 04:15 jordi
  14467. * BootMode.cs: enum need it by SystemInfo
  14468. 2004-10-19 21:58 pbartok
  14469. * XplatUIWin32.cs:
  14470. - Small sanity check
  14471. 2004-10-19 21:56 pbartok
  14472. * Form.cs:
  14473. - Added private FormParentWindow class which acts as the container
  14474. for our form and as the non-client area where menus are drawn
  14475. - Added/Moved required tie-ins to Jordi's menus
  14476. - Fixed/Implemented the FormStartPosition functionality
  14477. 2004-10-19 21:52 pbartok
  14478. * Control.cs:
  14479. - Removed unneeded locals
  14480. - Added code to all size and location properties to understand and
  14481. deal with the parent container of Form
  14482. 2004-10-19 21:33 pbartok
  14483. * Application.cs:
  14484. - Fixed to deal with new Form subclasses for menus
  14485. 2004-10-19 17:48 jackson
  14486. * XEventQueue.cs: commit correct version of file
  14487. 2004-10-19 16:50 jackson
  14488. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  14489. 2004-10-19 16:15 jordi
  14490. * MenuAPI.cs: MenuBarCalcSize returns the height
  14491. 2004-10-19 08:31 pbartok
  14492. * Control.cs:
  14493. - Added missing call to PreProcessMessage before calling OnXXXKey
  14494. methods
  14495. 2004-10-19 00:04 ravindra
  14496. * ToolTip.cs: Fixed constructor.
  14497. 2004-10-18 09:31 jordi
  14498. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  14499. 2004-10-18 09:26 jordi
  14500. * MenuItem.cs: fixes MenuItem class signature
  14501. 2004-10-18 08:56 jordi
  14502. * MenuAPI.cs: prevents windows from showing in the taskbar
  14503. 2004-10-18 00:28 ravindra
  14504. * ToolTip.cs: Suppressed a warning message.
  14505. 2004-10-18 00:27 ravindra
  14506. * Control.cs: Default value of visible property must be true.
  14507. 2004-10-17 23:19 pbartok
  14508. * ToolTip.cs:
  14509. - Complete implementation
  14510. 2004-10-17 23:19 pbartok
  14511. * XplatUIX11.cs:
  14512. - Added EnableWindow method
  14513. - Added SetModal stub
  14514. - Added generation of WM_ACTIVATE message (still needs testing)
  14515. - Added SetTopMost stub
  14516. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  14517. 2004-10-17 23:17 pbartok
  14518. * XplatUIWin32.cs:
  14519. - Removed VirtualKeys to XplatUIStructs
  14520. - Implemented SetTopMost method
  14521. - Implemented EnableWindow method
  14522. - Bugfix in ScreenToClient()
  14523. - Bugfixes in ClientToScreen()
  14524. 2004-10-17 22:51 pbartok
  14525. * XplatUIStructs.cs:
  14526. - Added WS_EX styles to WindowStyles enumeration
  14527. 2004-10-17 22:50 pbartok
  14528. * XplatUI.cs, XplatUIDriver.cs:
  14529. - Added method for enabling/disabling windows
  14530. - Added method for setting window modality
  14531. - Added method for setting topmost window
  14532. 2004-10-17 22:49 pbartok
  14533. * ThemeWin32Classic.cs:
  14534. - Added ToolTip drawing code
  14535. 2004-10-17 22:49 pbartok
  14536. * Theme.cs:
  14537. - Added ToolTip abstracts
  14538. 2004-10-17 22:47 pbartok
  14539. * Form.cs:
  14540. - Fixed Form.ControlCollection to handle owner relations
  14541. - Added Owner/OwnedForms handling
  14542. - Implemented Z-Ordering for owned forms
  14543. - Removed unneeded private overload of ShowDialog
  14544. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  14545. so I hope)
  14546. - Fixed Close(), had wrong default
  14547. - Added firing of OnLoad event
  14548. - Added some commented out debug code for Ownership handling
  14549. 2004-10-17 22:16 pbartok
  14550. * Control.cs:
  14551. - Fixed/implemented flat list of controls
  14552. 2004-10-17 22:14 pbartok
  14553. * Application.cs:
  14554. - Added code to simulate modal dialogs on Win32
  14555. 2004-10-17 16:11 jordi
  14556. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  14557. mouse event
  14558. 2004-10-17 13:39 jordi
  14559. * MenuAPI.cs: menu drawing fixes
  14560. 2004-10-15 09:10 ravindra
  14561. * StructFormat.cs: General Enum.
  14562. 2004-10-15 09:09 ravindra
  14563. * SizeGripStyle.cs: Enum for Form.
  14564. 2004-10-15 09:08 ravindra
  14565. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  14566. in Theme for ListView.
  14567. 2004-10-15 09:06 ravindra
  14568. * ColumnHeader.cs: Flushing some formatting changes.
  14569. 2004-10-15 09:05 ravindra
  14570. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  14571. style.
  14572. 2004-10-15 09:03 ravindra
  14573. * ListView.cs: Implemented Paint method and fixed coding style.
  14574. 2004-10-15 07:34 jordi
  14575. * MenuAPI.cs: fix for X11
  14576. 2004-10-15 07:32 ravindra
  14577. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  14578. - Renamed Paint() method to Draw() for clarity. Also, moved
  14579. DrawImage() to OnPaint().
  14580. 2004-10-15 07:25 ravindra
  14581. * CheckBox.cs, RadioButton.cs:
  14582. - Removed Redraw (), we get it from ButtonBase.
  14583. - Implemented Paint (), to do class specific painting.
  14584. 2004-10-15 07:16 ravindra
  14585. * ButtonBase.cs:
  14586. - Redraw () is not virtual now.
  14587. - Added an internal virtual method Paint (), so that
  14588. derived classes can do their painting on their own.
  14589. - Modified OnPaint () to call Paint ().
  14590. 2004-10-15 06:43 jordi
  14591. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  14592. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  14593. 2004-10-15 00:30 ravindra
  14594. * MessageBox.cs:
  14595. - MessageBox on windows does not have min/max buttons.
  14596. This change in CreateParams fixes this on Windows. We
  14597. still need to implement this windowstyle behavior in
  14598. our X11 driver.
  14599. 2004-10-14 05:14 ravindra
  14600. * ToolBar.cs:
  14601. - Changed Redraw () to do a Refresh () always.
  14602. - Fixed the MouseMove event handling when mouse is pressed,
  14603. ie drag event handling.
  14604. - Replaced the usage of ToolBarButton.Pressed property to
  14605. ToolBarButton.pressed internal variable.
  14606. 2004-10-14 05:10 ravindra
  14607. * ToolBarButton.cs:
  14608. - Added an internal member 'inside' to handle mouse move
  14609. with mouse pressed ie mouse drag event.
  14610. - Changed 'Pressed' property to return true only when
  14611. 'inside' and 'pressed' are both true.
  14612. - Some coding style love.
  14613. 2004-10-14 00:17 ravindra
  14614. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  14615. public method.
  14616. 2004-10-14 00:15 ravindra
  14617. * ButtonBase.cs: Redraw () related improvements.
  14618. 2004-10-14 00:14 ravindra
  14619. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  14620. removed unnecessary calls to Button.Show () method.
  14621. 2004-10-13 17:50 pbartok
  14622. * XplatUIX11.cs:
  14623. - Formatting fix
  14624. - Removed destroying of window until we solve the problem of X
  14625. destroying the window before us on shutdown
  14626. 2004-10-13 16:32 pbartok
  14627. * ButtonBase.cs:
  14628. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  14629. 2004-10-13 14:18 pbartok
  14630. * XplatUIX11.cs:
  14631. - Added code to destroy the X window
  14632. 2004-10-13 14:18 pbartok
  14633. * XplatUIWin32.cs:
  14634. - Added code to destroy a window
  14635. 2004-10-13 14:12 pbartok
  14636. * ButtonBase.cs:
  14637. - Added the Redraw on Resize that got dropped in the last rev
  14638. 2004-10-13 09:06 pbartok
  14639. * ThemeWin32Classic.cs:
  14640. - Path from John BouAntoun:
  14641. * Fix check rendering (centre correctly for normal style, offset
  14642. correctly for FlatStyle).
  14643. * Fix border color usage (use backcolor) for FlatStyle.Popup
  14644. * Use checkbox.Capture instead of checkbox.is_pressed when
  14645. rendering flatstyle states.
  14646. 2004-10-12 21:48 pbartok
  14647. * ThemeWin32Classic.cs:
  14648. - Removed all occurences of SystemColors and replaced them with the
  14649. matching theme color
  14650. 2004-10-12 21:41 pbartok
  14651. * ThemeWin32Classic.cs:
  14652. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  14653. him using the function for flatstyle drawing
  14654. - Changed functions to use the new version of CPDrawBorder3D
  14655. 2004-10-12 21:15 pbartok
  14656. * ControlPaint.cs:
  14657. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  14658. match MS documentation. They need to return defined colors if the
  14659. passed color matches the configured control color. Thanks to John
  14660. BouAntoun for pointing this out.
  14661. 2004-10-12 20:57 pbartok
  14662. * Control.cs:
  14663. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  14664. color is changed
  14665. 2004-10-12 20:46 pbartok
  14666. * CheckBox.cs:
  14667. - Fix from John BouAntoun: Now properly sets the Appearance property
  14668. 2004-10-12 20:45 pbartok
  14669. * ThemeWin32Classic.cs:
  14670. - Fixes from John BouAntoun: now handles forecolors and backcolors
  14671. for flatstyle rendered controls much better; It also fixes normal
  14672. checkbox rendering when pushed or disabled.
  14673. 2004-10-08 02:50 jordi
  14674. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  14675. work
  14676. 2004-10-07 08:56 jordi
  14677. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  14678. 2004-10-06 03:59 jordi
  14679. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  14680. XplatUIWin32.cs: removes warnings from compilation
  14681. 2004-10-05 12:23 jackson
  14682. * RadioButton.cs: Fix ctor
  14683. 2004-10-05 11:10 pbartok
  14684. * MessageBox.cs:
  14685. - Partial implementation by Benjamin Dasnois
  14686. 2004-10-05 10:15 jackson
  14687. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  14688. by John BouAntoun
  14689. 2004-10-05 03:07 ravindra
  14690. * ToolBar.cs:
  14691. - Removed a private method, Draw ().
  14692. - Fixed the ButtonDropDown event handling.
  14693. - Fixed MouseMove event handling.
  14694. 2004-10-05 03:04 ravindra
  14695. * ThemeWin32Classic.cs:
  14696. - Added DrawListView method and ListViewDefaultSize property.
  14697. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  14698. - Changed DOS style CRLF to Unix format (dos2unix).
  14699. 2004-10-05 03:03 ravindra
  14700. * Theme.cs:
  14701. - Added DrawListView method and ListViewDefaultSize property.
  14702. 2004-10-05 02:42 ravindra
  14703. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  14704. clicks on DropDown arrow.
  14705. 2004-10-04 22:56 jackson
  14706. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  14707. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  14708. Control handle the buffers, derived classes should not have to
  14709. CreateBuffers themselves.
  14710. 2004-10-04 21:20 jackson
  14711. * StatusBar.cs: The control handles resizing the buffers now.
  14712. 2004-10-04 21:18 jackson
  14713. * Control.cs: When resizing the buffers should be invalidated. This
  14714. should be handled in Control not in derived classes.
  14715. 2004-10-04 14:45 jackson
  14716. * TabPage.cs: oops
  14717. 2004-10-04 02:14 pbartok
  14718. * LeftRightAlignment.cs:
  14719. - Initial check-in
  14720. 2004-10-04 01:09 jordi
  14721. * ThemeWin32Classic.cs: fixes right button position causing right
  14722. button not showing on horizontal scrollbars
  14723. 2004-10-02 13:12 pbartok
  14724. * XplatUIX11.cs:
  14725. - Simplified the Invalidate method by using an X call instead of
  14726. generating the expose ourselves
  14727. - Added an expose when the window background is changed
  14728. - Implemented ClientToScreen method
  14729. 2004-10-02 13:08 pbartok
  14730. * XplatUIWin32.cs:
  14731. - Added Win32EnableWindow method (test for implementing modal
  14732. dialogs)
  14733. - Added ClientToScreen method and imports
  14734. 2004-10-02 13:07 pbartok
  14735. * XplatUI.cs, XplatUIDriver.cs:
  14736. - Added ClientToScreen coordinate translation method
  14737. 2004-10-02 13:06 pbartok
  14738. * KeyPressEventArgs.cs:
  14739. - Fixed access level for constructor
  14740. 2004-10-02 13:06 pbartok
  14741. * NativeWindow.cs:
  14742. - Changed access level for the window_collection hash table
  14743. 2004-10-02 13:05 pbartok
  14744. * Form.cs:
  14745. - Added KeyPreview property
  14746. - Added Menu property (still incomplete, pending Jordi's menu work)
  14747. - Implemented ProcessCmdKey
  14748. - Implemented ProcessDialogKey
  14749. - Implemented ProcessKeyPreview
  14750. 2004-10-02 13:02 pbartok
  14751. * Control.cs:
  14752. - Added private method to get the Control object from the window
  14753. handle
  14754. - Implemented ContextMenu property
  14755. - Implemented PointToScreen
  14756. - Implemented PreProcessMessage
  14757. - Implemented IsInputChar
  14758. - Implemented IsInputKey
  14759. - Implemented ProcessCmdKey
  14760. - Completed ProcessKeyEventArgs
  14761. - Fixed message loop to call the proper chain of functions on key
  14762. events
  14763. - Implemented ProcessDialogChar
  14764. - Implemented ProcessDialogKey
  14765. - Implemented ProcessKeyMessage
  14766. - Implemented ProcessKeyPreview
  14767. - Added RaiseDragEvent stub (MS internal method)
  14768. - Added RaiseKeyEvent stub (MS internal method)
  14769. - Added RaiseMouseEvent stub (MS Internal method)
  14770. - Added RaisePaintEvent stub (MS Internal method)
  14771. - Added ResetMouseEventArgs stub (MS Internal method)
  14772. - Implemented RtlTranslateAlignment
  14773. - Implemented RtlTranslateContent
  14774. - Implemented RtlTranslateHorizontal
  14775. - Implemented RtlTranslateLeftRight
  14776. - Added generation of KeyPress event
  14777. 2004-10-02 05:57 ravindra
  14778. * ListViewItem.cs: Added attributes.
  14779. 2004-10-02 05:32 ravindra
  14780. * ListView.cs: Added attributes.
  14781. 2004-10-01 11:53 jackson
  14782. * Form.cs: Implement the Close method so work on MessageBox can
  14783. continue.
  14784. 2004-09-30 14:06 pbartok
  14785. * XplatUIX11.cs:
  14786. - Bug fixes
  14787. 2004-09-30 11:34 jackson
  14788. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  14789. 2004-09-30 07:26 ravindra
  14790. * ListViewItemConverter.cs: Converter for ListViewItem.
  14791. 2004-09-30 07:26 ravindra
  14792. * SortOrder.cs: Enum for ListView control.
  14793. 2004-09-30 07:25 ravindra
  14794. * ColumnHeader.cs: Supporting class for ListView control.
  14795. 2004-09-30 07:24 ravindra
  14796. * ListView.cs, ListViewItem.cs: Initial implementation.
  14797. 2004-09-30 07:20 ravindra
  14798. * ItemActivation.cs: Enum for ListView Control.
  14799. 2004-09-29 20:29 pbartok
  14800. * XplatUIX11.cs:
  14801. - Added lookup of pixel value for background color; tries to get a
  14802. color 'close' to the requested color, it avoids having to create a
  14803. colormap. Depending on the display this could mean the used color
  14804. is slightly off the desired color. Might have to change it to a more
  14805. resource intensive colormap approach, but it will work as a
  14806. workaround to avoid red screens.
  14807. 2004-09-29 14:27 jackson
  14808. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  14809. 2004-09-28 12:44 pbartok
  14810. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  14811. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  14812. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  14813. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  14814. TrackBar.cs, VScrollBar.cs:
  14815. - Streamlined Theme interfaces:
  14816. * Each DrawXXX method for a control now is passed the object for
  14817. the control to be drawn in order to allow accessing any state the
  14818. theme might require
  14819. * ControlPaint methods for the theme now have a CP prefix to avoid
  14820. name clashes with the Draw methods for controls
  14821. * Every control now retrieves it's DefaultSize from the current
  14822. theme
  14823. 2004-09-28 12:17 jackson
  14824. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  14825. drawing
  14826. 2004-09-24 14:57 jackson
  14827. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  14828. Gives us a nice little performance boost.
  14829. 2004-09-24 12:02 jackson
  14830. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  14831. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  14832. Control and supporting classes. Initial checkin
  14833. 2004-09-23 13:08 jackson
  14834. * Form.cs: Temp build fixage
  14835. 2004-09-23 01:39 ravindra
  14836. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  14837. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  14838. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  14839. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  14840. EventHandlers needed by ListView Control.
  14841. 2004-09-22 14:12 pbartok
  14842. * ScrollableControl.cs:
  14843. - Implemented DockPadding property
  14844. - Implemented AutoScroll property
  14845. - Implemented AutoScrollMargin property
  14846. - Implemented AutoScrollMinSize property
  14847. - Implemented AutoScrollPosition property
  14848. - Implemented DisplayRectangle property (still incomplete)
  14849. - Implemented CreateParams property
  14850. - Implemented HScroll property
  14851. - Implemented VScroll property
  14852. - Implemented OnVisibleChanged property
  14853. 2004-09-22 14:09 pbartok
  14854. * Form.cs:
  14855. - Added Form.ControllCollection class
  14856. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  14857. RemoveOwnedForm (still incomplete, missing on-top and common
  14858. minimize/maximize behaviour)
  14859. - Added StartPosition property (still incomplete, does not use when
  14860. creating the form)
  14861. - Added ShowDialog() methods (still incomplete, missing forcing the
  14862. dialog modal)
  14863. 2004-09-22 14:05 pbartok
  14864. * Application.cs:
  14865. - Added message loop for modal dialogs
  14866. 2004-09-22 14:02 pbartok
  14867. * GroupBox.cs:
  14868. - Fixed wrong types for events
  14869. 2004-09-22 14:00 pbartok
  14870. * Shortcut.cs, FormWindowState.cs:
  14871. - Fixed wrong values
  14872. 2004-09-22 12:01 jackson
  14873. * Control.cs: Text is never null
  14874. 2004-09-20 22:14 pbartok
  14875. * XplatUIWin32.cs:
  14876. - Fixed accessibility level for Idle handler
  14877. 2004-09-20 18:54 jackson
  14878. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  14879. XplatUIX11.cs: New message loop that uses poll so we don't get a
  14880. busy loop
  14881. 2004-09-17 10:43 pbartok
  14882. * ScrollBar.cs:
  14883. - Fixed behaviour of arrow buttons. Now properly behaves like
  14884. Buttons (and like Microsoft's scrollbar arrow buttons)
  14885. 2004-09-17 10:14 pbartok
  14886. * ScrollBar.cs:
  14887. - Added missing release of keyboard/mouse capture
  14888. 2004-09-17 06:18 jordi
  14889. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  14890. Theme.cs: Very early menu support
  14891. 2004-09-16 17:45 pbartok
  14892. * XplatUIWin32.cs:
  14893. - Fixed sending a window to the front
  14894. - Added overload for SetWindowPos to avoid casting
  14895. 2004-09-16 17:44 pbartok
  14896. * Control.cs:
  14897. - Added SendToBack and BringToFront methods
  14898. 2004-09-16 07:00 ravindra
  14899. * Copyright: Added Novell URL.
  14900. 2004-09-16 07:00 ravindra
  14901. * ToolBar.cs: Invalidate should be done before redrawing.
  14902. 2004-09-15 21:19 ravindra
  14903. * ColumnHeaderStyle.cs: Enum for ListView Control.
  14904. 2004-09-15 21:18 ravindra
  14905. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  14906. ListView Control.
  14907. 2004-09-13 18:26 jackson
  14908. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  14909. properly
  14910. 2004-09-13 18:13 jackson
  14911. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  14912. a second thread and post messages into the main threads message
  14913. queue. This makes timing much more consistent. Both win2K and XP
  14914. have a minimum timer value of 15 milliseconds, so we now do this
  14915. too.
  14916. 2004-09-13 15:18 pbartok
  14917. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  14918. XplatUIX11.cs:
  14919. - Added Z-Ordering methods
  14920. 2004-09-13 10:56 pbartok
  14921. * Form.cs:
  14922. - Fixed #region names
  14923. - Moved properties and methods into their proper #regions
  14924. 2004-09-13 10:51 pbartok
  14925. * Form.cs:
  14926. - Added Accept and CancelButton properties
  14927. - Added ProcessDialogKey() method
  14928. 2004-09-13 08:18 pbartok
  14929. * IWindowTarget.cs:
  14930. - Initial check-in
  14931. 2004-09-10 21:50 pbartok
  14932. * Control.cs:
  14933. - Added DoDragDrop() [incomplete]
  14934. - Properly implemented 'Visible' handling
  14935. - Added SetVisibleCore()
  14936. - Implemented FindChildAtPoint()
  14937. - Implemented GetContainerControl()
  14938. - Implemented Hide()
  14939. 2004-09-10 19:28 pbartok
  14940. * Control.cs:
  14941. - Moved methods into their appropriate #regions
  14942. - Reordered methods within regions alphabetically
  14943. 2004-09-10 18:57 pbartok
  14944. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  14945. - Added method to retrieve text from window
  14946. 2004-09-10 18:56 pbartok
  14947. * Control.cs:
  14948. - Moved some internal functions into the internal region
  14949. - Implemented FontHeight
  14950. - Implemented RenderRightToLeft
  14951. - Implemented ResizeRedraw
  14952. - Implemented ShowFocusCues
  14953. - Implemented ShowKeyboardCues
  14954. - Implemented FromChildHandle
  14955. - Implemented FromHandle
  14956. - Implemented IsMnemonic
  14957. - Implemented ReflectMessage
  14958. - All public and protected Static Methods are now complete
  14959. 2004-09-10 16:54 pbartok
  14960. * Control.cs:
  14961. - Implemented remaining missing public instance properties
  14962. - Alphabetized some out of order properties
  14963. 2004-09-10 05:51 ravindra
  14964. * PictureBox.cs: Added a check for null image.
  14965. 2004-09-10 00:59 jordi
  14966. * GroupBox.cs: remove cvs tag
  14967. 2004-09-09 05:25 ravindra
  14968. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  14969. 2004-09-09 05:23 ravindra
  14970. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  14971. parent redraw.
  14972. 2004-09-09 02:28 pbartok
  14973. * ThemeWin32Classic.cs:
  14974. - Improve disabled string look
  14975. 2004-09-09 01:15 jordi
  14976. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  14977. args and handler
  14978. 2004-09-08 23:56 ravindra
  14979. * ItemBoundsPortion.cs: It's enum, not a class!
  14980. 2004-09-08 23:47 ravindra
  14981. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  14982. Enums for Form.
  14983. 2004-09-08 21:13 ravindra
  14984. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  14985. ListView control.
  14986. 2004-09-08 21:03 ravindra
  14987. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  14988. avoid crash.
  14989. 2004-09-08 21:01 ravindra
  14990. * ScrollableControl.cs: Removed unreachable code.
  14991. 2004-09-08 06:45 jordi
  14992. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  14993. 2004-09-08 01:00 jackson
  14994. * XplatUIX11.cs: Only run the timers when updating the message
  14995. queue. This effectively gives X messages a higher priority then
  14996. timer messages. Timers still need love though
  14997. 2004-09-07 14:01 jackson
  14998. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  14999. this for us and the handle is no longer valid.
  15000. 2004-09-07 13:59 jackson
  15001. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  15002. loop that manages to not crash. TODO: Add poll and cleanup timers
  15003. 2004-09-07 11:12 jordi
  15004. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  15005. 2004-09-07 03:40 jordi
  15006. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  15007. fixes, methods, multiple links
  15008. 2004-09-06 06:55 jordi
  15009. * Control.cs: Caches ClientRectangle rectangle value
  15010. 2004-09-05 02:03 jordi
  15011. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  15012. certain situations
  15013. 2004-09-04 11:10 jordi
  15014. * Label.cs: Refresh when font changed
  15015. 2004-09-02 16:24 pbartok
  15016. * Control.cs:
  15017. - Added sanity check to creation of double buffer bitmap
  15018. 2004-09-02 16:24 pbartok
  15019. * ButtonBase.cs:
  15020. - Fixed selection of text color
  15021. - Fixed handling of resize event; now properly recreates double
  15022. buffering bitmap
  15023. - Added missing assignment of TextAlignment
  15024. - Added proper default for TextAlignment
  15025. 2004-09-02 14:26 pbartok
  15026. * RadioButton.cs:
  15027. - Added missing RadioButton.RadioButtonAccessibleObject class
  15028. 2004-09-02 14:26 pbartok
  15029. * Control.cs:
  15030. - Added missing Control.ControlAccessibleObject class
  15031. - Started to implement Select()ion mechanisms, still very incomplete
  15032. 2004-09-02 14:25 pbartok
  15033. * AccessibleObject.cs:
  15034. - Added missing methods
  15035. 2004-09-02 14:23 pbartok
  15036. * AccessibleNavigation.cs, AccessibleSelection.cs:
  15037. - Initial check-in
  15038. 2004-09-02 10:32 jordi
  15039. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  15040. pool for pens, brushes, and hatchbruses
  15041. 2004-09-01 15:30 jackson
  15042. * StatusBar.cs: Fix typo
  15043. 2004-09-01 14:44 pbartok
  15044. * RadioButton.cs:
  15045. - Fixed state
  15046. 2004-09-01 14:39 pbartok
  15047. * Button.cs, RadioButton.cs:
  15048. - Functional initial check-in
  15049. 2004-09-01 14:01 pbartok
  15050. * CheckBox.cs:
  15051. - Added missing default
  15052. - Added missing region mark
  15053. 2004-09-01 09:10 jordi
  15054. * Label.cs: fixes method signatures, new methods, events, fixes
  15055. autosize
  15056. 2004-09-01 07:19 jordi
  15057. * Control.cs: Init string variables with an empty object
  15058. 2004-09-01 04:20 jordi
  15059. * Control.cs: fires OnFontChanged event
  15060. 2004-08-31 20:07 pbartok
  15061. * ButtonBase.cs:
  15062. - Enabled display of strings
  15063. 2004-08-31 20:05 pbartok
  15064. * Form.cs:
  15065. - Added (partial) implementation of DialogResult; rest needs to be
  15066. implemented when the modal loop code is done
  15067. 2004-08-31 19:55 pbartok
  15068. * CheckBox.cs:
  15069. - Fixed to match the removal of the needs_redraw concept
  15070. 2004-08-31 19:55 pbartok
  15071. * ButtonBase.cs:
  15072. - Removed the rather odd split between 'needs redraw' and redrawing
  15073. - Now handles the events that require regeneration (ambient
  15074. properties and size)
  15075. 2004-08-31 19:41 pbartok
  15076. * Control.cs:
  15077. - Added firing of BackColorChanged event
  15078. - Added TopLevelControl property
  15079. - Fixed handling of WM_ERASEBKGRND message
  15080. 2004-08-31 12:49 pbartok
  15081. * ButtonBase.cs:
  15082. - Removed debug
  15083. - Minor fixes
  15084. 2004-08-31 12:48 pbartok
  15085. * CheckBox.cs:
  15086. - Finished (famous last words)
  15087. 2004-08-31 04:35 jordi
  15088. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  15089. scrolling bugs, adds new methods
  15090. 2004-08-30 14:42 pbartok
  15091. * CheckBox.cs:
  15092. - Implemented CheckBox drawing code
  15093. 2004-08-30 14:42 pbartok
  15094. * ButtonBase.cs:
  15095. - Made Redraw() and CheckRedraw() virtual
  15096. - Improved mouse up/down/move logic to properly track buttons
  15097. 2004-08-30 09:44 pbartok
  15098. * CheckBox.cs:
  15099. - Updated to fix broken build. Not complete yet.
  15100. 2004-08-30 09:28 pbartok
  15101. * CheckState.cs:
  15102. - Initial checkin
  15103. 2004-08-30 09:17 pbartok
  15104. * Appearance.cs:
  15105. - Initial check-in
  15106. 2004-08-27 16:12 ravindra
  15107. * ToolBarButton.cs: Added TypeConverter attribute.
  15108. 2004-08-27 16:07 ravindra
  15109. * ImageIndexConverter.cs: Implemented.
  15110. 2004-08-27 14:17 pbartok
  15111. * Control.cs:
  15112. - Removed unneeded stack vars
  15113. - First attempt to fix sizing issues when layout is suspended
  15114. 2004-08-25 15:35 jordi
  15115. * ScrollBar.cs: more fixes to scrollbar
  15116. 2004-08-25 14:04 ravindra
  15117. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  15118. Added the missing divider code and grip for ToolBar Control.
  15119. 2004-08-25 13:20 pbartok
  15120. * Control.cs:
  15121. - Control now properly passes the ambient background color to child
  15122. controls
  15123. 2004-08-25 13:20 jordi
  15124. * ScrollBar.cs: small bug fix regarding bar position
  15125. 2004-08-25 12:33 pbartok
  15126. * Timer.cs:
  15127. - Now only calls SetTimer or KillTimer if the enabled state has
  15128. changed
  15129. 2004-08-25 12:33 pbartok
  15130. * XplatUIWin32.cs:
  15131. - Fixed timer handling, now seems to work
  15132. - Improved error message for window creation
  15133. 2004-08-25 12:32 pbartok
  15134. * Control.cs:
  15135. - Fixed generation of MouseUp message
  15136. 2004-08-25 12:29 jordi
  15137. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  15138. and fixes for progressbar
  15139. 2004-08-24 18:43 ravindra
  15140. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  15141. in ToolBar control.
  15142. 2004-08-24 17:15 pbartok
  15143. * Panel.cs:
  15144. - Added #region
  15145. - Added missing events
  15146. - Alphabetized
  15147. 2004-08-24 17:14 pbartok
  15148. * StatusBar.cs, PictureBox.cs:
  15149. - Now uses Control's CreateParams
  15150. 2004-08-24 16:36 pbartok
  15151. * XplatUIX11.cs:
  15152. - Fixed background color handling
  15153. - Fixed sending of enter/leave events on a grab
  15154. 2004-08-24 16:35 pbartok
  15155. * X11Structs.cs:
  15156. - Refined definitions for CrossingEvent
  15157. 2004-08-24 12:37 jordi
  15158. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  15159. formmating, methods signature, and adds missing events
  15160. 2004-08-24 12:24 jordi
  15161. * Control.cs: fire OnEnabledChanged event
  15162. 2004-08-24 11:17 pbartok
  15163. * XplatUIWin32.cs:
  15164. - Implemented SetTimer() and KillTimer()
  15165. 2004-08-24 11:16 pbartok
  15166. * XplatUIX11.cs:
  15167. - Now uses Remove instead of Add to kill the timer
  15168. 2004-08-24 10:16 jackson
  15169. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  15170. picture boxes in the theme now. Draw picture box borders and obey
  15171. sizing modes
  15172. 2004-08-24 05:49 jackson
  15173. * Timer.cs: Remove top secret debugging code
  15174. 2004-08-24 05:34 jackson
  15175. * PictureBox.cs: Temp hack to make picture boxes draw their full
  15176. image
  15177. 2004-08-24 05:29 jackson
  15178. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  15179. XplatUIX11.cs: Move timers to the driver level. On X they are
  15180. queued by the driver and checked on idle.
  15181. 2004-08-24 01:07 jackson
  15182. * XplatUIX11.cs: Use a queue for async messages instead of passing
  15183. them as ClientMessages since that was totally broken. Also simply
  15184. check for events and return an idle message if none are found. This
  15185. gives us an idle handler, and prevents deadlocking when no messages
  15186. are in the queue.
  15187. 2004-08-23 18:19 ravindra
  15188. * XplatUIWin32.cs: Removed the unwanted destructor.
  15189. 2004-08-23 17:27 pbartok
  15190. * ButtonBase.cs:
  15191. - Finishing touches. Works now, just needs some optimizations.
  15192. 2004-08-23 16:53 jordi
  15193. * ScrollBar.cs: small fix
  15194. 2004-08-23 16:45 pbartok
  15195. * Application.cs:
  15196. - Removed debug output
  15197. - Simplifications
  15198. 2004-08-23 16:43 jordi
  15199. * ScrollBar.cs: [no log message]
  15200. 2004-08-23 16:10 pbartok
  15201. * Form.cs:
  15202. - Fixed handling of WM_CLOSE message
  15203. - Removed debug output
  15204. 2004-08-23 16:09 pbartok
  15205. * Application.cs:
  15206. - Added handling of Idle event
  15207. - Added handling of form closing
  15208. - Fixed reporting of MessageLoop property
  15209. - Removed some unneeded code, should provide a bit of a speedup
  15210. 2004-08-23 15:22 pbartok
  15211. * Control.cs:
  15212. - Added InitLayout() method
  15213. - Added code to properly perform layout when Anchor or Dock property
  15214. is changed
  15215. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  15216. LAMESPEC, tried to do it in a way that makes sense
  15217. 2004-08-23 14:10 jordi
  15218. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  15219. properties and methods
  15220. 2004-08-23 13:55 pbartok
  15221. * Control.cs:
  15222. - Properly fixed Jordi's last fix
  15223. - Now uses Cursor's Position property instead of calling XplatUI
  15224. directly
  15225. 2004-08-23 13:44 jordi
  15226. * PaintEventHandler.cs: Adding missing attribute
  15227. 2004-08-23 13:39 pbartok
  15228. * Cursor.cs:
  15229. - Implemented Position property
  15230. 2004-08-23 13:39 pbartok
  15231. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  15232. - Added method to move mouse cursor
  15233. 2004-08-23 13:39 pbartok
  15234. * XplatUIX11.cs:
  15235. - Fixed setting of background color
  15236. - Added method to move mouse cursor
  15237. 2004-08-23 13:16 jordi
  15238. * Control.cs: avoids null exception
  15239. 2004-08-22 17:46 jackson
  15240. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  15241. PictureBox
  15242. 2004-08-22 17:40 jackson
  15243. * XplatUIX11.cs: Add some missing locks
  15244. 2004-08-22 15:10 pbartok
  15245. * Control.cs, Form.cs:
  15246. - Removed OverlappedWindow style from Control, instead it's default
  15247. now is child
  15248. - Made form windows OverlappedWindow by default
  15249. 2004-08-22 13:34 jackson
  15250. * ScrollBar.cs: Update the position through the Value property so
  15251. the OnValueChanged event is raised.
  15252. 2004-08-22 12:04 pbartok
  15253. * SWF.csproj:
  15254. - Added Cursor.cs and UserControl.cs
  15255. 2004-08-22 12:03 pbartok
  15256. * Cursor.cs:
  15257. - Started implementation, not usable yet
  15258. 2004-08-22 12:00 pbartok
  15259. * UserControl.cs:
  15260. - Implemented UserControl (complete)
  15261. 2004-08-21 19:20 ravindra
  15262. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  15263. 2004-08-21 18:49 ravindra
  15264. * ToolBar.cs: Probably this completes the missing attributes in
  15265. toolbar control.
  15266. 2004-08-21 18:03 ravindra
  15267. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  15268. Fixed toolbar control signatures.
  15269. 2004-08-21 16:32 pbartok
  15270. * LinkLabel.cs:
  15271. - Signature Fixes
  15272. 2004-08-21 16:30 pbartok
  15273. * Label.cs:
  15274. - Signature fixes
  15275. 2004-08-21 16:19 pbartok
  15276. * Control.cs, Label.cs:
  15277. - Signature fixes
  15278. 2004-08-21 15:57 pbartok
  15279. * ButtonBase.cs:
  15280. - Added loads of debug output for development
  15281. - Fixed typo in method name
  15282. 2004-08-21 15:52 pbartok
  15283. * ToolBarButtonClickEventArgs.cs:
  15284. - Added missing base class
  15285. 2004-08-21 14:53 pbartok
  15286. * Control.cs:
  15287. - Updated to match new GrabWindow signature
  15288. 2004-08-21 14:51 pbartok
  15289. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  15290. - Added method to get default display size
  15291. 2004-08-21 14:23 pbartok
  15292. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  15293. - Added method to query current grab state
  15294. - Added argument to allow confining a grab to a window
  15295. 2004-08-21 14:22 pbartok
  15296. * Keys.cs:
  15297. - Added [Flags] attribute so that modifiers can be used in bitwise
  15298. ops
  15299. 2004-08-21 14:21 pbartok
  15300. * TrackBar.cs, ScrollBar.cs:
  15301. - Replaced direct XplatUI calls with their Control counterpart
  15302. 2004-08-21 13:32 pbartok
  15303. * Control.cs:
  15304. - Implemented Created property
  15305. 2004-08-21 13:28 pbartok
  15306. * Control.cs:
  15307. - Implemented ContainsFocus
  15308. 2004-08-21 13:26 pbartok
  15309. * Control.cs:
  15310. - Implemented CausesValidation
  15311. 2004-08-21 13:21 pbartok
  15312. * Control.cs:
  15313. - Implemented CanFocus
  15314. - Implemented CanSelect
  15315. - Implemented Capture
  15316. 2004-08-21 12:35 pbartok
  15317. * XplatUIWin32.cs:
  15318. - Fixed bug with Async message handling
  15319. - Implemented getting the ModifierKeys
  15320. 2004-08-21 12:32 jackson
  15321. * AsyncMethodResult.cs: Make sure we have the mutex before we
  15322. release it. Fixes BeginInvoke on windows
  15323. 2004-08-21 11:31 pbartok
  15324. * XplatUIWin32.cs, XplatUIX11.cs:
  15325. - Drivers now return proper mouse state
  15326. 2004-08-21 10:54 jackson
  15327. * Control.cs: Implement EndInvoke
  15328. 2004-08-21 10:48 jackson
  15329. * Timer.cs: Remove unneeded finalizer
  15330. 2004-08-20 19:52 ravindra
  15331. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  15332. in mouse event handling in the ToolBar control.
  15333. 2004-08-20 19:50 ravindra
  15334. * ImageList.cs: Changed draw method to use the arguments passed in
  15335. to draw the image.
  15336. 2004-08-20 18:58 pbartok
  15337. * XplatUIStructs.cs:
  15338. - Added private message for async communication
  15339. 2004-08-20 17:38 ravindra
  15340. * Control.cs: Made RightToLeft property virtual and removed a
  15341. Console.WriteLine.
  15342. 2004-08-20 14:39 jordi
  15343. * ThemeGtk.cs: use style_attach
  15344. 2004-08-20 14:39 pbartok
  15345. * XplatUIWin32.cs:
  15346. - Added jackson's Async code from X11 to Win32
  15347. 2004-08-20 14:09 pbartok
  15348. * SWF.csproj:
  15349. - Added all new files
  15350. 2004-08-20 14:09 pbartok
  15351. * Control.cs:
  15352. - Added call to set window background color
  15353. 2004-08-20 14:03 pbartok
  15354. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  15355. - Added method for setting the window background
  15356. 2004-08-20 14:02 pbartok
  15357. * XplatUIWin32.cs:
  15358. - Added method for setting the background color
  15359. - Added handling for erasing the window background
  15360. 2004-08-20 13:45 jordi
  15361. * TrackBar.cs: fixes timer, new properties and methods
  15362. 2004-08-20 13:34 jackson
  15363. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  15364. correct thread
  15365. 2004-08-20 13:22 jackson
  15366. * Timer.cs: Timer Tick events are now handed through Controls Async
  15367. mechanism so the callbacks are executed in the same thread as X
  15368. 2004-08-20 13:19 jackson
  15369. * XplatUIDriver.cs: Expose functionality to send async messages
  15370. through the driver
  15371. 2004-08-20 13:18 jackson
  15372. * Control.cs: Implement Begininvoke
  15373. 2004-08-20 13:14 jackson
  15374. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  15375. messages through the driver
  15376. 2004-08-20 13:12 jackson
  15377. * XplatUIX11.cs: Lock before all X operations. Also added Async
  15378. method functionality through XSendEvent
  15379. 2004-08-20 13:11 jackson
  15380. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  15381. This will screw up on 64 bit systems)
  15382. 2004-08-20 13:10 jackson
  15383. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  15384. Async messages through X/Win32
  15385. 2004-08-19 19:39 pbartok
  15386. * XplatUIX11.cs:
  15387. - Updated code to match new HandleData.DeviceContext type
  15388. 2004-08-19 19:38 pbartok
  15389. * HandleData.cs:
  15390. - Made DeviceContext a generic object to allow usage from various
  15391. drivers
  15392. - Added support for queueing Windows messages
  15393. 2004-08-19 19:37 pbartok
  15394. * XplatUIWin32.cs:
  15395. - Added generation of MouseEnter, MouseLeave and MouseHover events
  15396. - Added cleanup on EndPaint
  15397. 2004-08-19 19:17 pbartok
  15398. * Control.cs:
  15399. - Added handling of WM_MOUSEHOVER
  15400. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  15401. code
  15402. 2004-08-19 18:55 jordi
  15403. * ThemeGtk.cs: fixes button order
  15404. 2004-08-19 18:12 jordi
  15405. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  15406. 2004-08-19 17:09 pbartok
  15407. * Control.cs:
  15408. - Added Right property
  15409. - Added RightToLeft property
  15410. 2004-08-19 16:27 jordi
  15411. * ThemeGtk.cs: experimental GTK theme support
  15412. 2004-08-19 16:26 jordi
  15413. * ITheme.cs, Theme.cs: move themes from an interface to a class
  15414. 2004-08-19 16:25 jordi
  15415. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  15416. theme enhancaments
  15417. 2004-08-19 16:04 pbartok
  15418. * XplatUIX11.cs:
  15419. - Added colormap basics
  15420. - Added a way to re-initialize with a different display handle
  15421. - Fixed setting of the window background color
  15422. - Added various X11 imports related to colors and colormaps
  15423. 2004-08-19 15:51 pbartok
  15424. * X11Structs.cs:
  15425. - Removed packing hints (Paolo suggested this a while back)
  15426. - fixed colormap type
  15427. - Added default Atom types
  15428. - Added Screen and color structs and enums
  15429. 2004-08-19 15:39 pbartok
  15430. * ImageList.cs:
  15431. - Added missing Draw() method
  15432. - Added missing RecreateHandle event
  15433. 2004-08-19 15:30 pbartok
  15434. * Form.cs:
  15435. - Added handling of WM_CLOSE
  15436. 2004-08-18 13:16 jordi
  15437. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  15438. a table
  15439. 2004-08-18 09:56 jordi
  15440. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  15441. 2004-08-17 15:31 ravindra
  15442. * SWF.csproj: Updated project.
  15443. 2004-08-17 15:25 pbartok
  15444. * Control.cs:
  15445. - Drawing improvement; don't call UpdateBounds if we are not visible
  15446. (or have been minimized)
  15447. 2004-08-17 15:24 pbartok
  15448. * XplatUIWin32.cs:
  15449. - Finished IsVisible
  15450. - Added Win32GetWindowPlacement
  15451. 2004-08-17 15:08 jackson
  15452. * Panel.cs: Initial checkin of the Panel
  15453. 2004-08-17 14:25 pbartok
  15454. * Control.cs:
  15455. - Fixed broken handling of default window sizes
  15456. 2004-08-17 13:29 jackson
  15457. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  15458. has a large startup time.
  15459. 2004-08-17 10:25 jackson
  15460. * HandleData.cs: union areas properly
  15461. 2004-08-17 10:12 jackson
  15462. * HandleData.cs: union areas properly
  15463. 2004-08-16 20:00 ravindra
  15464. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  15465. 2004-08-16 18:48 ravindra
  15466. * ToolBar.cs: Added attributes.
  15467. 2004-08-16 17:17 ravindra
  15468. * SWF.csproj: Updated project.
  15469. 2004-08-16 17:16 jackson
  15470. * XplatUIX11.cs: Check for more expose events before sending a
  15471. WM_PAINT so they can all be grouped together. This makes dragging a
  15472. window across another window redraw in a sane way.
  15473. 2004-08-16 15:47 pbartok
  15474. * Control.cs:
  15475. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  15476. support OnMouseEnter/Leave()
  15477. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  15478. exposure handling
  15479. 2004-08-16 15:46 pbartok
  15480. * XplatUIStructs.cs, XplatUIX11.cs:
  15481. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  15482. OnMouseEnter/Leave()
  15483. 2004-08-16 15:34 jackson
  15484. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  15485. sure messages get the message field set to WM_NULL if they are not
  15486. handled.
  15487. 2004-08-16 15:24 jackson
  15488. * HandleData.cs: HandleData is used for storing message information
  15489. for window handles
  15490. 2004-08-15 17:23 ravindra
  15491. * ColorDepth.cs: Added attribute.
  15492. 2004-08-15 17:23 ravindra
  15493. * SWF.csproj: Updated project for ToolBar Control.
  15494. 2004-08-15 17:20 ravindra
  15495. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  15496. control and also dos2unix format.
  15497. 2004-08-15 17:13 ravindra
  15498. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  15499. ToolBarButtonClickEventArgs.cs,
  15500. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  15501. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  15502. 2004-08-15 15:31 pbartok
  15503. * ButtonBase.cs:
  15504. - First (mostly) working version
  15505. 2004-08-13 16:15 pbartok
  15506. * Control.cs:
  15507. - Fixed Anchor default
  15508. 2004-08-13 15:43 pbartok
  15509. * Control.cs:
  15510. - Changed GetCursorPos signature
  15511. 2004-08-13 15:42 pbartok
  15512. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  15513. - Changed signature for GetCursorPos
  15514. 2004-08-13 15:25 pbartok
  15515. * XplatUIX11.cs:
  15516. - Cleanup
  15517. - Fixed resizing/exposure handling
  15518. 2004-08-13 15:22 jordi
  15519. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  15520. with tickposition
  15521. 2004-08-13 14:55 jordi
  15522. * TrackBar.cs: change from wndproc to events
  15523. 2004-08-13 13:00 jordi
  15524. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  15525. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  15526. 2004-08-13 12:53 pbartok
  15527. * XplatUIWin32.cs:
  15528. - Changed GetWindowPos to also provide client area size
  15529. - Fixed broken prototypes for several win32 functions
  15530. 2004-08-13 12:53 pbartok
  15531. * XplatUI.cs, XplatUIDriver.cs:
  15532. - Changed GetWindowPos to also provide client area size
  15533. 2004-08-13 12:52 pbartok
  15534. * XplatUIX11.cs:
  15535. - Added generation of WM_POSCHANGED
  15536. - Changed GetWindowPos to also provide client area size
  15537. 2004-08-13 12:52 pbartok
  15538. * Control.cs:
  15539. - Added Dispose() and destructor
  15540. - Fixed resizing and bounds calculation
  15541. - Fixed Layout
  15542. - Added memory savings for invisible windows
  15543. 2004-08-13 12:46 jordi
  15544. * TrackBar.cs: adds timer and grap window
  15545. 2004-08-13 10:25 jackson
  15546. * Timer.cs: SWF Timer
  15547. 2004-08-12 16:59 pbartok
  15548. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  15549. - Implemented method to get current mouse position
  15550. 2004-08-12 14:29 jordi
  15551. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  15552. enhancement, fix mouse problems, highli thumb, etc
  15553. 2004-08-12 13:31 pbartok
  15554. * Control.cs:
  15555. - Fixed Anchoring bugs
  15556. 2004-08-12 13:01 jackson
  15557. * StatusBar.cs: Don't forget things
  15558. 2004-08-12 12:54 jackson
  15559. * ThemeWin32Classic.cs: Handle owner draw status bars
  15560. 2004-08-12 12:54 jackson
  15561. * StatusBar.cs: Implement missing properties, events, and methods.
  15562. Handle mouse clicking
  15563. 2004-08-12 10:19 jackson
  15564. * StatusBarPanelClickEventArgs.cs,
  15565. StatusBarPanelClickEventHandler.cs: Classes for handling status
  15566. bar panel click events
  15567. 2004-08-12 10:10 jackson
  15568. * Control.cs: Add missing properties
  15569. 2004-08-12 09:46 pbartok
  15570. * BindingsManagerBase.cs:
  15571. - Name changed to BindingManagerBase.cs
  15572. 2004-08-12 09:25 jordi
  15573. * ScrollableControl.cs: calls ctrlbase instead of exeception
  15574. 2004-08-11 16:28 pbartok
  15575. * InputLanguageChangingEventArgs.cs:
  15576. - Never check in before compiling. Fixes the last check-in
  15577. 2004-08-11 16:26 pbartok
  15578. * InputLanguageChangingEventArgs.cs:
  15579. - More signature fixes
  15580. 2004-08-11 16:20 pbartok
  15581. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  15582. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  15583. ImageListStreamer.cs, InputLanguage.cs,
  15584. InputLanguageChangedEventArgs.cs,
  15585. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  15586. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  15587. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  15588. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  15589. - Signature fixes
  15590. 2004-08-11 16:16 pbartok
  15591. * Application.cs:
  15592. - Fixed Signature
  15593. - Added .Net 1.1 method
  15594. 2004-08-11 15:25 pbartok
  15595. * SWF.csproj:
  15596. - Fixed BindingManagerBase.cs filename
  15597. 2004-08-11 15:22 pbartok
  15598. * BindingManagerBase.cs:
  15599. - Was checked in with wrong filename
  15600. 2004-08-11 14:50 pbartok
  15601. * SWF.csproj:
  15602. - Updated
  15603. 2004-08-11 13:41 jordi
  15604. * XplatUIWin32.cs: Fixes ClientRect
  15605. 2004-08-11 13:19 pbartok
  15606. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  15607. XplatUIX11.cs:
  15608. - We had SetWindowPos and MoveWindow to set window positions and
  15609. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  15610. keep SetWindowPos as matching counterpart
  15611. - Added some X11 sanity checking
  15612. 2004-08-11 12:59 pbartok
  15613. * Control.cs:
  15614. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  15615. (It seems that SetBounds is just a front for SetBoundsCore and
  15616. SetBoundsCore updates the underlying window system and
  15617. UpdateBounds is responsible for updating the variables associated
  15618. with the Control and sending the events)
  15619. - Major cleanup of Size handling; we now have two sizes, client_size
  15620. and bounds. Bounds defines the window with decorations, client_size
  15621. without them.
  15622. 2004-08-11 12:55 pbartok
  15623. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  15624. - Added method to calculate difference between decorated window and
  15625. raw client area
  15626. 2004-08-11 12:54 pbartok
  15627. * Label.cs:
  15628. - Forcing redraw on resize
  15629. 2004-08-11 11:43 pbartok
  15630. * ImageList.cs:
  15631. - Removed disposing of the actual images when the list is disposed
  15632. 2004-08-11 09:13 pbartok
  15633. * Control.cs:
  15634. - Now properly reparents windows
  15635. 2004-08-11 08:37 pbartok
  15636. * Control.cs:
  15637. - Duh!
  15638. 2004-08-11 07:47 pbartok
  15639. * Control.cs:
  15640. - Rewrote the collection stuff. Might not be as fast now, not
  15641. keeping the number of children around and accessible directly, but
  15642. it's more straightforward
  15643. 2004-08-11 07:44 pbartok
  15644. * AccessibleObject.cs:
  15645. - Fixed to match ControlCollection rewrite
  15646. 2004-08-11 07:43 pbartok
  15647. * ImageList.cs:
  15648. - Added missing creation of the collection list
  15649. 2004-08-10 20:08 jackson
  15650. * StatusBar.cs: Get the paint message from WndProc
  15651. 2004-08-10 19:31 jackson
  15652. * ThemeWin32Classic.cs: Create Brushes as little as possible
  15653. 2004-08-10 19:20 jackson
  15654. * UICues.cs: Add Flags attribute
  15655. 2004-08-10 19:19 jackson
  15656. * StatusBarPanel.cs: Signature cleanup
  15657. 2004-08-10 19:10 jackson
  15658. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  15659. Initial implementation of status bar item drawing
  15660. 2004-08-10 17:27 jordi
  15661. * TrackBar.cs: add missing methods, properties, and restructure to
  15662. hide extra ones
  15663. 2004-08-10 16:24 jackson
  15664. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  15665. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  15666. attribute
  15667. 2004-08-10 13:21 jordi
  15668. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  15669. enhancements and standarize on win colors defaults
  15670. 2004-08-10 12:52 jackson
  15671. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  15672. ThemeWin32Classic.cs: Implement DrawItem functionality
  15673. 2004-08-10 12:47 jordi
  15674. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  15675. 2004-08-10 12:32 jordi
  15676. * Control.cs: throw ontextchange event
  15677. 2004-08-10 11:43 pbartok
  15678. * Control.cs:
  15679. - Added more to the still unfinished Dock/Anchor layout code
  15680. 2004-08-10 11:39 pbartok
  15681. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  15682. - Added GetWindowPos method
  15683. 2004-08-10 11:36 pbartok
  15684. * XplatUIWin32.cs:
  15685. - Implemented several methods
  15686. 2004-08-10 09:47 jackson
  15687. * TrackBar.cs: Allow control to handle buffering
  15688. 2004-08-10 09:41 jackson
  15689. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  15690. 2004-08-10 09:24 jackson
  15691. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  15692. 2004-08-10 09:09 jackson
  15693. * StatusBar.cs: Let Control handle all the buffering.
  15694. 2004-08-10 09:08 jackson
  15695. * Control.cs: Control will now handle the buffering code, so each
  15696. control does not have to implement this.
  15697. 2004-08-10 08:34 jackson
  15698. * XplatUIDriver.cs: Use default colors from the theme
  15699. 2004-08-09 17:12 pbartok
  15700. * ImageList.cs:
  15701. - Fixed several bugs Ravindra pointed out
  15702. 2004-08-09 16:11 pbartok
  15703. * Control.cs:
  15704. - Added incomplete dock layout code
  15705. - Added support for mouse wheel
  15706. 2004-08-09 16:09 pbartok
  15707. * XplatUIX11.cs:
  15708. - Added handling for middle and right mousebutton
  15709. - Added handling for mouse wheel
  15710. - Added handling for key state and mouse state and position
  15711. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  15712. messages
  15713. 2004-08-09 15:40 jackson
  15714. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  15715. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  15716. checkin
  15717. 2004-08-09 15:37 jackson
  15718. * StatusBar.cs: Initial implementation of StatusBar
  15719. 2004-08-09 15:36 jackson
  15720. * ITheme.cs: Add support for drawing status bar and getting status
  15721. bar item sizes
  15722. 2004-08-09 15:35 pbartok
  15723. * MouseButtons.cs:
  15724. - Fixed values
  15725. 2004-08-09 15:34 jackson
  15726. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  15727. status bar item sizes
  15728. 2004-08-09 15:21 jackson
  15729. * ThemeWin32Classic.cs: Use known colors for default control
  15730. colours
  15731. 2004-08-09 15:12 jackson
  15732. * ThemeWin32Classic.cs: Make the default font static, it is static
  15733. in control so this doesn't change functionality and creating fonts
  15734. is sloooooow.
  15735. 2004-08-09 14:56 pbartok
  15736. * X11Structs.cs:
  15737. - Added GrabMode enum
  15738. 2004-08-09 14:55 pbartok
  15739. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  15740. - Removed Run method, was only required for initial development
  15741. 2004-08-09 14:51 pbartok
  15742. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  15743. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  15744. capture
  15745. 2004-08-09 13:48 pbartok
  15746. * XplatUIX11.cs:
  15747. - Fixed default sizing for child windows
  15748. 2004-08-09 12:56 pbartok
  15749. * XplatUIX11.cs:
  15750. - Added generation of WM_DESTROY message
  15751. - Added handling of window manager induced shutdown
  15752. 2004-08-09 11:31 jackson
  15753. * ThemeWin32Classic.cs: New names for control properties
  15754. 2004-08-09 11:25 jackson
  15755. * Control.cs: Use new color names
  15756. 2004-08-09 11:02 jackson
  15757. * XplatUI.cs: Get default window properties from the theme
  15758. 2004-08-09 11:01 jackson
  15759. * ITheme.cs: The theme engine now controls default window
  15760. properties
  15761. 2004-08-09 11:00 jackson
  15762. * ThemeWin32Classic.cs: Add default window color properties
  15763. 2004-08-09 10:17 jackson
  15764. * ThemeWin32Classic.cs: Use correct default back color
  15765. 2004-08-09 10:05 jackson
  15766. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  15767. the theme now.
  15768. 2004-08-09 09:56 jackson
  15769. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  15770. 2004-08-09 09:54 jackson
  15771. * Control.cs: Get default properties from the theme.
  15772. 2004-08-09 09:53 jackson
  15773. * ITheme.cs: Themes now handle default control properties
  15774. 2004-08-09 09:53 jackson
  15775. * ThemeWin32Classic.cs: Themes now handle default control
  15776. properties so coloring will be consistent
  15777. 2004-08-08 16:54 jordi
  15778. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  15779. 2004-08-08 15:08 jordi
  15780. * XplatUIX11.cs: fixes keyboard crash
  15781. 2004-08-08 13:47 jordi
  15782. * Label.cs: add cvs header info
  15783. 2004-08-08 12:09 jackson
  15784. * ThemeWin32Classic.cs: Add pen_buttonface
  15785. 2004-08-08 11:52 jordi
  15786. * Label.cs, LinkLabel.cs: [no log message]
  15787. 2004-08-08 11:34 jordi
  15788. * ThemeWin32Classic.cs: Use Windows Standard Colours
  15789. 2004-08-07 17:32 jordi
  15790. * TrackBar.cs: throw exceptions of invalid enums values
  15791. 2004-08-07 17:31 jordi
  15792. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  15793. draw method name
  15794. 2004-08-07 16:56 jackson
  15795. * HorizontalAlignment.cs: Initial checkin
  15796. 2004-08-07 13:16 jordi
  15797. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  15798. methods
  15799. 2004-08-07 13:05 jordi
  15800. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  15801. GetSysColor defines
  15802. 2004-08-06 18:01 pbartok
  15803. * ThemeWin32Classic.cs:
  15804. - Fixed some rounding issues with float/int
  15805. 2004-08-06 18:00 jackson
  15806. * DockStyle.cs, AnchorStyles.cs:
  15807. Add flags and serializable attributes.
  15808. 2004-08-06 17:46 pbartok
  15809. * XplatUIX11.cs:
  15810. - Implemented GetParent
  15811. 2004-08-06 17:18 pbartok
  15812. * TrackBar.cs:
  15813. - Fixed some rounding issues with float/int
  15814. 2004-08-06 17:17 pbartok
  15815. * X11Structs.cs, XplatUIX11.cs:
  15816. - Fixed Refresh and Invalidate
  15817. 2004-08-06 15:30 pbartok
  15818. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  15819. - Fixed recursive loop when resizing
  15820. - Improved/fixed redrawing on expose messages
  15821. 2004-08-06 09:53 jordi
  15822. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  15823. keyboard navigation
  15824. 2004-08-06 08:02 pbartok
  15825. * X11Structs.cs, XplatUIX11.cs:
  15826. - Fixed reparenting
  15827. - Fixed window border creation
  15828. 2004-08-05 15:38 pbartok
  15829. * XplatUIX11.cs:
  15830. - Attempted fix for reparenting problems
  15831. 2004-08-04 15:14 pbartok
  15832. * Control.cs:
  15833. - Fixed Invalidation bug (calculated wrong client area)
  15834. - Added ClientSize setter
  15835. 2004-08-04 15:13 pbartok
  15836. * Form.cs:
  15837. - Added AutoScale properties
  15838. 2004-08-04 15:13 pbartok
  15839. * SWF.csproj:
  15840. - Added latest files
  15841. 2004-08-04 14:11 pbartok
  15842. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  15843. XplatUIX11.cs:
  15844. - Added Invalidate handling
  15845. 2004-08-03 17:09 jordi
  15846. * XplatUIDriver.cs: fixes spelling mistake
  15847. 2004-07-27 09:53 jordi
  15848. * TrackBar.cs: fixes trackbar events, def classname, methods
  15849. signature
  15850. 2004-07-27 09:29 jordi
  15851. * ScrollBar.cs: fixes scrollbar events
  15852. 2004-07-27 04:38 jordi
  15853. * Control.cs: changes to be able to run winforms samples
  15854. 2004-07-26 11:42 jordi
  15855. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  15856. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  15857. 2004-07-26 05:41 jordi
  15858. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  15859. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  15860. implementation
  15861. 2004-07-22 09:22 jordi
  15862. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  15863. check link overlapping, implement events, and fixes
  15864. 2004-07-21 10:28 jordi
  15865. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  15866. 2004-07-21 10:19 jordi
  15867. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  15868. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  15869. LinkLabelLinkClickedEventArgs.cs,
  15870. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  15871. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  15872. implementation
  15873. 2004-07-19 13:09 jordi
  15874. * Control.cs, Label.cs: label control re-written: added missing
  15875. functionlity, events, and properties
  15876. 2004-07-19 10:49 jordi
  15877. * Control.cs: fixes SetBounds logic
  15878. 2004-07-19 01:29 jordi
  15879. * Control.cs: Call RefreshWindow only if the window has created
  15880. 2004-07-15 14:05 pbartok
  15881. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  15882. - Implemented ImageList and ImageList.ImageCollection classes
  15883. - Added ColorDepth enumeration
  15884. - Updated SWF VS.Net project
  15885. 2004-07-15 11:06 jordi
  15886. * XplatUIStructs.cs: added MsgButons enum
  15887. 2004-07-15 11:03 jordi
  15888. * Control.cs: added basic mouse handeling events
  15889. 2004-07-15 03:38 jordi
  15890. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  15891. Vertical TrackBar control implementation
  15892. 2004-07-13 09:33 jordi
  15893. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  15894. 2004-07-13 09:31 jordi
  15895. * Control.cs, Form.cs: commit: new properties and fixes form size
  15896. problems
  15897. 2004-07-09 14:13 miguel
  15898. * ProgressBar.cs: Spelling
  15899. 2004-07-09 11:25 pbartok
  15900. * ProgressBar.cs:
  15901. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  15902. faster
  15903. 2004-07-09 11:17 miguel
  15904. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  15905. * ProgressBar.cs: Fixed spelling for `block'
  15906. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  15907. style guidelines.
  15908. Avoid using the += on rect.X, that exposed a bug in the compiler.
  15909. 2004-07-08 23:21 pbartok
  15910. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  15911. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  15912. BaseCollection.cs, Binding.cs, BindingContext.cs,
  15913. BindingMemberInfo.cs, BindingsCollection.cs,
  15914. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  15915. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  15916. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  15917. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  15918. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  15919. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  15920. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  15921. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  15922. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  15923. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  15924. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  15925. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  15926. InputLanguageChangedEventArgs.cs,
  15927. InputLanguageChangedEventHandler.cs,
  15928. InputLanguageChangingEventArgs.cs,
  15929. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  15930. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  15931. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  15932. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  15933. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  15934. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  15935. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  15936. QueryAccessibilityHelpEventArgs.cs,
  15937. QueryAccessibilityHelpEventHandler.cs,
  15938. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  15939. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  15940. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  15941. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  15942. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  15943. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  15944. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  15945. XplatUIX11.cs, lang.cs:
  15946. - Initial check-in