ChangeLog 846 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156
  1. 2007-03-14 Jackson Harper <[email protected]>
  2. * TextBoxBase.cs: Need to display the caret after letting the base
  3. wndproc handle the focus methods, because the caret display
  4. methods check the focus state.
  5. - Try to display the caret after updating it's position with SelectWord.
  6. - Don't need to do an immediate update on this recalc, since there
  7. will be an invalidate anyways.
  8. 2007-03-14 Jackson Harper <[email protected]>
  9. * TreeView.cs: Some workarounds so that we can match event order a
  10. little better.
  11. 2007-03-14 Gert Driesen <[email protected]>
  12. * ErrorProvider.cs: Invoke default ctor from 2.0-only ctor. Fixes bug
  13. #80803. Avoid NullReferenceException when Control does not have
  14. parent. Fixed different blinkstyle issues. Only subscribe to Tick
  15. event a single time. Only draw error icon when control is created and
  16. visible. Fixes failing unit tests.
  17. 2007-03-14 Andreia Gaita <[email protected]>
  18. * TabControl.cs: Add support for 2.0 Deselecting, Deselected and
  19. Selecting events. Fire Leave and Enter events when changing tabs.
  20. 2007-03-14 George Giolfan <[email protected]>
  21. * TreeView.cs: Add TreeViewNodeSorter.
  22. * TreeNodeCollection.cs: Add sorter parameter to Sort method.
  23. 2007-03-14 Chris Toshok <[email protected]>
  24. * Form.cs: go ahead and remove the RecreateHandles that jpobst
  25. removed earlier and I had him add back it. It turns out metacity
  26. *does* in fact handle the MOTIF_WM_HINTS property changing, it
  27. just doesn't redraw the window titlebar until you resize the
  28. window. This also means we aren't recreating the entire window
  29. hierarchy on X when you change this property. And it looks better
  30. on windows, too.
  31. 2007-03-14 Carlos Alberto Cortez <[email protected]>
  32. * ListViewItem.cs:
  33. * ListView.cs: Collecting selection information
  34. is now done in SelectedIndexCollection rather than in
  35. SelectedListViewItemCollection. This is done so we can
  36. have the selection information code in one single place
  37. (virtual mode selection information entirely depends on
  38. SelectedIndexCollection).
  39. 2007-03-13 Miguel de Icaza <[email protected]>
  40. * ErrorProvider.cs: Add stubs for ISupportInitialize
  41. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  42. * ListViewItem.cs: Trigger the ItemCheck and ItemChecked events
  43. in the right order with the right values, from the Checked property,
  44. just as MS does (instead of triggering them from ListView).
  45. * ListView.cs: Make OnItemCheck and OnItemChecked internal.
  46. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  47. * ListView.cs: Implement ItemChecked 2.0 event. Also cast to
  48. the correct handler in OnItemCheck method (ItemCheckEventHandler
  49. instead of EventHandler). This used to throw an InvalidCastException.
  50. 2007-03-13 Jackson Harper <[email protected]>
  51. * TextBoxBase.cs: Calculate the document before the handle is
  52. created, so there isn't an extra invalidate called.
  53. 2007-03-13 Jonathan Pobst <[email protected]>
  54. * Form.cs: Don't set owner in ShowDialog until we are sure
  55. that we aren't going to throw an exception. [Fixes bug #80773]
  56. 2007-03-12 George Giolfan <[email protected]>
  57. * TreeView.cs: Make it compile.
  58. 2007-03-12 Jonathan Pobst <[email protected]>
  59. * Control.cs: Another place we don't call SizeFromClientSize.
  60. * Form.cs: Another place we don't call SizeFromClientSize.
  61. [Fixes bug #81125]
  62. 2007-03-12 Jackson Harper <[email protected]>
  63. * TreeView.cs: Basically emulating some strangness here with
  64. exanding nodes and setting node positions when windows aren't
  65. created.
  66. - Also attempting to walk the node tree less than previously, and
  67. just use visible order calculations for determining offsets.
  68. - oops made scrolling backwards.
  69. * TreeNode.cs: We need to start nodes with a zero visible order,
  70. because the order calcs are based on the first nodes order.
  71. 2007-03-12 Jonathan Pobst <[email protected]>
  72. * Form.cs: Don't exit the program if RecreateHandle is called on
  73. the main form.
  74. 2007-03-12 Chris Toshok <[email protected]>
  75. * XEventQueue.cs: remove the use of PostQuitState.
  76. * XplatUIX11.cs: remove the use of PostQuitState. If we get a
  77. WM_QUIT message in GetMessage, return false (and if we're in the
  78. nested WaitForHwndMessage, repost the WM_QUIT message).
  79. 2007-03-12 Jonathan Pobst <[email protected]>
  80. * Form.cs: Don't call RecreateHandle when we change the MinimizeBox
  81. or the MaximizeBox properties. [Part of bug #80640]
  82. 2007-03-12 Everaldo Canuto <[email protected]>
  83. * LinkLabel.cs: When calculate pieces make LinkArea empty if theres
  84. no links.
  85. 2007-03-12 Jonathan Pobst <[email protected]>
  86. * ToolStripItem.cs: Fix some tests I broke by checking Visible
  87. instead of visible.
  88. 2007-03-12 Gert Driesen <[email protected]>
  89. * FileDialog.cs: Use text of File name combobox to determine what
  90. files the user selected. Added tokenizer to parse the file names.
  91. Fixes bug #81123.
  92. 2007-03-12 Jonathan Pobst <[email protected]>
  93. * Control.cs: We can't call SizeFromClientSize in the constructor,
  94. but we still need to do the same work, so make an internal version.
  95. [Fixes bug #80621]
  96. 2007-03-12 Jackson Harper <[email protected]>
  97. * TreeView.cs:
  98. * TreeNode.cs:
  99. * OpenTreeNodeEnumerator: Match MS better for IsVisible and
  100. IsExpanded.
  101. 2007-03-12 Jackson Harper <[email protected]>
  102. * TextBoxBase.cs: Now that the handles are being created a little
  103. later, we need to make sure that the document is recalculated when
  104. the handle is created.
  105. 2007-03-11 Everaldo Canuto <[email protected]>
  106. * Theme.cs: GetLinkFont abstract method added.
  107. * LinkLabel.cs:
  108. - Remove CalcTrimRectangle, no longer needed.
  109. - Factor also remove, position issues must be fixed in libgdiplus.
  110. - Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
  111. - GetPieceFont, CreateLinkFont and link_font removed, theme must be
  112. care about font used to draw links.
  113. - Set TabStop to true when control is "Selectable", control is selectable
  114. when have one or more links. Fixes #80501 (test case is also added).
  115. - Set the LinkArea values after links change, LinkArea values must be
  116. based in first link position and size, a test case was created.
  117. - Fix ControlStyles.Selectable value, now is based on LinkArea value,
  118. the attribute must be true LinkArea.Length > 0. The same was applied to
  119. TabStop.
  120. * ThemeWin32Classic.cs:
  121. - LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
  122. in draw method.
  123. - Use CPDrawStringDisabled to draw disabled text instead of hard code
  124. color change.
  125. - Draw focus rectangle for every parts focused, including parts that
  126. is on another line, its because regions returns various rectangles
  127. and not only one. Needed to mimic W32 look.
  128. - Uses Graphics.Clip to delimite region painted, it mean that now
  129. complete text is passed to DrawString, with this we solve layout
  130. issues without create another text renderer.
  131. - Uses Region.Intersect to fix some flickers problems, now only needed
  132. parts will redrawed.
  133. - This changes fixes #79614 and some other unreported issues, on Linux
  134. some layout problems still remain, the problem is under
  135. MeasureCharacterRanges but it is an libgdiplus bug.
  136. 2007-03-10 Gert Driesen <[email protected]>
  137. * TextBox.cs: Set for foreground color.
  138. * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
  139. this is already done in Control.
  140. 2007-03-10 Jackson Harper <[email protected]>
  141. * TextBox.cs: Set the background color, but reset the
  142. backcolor_set flag which is just for the user setting the
  143. background color.
  144. 2007-03-09 Chris Toshok <[email protected]>
  145. * Control.cs: really remove the call to XplatUI.SetVisible from
  146. CreateHandle(), like I said I did when I merged the branch.
  147. * BindingSource.cs: implement some more of this stuff.
  148. 2007-03-09 Jackson Harper <[email protected]>
  149. * TextBox.cs: Don't explicitly set our background colors.
  150. * TextControl.cs:
  151. * TextBoxBase.cs: Draw readonly text.
  152. - Need to invalidate when backcolor or readonly are changed.
  153. 2007-03-09 Jackson Harper <[email protected]>
  154. * TextBoxBase.cs: Don't set the forecolor until the handle is
  155. created.
  156. - Do not raise OnPaint, and removed some old debug code.
  157. 2007-03-09 George Giolfan <[email protected]>
  158. * ScrollableControl.cs: Fix mouse wheel scrolling.
  159. 2007-03-09 Jonathan Pobst <[email protected]>
  160. * Control.cs: Wire up MouseDoubleClick event.
  161. 2007-03-09 Jonathan Pobst <[email protected]>
  162. * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
  163. top or bottom.
  164. * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
  165. * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
  166. item is added. This logic was moved to ToolStrip.OnItemAdded.
  167. [Fixes bug #81090]
  168. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  169. * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
  170. 2007-03-08 Jackson Harper <[email protected]>
  171. * TreeView.cs: Show the correct image for selected node (this used
  172. to work, not sure how the code got deleted). Also implemented 2.0 feature
  173. SelectedImageKey.
  174. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  175. * ListView.cs:
  176. * ListViewItem.cs: Cache index in items when retrieving them
  177. in VirtualMode.
  178. 2007-03-08 Jonathan Pobst <[email protected]>
  179. * ToolStripItem.cs: Don't return the explicit_size if we are using
  180. AutoSize. Fixes invalidation issue when user has explicitly set a
  181. size and has AutoSize = true.
  182. 2007-03-08 Jonathan Pobst <[email protected]>
  183. * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
  184. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  185. * DataGridView.cs: Remove event handler from DataView when a
  186. DataTable is used as DataSource.
  187. 2007-03-08 Jonathan Pobst <[email protected]>
  188. * Control.cs: Create internal setter for client_size to allow it to be
  189. set without triggering resizing code.
  190. * Form.cs: Calculate client_size in constructor, only change client_size
  191. in FormBorderStyle property if Handle has been created.
  192. [Fixes #80574, #80791]
  193. 2007-03-08 George Giolfan <[email protected]>
  194. * SystemInformation.cs: Add TerminalServerSession.
  195. 2007-03-07 Jonathan Pobst <[email protected]>
  196. * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
  197. TreeView code.
  198. 2007-03-07 Jonathan Pobst <[email protected]>
  199. * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
  200. Handle before we were supposed to. Now checks ActivateOnShow property
  201. in Control.
  202. * Control.cs: Add internal ActivateOnShow property.
  203. * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
  204. for ActivateOnShow.
  205. * Hwnd.cs Remove no longer needed no_activate field.
  206. 2007-03-07 Jackson Harper <[email protected]>
  207. * TreeView.cs: Implement owner draw tree nodes. And a couple more
  208. 2.0 properties
  209. * DrawTreeNodeEventHandler.cs: Add
  210. * DrawTreeNodeEventArgs.cs: Correct default value.
  211. 2007-03-07 Chris Toshok <[email protected]>
  212. * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
  213. to be called before NativeWindow.WndProc. Put the HwndCreating
  214. magic there to hook up our Hwnd's to handles.
  215. 2007-03-07 Gert Driesen <[email protected]>
  216. * DataGridView.cs: Comment out debug code.
  217. 2007-03-07 Chris Toshok <[email protected]>
  218. [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
  219. to make the rest of the world happy]
  220. * Control.cs (CreateHandle): there's no need to call
  221. XplatUI.SetVisible here, it's effectively done by
  222. XplatUI.CreateWindow on X now, and always was on windows.
  223. * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
  224. shortcircuit out of the loop if we have a message loop running on
  225. this thread.
  226. [Changelog from merge]
  227. 2007-03-05 Chris Toshok <[email protected]>
  228. * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
  229. causes handle creation.
  230. 2007-02-28 Chris Toshok <[email protected]>
  231. * ApplicationContext.cs: Add a flag to make sure we only raise the
  232. ThreadExit event once (ExitThreadCore can be indirectly called
  233. from a few places.) I don't like the additional flag, but it
  234. makes the event ordering/count correct.
  235. * Application.cs (MWFThread.LoopCount): don't use an enumerator
  236. without locking the collection. An enumerator doesn't give us any
  237. protection from modification anyway. Lock the thread hash and
  238. replace the complicated enumerator loop with a foreach.
  239. (Application.CloseForms): make internal so it can be called from
  240. ApplicationContext. This should probably be moved to MWFThread.
  241. (Application.ExitThread): don't call MWFThread.Current.Exit()
  242. here. just call XplatUI.PostQuitMessage. We'll exit the thread
  243. when the runloop exits (in response to WM_QUIT.)
  244. (Application.RunLoop): add a comment (and check) for
  245. context.MainForm being null after setting context.MainForm.Visible
  246. = true. This is because you're perfectly free to dispose of a
  247. form in VisibilityChanged. Chalk this up to another case where we
  248. need to synchronously generate WM_ACTIVATE from Control.Show.
  249. Also, add handling for WM_QUIT here so we'll exit the loop.
  250. * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
  251. fact that we don't wait if we're only unmapping the whole_window
  252. makes me a bit nervous, but it doesn't seem to cause any problems
  253. yet.
  254. also, add a comment about the stupid, broken and wrong resetting
  255. of PostQuitState to false in GetMessage().
  256. In PostQuitMessage, we need to add a WM_QUIT message to the
  257. thread's queue. We use the FosterParent to get the right
  258. handle/hwnd/queue.
  259. Lastly, in SetVisible, we need to unmap both windows, since the
  260. waiting only happens when we're unmapping the client window. So
  261. now, the *only* time we unmap just the whole_window is in the hack
  262. for resizing a control to 0,0.
  263. 2007-02-21 Chris Toshok <[email protected]>
  264. * Application.cs (CloseForms): rewrite this so that we don't
  265. modify the list while we're traversing it.
  266. 2007-02-20 Chris Toshok <[email protected]>
  267. * ListBox.cs (.ctor): move the Control.AddImplicits here instead
  268. of OnHandleCreated.
  269. (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
  270. handle is created. otherwise we'll create it here.
  271. (VerticalScrollEvent): same here.
  272. * Application.cs (CloseForms): call Form.Dispose, don't post
  273. WM_CLOSE_INTERNAL.
  274. * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
  275. here. Application should Dispose() of the Form's.
  276. * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
  277. WM_DESTROY as well.
  278. (MapWindow,UnmapWindow): only actually do the waiting for
  279. SHOWWINDOW if the control we're dealing with is a Form.
  280. (CreateWindow): if the control isn't a form, SendMessage
  281. WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
  282. * Control.cs (SetVisibleCore): always use is_visible here, not
  283. value. If we use value, we can end up re-setting something
  284. visible if, for instance, you do Control.Hide() in a delegate
  285. attached to VisibleChanged as we do in FormTest.ShowDialogTest.
  286. 2007-02-20 Chris Toshok <[email protected]>
  287. * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
  288. the message we need. PeekMessage returning false should not be a
  289. condition under which we exit the loop.
  290. 2007-02-15 Chris Toshok <[email protected]>
  291. * Control.cs (Refresh): only refresh if we've got a handle and are
  292. visible.
  293. (CreateAccessibilityInstance): CreateControl() here.
  294. (UpdateChildrenZOrder): complicate the code loop even more by
  295. taking into account controls that haven't had their handle
  296. created, and those that aren't visible. But on the flip side,
  297. simplify the code by splitting it into two loops. one which
  298. builds up the list of child controls we're interested in, and the
  299. other that sets the z order of those children.
  300. 2007-02-14 Chris Toshok <[email protected]>
  301. * Control.cs: Control.AccessibilityObject causes the control to be
  302. created, not just the handle.
  303. 2007-02-14 Chris Toshok <[email protected]>
  304. * Control.cs: rework UpdateChildrenZOrder to correctly handle the
  305. problem on X where a window might have its handle created (and be
  306. visible) while the window is unmapped. calling XConfigureWindow
  307. on an unmapped window is bad, and generates X errors.
  308. 2007-02-13 Chris Toshok <[email protected]>
  309. * Control.cs (CreateHandle): don't loop over our children setting
  310. their parent here. do it when in WndProc when we're shown.
  311. (UpdateChildrenZOrder): make this internal so we can call it from
  312. ScrollableControl.
  313. (WndProc): for WM_SHOWWINDOW, reparent the child control after
  314. creating its handle. Also, remove the calls to PerformLayout from
  315. here. they're done in ScrollableControl.OnVisibleChanged. Also,
  316. OnVisibleChanged only seems to be called directly here for the
  317. toplevel control. It's propagated down the window hierarchy by
  318. calls to child.OnParentVisibleChanged.
  319. (OnVisibleChanged): don't do layout here - it's done (oddly
  320. enough, according to a glance at stack traces on ms.net..) in
  321. ScrollableControl.
  322. * ScrollableControl.cs (OnVisibleChanged): make sure we update the
  323. z order of our children before calling PerformLayout.
  324. 2007-02-12 Chris Toshok <[email protected]>
  325. [big change, fixes #80020]
  326. * AccessibleObject.cs: we need to make owner internal again to fix
  327. some of ControlAccessibleObject.
  328. * Control.cs: lots of changes here. add support for WM_CREATE,
  329. for which we generate OnHandleCreated. Remove the OnHandleCreated
  330. call from CreateHandle. Also add support for WM_SHOWWINDOW where
  331. we create child controls. leave the MonoTODO's for the
  332. accessibility calls, but fix the exceptions so the tests pass.
  333. Add the InvalidOperationExceptions to Invoke methods, and remove a
  334. couple of InvokeInternal methods we aren't using.
  335. Also, add a couple of CreateHandle calls in places where we know
  336. the handles are being created but our code doesn't reference
  337. .Handle.
  338. Make SetVisibleCore call OnVisibleChange if the handle isn't
  339. created. If the handle is created, we rely on XplatUI.SetVisible
  340. generating the event synchronously.
  341. Lastly, make sure we don't use this.Handle inside CreateHandle,
  342. because we can call back into client (and that code can dispose of
  343. the control).
  344. * XplatUIStructs.cs: misc/cleanup.
  345. * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
  346. although we don't populate the wParam properly.
  347. (CreateWindow): generate WM_CREATE.
  348. (MapWindow,UnmapWindow): make these calls synchronous, at great
  349. performance expense (particularly in the unmap case), to match
  350. win32 behavior.
  351. * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
  352. to call it.
  353. (set_MdiParent): don't recreate the handle unless it's been
  354. created already.
  355. * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
  356. it's created.
  357. * NativeWindow.cs: this is probably the weirdest part of the
  358. patch. We need a way to link up the window being created to the
  359. WM_CREATE message. Since we can only be creating one window at a
  360. time on a given thread, we keep track of a per-thread reference so
  361. we can dispatch it properly. We also need to keep track of the
  362. Hwnd currently being created so that the win32 backend doesn't
  363. have problems.
  364. * XplatUIWin32.cs: a similar change to the one we made in
  365. NativeWindow.cs.
  366. 2007-03-07 Jonathan Pobst <[email protected]>
  367. * ToolStripItem.cs: Make CalculatePreferredSize virtual.
  368. * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
  369. to draw the menu shortcut string.
  370. 2007-03-07 Jackson Harper <[email protected]>
  371. * TreeNode.cs: Add the 2.0 collapse method.
  372. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  373. * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
  374. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  375. * DataGridView.cs: Change DataSource will clear column and row
  376. lists. Call Invalidate() to reflect DataSource change.
  377. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  378. * DataGridView.cs: Add rows when DataSource is System.Data.DataView
  379. and a new row is added to it.
  380. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  381. * DataGridView.cs: Add columns when DataSource is en empty list but
  382. is a System.Data.DataView (from a System.Data.DataTable).
  383. 2007-03-06 Andreia Gaita <[email protected]>
  384. * Label.cs: Implement AutoEllipsis (2.0)
  385. 2007-03-06 Jackson Harper <[email protected]>
  386. * TreeView.cs: Implement 2.0 TopNode setter property.
  387. - Use a local var instead of the skipped_nodes field for computing
  388. how many nodes to skip. Otherwise we won't scroll because the
  389. valuechanged handler checks if skipped_nodes is equal to the new
  390. value.
  391. - Implement 2.0 Sort method.
  392. - Add useless 2.0 DoubleBuffer property
  393. - Implement 2.0 LineColors property. Lets you change the color of
  394. the lines in the tree. Terribly useful for creating non cohesive
  395. desktops.
  396. - Implement 2.0 image key feature.
  397. 2007-03-06 Jackson Harper <[email protected]>
  398. * TreeView.cs: We can't get the bounds of the nodes before raising
  399. the AfterSelect event, because that event could change the node's
  400. bounds (scrolling, font change, etc).
  401. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  402. * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
  403. * Form.cs: Don't recreate handle when creating FormWindowManager, just
  404. update window styles. In CreateParams us VisibleInternal instead of
  405. VIsible to get the actual visible flag set for this form.
  406. * FormWindowManager.cs: Activate the form whenever the mouse clicks on
  407. the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
  408. handle the case when the form is already maximized, in which case
  409. it should be restored. Fixes #81043.
  410. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  411. * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
  412. 2007-03-05 Jackson Harper <[email protected]>
  413. * TreeViewHitTestInfo.cs: implement.
  414. 2007-03-05 Jackson Harper <[email protected]>
  415. * InternalWindowManager.cs: class status fix.
  416. 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
  417. * InternalWindowManager.cs: All windows that have a parent
  418. are confined to their parent when they're being moved.
  419. Fixes #80822.
  420. 2007-03-04 Gert Driesen <[email protected]>
  421. * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
  422. on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
  423. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  424. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
  425. buttons invisible before deciding which ones should be visible
  426. (fixes minimize/maximize buttons showing up in toolwindows). Remove
  427. an unused variable.
  428. * InternalWindowManager.cs: Remove warning.
  429. 2007-03-02 Carlos Alberto Cortez <[email protected]>
  430. * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
  431. to throw an InvalidOperationException is virtual mode is being used.
  432. 2007-03-02 Jonathan Pobst <[email protected]>
  433. * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
  434. ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
  435. ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
  436. ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  437. ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
  438. ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
  439. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  440. * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
  441. driver.KeyboardDelay from XplatUI.KeyboardDelay
  442. * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
  443. (patch by Sergey Volk)
  444. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  445. * ToolWindowManager.cs: Added, contains logic for
  446. tool windows.
  447. * CreateParams.cs: Add a few helper methods and an
  448. internal variable to know which control the CreateParams belongs
  449. to.
  450. * Control.cs: Call Form.ChangingParent when the
  451. parent is about to be changed.
  452. * XplatUIX11.cs: DeriveStyles (): Set
  453. caption_height for all windows that have captions and are children.
  454. Update to use ToolWindowManager instead of InternalWindowManager
  455. for ToolWindows.
  456. * XplatUIWin32.cs: Set fake window styles for all
  457. windows that have window managers.
  458. * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
  459. now duplicated for mdi windows when they are
  460. maximized, first for the buttons the window itself has, then for
  461. the buttons that appear in the menu bar. Makes things a little
  462. easier). Updated UpdateWindowDecorations, SetWindowState and the
  463. mouse eventhandlers accordingly.
  464. * Form.cs: Add ChangingParent (), contains the
  465. logic of what should happen when the parent changes. In MdiParent
  466. don't set things that ChangingParent () is doing. When handling
  467. WM_CLOSE, we can close the form if there are any other modal forms
  468. and the current form is a descendent of the modal form.
  469. * InternalWindowManager.cs: A lot of refactoring,
  470. the title buttons are now extracted to a separate container class
  471. that takes care of all button code (clicks, tooltips, etc). Moved
  472. Iconic|Maximized|Normal Bounds properties to this class from
  473. MdiWindowManager, so that the window state logic can succeed for
  474. other than mdi wm's. Implemented general window state change logic.
  475. Moved CreateButtons to ThemeWin32Classic, since the theme might
  476. override which buttons are available when as well as the exact
  477. location.
  478. * FormWindowManager.cs: Added, contains logic for
  479. normal forms.
  480. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
  481. which buttons go where (and if they are at all visible).
  482. Removed special handling of maximized windows, since they aren't special.
  483. In DrawManagedWindowDecorations don't try to draw the text if it is
  484. empty.
  485. * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
  486. use whatever the wm gives us.
  487. 2007-03-02 Jonathan Pobst <[email protected]>
  488. * ButtonBase.cs: Add 2.0 properties.
  489. * Button.cs: Override Draw for 2.0.
  490. * Control.cs: Add Entered and Selected properties.
  491. * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
  492. TextRenderer.cs: Make internal for 1.1 to unify drawing code.
  493. * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
  494. buttons.
  495. * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
  496. 2007-03-01 Jonathan Pobst <[email protected]>
  497. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
  498. 2007-03-01 Jonathan Pobst <[email protected]>
  499. * XplatUIWin32.cs: Register a new class with Windows each time we get
  500. a new ClassStyle. [Fixes bugs #79432, #80817]
  501. * Controls.cs: Set the correct ClassStyle in CreateParams.
  502. * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
  503. 2007-03-01 Gert Driesen <[email protected]>
  504. * ListView.cs: Add fireEvent argument to ReorderColumn since the
  505. ColumnReordered event must not be signaled when modifying DisplayIndex
  506. of a ColumnHeader. Added internal ReorderColumns method which takes
  507. care of drawing, and updating the internal DisplayIndex of the
  508. ColumnHeader. Added AddColumn method which is invoked from
  509. ColumnHeaderCollection when adding or inserting columns, and which
  510. ensures that reorder_columns_indices is kept in sync. Avoid redrawing
  511. after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
  512. Recalculated dispay indices after removing a ColumnHeader.
  513. * ColumnHeader.cs: Save DisplayIndex separately from ListView to
  514. match MS. Allows last display index to be returned after ListView
  515. is disposed. Update actual location of ColumnHeader when DisplayIndex
  516. is modified.
  517. 2007-03-01 Everaldo Canuto <[email protected]>
  518. * LinkLabel.cs: Improve CalcTrimRectangle.
  519. * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
  520. 2007-02-28 Everaldo Canuto <[email protected]>
  521. * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
  522. get rectangle as a result value.
  523. 2007-02-28 Everaldo Canuto <[email protected]>
  524. * LinkLabel.cs: Theres some diferences between rectangle return from
  525. MeasureCharacterRanges and the area used for DrawString to fix this
  526. CalcMeasurementFactor method was created, it calcules the diferences
  527. to be use later to adjust rectangle in draw operations. Fixes #80473.
  528. * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
  529. to adjust draw rectangle.
  530. 2007-02-27 Everaldo Canuto <[email protected]>
  531. * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
  532. text and some other changes to reduce and optimize source code.
  533. 2007-02-27 Jonathan Pobst <[email protected]>
  534. * RadioButton.cs: Implement 2.0 event.
  535. * RelatedImageListAttribute.cs: Implement new class.
  536. 2007-02-27 Everaldo Canuto <[email protected]>
  537. * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
  538. 2007-02-27 Jonathan Pobst <[email protected]>
  539. * CheckBox.cs: Implement 2.0 functionality.
  540. 2007-02-27 Carlos Alberto Cortez <[email protected]>
  541. * ListView.cs: Refactor Add and AddRange methods of
  542. ListViewItemCollection, to not update the ListView
  543. everytime an item is added in AddRange. Also move the update
  544. code to a new CollectionChanged method, and call it
  545. from other methods that need it as well (this should also fix some
  546. bugs when Sorting is used).
  547. 2007-02-27 Jackson Harper <[email protected]>
  548. * TextControl.cs: Try to never let the caret stay in a non-text
  549. tag.
  550. * TextBoxBase.cs: Update the caret.
  551. 2007-02-26 Jonathan Pobst <[email protected]>
  552. * XplatUIStructs.cs: Add some convenience methods for POINT structure.
  553. * XplatUIWin32.cs: Add some convenience methods for RECT structure,
  554. delete POINT structure, duplicate of one in XplatUIStructs.
  555. * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
  556. 2007-02-26 Gert Driesen <[email protected]>
  557. * ListView.cs: Initialize LabelEditEventArgs after setting Text of
  558. edit box since otherwise the Label would immediately be set (even if
  559. the user did not modify the label). In OnKeyDown set Handled to true
  560. if Return or Escape was pressed. In ColumnHeaderCollection unlink
  561. columns that are to be removed. In ListViewItemCollection unlink items
  562. that are to be removed.
  563. 2007-02-24 Jonathan Pobst <[email protected]>
  564. * TextRenderer.cs: If we set a GDI clip region, we need to clear
  565. it when we are done. [Fixes bug #80949]
  566. 2007-02-23 Jonathan Pobst <[email protected]>
  567. * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
  568. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  569. * ListView.cs: I forgot to commit the changes for ListView
  570. in my previous patch.
  571. 2007-02-23 Jonathan Pobst <[email protected]>
  572. * Clipboard.cs: Partially implement an overload of SetDataObject.
  573. * Form.cs: Implement ShowWithoutActivation.
  574. * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
  575. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  576. This is a first set of changes to make the Virtual mode works,
  577. by avoiding the retrieval of ListViewItem instances until
  578. draw time.
  579. * ListView.cs: Store item position in the ListView instead of the
  580. ListViewItem, this way we don't request the Bounds property of
  581. ListViewItem inside the ListView calculations, as well as cache the item
  582. size in item_size field. Store indexes instead of ListViewItem
  583. instances in the matrix used by icon view. Add a ItemMatrixLocation
  584. struct to hold the row and col info of the matrix info.
  585. * ListViewItem.cs: Don't store the location anymore, and only cache
  586. the rectangles for GetBounds. Use the ListView.GetItemLocation
  587. method to retrieve the actual location.
  588. 2007-02-23 Jonathan Pobst <[email protected]>
  589. * TextRenderer.cs: Add clipping support, thanks to George.
  590. [Fixes bug #80949]
  591. 2007-02-23 Gert Driesen <[email protected]>
  592. * ListViewItem.cs: Cancel label edit when item is removed from
  593. ListView.
  594. * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
  595. event before the edit textbox is displayed. Added CancelEdit method
  596. which is used end to editing while ignoring the value set by the
  597. user. In EndEdit, set focus to ListView to avoid losing focus to
  598. other controls. In ListViewItemCollection.Clear, cancel editing of
  599. any of the items. In Remove, cancel editing of item being removed.
  600. Avoid udplicate code by modifing RemoveAt to invoke Remove.
  601. 2007-02-23 Gert Driesen <[email protected]>
  602. * FileDialog.cs: Update FSEntry when move is successful. Fixes
  603. bug #80948.
  604. 2007-02-23 Everaldo Canuto <[email protected]>
  605. * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
  606. compatible with non X11 systems. Fixes #80901.
  607. 2007-02-23 Gert Driesen <[email protected]>
  608. * ListView.cs: Added bool argument to UpdateMultiSelection to specify
  609. whether the item should be unselected and reselect. We do no want this
  610. when we're starting to edit the label. Do not fire the
  611. SelectedIndexChanged event from ListView when its already been fired
  612. by modifying ListViewItem.Selected. Fixes bug #80943.
  613. 2007-02-23 Jonathan Pobst <[email protected]>
  614. * TextRenderer.cs: Previos commit logic was backwards.
  615. 2007-02-23 Jonathan Pobst <[email protected]>
  616. * TextRenderer.cs: Don't add padding on MeasureText if we were
  617. sent the NoPadding flag.
  618. 2007-02-23 Everaldo Canuto <[email protected]>
  619. * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
  620. after DrawButton. To prevent image overlaps button borders SetClip and
  621. ResetClip added before and after draw image. Fixes #79129.
  622. 2007-02-23 Everaldo Canuto <[email protected]>
  623. * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
  624. window size, it fix problem when you run under win32 that theres
  625. Size diferent than ClientSize. Also fix controls size and positions
  626. to mimic Win32. Fixes #80837.
  627. 2007-02-22 Everaldo Canuto <[email protected]>
  628. * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
  629. menu area to fix some problems for non X11 systems. Fixes #80613.
  630. 2007-02-22 Jackson Harper <[email protected]>
  631. * TreeNode.cs: When a node is expanded, set its is_expanded flag
  632. even if it doesn't have any children.
  633. 2007-02-22 Jackson Harper <[email protected]>
  634. * TreeView.cs: Calculate the top node 'on the fly', this
  635. eliminates issues where you need to click on the tree before
  636. scrolling it to get the top node computed correctly.
  637. * TreeNodeCollection.cs: We don't need to mess with the top node
  638. anymore.
  639. 2007-02-22 Jackson Harper <[email protected]>
  640. * DataGridViewRow.cs: Fix typo so height can actually be set.
  641. Patch by Peter Grimm.
  642. 2007-02-22 Gert Driesen <[email protected]>
  643. * FileDialog.cs: Fixed support for renaming files and directories.
  644. * ListView.cs: Do not lose focus when edit is canceled. Process
  645. Escape as regular key (to prevent closing of dialogs).
  646. 2007-02-22 Gert Driesen <[email protected]>
  647. * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
  648. spaces. Changed spaces to tabs. Removed unnecessary init of bools.
  649. 2007-02-22 Gert Driesen <[email protected]>
  650. * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
  651. did not modify label.
  652. * ListView.cs: Only set LabelEditEventArgs.Label if user actually
  653. modified the text. Reset Label when user presses Escape in edit mode.
  654. Move focus to ListView after having cancelled or finished editing the
  655. label.
  656. 2007-02-21 Gert Driesen <[email protected]>
  657. * ComboBox.cs: Removed unnecessary initializations. Marked items field
  658. private. Clear textbox when Text is set to null and SelectedIndex is
  659. already -1.
  660. * FileDialog.cs: Removed unnecessary initializations. Removed
  661. workarounds for ComboBox bugs that are now fixed. Modified
  662. DefaultExt, InitialDirectory and Title property to change null to
  663. zero-length string in getters. Avoid directly accessing fields.
  664. 2007-02-20 Jackson Harper <[email protected]>
  665. * TextControl.cs: Remove RecalAlignments call, that was some
  666. debugging leftovers.
  667. - Don't use the line indent when we shouldn't.
  668. * RichTextBox.cs: Add support for paragraph left indents.
  669. 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
  670. * Control.cs: Fix BeginInvoke signature for 2.0 profile.
  671. Seems like the class status pages doesn't catch params differences.
  672. 2007-02-19 Gert Driesen <[email protected]>
  673. * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
  674. 2007-02-19 Gert Driesen <[email protected]>
  675. * ComboBox.cs: Setting Text should have no effect if item text of
  676. selected item exactly matches value. First lookup text using
  677. case-sensitive comparison, and fallback to case-insensitive comparison.
  678. FindString(Exact) returns -1 if search string is null. On 2.0 profile,
  679. allow startIndex to be last index. Changed ArgumentOutOfRangeException
  680. paramname to match MS. Restart from first item if string is not found
  681. after startIndex. Fixed paramname of ArgumentNullException that is
  682. thrown for null value in ObjectCollection.Contains.
  683. 2007-02-19 Everaldo Canuto <[email protected]>
  684. * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
  685. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  686. * ListControl.cs: In SelectedValue use value.Equals to compare for
  687. equality instead of ==, otherwise it will fail for strings.
  688. Fixes #80794.
  689. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  690. * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
  691. since the caret won't show up unless ShowSelection is true.
  692. Fixes #80795.
  693. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  694. * Application.cs: When disabling all forms but the main form, do not
  695. disable any descendants of the main form (such as mdi children or
  696. other parented forms). Fixes #80822 on Windows.
  697. * Form.cs: If we have a parent, set the WS_CHILD style.
  698. * Control.cs: Update the window styles if the control whose parent has
  699. changed is a form (the WS_CHILD style has to be switched).
  700. 2007-02-19 Everaldo Canuto <[email protected]>
  701. * XplatUIStructs.cs: MsgUIState structure added.
  702. 2007-02-18 Gert Driesen <[email protected]>
  703. * FileDialog.cs: Removed need for separate fileName field. On 2.0
  704. profile, do not check filename(s) for illegal character if filename(s)
  705. were set non-interactively but always check on 1.0 profile. Fixed NRE
  706. in DefaultExt and only strip off first leading dot. Improve exception
  707. message when invalid Filter is set. Do not ignore InitialDirectory if
  708. it does no exist. Store specified Title, and if empty use default
  709. title (depending on type of dialog). Added an internal DialogTitle
  710. property for retrieving dialog title. Fixed logic of displayed dir to
  711. more closely match MS. Avoid setting ComboBox.Text to a zero-length
  712. string as its buggy.
  713. * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
  714. FileName is a zero-length string (it can never be null). Override
  715. DialogTitle property to set default title of dialog box.
  716. * SaveFileDialog.cs: Override DialogTitle property to set default
  717. title of dialog box.
  718. 2007-02-18 Gert Driesen <[email protected]>
  719. * FileDialog.cs: Modify default text of filename and filetype labels
  720. to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
  721. after we've updated the SelectedIndex. Fixes part of bug #80887.
  722. * SaveFileDialog.cs: Set text of filetype label.
  723. 2007-02-16 Carlos Alberto Cortez <[email protected]>
  724. * LabelEditEventArgs.cs: New internal SetLabel method, to set the
  725. label field. Needed by latest Jackson's fixes for ListView.
  726. 2007-02-16 Andreia Gaita <[email protected]>
  727. * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
  728. print preview images.
  729. 2007-02-16 Jackson Harper <[email protected]>
  730. * ListView.cs: Make AfterLabelEdit work correctly.
  731. * FileDialog.cs: After changing the name of the folder, we have to
  732. make sure that it is created, or that we pop up an error because
  733. it already exists.
  734. 2007-02-16 Jackson Harper <[email protected]>
  735. * X11Dnd.cs: Implement aliases on mime handlers, so things like
  736. System.String are mapped to text.
  737. - Handle dataobjects, getting all the possible formats out of them
  738. - We dont need the drag event args before we give feedback. This
  739. allows feedback cursors to be immediate before selections have
  740. been converted.
  741. 2007-02-16 Jackson Harper <[email protected]>
  742. * TextBoxBase.cs: Modified the method for inserting images to
  743. taking a line and position instead of tag and position.
  744. * RichTextBox.cs: Handle PngBlip data by inserting the png image
  745. into the RTF file.
  746. * TextControl.cs: Allow images to be inserted as the first tag of
  747. a line.
  748. - Fix some off by one issues when we assume the first tag is a
  749. text tag, not an image tag.
  750. 2007-02-15 Carlos Alberto Cortez <[email protected]>
  751. * ListView.cs: Set focus to ListView when ItemControl gets a
  752. WM_RBUTTONDOWN message, to mimic .Net behaviour.
  753. Fixes part of #80467.
  754. 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
  755. * DateTimePicker.cs: Call RecreateHandle if the Format changes and
  756. validate Text input (if null or empty string reset Value to default
  757. value). Fixes #80830.
  758. 2007-02-14 Carlos Alberto Cortez <[email protected]>
  759. * ListView.cs: Set owner as null for columns and items when
  760. Dispose is invoked. Fixes #80607.
  761. 2007-02-14 Jonathan Pobst <[email protected]>
  762. * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
  763. showing DropDowns, don't show a Grip when doing Flow layout.
  764. [This fixes the toolbox in PDN 2.72.]
  765. * ToolStripItem.cs: Add Anchor property and some internal properties to
  766. reduces needed changes to FlowLayout.
  767. * ToolStripOverflow.cs: Remove unused variable.
  768. * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
  769. use it in the layout calculations.
  770. 2007-02-13 Everaldo Canuto <[email protected]>
  771. * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
  772. reported in #79640.
  773. * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
  774. size calculation.
  775. 2007-02-13 Everaldo Canuto <[email protected]>
  776. * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
  777. MeasureString format, it can make button very large in some cases, it is
  778. strange but is what win32 do.
  779. 2007-02-13 Everaldo Canuto <[email protected]>
  780. * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
  781. size calculation.
  782. * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
  783. rendering, the value is based on MenuAccessKeysUnderlined.
  784. 2007-02-13 Everaldo Canuto <[email protected]>
  785. * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
  786. for most themes.
  787. * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
  788. * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
  789. and use MenuAccessKeysUnderlined instead.
  790. 2007-02-13 Andreia Gaita <[email protected]>
  791. * ContainerControl.cs: Focus fix for nunit treeview selection bug.
  792. A selected control would not get a Focus call if:
  793. - the default active control of the container is the same as
  794. the one that was selected
  795. - we are switching from one container to another
  796. Under these conditions, the container being selected already has
  797. an active_control, which is the same as the one being activated,
  798. so set_ActiveControl would always return and not send the Focus
  799. call. Fix to check if the currently active control of the container
  800. is actually focused.
  801. 2007-02-13 Jonathan Pobst <[email protected]>
  802. * StatusStrip.cs: Implement the spring layout.
  803. * ToolStripControlHost.cs: Make sure the hosted control's visibility
  804. always matches the host.
  805. * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
  806. and TextAfterImage.
  807. 2007-02-13 Andreia Gaita <[email protected]>
  808. * Control.cs: Code reorganization only.
  809. - Reorganize the WndProc cases so that each case has it's own handling method,
  810. to help with the no-line-numbering stack traces.
  811. - Formatting changes (it's vstudio's fault, really :p)
  812. 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
  813. * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
  814. Thread.CurrentUICulture to match DateTimePicker's (and MS)
  815. behaviour.
  816. 2007-02-12 Jackson Harper <[email protected]>
  817. * RichTextBox.cs:
  818. * TextBox.cs: By default we have a non multiline document
  819. - use the multiline property instead of the internal variable
  820. * TextBoxBase.cs: Treat multiline and non multiline the same in
  821. most places.
  822. - Use the documents multiline flag instead of tracking it ourself
  823. * TextControl.cs: Attempt at getting multiline to match MS
  824. behavior. Lines now track an offset, which is either their X or Y
  825. offset depending on whether or not we are in multiline mode.
  826. - Update all the methods to understand that lines have an X value.
  827. - Fix crash in Undo::Duplicate when empty lines are deleted.
  828. 2007-02-12 Everaldo Canuto <[email protected]>
  829. * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
  830. code moved to properties PreferredHeight and PreferredWidth. It solve the
  831. all problems when preferred sizes must be recalculated. Fixes #80801.
  832. 2007-02-12 Everaldo Canuto <[email protected]>
  833. * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
  834. font height when compatible_text_rendering is false. Partially fix #80801.
  835. 2007-02-09 Gert Driesen <[email protected]>
  836. * Form.cs: Fixed typo in exception message. Fixes bug #80779.
  837. 2007-02-09 Gert Driesen <[email protected]>
  838. * Form.cs: Improved exception messages in ShowDialog.
  839. 2007-02-09 Gert Driesen <[email protected]>
  840. * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
  841. PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
  842. if not set. Fixes bug #80764. Avoid accessing current_settings field
  843. directly.
  844. 2007-02-08 Everaldo Canuto <[email protected]>
  845. * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
  846. false.
  847. * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
  848. public in 2.0 and for easy maintenance and dont break compatibility it is
  849. internal in 1.1.
  850. 2007-02-08 Jonathan Pobst <[email protected]>
  851. * ToolStripItem.cs: Implement using images from ImageList.
  852. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  853. * DateTimePicker.cs: Change default date-formatting culture from
  854. CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  855. seems to be the way MS does it.
  856. 2007-02-08 Andreia Gaita <[email protected]>
  857. * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
  858. (the 6 was cut off on the right side)
  859. 2007-02-08 Jonathan Pobst <[email protected]>
  860. * Form.cs: Tell MenuStrips to close when the form is clicked.
  861. * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
  862. ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
  863. ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
  864. ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
  865. support for Overflow, where items that do not fit are automatically
  866. reparented to a drop down menu.
  867. * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
  868. Also: fixes bug #80747.
  869. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  870. * ComboBox.cs: Remove warning (unused code).
  871. * ScrollableControl.cs: Remove warning for 1.1 profile.
  872. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  873. * Form.cs: Remove a warning.
  874. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  875. * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  876. 'g' specifier, not documented anywhere, but seems to always show up
  877. as a single space (might have something to do with the DateTime 'g'
  878. specifier, which is the era format, but since DateTimePicker can't
  879. go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  880. won't crash if the format has an unmatched quote. Now shows
  881. single-character formats correctly. Fixes #80744.
  882. 2007-02-08 Jonathan Pobst <[email protected]>
  883. * StatusStrip.cs: Stretch property needs to call base.Stretch,
  884. not this.Stretch to fix stack overflow. [Fixes bug #80760]
  885. 2007-02-07 Chris Toshok <[email protected]>
  886. * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
  887. background color. it overwrites the background image we've
  888. already painted. Fixes #80599.
  889. 2007-02-07 Chris Toshok <[email protected]>
  890. * DataGrid.cs: return immediately from Edit() when there are no
  891. columns. Fixes #80662.
  892. 2007-02-07 Chris Toshok <[email protected]>
  893. * MessageBox.cs: fix #80625. don't always show the Help button in
  894. 2.0. use the displayHelpButton parameter to determine if we
  895. should show it. Also, make the internal show_help field private.
  896. 2007-02-07 Chris Toshok <[email protected]>
  897. * Control.cs (SetVisibleCore): check in the proposed patch for
  898. 80604, and set is_visible before calling CreateControl.
  899. 2007-02-07 Jonathan Pobst <[email protected]>
  900. * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
  901. MonoInternalNote. This is added automagically by VS2005, so let's not crash
  902. on it.
  903. 2007-02-06 Everaldo Canuto <[email protected]>
  904. * MenuAPI.cs: hotkey_active internal field added, it is required because
  905. we need to know when hotkeys must be draw, before this change a keystate
  906. Navigating was used but we can have menu in navigating state without
  907. hotkeys. Fixes #80694.
  908. * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
  909. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  910. * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
  911. corresponding events and methods to be internal for 1.1 profile and
  912. public for 2.0 profile (required by SizeGrip).
  913. * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
  914. implicit control list). Don't set the size nor the location of the
  915. SizeGrip anymore as it's not needed.
  916. * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
  917. draw directly on the captured control (fixes #80656). Removed
  918. ShowGrip (it wasn't used anywhere), redraw (always true), added
  919. GetDefaultSize and GetDefaultRectangle to calculate defaults.
  920. * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
  921. be called from SizeGrip.
  922. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  923. * Timer.cs: Throw ArgumentException if Interval <= 0.
  924. 2007-02-05 Jackson Harper <[email protected]>
  925. * TreeView.cs: We need to check scrollbar visibility when window
  926. visibility is updated, because non visible trees don't ever add
  927. scrollbars.
  928. * Cursor.cs: We want the override cursor to be reset to NULL when
  929. we set current cursor to the default cursor.
  930. 2007-02-05 Jackson Harper <[email protected]>
  931. * TextControl.cs: Don't have crlfs when we are non multiline.
  932. - Consolidate the line position.
  933. 2007-02-05 Jackson Harper <[email protected]>
  934. * X11Keyboard.cs: BACK+CTRL gets a special char code.
  935. 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
  936. * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
  937. handling LeaveNotify->NotifyUngrab in order to send
  938. WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
  939. after calling XUngrabPointer, so we call WindowUngrabbed directly
  940. from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
  941. * Control.cs: Handle WM_CAPTURECHANGED in order to raise
  942. MouseCaptureChanged correctly. Also create handles if changing
  943. Capture (matches MS behaviour).
  944. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  945. * SizeGrip.cs: Make the last change 2.0 only.
  946. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  947. * SizeGrip.cs: If resizing and the capture is lost, revert any size
  948. changes to initial size (fixes #80597).
  949. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  950. * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
  951. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  952. * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
  953. background) and only allow dragging if enabled. This way the
  954. sizegrip can be used to fill the open square that otherwise would
  955. have been shown in the bottom right corner of ScrollableControl
  956. when ScrollableControl is not suppose to support sizing.
  957. * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
  958. sizegrip is shown and enabled, and hook up with necessary events.
  959. 2007-02-01 Chris Toshok <[email protected]>
  960. * DataGridTextBoxColumn.cs: clean up the
  961. GetFormattedString/GetColumnValueAtRow combination of functions.
  962. Also fix UpdateUI, and the initial state of
  963. IsInEditOrNavigateMode.
  964. * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
  965. aren't supposed to scroll the textbox here, we're supposed to
  966. scroll the datagrid.
  967. 2007-02-01 Chris Toshok <[email protected]>
  968. * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
  969. setting the position.
  970. 2007-02-01 Chris Toshok <[email protected]>
  971. * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
  972. here, since the most recent focus fixes keep us from generating
  973. the Leave event when our textbox gets focus.
  974. (Edit): we should be passing null for the column style's
  975. instantText parameter.
  976. 2007-02-01 Jonathan Pobst <[email protected]>
  977. * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
  978. raised. Fixes menu text/icons not showing up in PDN.
  979. 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
  980. * Control.cs: Remove code in constructor that makes every
  981. control with WS_CHILD set have initial location -1, -1.
  982. 2007-01-31 Jackson Harper <[email protected]>
  983. * X11Dnd.cs: Take the keyboard on init to reduce coupling with
  984. XplatUIX11.
  985. * XplatUIX11.cs: Give teh keyboard to teh dnd.
  986. 2007-01-31 Jackson Harper <[email protected]>
  987. * X11Dnd.cs: Use IDataObject instead of the DataObject class.
  988. - Remove some debug code.
  989. 2007-01-31 Jackson Harper <[email protected]>
  990. * XplatUIX11.cs: If you set the override cursor during a grab, it
  991. should actually override the grab cursor. This comes into play
  992. when you are setting custom cursors in a DND feedback method.
  993. 2007-01-31 Jackson Harper <[email protected]>
  994. * X11Dnd.cs: Add support for handling the QueryContinue and
  995. GiveFeedback events.
  996. - Cancel drag and drop actions when the escape key is clicked.
  997. * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
  998. can handle the ESCAPE key.
  999. - Allow dnd to swallow BUTTONUP messages if it needs to. This is
  1000. done when dnd events are continued after the button is released.
  1001. - Add a new helper method so that dnd can translate key events.
  1002. 2007-01-31 Alexander Olk <[email protected]>
  1003. * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
  1004. make it more obvious what is happening.
  1005. 2007-01-30 Jackson Harper <[email protected]>
  1006. * XplatUIX11.cs: Don't break when handling button release in drag
  1007. and drop operations. We need that BUTTONUP message to get through
  1008. so capture is released.
  1009. * X11Dnd.cs: We don't need to manually grab the pointer anymore,
  1010. this is handled automatically when the mouse is down.
  1011. 2007-01-30 Jackson Harper <[email protected]>
  1012. * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
  1013. is closed, so we need to make sure that we aren't changing the
  1014. dialog result when the OK (Open or Save) button has been clicked
  1015. and we are closing the window ourselves. Note we don't need to
  1016. worry about the cache being written in this case, because it was
  1017. already done in the previous FilOk call.
  1018. 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
  1019. * DateTimePicker.cs: Remove a warning.
  1020. * ComboBox.cs: Remove a couple of warnings.
  1021. 2007-01-29 Chris Toshok <[email protected]>
  1022. * XplatUIX11.cs: don't crash, and remove the icon if the user has
  1023. set one, if SetIcon is passed a null icon.
  1024. 2007-01-29 Andreia Gaita <[email protected]>
  1025. * TextBox.cs: Redraw when the password characters changes
  1026. * TextControl.cs: Check if textbox has a password char and draw
  1027. a line of password chars instead of the text in the line. LineTag gets
  1028. an extra Draw() method which allows document.Draw to override the text
  1029. that will be drawn. Removes 1024 char limitation on length of passworded
  1030. lines.
  1031. 2007-01-29 Jackson Harper <[email protected]>
  1032. * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
  1033. single chars is not.
  1034. 2007-01-28 Jonathan Pobst <[email protected]>
  1035. * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
  1036. one pixel. Fix a StackOverflowException caused by an overload wrongly
  1037. calling itself.
  1038. 2007-01-26 Everaldo Canuto <[email protected]>
  1039. * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
  1040. also remove ProcessArrowKey and put the code inside ProcessKeys.
  1041. 2007-01-26 Jonathan Pobst <[email protected]>
  1042. * PaddingConverter.cs: Added.
  1043. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  1044. * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
  1045. ShowPanels is false (fixes #80600). Only draw up to 127 characters
  1046. of text (fixes #80601). For panels clip the text to draw to the
  1047. panel (fixes #80603).
  1048. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  1049. * ComboBox.cs: Fixed implementation of ResetText.
  1050. 2007-01-25 Jackson Harper <[email protected]>
  1051. * TextControl.cs: For the last char of a line we need to use the
  1052. line size, not that chars width, since it won't actually be
  1053. computed since the right side of a char is based on the start of
  1054. the left side of the next char, and the next char does not exist.
  1055. 2007-01-25 Chris Toshok <[email protected]>
  1056. * Splitter.cs: fix the new unit tests, and reindent some switch
  1057. statements.
  1058. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  1059. * ComboBox.cs: Implemented 2.0 methods and events.
  1060. * TextBoxBase.cs: Added OnTextUpdate, so that
  1061. ComboBox.ComboTextBox can inform ComboBox of it.
  1062. 2007-01-25 Jackson Harper <[email protected]>
  1063. * TextControl.cs: Respect ShowSelection when deciding whether or
  1064. not to display the caret, this allows comboboxes to have carets
  1065. when the combotextbox does not have focus.
  1066. 2007-01-25 Jackson Harper <[email protected]>
  1067. * TextControl.cs: Add a Suspend/Resume for updating, basically the
  1068. same as the Suspend/Resume for recalc, except this will do actual
  1069. Invalidates.
  1070. - New Undo manager, works much like the MS version.
  1071. - Implemented Redo
  1072. * TextBoxBase.cs: The Cut operation is undoable.
  1073. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  1074. * TextBoxBase.cs: Don't antialias text. Makes it look way better
  1075. on Windows (no difference on Linux).
  1076. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  1077. * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
  1078. we don't want to activate any windows. Fixes #79433.
  1079. 2007-01-25 Jonathan Pobst <[email protected]>
  1080. - ButtonBase.cs: Fix capitalization of parameter: disposing.
  1081. [Fixes bug #80609]
  1082. 2007-01-25 Alexander Olk <[email protected]>
  1083. * FileDialog.cs:
  1084. - Move to using System.ComponentModel.EventHandlerList
  1085. - Replace Refresh with Invalidate
  1086. - Clear the mime filecache on closing
  1087. - Some other memory reducing work. After beeing closed FD now uses
  1088. only about 300 KB for the fdo mime stuff plus the memory of the
  1089. cached icons.
  1090. * Mime.cs: Changed coding style and removed unnecessary commented
  1091. code. Some more memory memory reducing work.
  1092. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  1093. * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
  1094. a few other missing 2.0 properties.
  1095. * Theme.cs: Added DrawFlatStyleComboBox.
  1096. * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
  1097. 2007-01-24 Chris Toshok <[email protected]>
  1098. * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
  1099. wake_waiting flag, not just when there's data to be read. if we
  1100. don't, then future wakeup's won't reach us and we'll be doomed to
  1101. wait for the entire 1 second timeout forever (unless there are X
  1102. events to be had).
  1103. 2007-01-24 Jonathan Pobst <[email protected]>
  1104. * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
  1105. until you pass Items.Count, not Items.Count - 1 like 1.1.
  1106. 2007-01-24 Gert Driesen <[email protected]>
  1107. * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
  1108. 2007-01-24 Jonathan Pobst <[email protected]>
  1109. * ToolStripContainer.cs: The recent Dock fix exposed that I was
  1110. adding the panels in the wrong order.
  1111. 2007-01-24 Jackson Harper <[email protected]>
  1112. * TextBoxBase.cs: When we move the caret we also need to move the
  1113. selection, this fixes some random crashing after doing select
  1114. text, unselect, delete a char, paste.
  1115. 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
  1116. * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
  1117. 2007-01-23 Everaldo Canuto <[email protected]>
  1118. * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
  1119. OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
  1120. * ToolBar.cs: Force redraw in BackgroundImageChanged.
  1121. 2007-01-23 Everaldo Canuto <[email protected]>
  1122. * ToolBar.cs:
  1123. - Implement support for vertical toolbars. Fixes #80539;
  1124. - Call LayoutToolBar when resize, it fix some other problems in layout.
  1125. - Rename requested_height to requested_size, as we can have width on it
  1126. when toolbar is vertical.
  1127. - Create a private property "Vertical" that uses Dock to verify when
  1128. toolbar is vertical or not.
  1129. - Set ControlStyles when change Dock property.
  1130. - Refactory in LayoutToolBar to have better variables names and to support
  1131. vertical toolbars.
  1132. - Fixes default value for ButtonSize when button count is equal zero, size
  1133. must be (39, 36) test case writed.
  1134. 2007-01-23 Chris Toshok <[email protected]>
  1135. * Control.cs: fix the checks so that they work correctly for mdi
  1136. parents/children.
  1137. 2007-01-23 Chris Toshok <[email protected]>
  1138. * Control.cs: ControlCollection seems to have super-secret
  1139. abstraction breaking knowledge of Mdi containers. allow MdiClient
  1140. to add toplevel controls.
  1141. 2007-01-23 Chris Toshok <[email protected]>
  1142. * Control.cs: throw an ArgumentException if a toplevel control is
  1143. added to our control collection from ControlCollection.Add, as
  1144. well as from ControlCollection.IList.Add. This fixes the
  1145. ControlSetTopLevelTest.TestTopLevelAdd unit test.
  1146. Also, in ControlCollection.IList.Add, don't through an
  1147. ArgumentNullException, throw an ArgumentException, when value ==
  1148. null. This matches MS.
  1149. 2007-01-23 Chris Toshok <[email protected]>
  1150. * BindingSource.cs: initial, incomplete, implementation of
  1151. BindingSource.
  1152. 2007-01-23 Jackson Harper <[email protected]>
  1153. * TextControl.cs:
  1154. * TextBoxBase.cs: Checking in some pieces of the undo stuff so
  1155. that I can fix a broken unit test (TextBoxTest::ClearUndo)
  1156. 2007-01-23 Everaldo Canuto <[email protected]>
  1157. * ToolBar.cs: Add status fields to ToolBarButtonInfo.
  1158. 2007-01-23 Andreia Gaita <[email protected]>
  1159. * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
  1160. * TreeNodeCollection.cs: New Add() methods, ContainsKey and
  1161. IndexOfKey() for 2.0
  1162. 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
  1163. * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
  1164. to prevent it from changing z-order.
  1165. * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
  1166. leave UI updates in MdiWindowManager.
  1167. * InternalWindowManager.cs: Check for 0 sized nc areas and make them
  1168. 1 sized (NC handling goes weird on Linux otherwise).
  1169. * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
  1170. necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
  1171. remove a few NCRequestRecalcs. Changed calculations in IconicBounds
  1172. to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
  1173. and SetWindowState(s) to allow for changing the size of an activated child
  1174. before activating it (reduces a lot of flicker).
  1175. 2007-01-22 Jonathan Pobst <[email protected]>
  1176. * Form.cs: Changing FormBorderStyle has different semantics based
  1177. on whether the Form is visible or not. If not visible, don't change
  1178. the Size. But InvalidateNC needs to be called to force the window
  1179. to pick up the changes and redraw itself. [Fixes bug #80574]
  1180. 2007-01-22 Jonathan Pobst <[email protected]>
  1181. [Moma work]
  1182. * ContainerControl.cs: ProcessCmdKey.
  1183. * ErrorProvider.cs: new constructor.
  1184. * Form.cs: fix AutoValidateEvent compiler warning.
  1185. * Label.cs: fix OnAutoSizeChanged compiler warning.
  1186. * MenuStrip.cs: fix CanOverflow compiler warning.
  1187. * TabControl.cs: SelectTab, OnSelected methods, Selected event.
  1188. * TextBox.cs: Dispose.
  1189. * ToolStrip.cs: CanOverflow, re-enable double buffering.
  1190. * ToolStripControlHost.cs: fix CausesValidation compiler warning.
  1191. * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
  1192. * ToolStripItem.cs: Overflow, RightToLeft properties.
  1193. 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
  1194. * Form.cs: Move the layout of the main form to MdiWindowManager.
  1195. * MdiWindowManager.cs: If WindowState changes from or to Maximized,
  1196. do a layout of the main window to update MdiClient's client area to
  1197. the right area. Fixes #80533. Remove the calculation of nc size,
  1198. it was just wrong and the correct one is the same as for
  1199. InternalWindowManager.
  1200. 2007-01-20 Jonathan Pobst <[email protected]>
  1201. * Control.cs: Setting Anchor or Dock needs to reset the other
  1202. to its default. [Fixes bug #80556]
  1203. 2007-01-20 Chris Toshok <[email protected]>
  1204. * CheckedListBox.cs: class status changes.
  1205. * ScrollableControl.cs: same.
  1206. * RichTextBox.cs: same.
  1207. * ContainerControl.cs: same.
  1208. * ListView.cs: same.
  1209. * NotifyIcon.cs: same.
  1210. * MenuStrip.cs: same.
  1211. * RadioButton.cs: same.
  1212. * CheckBox.cs: same.
  1213. * PrintPreviewDialog.cs: same.
  1214. * Form.cs: same.
  1215. 2007-01-19 Jonathan Pobst <[email protected]>
  1216. * TreeNode.cs: Apply Alan's patch for Name property.
  1217. 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
  1218. * Form.cs: Implemented SizeGripStyle.
  1219. * SizeGrip.cs: Check for minimum and maximum size for the
  1220. control being resized and only resize if size has actually
  1221. changed.
  1222. 2007-01-19 Chris Toshok <[email protected]>
  1223. * DataGridColumnStyle.cs: stop setting _readonly in the
  1224. PropertyDescriptor setter. fixes a unit test failure.
  1225. also, rename ParentReadOnly to TableStyleReadOnly, and have it
  1226. just consult our table style (if we have one). We don't need to
  1227. consult the datagrid readonly attribute because that's passed in
  1228. as the _ro arg to Edit. this simplifies things a little.
  1229. * DataGrid.cs: use CurrentColumn instead of
  1230. current_cell.ColumnNumber just to simplify some of the code.
  1231. switch the order of some things in the CurrentCell setter to keep
  1232. the previous cell from getting a textbox again -
  1233. EnsureCellVisibility causes scrolling to happen, which calls Edit.
  1234. So we need to set the new cell before calling it.
  1235. call Edit in OnEnter, as does Microsoft.
  1236. also, make sure the current table style isn't the one we create
  1237. initially when checking to see if it's different than the one
  1238. we're setting it to in BindColumns (this fixes #80421).
  1239. * GridTableStylesCollection.cs: table styles can have "" for a
  1240. mapping name. part of the fix for #80421.
  1241. * DataGridTextBoxColumn.cs: simplify the readonly calculation in
  1242. Edit significantly.
  1243. 2007-01-18 Jonathan Pobst <[email protected]>
  1244. * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
  1245. and less GDI object leaky-er.
  1246. 2007-01-18 Andreia Gaita <[email protected]>
  1247. * LinkLabel.cs: Add opaque control style
  1248. 2007-01-18 Jackson Harper <[email protected]>
  1249. * TextControl.cs: Calculate width properly.
  1250. - Don't store the tag's X offset, this can be figured out very
  1251. easily.
  1252. - When getting the caret tag make sure to get the last empty tag.
  1253. 2007-01-18 Jonathan Pobst <[email protected]>
  1254. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  1255. [Fixes bug #79959]
  1256. * Control.cs: Color.Empty shouldn't count for previous transparent
  1257. redraw changes.
  1258. 2007-01-18 Jackson Harper <[email protected]>
  1259. * TextBox.cs:
  1260. * RichTextBox.cs:
  1261. * TextControl.cs: Starting to merge in some pieces of my older
  1262. undo work. Basically just some slight cleanup of the undo API.
  1263. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  1264. * TrackBar.cs: Fix signature of RightToLeftLayout.
  1265. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  1266. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  1267. * Application.cs: Implemented UseWaitCursor.
  1268. 2007-01-18 Jackson Harper <[email protected]>
  1269. * TextControl.cs: We can't skip tags if any part of the tag is
  1270. visible.
  1271. 2007-01-18 Jonathan Pobst <[email protected]>
  1272. * ContainerControl.cs: Override OnLayout.
  1273. 2007-01-18 Jonathan Pobst <[email protected]>
  1274. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  1275. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  1276. everything else.
  1277. 2007-01-18 Chris Toshok <[email protected]>
  1278. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  1279. (leftover from the container_selected days, I'd wager). fixes bug
  1280. #80546.
  1281. 2007-01-18 Jonathan Pobst <[email protected]>
  1282. * Control.cs: Apply patch from George to fix the new testcase on
  1283. bug #80451. We can't just check for Color.Transparent, we need
  1284. to check if the back color's alpha channel is < 255.
  1285. 2007-01-18 Jonathan Pobst <[email protected]>
  1286. * Form.cs: Move setting show_icon = true to before the constructor
  1287. so that the base constructor has that information when it calculates
  1288. the form's size. Was causing forms to be (6, 6) bigger than they
  1289. were supposed to be. Thanks for catching this Rolf!
  1290. 2007-01-18 Jackson Harper <[email protected]>
  1291. * TextControl.cs: When replacing a selection we need to invalidate
  1292. from the initial selection start, because selection start is moved
  1293. to the end of the replacement.
  1294. 2007-01-18 Andreia Gaita <[email protected]>
  1295. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  1296. 2007-01-18 Chris Toshok <[email protected]>
  1297. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  1298. I just added.
  1299. 2007-01-17 Everaldo Canuto <[email protected]>
  1300. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  1301. layout methods and properties from ToolBarButton must be available
  1302. into ToolBarButtonInfo.
  1303. 2007-01-17 Jonathan Pobst <[email protected]>
  1304. * Control.cs: If the control has a transparent background, we
  1305. need to refresh it when it moves and when it's parent's background
  1306. image changes. [Fixes bug #80451]
  1307. 2007-01-17 Jonathan Pobst <[email protected]>
  1308. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  1309. 2007-01-17 Jonathan Pobst <[email protected]>
  1310. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  1311. [Fixes bug #80447, and probably speeds up things as well]
  1312. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  1313. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  1314. * XplatUIWin32.cs: We need to recalculate NC size after changing
  1315. window style to toolwindow (otherwise the client rectangle will be
  1316. 3 pixels to small for some reason).
  1317. * MdiWindowManager.cs: Revert NC size calculations to match how
  1318. they are calculated only based on window styles (to match
  1319. Win32AdjustWindowRectEx, since otherwise when setting size or
  1320. location, Control will call Win32AdjustWindowRectEx to update client
  1321. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  1322. calculate a different value of client size causing another paint
  1323. (and flickering))
  1324. * InternalWindowManager.cs: When moving or resizing a window only
  1325. update size or location if they actually changed.
  1326. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  1327. (seems to match Windows behaviour better). Cleaned up
  1328. ManagedWindowDecorations to draw what's needed and nothing else
  1329. (was drawing borders and lines where they shouldn't be)
  1330. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  1331. (style = 0xFFFF) and takes into account caption height when
  1332. calculating window rectangle.
  1333. 2007-01-16 Everaldo Canuto <[email protected]>
  1334. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  1335. can be added to toolbar multiple times, we need to maintain a list of
  1336. button information for each positions.
  1337. 2007-01-16 Everaldo Canuto <[email protected]>
  1338. * ToolBar.cs: Some small stetic changes.
  1339. 2007-01-16 Jackson Harper <[email protected]>
  1340. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  1341. that allow us to have nested recalc = false blocks.
  1342. - Add paste support for images in the RichTextBox
  1343. * RichTextBox.cs: flush the text after the color is changed, so
  1344. the change takes effect.
  1345. - Use SuspendRecalc
  1346. - Some extra debugging info
  1347. * TextControl.cs: Tags no longer track their length, it is just
  1348. computed from the next tags length, this makes things a little
  1349. simpler and reduces places that we have to track length changes.
  1350. - Refactored the linetag class a little so we could make it
  1351. a base class for different kinds of tags
  1352. - Created a image tag, a tag that can have a single image inserted
  1353. into it
  1354. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  1355. that we can call suspend multiple times.
  1356. - Add some debugging methods
  1357. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  1358. * MdiClient.cs: Add ActivatePreviousChild for
  1359. mdi child window navigation.
  1360. * Form.cs: Use MdiClient.ActivateNextChild/
  1361. ActivatePreviousChild instead of Form.SelectNextControl
  1362. to select the next/previous child since
  1363. SelectNextControl doesn't do it in the same order
  1364. as mdi children should do it.
  1365. 2007-01-16 Chris Toshok <[email protected]>
  1366. * Control.cs: remove container_selected field.
  1367. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  1368. * MdiClient.cs: Update main form's ActiveChild when
  1369. updating keyboard focus for the mdi child.
  1370. 2007-01-16 Jonathan Pobst <[email protected]>
  1371. * Control.cs: PreferredSize fix.
  1372. * Form.cs: Add several 2.0 events, properties, and methods.
  1373. 2007-01-16 Gert Driesen <[email protected]>
  1374. * Form.cs: Provide meaningful message when MdiParent is assigned a
  1375. Form that is not an MdiContainer.
  1376. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  1377. * MdiClient.cs: Update main form's ActiveChild when
  1378. activating a mdi child.
  1379. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  1380. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  1381. doesn't have a menu.
  1382. * Form.cs: Request NCRecalc after creating a mdi child window.
  1383. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  1384. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  1385. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  1386. sends keyboard focus to the active child, or to the MdiClient
  1387. if there are no child forms.
  1388. 2007-01-15 Chris Toshok <[email protected]>
  1389. * ListView.cs: drop the *Internal overrides, just do our work in
  1390. ItemControl's WndProc instead.
  1391. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  1392. of the various controls, and forward the events properly (in the
  1393. same manner as MS) from the textbox to the UpDown. Also the
  1394. ActiveControl of the UpDownBase gets set properly now. Finally,
  1395. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  1396. * NumericUpDown.cs: set Text in the ctor.
  1397. * DomainUpDown.cs: call UpdateEditText in the ctor.
  1398. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  1399. so even a Selectable = false textbox can be focused if you click
  1400. in it. Go figure.
  1401. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  1402. just add their handling in their respective WndProc's. Also add
  1403. an explicit FocusInternal method that doesn't consult CanFocus
  1404. before calling Select(this).
  1405. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  1406. do our work in WndProc instead.
  1407. * TabControl.cs: same.
  1408. * ComboBox.cs: same.
  1409. 2007-01-15 Everaldo Canuto <[email protected]>
  1410. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  1411. Fixes #80006.
  1412. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  1413. * ListViewItem.cs:
  1414. * ThemeWin32Classic.cs: Don't draw the item text outside
  1415. item bounds in Details view, as well as use trimming.
  1416. Fixes bug #80376.
  1417. 2007-01-15 Jonathan Pobst <[email protected]>
  1418. * Form.cs: Implement Form.ShowIcon.
  1419. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  1420. null, which when combined with the DlgModalFrame window style removes
  1421. the icon from the title bar.
  1422. 2007-01-15 Jonathan Pobst <[email protected]>
  1423. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  1424. 2007-01-15 Everaldo Canuto <[email protected]>
  1425. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  1426. menu when mdi child windows theres a menu, uses insert to get icon
  1427. at first position. Partially fix #80006.
  1428. 2007-01-15 Jonathan Pobst <[email protected]>
  1429. * Clipboard.cs: Implement 2.0 methods.
  1430. 2007-01-15 Everaldo Canuto <[email protected]>
  1431. * Menu.cs: Implement Insert method of MenuItemCollection class
  1432. to fix MenuMerge.
  1433. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  1434. * ListView.cs: Implement 2.0 FindItemWithText method.
  1435. 2007-01-11 Everaldo Canuto <[email protected]>
  1436. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  1437. to calculate menu bar size. Fixes #80290.
  1438. 2007-01-11 Everaldo Canuto <[email protected]>
  1439. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  1440. 2007-01-11 Chris Toshok <[email protected]>
  1441. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  1442. initial form.
  1443. 2007-01-11 Chris Toshok <[email protected]>
  1444. * LinkLabel.cs: make sure to call base.Select in our Select method
  1445. if it turns out we're going to be selected (i.e. if we have a link
  1446. that is going to receive focus). That way our container's
  1447. ActiveControl is updated properly.
  1448. 2007-01-11 Chris Toshok <[email protected]>
  1449. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  1450. they have 1 or more links. this fixes the crash gert reported.
  1451. 2007-01-11 Andreia Gaita <[email protected]>
  1452. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  1453. anymore.
  1454. * Control.cs (Controls.Add): Check if control to be added to the collection
  1455. is a top level control, and throw an ArgumentException if it is.
  1456. Remove ContainerSelectedFlag, not needed anymore.
  1457. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  1458. top most control doesn't activate the form. This fixes a problem in the
  1459. MessageBox, where the default button wouldn't get focus because the form
  1460. was activated before being Loaded - when the Owner is set, SetTopMost is
  1461. called, and it would activate it.
  1462. 2007-01-11 Jonathan Pobst <[email protected]>
  1463. * Button.cs: When clicked and setting the parent form's DialogResult,
  1464. use FindForm instead of Parent, since parent could be a container
  1465. control and not the Form. Fixes bug #80495.
  1466. 2007-01-10 Chris Toshok <[email protected]>
  1467. * Form.cs: move the call to SendControlFocus into the same
  1468. is_loaded check.
  1469. 2007-01-10 Chris Toshok <[email protected]>
  1470. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  1471. It breaks in the face of the new ActiveControl stuff, and should
  1472. be unnecessary.
  1473. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  1474. activecontrol's focus if it's not already set, after we set
  1475. ActiveControl, but before we call OnActivated. Re-fixes #79667
  1476. after the previous focus/active control fixes regressed it.
  1477. * Control.cs: reindent some code.
  1478. 2007-01-10 Chris Toshok <[email protected]>
  1479. * Splitter.cs: clearing some outstanding changes from my tree.
  1480. Replace all accesses (not writes) to the internal dock_style field
  1481. with the Dock property.
  1482. 2007-01-10 Chris Toshok <[email protected]>
  1483. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  1484. FireValidated virtual.
  1485. * Form.cs: override and don't chain up calls to FireEnter and
  1486. FireLeave.
  1487. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  1488. * ListView.cs: Add more text padding space when using
  1489. auto resize for columns (the previous value didn't work fine).
  1490. * ThemeWin32Classic.cs: Update text position inside columns,
  1491. to match the appeareance of .Net.
  1492. * ColumnHeader.cs: When using auto resize, only the Width should
  1493. depend on the sub items, not the Height. Also, set width after
  1494. auto resizing (the value of Width should never remain as -1 or -2).
  1495. 2007-01-10 Chris Toshok <[email protected]>
  1496. * Application.cs: fix compilation errors when debug is enabled.
  1497. 2007-01-10 Chris Toshok <[email protected]>
  1498. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  1499. add some nice ascii art pictures and explanation of the process).
  1500. (GetMostDeeplyNestedActiveControl): new utility function we need
  1501. because our ActiveControl can refer to a child container with its
  1502. own ActiveControl.
  1503. * Form.cs (OnActivated): remove the call to SelectActiveControl
  1504. from here, since you can override this method and not chain up,
  1505. and winforms still sets the active control.
  1506. (OnCreateControl): also remove the unnecessary SelectActiveControl
  1507. call from here.
  1508. (WndProc): it's actually called from the WM_ACTIVATE block, just
  1509. before calling OnActivated.
  1510. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  1511. inside the else. the ActiveControl setter will end up setting
  1512. focus on @control. This keeps us from setting it again (and
  1513. generating an extra LostFocus/GotFocus pair).
  1514. (Select (bool, bool)): reindent.
  1515. 2007-01-10 Jonathan Pobst <[email protected]>
  1516. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  1517. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  1518. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  1519. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  1520. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  1521. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  1522. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  1523. ToolStripTextBox.cs: Another wave of corcompare work.
  1524. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  1525. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  1526. the Width property.
  1527. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  1528. methods by callling Column.AutoResize method on columns.
  1529. 2007-01-09 Jonathan Pobst <[email protected]>
  1530. * Control.cs: Provide proper implementations of PreferredSize
  1531. and GetPreferredSize (2.0).
  1532. 2007-01-09 Jonathan Pobst <[email protected]>
  1533. * Form.cs: Remove one character (!) to make my previous OnClosing
  1534. stuff work for modal windows like MessageBox.
  1535. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  1536. * ListView.cs:
  1537. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  1538. ListView.Columns to get the last displayed column. Fixes #80452.
  1539. 2007-01-09 Everaldo Canuto <[email protected]>
  1540. * Label.cs, LinkLabel.cs: Source code identation fixes.
  1541. 2007-01-08 Everaldo Canuto <[email protected]>
  1542. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  1543. we dont need to invalidate only borders because when we invalidate four
  1544. border lines the invalidate's generates a complete redraw of button,
  1545. because it now invalidate a complete rect some other redraws operations
  1546. are fixed. Fixes #80196.
  1547. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  1548. Remove ToolBarInvalidateEntireButton as it is not used.
  1549. 2007-01-08 Jonathan Pobst <[email protected]>
  1550. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  1551. called for 2.0 profile.
  1552. * CloseReason.cs: Make class internal for 1.1.
  1553. 2007-01-08 Jonathan Pobst <[email protected]>
  1554. * ToolStripManager.cs: Implement FindToolStrip functionality.
  1555. * ToolStrip.cs: Register and unregister with ToolStripManager.
  1556. 2007-01-07 Jonathan Pobst <[email protected]>
  1557. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  1558. to ArrangedElementCollection. Implemented this with as few #if's as
  1559. possible (which is still too many).
  1560. 2007-01-07 Jonathan Pobst <[email protected]>
  1561. * Control.cs: Implement SizeFromClientSize() [2.0].
  1562. 2007-01-07 Everaldo Canuto <[email protected]>
  1563. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  1564. use Theme.BorderSize to calculate area instead of static value 1,
  1565. by the way use new BorderStaticSize instead Border3DSize when
  1566. border_static is true. Fixes #79537.
  1567. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  1568. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  1569. it is not needed.
  1570. 2007-01-06 Everaldo Canuto <[email protected]>
  1571. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  1572. 2007-01-06 Everaldo Canuto <[email protected]>
  1573. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  1574. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  1575. * Hwnd.cs:
  1576. - border_static field added, it will used to define when a control
  1577. theres 3D border but it must be static (thin).
  1578. - In GetWindowRectangle use Theme.BorderSize to calculate area
  1579. instead of static value 1, by the way use new BorderStaticSize instead
  1580. Border3DSize when border_static is true.
  1581. * XplatUIX11.cs, XplatUIOSX.cs:
  1582. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  1583. * Theme.cs: BorderStaticSize field added.
  1584. 2007-01-05 Everaldo Canuto <[email protected]>
  1585. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  1586. 2007-01-05 Everaldo Canuto <[email protected]>
  1587. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  1588. mimic same behavior than win32 that set border only in CreateParams,
  1589. it fix problems under CreateParams overrides. Fix #79442 and partial
  1590. fix #79537.
  1591. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  1592. of thi control you must call recreate handle.
  1593. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  1594. need to do anything as RecreateHangle will take care about borders.
  1595. 2007-01-05 Mike Kestner <[email protected]>
  1596. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  1597. cycles between the ItemControl and parent. Fixes #80388.
  1598. 2007-01-05 Gert Driesen <[email protected]>
  1599. * Control.cs: Lazy init layout engine. Do not directly use
  1600. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  1601. 2007-01-05 Chris Toshok <[email protected]>
  1602. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  1603. unless our list manager has changed (i.e. unless we have reason to
  1604. believe our columns have changed). Fixes #80422.
  1605. also, disable the call do BindColumns in
  1606. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  1607. 1.1 the event isn't raised in response to a column addition on a
  1608. table.)
  1609. 2007-01-05 Jonathan Pobst <[email protected]>
  1610. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  1611. that inheritors can not call it if they choose. Fixes bug #80456.
  1612. 2007-01-05 Andreia Gaita <[email protected]>
  1613. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  1614. doesn't blow up with a null exception on marshalling.
  1615. 2007-01-05 Jonathan Pobst <[email protected]>
  1616. * Control.cs: Implement several 2.0 protected properties and methods.
  1617. Ensure that all necessary events are being called when properties
  1618. are set.
  1619. 2007-01-05 Mike Kestner <[email protected]>
  1620. * ListView.cs: implement PgUp/PgDn for Details view. Also
  1621. fixes First/LastVisibleIndex to use the item_control.ClientRect
  1622. instead of the parent control. Fixes #80378.
  1623. 2006-01-05 Atsushi Enomoto <[email protected]>
  1624. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  1625. determine whether to use yard-pound or not (bug #78399).
  1626. 2006-01-04 Alexander Olk <[email protected]>
  1627. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  1628. problems. So it is time to bring back the old popupbutton colors.
  1629. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  1630. * ColumnHeader.cs:
  1631. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  1632. property by using the internal information of the
  1633. columns order in ListView.
  1634. 2007-01-04 Jonathan Pobst <[email protected]>
  1635. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  1636. Add 2.0 Tag properties.
  1637. * LinkArea.cs: Add 2.0 ToString method.
  1638. 2007-01-03 Chris Toshok <[email protected]>
  1639. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  1640. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  1641. when we're editing, which fixes #80047.
  1642. 2007-01-03 Chris Toshok <[email protected]>
  1643. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  1644. #80404.
  1645. 2007-01-03 Jonathan Pobst <[email protected]>
  1646. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  1647. property and implementation.
  1648. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  1649. for MdiWindowListItem property.
  1650. * ToolStripDropDown.cs: Don't consider hidden menu items while
  1651. laying out the menu.
  1652. 2007-01-03 Andreia Gaita <[email protected]>
  1653. * SendKeys.cs: window handle is not needed in win32, so just
  1654. get the active window for X after parsing keys and don't use
  1655. it when building the message; it is passed by parameter to the
  1656. Xplat method and used there to build the message instead. Also,
  1657. wait for events to be processed on SendWait, as opposed to Send,
  1658. which doesn't wait :) Playing with threads and Send() completely
  1659. hangs on ms.net, only SendWait() works.
  1660. XplatUIX11.cs
  1661. X11Display.cs: Check for valid window handle.
  1662. 2007-01-03 Jackson Harper <[email protected]>
  1663. * TextControl.cs: Need to prevent wrap calculations when replacing
  1664. text (this was there before i removed it accidently).
  1665. - Don't update the cursor during the positioning, just set it to
  1666. selection_start at the end of the operaion.
  1667. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  1668. * Control.cs:
  1669. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  1670. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  1671. * MonthCalendar.cs: Added Click and DoubleClick events again,
  1672. but this time they only hide Control's Click and DoubleClick.
  1673. 2007-01-03 Gert Driesen <[email protected]>
  1674. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  1675. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  1676. 2007-01-02 Jackson Harper <[email protected]>
  1677. * TextBoxBase.cs: We move the caret with the split now, so we
  1678. don't need to explicitly move the caret after splitting. This
  1679. fixes the caret bumping down an extra line on Enter.
  1680. 2007-01-02 Miguel de Icaza <[email protected]>
  1681. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  1682. 2.72).
  1683. * ScrollableControl.cs: Add Scroll event.
  1684. 2007-01-02 Mike Kestner <[email protected]>
  1685. * ListView.cs: one more try with help from [email protected]
  1686. to fix all hdr height padding codepaths. Fixes #80207.
  1687. 2007-01-02 Chris Toshok <[email protected]>
  1688. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  1689. setting it to the Control defaults anyway, and it being after the
  1690. Dock set was screwing up layout.
  1691. (set_Dock): don't short circuit out of setting base.Dock. Also,
  1692. no need to call UpdateStatusBar here, as it'll be re-layed out if
  1693. it needs to be.
  1694. 2007-01-02 Mike Kestner <[email protected]>
  1695. * ListView.cs: patch from [email protected] to add padding
  1696. to header height for width == -1. Fixes the rest of #80207.
  1697. 2007-01-02 Mike Kestner <[email protected]>
  1698. * ListView.cs: rework the mouse event forwarding everaldo added
  1699. to translate the coordinates to the parent control not
  1700. raise the parent events until after we've done our work. Hover
  1701. needs more work, in the case where HoverSelection is on, because
  1702. the item control receives more than one MouseHover per Enter
  1703. event, so we need to ensure only the "first" hover gets forwarded.
  1704. Opening a minor bug for that.
  1705. 2007-01-02 Gert Driesen <[email protected]>
  1706. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  1707. * ListControl.cs: Implemented AllowSelection property. Removed extra
  1708. tabs.
  1709. * ListBox.cs: Implemented AllowSelection property.
  1710. 2007-01-02 Everaldo Canuto <[email protected]>
  1711. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  1712. SelectedItem, it prevent for errors when you must disable item
  1713. before perform click. Fixes #80409.
  1714. 2007-01-02 Everaldo Canuto <[email protected]>
  1715. * MenuAPI.cs: Prevent second level and beyond submenus to close
  1716. until first level when move out side of popup.
  1717. 2007-01-02 Everaldo Canuto <[email protected]>
  1718. * MenuAPI.cs:
  1719. - Down submenu positin in three pixels.
  1720. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  1721. 2007-01-02 Everaldo Canuto <[email protected]>
  1722. * ThemeWin32Classic.cs:
  1723. - Fix popup menu size adding one pixel on the top.
  1724. - Down menu item border from two to one to mimic Win32.
  1725. - Some source identation fixes.
  1726. 2007-01-01 Everaldo Canuto <[email protected]>
  1727. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  1728. position of menu arrows, it fix wrong arrow size.
  1729. 2007-01-01 Everaldo Canuto <[email protected]>
  1730. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  1731. instead of line, it simplify draw operation and fix it using 3D
  1732. borders to mimic Win32.
  1733. 2007-01-01 Jonathan Pobst <[email protected]>
  1734. * StatusStrip.cs: Add implementation of the sizing grip.
  1735. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  1736. StatusStrip rendering.
  1737. 2006-12-31 Chris Toshok <[email protected]>
  1738. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  1739. override the layout style (anchor/dock) of the control. assign to
  1740. Dock instead. Fixes bug #80416.
  1741. * ToolStrip.cs: same.
  1742. 2006-12-31 Andreia Gaita <[email protected]>
  1743. * ContainerControl.cs: Use ContainerSelected flag to check if
  1744. a Container is directly selected, or if Select is called on a
  1745. non-container. If a container is directly selected, focus events
  1746. should not be raised.
  1747. Apply #80411 patch to throw exception on set_ActiveControl if
  1748. control is the same as the current one.
  1749. * Control.cs: Use ContainerSelected flag (see above).
  1750. Add invalidation check to raise event but not invalidate if
  1751. dimensions are 0.
  1752. Apply #80411 patch.
  1753. 2006-12-31 Everaldo Canuto <[email protected]>
  1754. * MenuAPI.cs: After click, dont close popup menu when menu is
  1755. ContextMenu. Fixes #80399.
  1756. 2006-12-30 Chris Toshok <[email protected]>
  1757. * ContainerControl.cs: make sure we throw the exception if the
  1758. container control doesn't contain the control we're setting
  1759. ActiveControl to.
  1760. 2006-12-30 Chris Toshok <[email protected]>
  1761. * Control.cs (SetTopLevel): fix the exception raised by
  1762. SetTopLevel for child controls.
  1763. (set_Anchor): call UpdateDistances when setting the anchor type.
  1764. This fixes bug #80336.
  1765. 2006-12-29 Gert Driesen <[email protected]>
  1766. * Theme.cs: For now, revert back to 8pt font.
  1767. 2006-12-29 Everaldo Canuto <[email protected]>
  1768. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  1769. Fixes #80395.
  1770. 2006-12-29 Chris Toshok <[email protected]>
  1771. * Control.cs: reorder the code in OnResize to give the same event
  1772. ordering as MS.
  1773. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  1774. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  1775. TileHorizontally and TileVertically.
  1776. 2006-12-29 Alexander Olk <[email protected]>
  1777. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  1778. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  1779. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  1780. Corrected copyright and email adress.
  1781. 2006-12-29 Gert Driesen <[email protected]>
  1782. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  1783. of Exception in FullPath property if no TreeView is associated with
  1784. the TreeNode.
  1785. 2006-12-29 Gert Driesen <[email protected]>
  1786. * Theme.cs: Marked default_font as private, and initialize it in ctor
  1787. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  1788. on 2.0 profile.
  1789. * ThemeGtk.cs: Removed default_font intialization.
  1790. * ThemeWin32Classic.cs: Removed default_font initialization.
  1791. 2006-12-28 Chris Toshok <[email protected]>
  1792. * Control.cs: fix a couple of place where we were creating handles
  1793. more aggressively than we should be. Fixes ControlRefresh unit
  1794. tests.
  1795. 2006-12-28 Chris Toshok <[email protected]>
  1796. * Control.cs: contrary to what the comment said, Control.Dock does
  1797. not supercede Control.Anchor - the last one you assign to decides
  1798. the layout behavior. so we need to keep track of which was the
  1799. last set. Also, fix some of the affected property arguments in
  1800. PerformLayout calls, and remove an redundant parent.PerformLayout
  1801. call in OnResized.
  1802. Add a VisibleInternal property, which returns is_visible. We
  1803. can/should get rid of all the usage of this field elsewhere.
  1804. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  1805. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  1806. control style, not DoubleBuffer. Added UseDoubleBuffering property
  1807. that indicates whether doublebuffering is enabled and supported.
  1808. (comment from and code based on Gert Driesen's patch in #80324).
  1809. Fixes #80324.
  1810. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  1811. * Control.cs: Fixed a NRE.
  1812. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  1813. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  1814. for 2.0.
  1815. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  1816. * Control.cs: Rewrote double buffering, now a seperate
  1817. class handles all the buffering, no Graphics is disposed of
  1818. until the painting is finished (earlier implementation
  1819. would crash if the control was resized in the OnPaint,
  1820. since it would cause the double buffer to be recreated
  1821. and the old one disposed), a separate Graphics is
  1822. created for every paint (MS behaviour and anyways the state
  1823. of the Graphics would have to be saved and restored otherwise)
  1824. * XplatUIDriver.cs:
  1825. * XplatUIX11.cs:
  1826. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  1827. so that we can get the graphics for the back buffer without
  1828. having to create a new one and remove the offscreen_dc parameter
  1829. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  1830. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  1831. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  1832. Also make virtual all the key-related methods.
  1833. * ListViewItem.cs: Make virtual the key related methods for
  1834. ListViewSubItemCollection.
  1835. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  1836. * ListView.cs:
  1837. * ListViewItem.cs:
  1838. * ThemeWin32Classic.cs:
  1839. * Theme.cs: Initial support for Tile view in ListView,
  1840. as well as the implementation of the required bits for it (Item
  1841. and Subitem).
  1842. 2006-12-27 Gert Driesen <[email protected]>
  1843. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  1844. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  1845. Provide useful exception messages.
  1846. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  1847. * TrackBar.cs: Remove a warning.
  1848. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  1849. when used by DateTimePicker, fixes #80287. This also requires that
  1850. MonthCalendar implements it's own drawing for the yearly updown control,
  1851. otherwise the Capture tracking would be too complicated. Removed the Click
  1852. and DoubleClick events (according to comments they were hiding the base class
  1853. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  1854. raise these events, not that they cannot be raised. It is possible to raise
  1855. them by calling OnClick and OnDoubleClick). Added two internal fields in
  1856. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  1857. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  1858. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  1859. event, no longer needed.
  1860. 2006-12-27 Gert Driesen <[email protected]>
  1861. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  1862. true if new value differs from current value.
  1863. 2006-12-27 Gert Driesen <[email protected]>
  1864. * Control.cs: ControlCollection.Count must be public. Fixed build of
  1865. unit tests.
  1866. 2006-12-27 Gert Driesen <[email protected]>
  1867. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  1868. 2006-12-27 Gert Driesen <[email protected]>
  1869. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  1870. 2006-12-26 Everaldo Canuto <[email protected]>
  1871. * Control.cs: Invalidates control including when Width and Height is
  1872. equal zero or is not visible, only Paint event must be care about
  1873. this. Fixes #79913.
  1874. 2006-12-26 Chris Toshok <[email protected]>
  1875. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  1876. more corcompare work.
  1877. * DataGridView.cs: fix compiler warning.
  1878. * ColumnHeader.cs: some corcompare work, and also take the
  1879. opportunity to make the internal fields private.
  1880. * ListView.cs: fix the fallout from the above field change.
  1881. 2006-12-26 Jonathan Pobst <[email protected]>
  1882. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  1883. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  1884. ToolStripTextBox.cs: Fixes to events and corcompare.
  1885. 2006-12-26 Everaldo Canuto <[email protected]>
  1886. * ListView.cs: Call owner.OnMousexx event to propagate events from
  1887. item to ListView. Fixes #80367.
  1888. 2006-12-26 Gert Driesen <[email protected]>
  1889. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  1890. if value is less than one. ItemHeight should not be set to a value
  1891. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  1892. Removed extra tabs.
  1893. 2006-12-26 Jonathan Pobst <[email protected]>
  1894. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  1895. * ToolStripStatusLabel.cs: Add Spring for Moma.
  1896. 2006-12-26 Gert Driesen <[email protected]>
  1897. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  1898. Fixed code formatting. Removed debug code.
  1899. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  1900. 2006-12-26 Gert Driesen <[email protected]>
  1901. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  1902. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  1903. ArgumentOutOfRangeException if ColumnCount is negative. In
  1904. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  1905. less than 4 or higher than 32768.
  1906. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  1907. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  1908. Fixed IsFormatProviderDefault to return true if FormatProvider has
  1909. not been explicitly set.
  1910. 2006-12-25 Chris Toshok <[email protected]>
  1911. * Application.cs: add a couple of 2.0 events.
  1912. 2006-12-25 Chris Toshok <[email protected]>
  1913. * Control.cs: fix compiler warning.
  1914. * AxHost.cs: corcompare fixes.
  1915. * ApplicationContext.cs: corcompare fixes.
  1916. 2006-12-25 Chris Toshok <[email protected]>
  1917. * Control.cs: only update dist_right/dist_bottom if the
  1918. width/height is > 0. this fixes anchored controls being resized
  1919. smaller until they disappear and then resized larger again.
  1920. 2006-12-25 Chris Toshok <[email protected]>
  1921. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  1922. since they're nothing more than X/Left and Y/Top, respectively.
  1923. Also, move back to a per-control Bitmap/Graphics for
  1924. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  1925. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  1926. Height.
  1927. 2006-12-25 Miguel de Icaza <[email protected]>
  1928. * MessageBox.cs: Implemented overload that takes a new "bool
  1929. displayHelpButton" by adding a new internal field "show_help".
  1930. When clicked this will raise the HelpRequested on the owner or the
  1931. main form.
  1932. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  1933. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  1934. * ListView.cs: Add support ColumnWidthChanged and
  1935. ColumnWidthChanging.
  1936. Add support for ColumnReordered event.
  1937. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  1938. reorder.
  1939. Very nice codebase!
  1940. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  1941. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  1942. 2006-12-24 Chris Toshok <[email protected]>
  1943. * GridTablesFactory.cs: 2.0 corcompare work.
  1944. * ToolStripContainer.cs: add "override" to
  1945. ContextMenuStripChanged, and remove the local event object.
  1946. * ToolStripDropDown.cs: same with a couple properties.
  1947. * ToolStripPanel.cs: same with AutoSizeChanged event.
  1948. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  1949. * Form.cs: add the remaining 2.0 events, and do some corcompare
  1950. attribute work.
  1951. * DateTimePicker.cs: add "new" to padding.
  1952. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  1953. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  1954. * DataGridView.cs: PaddingChanged is overridden.
  1955. 2006-12-24 Chris Toshok <[email protected]>
  1956. * Control.cs: corecompare work here too.
  1957. * DataGridViewElement.cs, DataGridView.cs,
  1958. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  1959. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  1960. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  1961. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  1962. work.
  1963. 2006-12-24 Miguel de Icaza <[email protected]>
  1964. * Control.cs: Switched the error message on the console for a
  1965. todo. A review of the code will have to cope with this anyways
  1966. (since its a large feature, it is in our radar) and it was
  1967. producing too much output when running PDN.
  1968. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  1969. changes. Applications depend on this (PDN 2.72)
  1970. 2006-12-23 Chris Toshok <[email protected]>
  1971. * TableLayoutSettings.cs: finish up the corcompare work for this
  1972. class.
  1973. 2006-12-23 Chris Toshok <[email protected]>
  1974. * Control.cs: make SetImplicitBounds internal, do some futzing
  1975. with LayoutEngine so that it's available in 1.1, and remove the
  1976. entire duplicated code mess from PerformLayout. Use
  1977. System.Windows.Forms.Layout.DefaultLayout instead.
  1978. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  1979. 2006-12-23 Jonathan Pobst <[email protected]>
  1980. * Form.cs: Add MainMenuStrip property.
  1981. 2006-12-23 Jonathan Pobst <[email protected]>
  1982. * Control.cs: Add ContextMenuStrip property and implementation.
  1983. Fix ContextMenu implementation to show menu centered on control when
  1984. activated using the keyboard instead of showing at screen (0,0).
  1985. * ToolStripDropDown.cs: Fix needed overload of Show ().
  1986. 2006-12-23 Everaldo Canuto <[email protected]>
  1987. * Menu.cs: Name property added for 2.0 profile.
  1988. 2006-12-23 Everaldo Canuto <[email protected]>
  1989. * Menu.cs: Update information about FindMenuItem, method to be
  1990. implemented soon.
  1991. 2006-12-23 Everaldo Canuto <[email protected]>
  1992. * MenuAPI.cs: When deselect items deselect also selected subitems.
  1993. 2006-12-23 Everaldo Canuto <[email protected]>
  1994. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  1995. FindSubItemByCoord to found itens that is not active, also an
  1996. cheking added to FindSubItemByCoord to search for items only
  1997. in visible popup windows. Fixes #80274.
  1998. 2006-12-22 Everaldo Canuto <[email protected]>
  1999. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  2000. internal property, it be care about change ExStyle.
  2001. 2006-12-22 Andreia Gaita <[email protected]>
  2002. * ContainerControl.cs: set activeControl for parent forms up the
  2003. tree when the new activecontrol is a container.
  2004. When validating the active control, if it is a container, also
  2005. raise up the validation for it's active control. Fixes #80280
  2006. * Control.cs: Add internal property flag and check to prevent
  2007. Focus events from getting raised when Select() is called for
  2008. a ContainerControl. There are still too many focus events being
  2009. raised at the moment though.
  2010. Cleaned up the code a bit.
  2011. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  2012. * Control.cs: Added all missing 2.0 events.and
  2013. fixed a couple of corcompare issues.
  2014. * TrackBar.cs: Implemented missing 2.0 bits.
  2015. * MonthCalendar.cs,
  2016. * DateTimePicker.cs,
  2017. * MdiClient.cs: Fixed some corcompare issues.
  2018. 2006-12-21 Jonathan Pobst <[email protected]>
  2019. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  2020. SplitterPanel.cs: corecompare work.
  2021. 2006-12-21 Jonathan Pobst <[email protected]>
  2022. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  2023. Clean up warnings for BackgroundImageChanged and PaddingChanged
  2024. events now that they are implemented in Control.cs.
  2025. 2006-12-21 Jonathan Pobst <[email protected]>
  2026. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  2027. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  2028. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  2029. of TableLayoutPanel and supporting cast.
  2030. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  2031. * XplatUIWin32.cs:
  2032. - GrabWindow now confines the mouse pointer to the confine window.
  2033. - Added Win32ClipCursor and Win32GetClipCursor.
  2034. * Control.cs:
  2035. - Added CaptureWithConfine to be able to capture and confine
  2036. mouse pointer.
  2037. * InternalWindowManager.cs:
  2038. - Call CaptureWithConfine instead of Capture if we're an
  2039. MdiChild (fixes #79982).
  2040. 2006-12-21 Chris Toshok <[email protected]>
  2041. * DataGrid.cs: guard against the initial state of selection, where
  2042. selection_start == -1. make sure we only select from index >= 0.
  2043. Fixes bug #80291.
  2044. 2006-12-21 Chris Toshok <[email protected]>
  2045. * Control.cs: we don't need to be so draconian with
  2046. UpdateDistances, and we thusly don't need to call it before
  2047. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  2048. 2006-12-21 Daniel Nauck <[email protected]>
  2049. * ComboBox.cs,
  2050. TextBox.cs: Implemented AutoComplete properties.
  2051. 2006-12-20 Chris Toshok <[email protected]>
  2052. * DataGridView*.cs: some corecompare work.
  2053. 2006-12-20 Jackson Harper <[email protected]>
  2054. * XplatUIX11.cs: We need to hide the caret when deleting it,
  2055. otherwise you get carets left lying around everywhere.
  2056. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  2057. prevents getting some weird half drawn caret tracers when
  2058. scrolling.
  2059. * TextControl.cs: Attempt to reduce the number of times we need to
  2060. recreate the caret.
  2061. 2006-12-20 Gert Driesen <[email protected]>
  2062. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  2063. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  2064. * DateTimePicker.cs:
  2065. - Implemented missing 2.0 bits.
  2066. - Changed some default values to match MS.
  2067. 2006-12-20 Jackson Harper <[email protected]>
  2068. * TextBoxBase.cs: When changing the font across the document we
  2069. can't recalculate after changing each line, since that will cahnge
  2070. the line count.
  2071. - PreferredHeight is a little different than i thought.
  2072. - When backspacing, move the caret before we do the actual char
  2073. delete, because when that delete crosses a wrap boundary the
  2074. positional information will change.
  2075. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  2076. * Control.cs: Added some missing 2.0 bits:
  2077. BackgroundImageLayout, BackgroundImageLayoutChanged,
  2078. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  2079. add IBindableComponent and IDropTarget implementation.
  2080. * MonthCalendar.cs:
  2081. - Added all missing 2.0 features:
  2082. BackgroundImageLayout, RightToLeftLayout,
  2083. OnHandleDestroyed, RightToLeftLayoutChanged,
  2084. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  2085. PaddingChanged.
  2086. - Rewrote all the BoldDate code, it was completely broken.
  2087. - Fixed all the tests (the tests can now be re-enabled, the
  2088. problems were not with the tests, but with the control, it was
  2089. mostly broken).
  2090. * DateTimePicker.cs: Changed the location where the
  2091. MonthCalendar is shown.
  2092. 2006-12-19 Chris Toshok <[email protected]>
  2093. * DataGridView.cs: add IDropTarget implementation.
  2094. * ToolStripPanel.cs: add IDropTarget implementation.
  2095. 2006-12-19 Jackson Harper <[email protected]>
  2096. * TextControl.cs: soft now means something different than what it
  2097. used to mean, we want to move the caret regardless of whether or
  2098. not this break was soft (would we really have wanted the caret
  2099. to not move with the break in the old context?)
  2100. * TreeView.cs: Make sure we factor in the vert scrollbar when
  2101. calculating the horizontal scrollbar's maximum.
  2102. 2006-12-19 Andreia Gaita <[email protected]>
  2103. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  2104. check for keywords in alternate casing, close bug #80049.
  2105. 2006-12-19 Chris Toshok <[email protected]>
  2106. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  2107. methods (which all do nothing).
  2108. * IDropTarget.cs: add the 4 missing methods.
  2109. 2006-12-19 Chris Toshok <[email protected]>
  2110. * TableLayoutRowStyleCollection.cs: corcompare work.
  2111. * TableLayoutSettings.cs: same.
  2112. * TableLayoutStyle.cs: same.
  2113. * TableLayoutColumnStyleCollection.cs: same.
  2114. 2006-12-19 Jonathan Pobst <[email protected]>
  2115. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  2116. TableLayoutPanel I've had in my local tree for way too long.
  2117. 2006-12-19 Miguel de Icaza <[email protected]>
  2118. * TableLayoutSettings.cs: Finish the public API (still needs all
  2119. the logic to update on changes).
  2120. * TableLayoutPanelCellPosition.cs: new file.
  2121. * TableLayoutRowStyleCollection.cs,
  2122. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  2123. TableLayoutSettings.cs: Track the final 2.0 table api.
  2124. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  2125. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  2126. and Image List 2.0 members for ColummnHeader.
  2127. * ListView.cs: Add key-related 2.0 methods for
  2128. ColumnHeaderCollection.
  2129. 2006-12-19 Gert Driesen <[email protected]>
  2130. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  2131. ArgumentNullException if items argument is null. Ignore null item in
  2132. arrays. Removed extra tabs.
  2133. 2006-12-19 Gert Driesen <[email protected]>
  2134. * MonthCalendar.cs: Fixed InvalidCastException.
  2135. 2006-12-19 Jackson Harper <[email protected]>
  2136. * TextControl.cs: Don't increment the position here.
  2137. - When calculating char positions only add in the line break size
  2138. for hard line breaks.
  2139. 2006-12-19 Andreia Gaita <[email protected]>
  2140. * SendKeys.cs: Changed some things to match ms.net behaviour
  2141. when parsing shifted capital letters.
  2142. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  2143. Add window handle as parameter to SendInput. X11 needs the
  2144. window handle, and the handle being passed to it in the keys
  2145. queue is the active control handle (which windows needs), not
  2146. the window handle.
  2147. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  2148. to support SendKeys on X.
  2149. * X11Keyboard: Implement helper method to lookup a linux keycode
  2150. given the virtual keycode. Added table of keycode-2-virtualkey
  2151. values to support this.
  2152. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  2153. * ListView.cs: Add support for SelectedIndexCollection
  2154. and SelectedItemCollection 2.0 methods. Implement support
  2155. for ImageKey too.
  2156. * ListViewItem.cs: Add support for ListViewSubItemCollection
  2157. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  2158. (it shouldn't call Clear).
  2159. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  2160. 2006-12-19 Jackson Harper <[email protected]>
  2161. * RichTextBox.cs:
  2162. * TextBoxBase.cs: New args for FormatText
  2163. * TextControl.cs: Rewrote the main drawing method, this version
  2164. feels a little easier to understand and debug to me. Hopefully it
  2165. does to others also
  2166. - Fix FormatText to OR in the new formating values. Added
  2167. FormatSpecified param, basically this works in the same way as
  2168. BoundsSpecified in Control.
  2169. - Set the caret properties when the caret is positioned.
  2170. - When wrapping text make sure that we calculate the width of the
  2171. last character
  2172. - when calculating alignments we might have wrapped down to the
  2173. next line, so don't search for an individual tag, search for the
  2174. end of the line
  2175. - We need to invalidate the selection area when we replace the
  2176. selection.
  2177. 2006-12-19 Daniel Nauck <[email protected]>
  2178. * Application.cs: add Restart () 2.0 support
  2179. 2006-12-18 Everaldo Canuto <[email protected]>
  2180. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  2181. property. Fixes #80268.
  2182. 2006-12-18 Everaldo Canuto <[email protected]>
  2183. * MenuAPI.cs: Dont trigger select event when closes top menu
  2184. item. Fixes #80270.
  2185. 2006-12-18 Everaldo Canuto <[email protected]>
  2186. * MenuAPI.cs: When you click on menuitem only trigger onselect
  2187. event for top menu itens. Fixes #80271.
  2188. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  2189. * MdiWindowManager.cs: Make IconicBounds depend on
  2190. the bottom of MdiClient, not the top (fixes #80267)
  2191. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  2192. * MdiClient.cs: Added missing 2.0 attribute
  2193. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  2194. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  2195. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  2196. 2006-12-18 Everaldo Canuto <[email protected]>
  2197. * MenuAPI.cs: Fix click when menuitem is not popup,
  2198. this regression was caused by last commit (#80272).
  2199. 2006-12-17 Everaldo Canuto <[email protected]>
  2200. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  2201. fire click event or close menu. Fixes #80272.
  2202. 2006-12-17 Daniel Nauck <[email protected]>
  2203. * ListViewHitTestInfo.cs: add
  2204. 2006-12-17 Daniel Nauck <[email protected]>
  2205. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  2206. * FlatButtonAppearance.cs: add
  2207. * DockingAttribute.cs: add
  2208. 2006-12-17 Chris Toshok <[email protected]>
  2209. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  2210. and rebind our columns when it does - this way, if you make
  2211. changes to the DataTable (or set the Table attribute on a DataView
  2212. after setting it as the DataGrid's DataSource, the changes are
  2213. made visible.) Fixes bug #80107.
  2214. 2006-12-17 Daniel Nauck <[email protected]>
  2215. * ListViewGroup.cs: add internal Location property for layouting.
  2216. * Theme.cs: add abstract ListViewGroupHeight function.
  2217. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  2218. 2006-12-16 Andreia Gaita <[email protected]>
  2219. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  2220. Added reset of selected index to 0 when adding first tab page.
  2221. Fixes #80264
  2222. * NumericUpDown.cs: Fix NET_2_0 check
  2223. 2006-12-16 Daniel Nauck <[email protected]>
  2224. * ListViewGroup.cs: fixed DefaultValueAttribute value
  2225. 2006-12-16 Daniel Nauck <[email protected]>
  2226. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  2227. 2006-12-15 Miguel de Icaza <[email protected]>
  2228. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  2229. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  2230. ScrollableControl.cs: Add a handful of methods that are
  2231. overwritten in 2.0
  2232. 2006-12-15 Chris Toshok <[email protected]>
  2233. * XplatUIWin32.cs: initial implementation of the Reversible
  2234. drawing functions. there are some problems. DrawReversibleFrame
  2235. doesn't seem to work at all for Dashed FrameStyle, and in the
  2236. Thick case there are drawing errors at the corners (we probably
  2237. need to bind Rectangle instead of doing moveto/lineto's.)
  2238. 2006-12-16 Andreia Gaita <[email protected]>
  2239. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  2240. to send blocks of key messages. Send accumulates keys to send with Flush,
  2241. while SendWait sends all keys immediately.
  2242. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  2243. XplatUIX11.cs, XplatUIX11-new.cs:
  2244. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  2245. to Win32 SendInput.
  2246. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  2247. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  2248. testing for ms.net on this class is very tricky, as the tests run too fast
  2249. to allow the hook to release, essentially freezing the keyboard and the
  2250. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  2251. category :p
  2252. 2006-12-16 Daniel Nauck <[email protected]>
  2253. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  2254. added missing attributes.
  2255. 2006-12-15 Daniel Nauck <[email protected]>
  2256. * ListViewGroup.cs: Added missing attributes.
  2257. * ListViewGroupCollection.cs: Added missing attributes.
  2258. 2006-12-15 Daniel Nauck <[email protected]>
  2259. * ListViewItem.cs: fixed ListViewSubItem text property.
  2260. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  2261. * Control.cs: Added missing 2.0 attributes
  2262. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  2263. * MdiClient.cs: Added missing 2.0 attribute.
  2264. * MonthCalendar.cs: Added some missing 2.0 attributes
  2265. and properties.
  2266. 2006-12-15 Daniel Nauck <[email protected]>
  2267. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  2268. 2006-12-15 Jonathan Pobst <[email protected]>
  2269. * MainMenu.cs: Add the new 2.0 constructor to help out people
  2270. using the MainMenu in VS2005.
  2271. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  2272. * MdiChildContext.cs: Removed it, no longer used.
  2273. * MdiClient.cs: Added missing 2.0 attributes.
  2274. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  2275. * InternalWindowManager.cs: Fix a NullRef with previous
  2276. changes for toolwindows.
  2277. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  2278. * Control.cs:
  2279. - Added AfterTopMostControl to allow for certain controls
  2280. to always stay on top when normal controls are brought to
  2281. front.
  2282. * XplatUIWin32.cs:
  2283. - (DrawInversibleRectangle): Get window rectangle from Win32
  2284. in stead of from control, since Win32 doesn't calculate
  2285. screen coords correctly from control's Location if it
  2286. have docked siblings.
  2287. * MdiWindowManager.cs:
  2288. - Correct the control menu popup location when clicked on
  2289. the maximized form icon. (fixes #80223.1)
  2290. - Don't show moving rectangle if mouse hasn't moved from
  2291. the original clicked point.
  2292. - Removed FormGotFocus handler (not used).
  2293. - Calculate the control buttons location from the main
  2294. window's size and not client size (fixes #79770).
  2295. - Form is now closed when the form icon is double-clicked
  2296. (fixes #79775).
  2297. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  2298. * InternalWindowManager.cs:
  2299. - Moved some MDI-only methods to MdiWindowManager.
  2300. - Removed unused properties and methods.
  2301. - Unified method naming for methods handling wm messages.
  2302. - Moved all message handling to seperate methods for
  2303. each message.
  2304. * ThemeWin32Classic.cs:
  2305. - DrawManagedWindowDecorations now draws the title bar
  2306. with a gradient brush.
  2307. - Add a CPDrawButtonInternal that allows us to specify
  2308. light, normal and dark colors for the buttons (control
  2309. buttons for MDI children were drawn with the same light
  2310. color as the background, therefore loosing the 3D effect).
  2311. * SizeGrip.cs:
  2312. - Add a CapturedControl property that is used to
  2313. determine the control to resize (defaults to parent).
  2314. Needed for MdiClient, since its SizeGrip's parent is
  2315. MdiClient, but the control to resize is the main form.
  2316. * MdiClient.cs:
  2317. - Set SizeGrip's CapturedControl to the main form in order
  2318. to resize the main form and not the MdiClient.
  2319. - Override AfterTopMostControl to leave the scrollbars
  2320. always on top.
  2321. 2006-12-15 Daniel Nauck <[email protected]>
  2322. * ListView.cs: fixed ListViewItemCollection AddRange and
  2323. implemented ListViewItemCollection AddRange 2.0 support.
  2324. 2006-12-15 Daniel Nauck <[email protected]>
  2325. * ListViewGroup.cs: Add.
  2326. * ListViewGroupCollection.cs: Add
  2327. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  2328. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  2329. stub for ImageKey 2.0 support.
  2330. 2006-12-14 Mike Kestner <[email protected]>
  2331. * ListView.cs: add text padding to the autocalculation for columns
  2332. of width -2. Fixes #80207.
  2333. 2006-12-14 Mike Kestner <[email protected]>
  2334. * ListView.cs: add some index guarding for partial row navigation
  2335. logic. Fixes #80250.
  2336. 2006-12-14 Mike Kestner <[email protected]>
  2337. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  2338. are added or inserted to the collection. Fixes #81099.
  2339. 2006-12-13 Everaldo Canuto <[email protected]>
  2340. * MenuAPI.cs: Closes menu when right click out side of popup
  2341. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  2342. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  2343. * ListViewItem.cs: Fix dumb error.
  2344. * ListView.cs: Add Find and ContainsKey methods in
  2345. ListViewItemCollection, and also return true for IsReadOnly
  2346. and IsFixedSize (changes for 2.0).
  2347. 2006-12-13 Gert Driesen <[email protected]>
  2348. * Control.cs: Allow Region to be set to null.
  2349. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  2350. * MdiWindowManager.cs: Remove unused (commented out) code.
  2351. * Form.cs: When the MdiChild is maximized, the form needs
  2352. WM_NCMOUSELEAVE, so request it.
  2353. * InternalWindowManager.cs:
  2354. - Added tooltips to control buttons.
  2355. - Removed duplicated control button handling code.
  2356. - Removed unused (commented out) code.
  2357. 2006-12-12 Everaldo Canuto <[email protected]>
  2358. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  2359. was used because we must set cursor without trigger ChangeCursor event
  2360. and without change Cursor control property. Fixes #79963.
  2361. 2006-12-12 Andreia Gaita <[email protected]>
  2362. * Control.cs: Check if Region setter value is null, and ignore
  2363. 2006-12-12 Jackson Harper <[email protected]>
  2364. * TextControl.cs: We were almost always drawing one more line then
  2365. needed, since the GetLineByPixel will return the last line found
  2366. at that pixel. In most cases though, we were invalidating up to
  2367. the junction between two lines.
  2368. - Improve debug code.
  2369. 2006-12-12 Chris Toshok <[email protected]>
  2370. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  2371. and FillReversibleRectangle.
  2372. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  2373. and FillReversibleRectangle.
  2374. * XplatUIWin32.cs: add stubs which do nothing for
  2375. DrawReversibleFrame, DrawReversibleLine, and
  2376. FillReversibleRectangle.
  2377. * XplatUIOSX.cs: add stubs which raise NIE for
  2378. DrawReversibleFrame, DrawReversibleLine, and
  2379. FillReversibleRectangle.
  2380. * XplatUIX11.cs: add working implementation for
  2381. DrawReversibleFrame, DrawReversibleLine, and
  2382. FillReversibleRectangle.
  2383. * ControlPaint.cs: implement DrawReversibleFrame,
  2384. DrawReversibleLine, and FillReversibleRectangle, by calling into
  2385. the appropriate XplatUI method.
  2386. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  2387. * Form.cs: Make MdiClient have the focus even if it's
  2388. not selectable, since it should receive WM_KEY* and WM_MOUSE
  2389. messages. Fixes #79907.
  2390. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  2391. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  2392. queried after the window is created.
  2393. * XplatUIX11.cs: Added SendParentNotify to implement
  2394. WM_PARENTNOTIFY logic. Fixes #79965.
  2395. * Control.cs: Added MakeParam.
  2396. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  2397. * MdiClient.cs: Resume Layout before setting window
  2398. states (fixes #80201).
  2399. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  2400. * MenuAPI.cs: Deselect a menu item after performing
  2401. the click (fixes #80197).
  2402. 2006-12-11 Jackson Harper <[email protected]>
  2403. * TextBoxBase.cs: We need to cap this value, since Maximum -
  2404. ViewPortHeight can be less than zero.
  2405. - Only do selection with the left mouse button.
  2406. * TextBox.cs: Don't tell the world that we have a context menu.
  2407. * Control.cs: New method so that we can control whether or not the
  2408. context menu is visible outside MWF.
  2409. 2006-12-11 Everaldo Canuto <[email protected]>
  2410. * ToolBarButton.cs: Fix text positon.
  2411. 2006-12-11 Miguel de Icaza <[email protected]>
  2412. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  2413. * Control.cs (DoubleBuffered): Add implementation.
  2414. * Application.cs (OpenForms): Add.
  2415. 2006-12-11 Jonathan Pobst <[email protected]>
  2416. * Form.cs: Use opacity instead of Opactiy to determine if we need
  2417. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  2418. 2006-12-11 Jonathan Pobst <[email protected]>
  2419. * Control.cs: Fix NRE if Control.Site was set to null.
  2420. 2006-12-11 Chris Toshok <[email protected]>
  2421. * Control.cs: ControlCollection.Remove should return if the arg is
  2422. null, and ControlCollection.SetChildIndex should raise a ANE.
  2423. 2006-12-11 Gert Driesen <[email protected]>
  2424. * Control.cs: Verify value set for Dock property. Code formatting
  2425. updates.
  2426. 2006-12-11 Jackson Harper <[email protected]>
  2427. * TextControl.cs: Draw the caret and the selection when a flag is
  2428. set on the owner.
  2429. * TextBoxBase.cs: We want to draw the caret and the selection for
  2430. TextBox but not for TextBoxBase.
  2431. - If the window is resized and scrolling is no longer needed (the
  2432. whole doc is visible) set the scroll position to zero.
  2433. - The default SelectWord (the one TextBox uses) should move the
  2434. caret to the end of the word.
  2435. - SelectAll moves the caret to the end of the selection.
  2436. * TextBox.cs: We don't selectall on focus, we just do it when the
  2437. control is created.
  2438. 2006-12-11 Mike Kestner <[email protected]>
  2439. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  2440. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  2441. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  2442. 2.0 support.
  2443. * ListViewItem.cs: Add Name 2.0 property.
  2444. 2006-12-11 Andreia Gaita <[email protected]>
  2445. * TabControl.cs: Set visibility on selected or default tab
  2446. when tabcontrol handle is created, so that it's contents
  2447. actually show up (duh). Fixes #80193
  2448. Don't redraw the control if there is no handle created, as
  2449. the selected index might be completely invalid. Added some tests
  2450. to check for this.
  2451. 2006-12-11 Everaldo Canuto <[email protected]>
  2452. * ToolBar.cs: Uses maximun width and height of all buttons as
  2453. button rectangle when ButtonSize specified, it looks strange but
  2454. is what happens in Win32. Fixes #80189.
  2455. 2006-12-11 Jackson Harper <[email protected]>
  2456. * TextControl.cs: Need to track undo levels ourself, since
  2457. compound actions will mess them up.
  2458. 2006-12-10 Andreia Gaita <[email protected]>
  2459. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  2460. SelectedIndex value is changed (even if it's not valid).
  2461. Reset SelectedIndex to 0 when the handle is created and if
  2462. the current index is invalid.
  2463. Fixes SelectdeIndex unit tests and #80128
  2464. 2006-12-08 Chris Toshok <[email protected]>
  2465. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  2466. calls EndEdit, it needs to be called before we set current_cell to
  2467. its new value. Otherwise, we end up committing the value in the
  2468. textbox to the new cell as well. Fixes bug #80160.
  2469. 2006-12-08 Chris Toshok <[email protected]>
  2470. * Form.cs (set_CancelButton): if the button's DialogResult is
  2471. None, set it to Cancel. Fixes bug 80180.
  2472. 2006-12-08 Jackson Harper <[email protected]>
  2473. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  2474. to watch ourselves when setting the canvas size and setting the
  2475. scrollbar values.
  2476. 2006-12-08 Chris Toshok <[email protected]>
  2477. * DataGrid.cs: comment out the two MakeTransparent calls for the
  2478. time being so people using trunk (and not 1.2.2) on windows can
  2479. actually use the datagrid. This deals with bug #80151.
  2480. 2006-12-08 Jonathan Pobst <[email protected]>
  2481. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  2482. Graphics.DrawImage (image, int, int, int, int) overload instead
  2483. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  2484. the dpi difference and was blurring images it drew.
  2485. [Fixes bug #79960]
  2486. 2006-12-08 Chris Toshok <[email protected]>
  2487. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  2488. rowcnt is 0 (such as with an empty datasource), and make sure we
  2489. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  2490. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  2491. 2006-12-08 Chris Toshok <[email protected]>
  2492. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  2493. grid.
  2494. 2006-12-08 Chris Toshok <[email protected]>
  2495. [ Fixes bug #80167 ]
  2496. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  2497. style is FlatStyle.System.
  2498. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  2499. ButtonBase.flat_style private, and switch uses of it to the public
  2500. property.
  2501. 2006-12-08 Chris Toshok <[email protected]>
  2502. [ Fixes bug #80121 ]
  2503. * ThemeWin32Classic.cs: center the caption text in the datagrid
  2504. when we draw it.
  2505. * DataGrid.cs: lessen the amount we add to the caption height from
  2506. 6 to 2. 6 was making it huge.
  2507. 2006-12-08 Andreia Gaita <[email protected]>
  2508. * UpDownBase: Handle MouseWheel call directly instead of capturing
  2509. the inner textbox's OnMouseWheel. Fixes #80166
  2510. 2006-12-08 Jackson Harper <[email protected]>
  2511. * TextControl.cs: We need to invalidate the textbox when we empty
  2512. it (how had this not been discovered before?)
  2513. 2006-12-08 Jackson Harper <[email protected]>
  2514. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  2515. to behave like MS, we now ignore the eventargs.Click and just
  2516. track state ourself, which we were already doing anyways.
  2517. - Constrain the double click handler to the double click size.
  2518. 2006-12-08 Chris Toshok <[email protected]>
  2519. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  2520. direction if that scrollbar isn't shown. fixes bug #80158.
  2521. 2006-12-08 Andreia Gaita <[email protected]>
  2522. * NumericUpDown.cs: Update value on getter. Fixes #79950
  2523. 2006-12-08 Chris Toshok <[email protected]>
  2524. * MenuItem.cs: add back in the event cloning code. I didn't know
  2525. how to do it in the face of the EventHandlerList work i'd done
  2526. last week. Fixes bug #80183.
  2527. 2006-12-08 Jonathan Pobst <[email protected]>
  2528. * Control.cs: Add an invalidate to the BackgroundImage setter.
  2529. [Fixes 80184]
  2530. 2006-12-07 Jonathan Pobst <[email protected]>
  2531. * ToolStrip*: Add some small properties reported by MoMA, fix event
  2532. firing and default properties based off of unit tests, and add some
  2533. attributes based off of the class status page.
  2534. 2006-12-07 Jackson Harper <[email protected]>
  2535. * TextBoxBase.cs: Take HideSelection into account when determining
  2536. whether or not to show the selection.
  2537. * RichTextBox.cs: After inserting the RTF into the document move
  2538. the cursor to the beginning of the document.
  2539. 2006-12-07 Jonathan Pobst <[email protected]>
  2540. * Control.cs: Remove static ArrayList "controls" which maintained
  2541. a reference to every control created.
  2542. * Application.cs: Create a static FormCollection to maintain a reference
  2543. to every form created. Use it in places that formerly enumerated through
  2544. the controls one looking for forms.
  2545. * Form.cs: Add and remove self from above FormCollection.
  2546. 2006-12-07 Alexander Olk <[email protected]>
  2547. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  2548. not libgdk (though it makes me wonder why I didn't have any
  2549. problems)
  2550. 2006-12-07 Chris Toshok <[email protected]>
  2551. [ you had to know this was coming after that last commit...]
  2552. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  2553. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  2554. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  2555. XCopyArea).
  2556. 2006-12-07 Chris Toshok <[email protected]>
  2557. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  2558. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  2559. all the behavior we need for double buffering.
  2560. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  2561. client side Bitmap, just like the old Control-based double buffer
  2562. code did. The methods are virtual, so each XplatUI driver
  2563. subclass can replace the implementation to use a faster, platform
  2564. specific approach.
  2565. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  2566. double buffer code, and clean things up a bit in the process.
  2567. 2006-12-06 Chris Toshok <[email protected]>
  2568. * Control.cs: reindent WndProc.
  2569. 2006-12-06 Chris Toshok <[email protected]>
  2570. [ I wanna be like BenM when I grow up ]
  2571. * Hwnd.cs: create a single static Graphics object on the static
  2572. Bitmap we create. use this for our text measurements.
  2573. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  2574. This was causing us to allocate a backbuffer for every control,
  2575. even when it wasn't flagged as double buffered. Instead use the
  2576. single graphics instance. This might have implications for
  2577. multithreaded applications. If we run into problems we can switch
  2578. to creating 1 Graphics per control, on the static Hwnd bitmap.
  2579. this change nets us a 7M savings in private dirty mappings when
  2580. running FormsTest.exe.
  2581. 2006-12-06 Chris Toshok <[email protected]>
  2582. * ListView.cs: the BackgroundImage override is just to set
  2583. attributes. chain up to base.BackgroundImage.
  2584. * RichTextBox.cs: same.
  2585. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  2586. changes, so instead a handler for BackgroundImageChanged.
  2587. * Control.cs: make background_image private.
  2588. 2006-12-06 Chris Toshok <[email protected]>
  2589. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  2590. sure we even need this assignment, but roll with it for now.
  2591. * Control.cs: make the cursor field private.
  2592. 2006-12-06 Chris Toshok <[email protected]>
  2593. * Form.cs: we don't need to explicitly set ImeMode to
  2594. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  2595. behavior in the face of ImeMode.Inherit.
  2596. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  2597. change the ctor's assignment to use ImeMode instead of ime_mode.
  2598. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  2599. ImeModeInherit. Only check for the parent's imemode (and return
  2600. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  2601. This fixes the button unit test, which sets both ImeMode and
  2602. DefaultImeMode to ImeMode.Disable.
  2603. also make the ime_mode field private.
  2604. 2006-12-06 Chris Toshok <[email protected]>
  2605. * Control.cs: make control_style private.
  2606. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  2607. setting the styles to true, then setting them to false instead of
  2608. reverting to their previous values.
  2609. also, call SetStyle on the scrollbars instead of using
  2610. control_style directly.
  2611. 2006-12-06 Jonathan Pobst <[email protected]>
  2612. * FormCollection.cs: Implement. [2.0]
  2613. 2006-12-06 Chris Toshok <[email protected]>
  2614. * Control.cs: make tab_stop private.
  2615. * Label.cs: set TabStop, not tab_stop. reformat some event
  2616. add/remove methods to make them more compact.
  2617. 2006-12-06 Chris Toshok <[email protected]>
  2618. * RadioButton.cs: fix TabStop handling.
  2619. 2006-12-06 Chris Toshok <[email protected]>
  2620. * TextBox.cs: remove the explicit assignments to has_focus.
  2621. Control does that.
  2622. * ButtonBase.cs: remove the assignment to has_focus. Control will
  2623. manage that.
  2624. 2006-12-06 Chris Toshok <[email protected]>
  2625. * ButtonBase.cs: remove all uses of is_enabled from this code.
  2626. it's always true when any of the code containing the checks is
  2627. executed.
  2628. 2006-12-06 Chris Toshok <[email protected]>
  2629. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  2630. with different semantics (some are present in both 1.1 and 2.0
  2631. profiles) so that we match MS's behavior in our unit tests.
  2632. 2006-12-06 Jackson Harper <[email protected]>
  2633. * TextControl.cs: Make this operation undoable.
  2634. * TextBoxBase.cs: Factor the border width into the preferred
  2635. height.
  2636. - implement Modified as per the spec.
  2637. 2006-12-06 Chris Toshok <[email protected]>
  2638. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  2639. 2006-12-06 Chris Toshok <[email protected]>
  2640. * Control.cs: make right_to_left and context_menu fields private.
  2641. 2006-12-06 Chris Toshok <[email protected]>
  2642. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  2643. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  2644. Control.child_controls private. switch all uses over to
  2645. Control.Controls.
  2646. 2006-12-06 Chris Toshok <[email protected]>
  2647. * System.Windows.Forms/GroupBox.cs,
  2648. System.Windows.Forms/AccessibleObject.cs,
  2649. System.Windows.Forms/ErrorProvider.cs,
  2650. System.Windows.Forms/Control.cs,
  2651. System.Windows.Forms/UpDownBase.cs,
  2652. System.Windows.Forms/ScrollBar.cs,
  2653. System.Windows.Forms/DateTimePicker.cs,
  2654. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  2655. System.Windows.Forms/ToolTip.cs,
  2656. System.Windows.Forms/RadioButton.cs,
  2657. System.Windows.Forms/LinkLabel.cs,
  2658. System.Windows.Forms/Splitter.cs,
  2659. System.Windows.Forms/TextBoxBase.cs,
  2660. System.Windows.Forms/ToolStripTextBox.cs,
  2661. System.Windows.Forms/ContainerControl.cs,
  2662. System.Windows.Forms/ThemeWin32Classic.cs,
  2663. System.Windows.Forms/SizeGrip.cs,
  2664. System.Windows.Forms/ToolStripDropDown.cs,
  2665. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  2666. private. switch all uses over to Control.Parent.
  2667. 2006-12-06 Chris Toshok <[email protected]>
  2668. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  2669. Control does this before calling emitting these events.
  2670. * TabControl.cs: same.
  2671. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  2672. Control.client_rect.
  2673. * ButtonBase.cs: use the ClientSize property instead of the
  2674. client_size field.
  2675. * ScrollableControl.cs: same.
  2676. * Control.cs: another pass at making properties private. also,
  2677. move the initialization of tab_stop to the ctor.
  2678. 2006-12-05 Andreia Gaita <[email protected]>
  2679. * TabControl.cs: Let the selected index be set freely if the
  2680. control handle is not yet created.
  2681. 2006-12-05 Jonathan Pobst <[email protected]>
  2682. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  2683. internal until I can rewrite DefaultLayout.
  2684. * ToolStrip.cs: Fix build error and some general cleaning.
  2685. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  2686. Fix build errors caused by making some of Control's fields private.
  2687. 2006-12-05 Jackson Harper <[email protected]>
  2688. * TextControl.cs: Redo Insert a little so that it use IndexOf
  2689. instead of Split, this prevents it from messing up on things like
  2690. \n\n\n. Also more effecient since the split array doesn't need to
  2691. be created.
  2692. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  2693. multiline text differently, this is the first of many fixes that
  2694. will make multiline/non-multiline the same thing as far as the
  2695. TextBoxBase is concerned.
  2696. - Don't split the text and insert lines, this can lose some line
  2697. endings (like is the last line a soft or hard break). Instead use
  2698. the new Insert.
  2699. - Fix an off by one when combining all the lines in the Text
  2700. getter.
  2701. - Remove separate multiline handling from the Text getter/setter.
  2702. 2006-12-05 Chris Toshok <[email protected]>
  2703. * ButtonBase.cs: a few changes:
  2704. - don't reinitialize internal Control fields in the ctor when they
  2705. have the same values as Control sets them.
  2706. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  2707. this before calling those methods.
  2708. - we don't need to call Refresh for anything. use Invalidate
  2709. instead.
  2710. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  2711. calls Refresh in its OnEnabledChanged.
  2712. - several of the events we were registered for in the ctor to
  2713. redraw ourselves already include calls to Invalidate in the
  2714. property setters that raise the events. remove the extra
  2715. invalidation.
  2716. - reformat a switch statement that was 83274658 columns wide.
  2717. 2006-12-05 Mike Kestner <[email protected]>
  2718. * ComboBox.cs: fix a unit test regression from a TextBox
  2719. SelectionLength return of -1 when there's no selection.
  2720. 2006-12-05 Chris Toshok <[email protected]>
  2721. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  2722. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  2723. cleaning up some of the internal Control fields being used by
  2724. subclasses.
  2725. 2006-12-05 Mike Kestner <[email protected]>
  2726. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  2727. listbox after AddImplicit calls since it defaults to hidden. Add a
  2728. hack to preserve requested heights across DropDownStyle changes.
  2729. 2006-12-05 Jonathan Pobst <[email protected]>
  2730. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  2731. 2006-12-05 Chris Toshok <[email protected]>
  2732. * DataGridView.cs: fix compiler warnings.
  2733. * PrintControllerWithStatusDialog.cs: same.
  2734. * ToolBar.cs: same.
  2735. * FolderBrowserDialog.cs: same.
  2736. * Splitter.cs: same.
  2737. * DataGridViewComboBoxCell.cs: same.
  2738. * XplatUIWin32.cs: same.
  2739. * PictureBox.cs: same.
  2740. * Win32DnD.cs: same.
  2741. * PageSetupDialog.cs: same.
  2742. * FileDialog.cs: same.
  2743. * PrintDialog.cs: same.
  2744. * DataGridTextBoxColumn.cs: same.
  2745. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  2746. 2006-12-05 Chris Toshok <[email protected]>
  2747. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  2748. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  2749. System.ComponentModel.EventHandlerList work.
  2750. 2006-12-05 Jonathan Chambers <[email protected]>
  2751. * DrawTreeNodeEventArgs.cs: Added.
  2752. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  2753. * InternalWindowManager.cs: Remove an unused field.
  2754. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  2755. * InternalWindowManager.cs:
  2756. - Save the point where the title bar is clicked.
  2757. * MdiWindowManager.cs:
  2758. - Only allow moving of the window as long as the
  2759. clicked point on the title bar does not get out of
  2760. MdiClient's rectangle. Fixes #79982.
  2761. * MdiClient.cs:
  2762. - Added Horizontal/VerticalScrollbarVisible.
  2763. - Simplified the scrollbar sizing algorithm.
  2764. - Cache the difference in scrolled value in
  2765. H/VBarValueChanged and move the calculation out
  2766. of the for loop.
  2767. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  2768. * Control.cs: Make the Console.WriteLine in WndProc
  2769. write more info.
  2770. 2006-12-05 Chris Toshok <[email protected]>
  2771. * ToolStripManager.cs, ToolStripButton.cs,
  2772. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  2773. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  2774. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  2775. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  2776. ToolStripProgressBar.cs, ToolStripContainer.cs,
  2777. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  2778. to using System.ComponentModel.EventHandlerList.
  2779. 2006-12-04 Chris Toshok <[email protected]>
  2780. * LinkLabel.cs: fix up compiler warnings.
  2781. * TableLayoutSettings.cs: same.
  2782. * TreeView.cs: same.
  2783. * ToolBar.cs: same.
  2784. * TabControl.cs: same.
  2785. * RichTextBox.cs: same.
  2786. * ListViewItem.cs: same.
  2787. * PropertyGrid.cs: same.
  2788. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  2789. * ToolTip.cs same.
  2790. * TextRenderer.cs: fix up compiler warnings.
  2791. * Label.cs: same.
  2792. * Form.cs: corcompare fixes.
  2793. * PictureBox.cs: fix up compiler warnings.
  2794. * ImageListStreamer.cs: same.
  2795. * TrackBar.cs: corcompare fix.
  2796. * Control.cs: fix up compiler warnings.
  2797. * SplitterPanel.cs: same.
  2798. * NumericTextBox.cs: same.
  2799. * ImageList.cs: same.
  2800. * StatusStrip.cs: same.
  2801. * ProgressBar.cs: corcompare fix.
  2802. * ToolStripButton.cs: fix up compiler warnings.
  2803. * ToolStripStatusLabel.cs: same.
  2804. * ToolStripSplitButton.cs: same.
  2805. * ToolStripSeparator.cs: same.
  2806. * ToolStripProgressBar.cs: same.
  2807. * ToolStripDropDownMenu.cs: same
  2808. * ToolStripDropDown.cs: same.
  2809. * ToolStripDropDownButton.cs: same.
  2810. * ToolStrip.cs: same.
  2811. * ToolStripControlHost.cs: same.
  2812. * ToolStripContentPanel.cs: same.
  2813. * ToolStripDropDown.cs: same.
  2814. * ToolStripContainer.cs: same.
  2815. * ToolStripPanel.cs: same, and add "new" where we need it to work
  2816. with the new ArrangedElementCollection.
  2817. * ToolStripItemCollection.cs: add "new" where we need it to work
  2818. with the new ArrangedElementCollection.
  2819. 2006-12-04 Andreia Gaita <[email protected]>
  2820. * TabControl.cs: Fix default tab selection to after TabControl
  2821. gets focus and not before. Fixes #80128
  2822. 2006-12-04 Chris Toshok <[email protected]>
  2823. * DataGridTableStyle.cs: remove the gross calling of
  2824. datagrid.Refresh from here. It's a broken idea and it doesn't
  2825. work anyway.
  2826. * DataGrid.cs: instead, just register/unregister from the
  2827. DataGridTableStyle events in CurrentTableStyle. we play it
  2828. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  2829. even though some would most likely not require it. Fixes bug
  2830. #80115 (and one portion of #80117 as a side effect).
  2831. 2006-12-04 Chris Toshok <[email protected]>
  2832. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  2833. so the textbox (if any) goes away. Fixes bug #80117.
  2834. 2006-12-04 Chris Toshok <[email protected]>
  2835. * DataGridColumnStyle.cs: set the column's readonly property
  2836. initially based on the property descriptor's IsReadOnly. Fixes
  2837. bug #80044.
  2838. 2006-12-04 Chris Toshok <[email protected]>
  2839. * ComboBox.cs: wrap the dropdown style changing work in
  2840. SuspendLayout/ResumeLayout. Fixes bug #79968.
  2841. 2006-12-04 Jackson Harper <[email protected]>
  2842. * TextBoxBase.cs: Fix off by one, since these are one-based.
  2843. * TextBox.cs: Select all the text when we get focus. The TextBox
  2844. does this but the RTB does not.
  2845. 2006-12-04 Chris Toshok <[email protected]>
  2846. * DataGridTextBoxColumn.cs: remove some spew.
  2847. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  2848. but some part of me is saying "it shouldn't be here.." At any
  2849. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  2850. setting the value.
  2851. 2006-12-04 Chris Toshok <[email protected]>
  2852. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  2853. to reassign the propertydescriptor.
  2854. 2006-12-04 Jackson Harper <[email protected]>
  2855. * TextBoxBase.cs:
  2856. * TextControl.cs: Remove some unused variables. Maybe this will
  2857. patch things up between mike and I.
  2858. - don't split lines less then one char wide, if the viewport is
  2859. that small text won't be visible anyways.
  2860. 2006-12-04 Jackson Harper <[email protected]>
  2861. * TextBoxBase.cs: Default selection length is -1, need to do some
  2862. more testing on windows to see when this is used for the property.
  2863. - Redid the Lines [] property to that we properly remove soft line
  2864. breaks
  2865. - added support for preserving carriage returns
  2866. - CanUndo is not a variable like 'is undo enabled' it just returns
  2867. true if there is undo operations available.
  2868. - AppendText doesn't need to grab the last tag itself anymore,
  2869. this happens automatically when we move the cursor.
  2870. * TextControl.cs: Add CompoundActions to the undo class. This
  2871. allows combining the other operations into one big option. ie a
  2872. paste will combine { delete old, insert new, move cursor }
  2873. - Add InsertString undo operation
  2874. - New method for deleting multiline text
  2875. - Add carriage returns to lines. So we can preserve carriage
  2876. returns when text is 'roundtripped'
  2877. 2006-12-04 Chris Toshok <[email protected]>
  2878. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  2879. minimum 0. Fixes the scrollbar exception in bug #80136.
  2880. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  2881. * MdiClient.cs:
  2882. * MdiWindowManager: Removed unused fields and methods.
  2883. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  2884. * StatusBar.cs: Update all panels when a AutoSize=Contents
  2885. panel needs updating.
  2886. * StatusBarPanel.cs: Remove twidth and only use initialize.
  2887. Fixes #80031.
  2888. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  2889. * Form.cs: When a form's MdiParent is set add it directly
  2890. on top of the z-order in stead of relying on MdiClient's
  2891. ActivateChild to do it. Fixes #80135.
  2892. * MdiClient.cs:
  2893. - Remove original_order, mdi_child_list is already doing
  2894. the same thing.
  2895. - Create mdi_child_list on construction in
  2896. stead of first use (avoids a few null checks).
  2897. * MenuItem.cs: Use an already existing list of mdi children
  2898. to get the correct order of children and remove the other
  2899. redundant list.
  2900. 2006-12-04 Chris Toshok <[email protected]>
  2901. * PropertyGridView.cs: cached_splitter_location is only used in
  2902. !DOUBLEBUFFER code.
  2903. * PropertyGrid.cs: implement the ComComponentNameChanged event
  2904. using Events, hoping that would fix the warning. Looks like a
  2905. compiler bug instead (#80144).
  2906. * PropertyManager.cs: remove unused method.
  2907. 2006-11-04 Everaldo Canuto <[email protected]>
  2908. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  2909. include parentesis to fix expression evaluation. Fixes #79634.
  2910. 2006-11-02 Everaldo Canuto <[email protected]>
  2911. * MenuAPI.cs:
  2912. - Changes to fix behavior in Menu control, some reported in #80097
  2913. and other detected during behavior refactory like a select event
  2914. problems.
  2915. - Remove unneded "if's" conditions.
  2916. - Created an internal to flag when popup is active in control, we need
  2917. it because in .NET you can have menu active but without popup active
  2918. when you active menu using popup without visible items.
  2919. - Mimic win32 behavior for Select and Popup events.
  2920. - Dont open popup menu when you dont have visible subitems.
  2921. - Do nothing when click on disabled menu item.
  2922. - Some small changes to follow the coding style guidelines.
  2923. - Unselect menu only when another control gives focus. Fixes #80097.
  2924. - Remove unused code.
  2925. * MenuItem.cs: internal VisibleItems method to check if menu
  2926. theres visible subitems, it will be usefull to fix some
  2927. behavior in Menu control.
  2928. 2006-11-01 Everaldo Canuto <[email protected]>
  2929. * Timer.cs: Tag property for 2.0 profile.
  2930. 2006-12-01 Chris Toshok <[email protected]>
  2931. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  2932. * Win32DnD.cs: comment out some unused fields.
  2933. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  2934. some unused properties/methods.
  2935. * XplatUIX11.cs: fix MousePosition so we override the base class's
  2936. property instead of conflicting with it.
  2937. * PictureBox.cs: comment out some unused fields
  2938. * OSXStructs.cs: make some struct fields public.
  2939. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  2940. MousePosition so we override the base class's property instead of
  2941. conflicting with it.
  2942. * X11Dnd.cs: comment out some unused fields
  2943. * X11DesktopColors.cs: fix some struct field visibility to quiet
  2944. the compiler.
  2945. * X11Dnd.cs: remove some debug code.
  2946. * ThemeClearlooks.cs: comment out unused field.
  2947. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  2948. * ThemeGtk.cs: comment out some unused pinvokes.
  2949. * Timer.cs: remove some unused fields.
  2950. * ThemeClearlooks.cs: comment out unused field.
  2951. * UpDownBase.cs: comment out unused field.
  2952. * DataObject.cs: comment out unused field.
  2953. * DataGridBoolColumn.cs: reomve unused field.
  2954. * DataGrid.cs: remove unused field.
  2955. * Cursor.cs: remove old ToBitmap code.
  2956. * ControlPaint.cs: remove unused method.
  2957. * ScrollBar.cs: remove unused fields.
  2958. * ComboBox.cs: remove unused field, and chain up to
  2959. AccessibleObject ctor.
  2960. * ListBox.cs: remove unused field.
  2961. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  2962. * GridEntry.cs: remove unused fields.
  2963. * Binding.cs: remove unused fields.
  2964. * AxHost.cs: remove unused method.
  2965. * ContainerControl.cs: remove unused field.
  2966. * ScrollableControl.cs: remove unused fields.
  2967. 2006-12-01 Chris Toshok <[email protected]>
  2968. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  2969. the Where/WhereString stuff. it's easy enough to CWL
  2970. Environment.StackTrace.
  2971. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  2972. unused private fields.
  2973. 2006-12-01 Jackson Harper <[email protected]>
  2974. * TextControl.cs: Do not update the view while inserting multiline
  2975. text. If we update the view we might wrap lines, before entering
  2976. the new lines, which causes the new line insertion calculations to
  2977. be totally fubared.
  2978. - Remove an old TODO
  2979. - Make debug output a little nicer
  2980. 2006-12-01 Chris Toshok <[email protected]>
  2981. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  2982. 2006-12-01 Chris Toshok <[email protected]>
  2983. [ fix the majority of the CS0108 warnings we've been suppressing ]
  2984. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  2985. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  2986. to "LayoutToolBar" to quiet mcs.
  2987. * TabControl.cs: mark our ControlCollection class as 'new'.
  2988. * TextBoxBase.cs: mark some events as 'new'.
  2989. * Splitter.cs: TabStop is 'new'.
  2990. * ControlBindingsCollection.cs: mark a few methods as new since
  2991. they change the visibility from protected to public.
  2992. * RadioButton.cs: DoubleClick -> base class, and remove unused
  2993. HaveDoubleClick.
  2994. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  2995. events as new.
  2996. * NumericUpDown.cs: TextChanged -> base class.
  2997. * CheckedListBox.cs: mark our ObjectCollection class as new to
  2998. quiet mcs.
  2999. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  3000. muck with the base class.
  3001. * StatusBar.cs: fix some mcs warnings about Update being the same
  3002. name as a base class method.
  3003. * RichTextBox.cs: mark some events as new, and make them do things
  3004. to the base class impl.
  3005. * UserControl.cs: mark TextChanged as new, and have it manipulate
  3006. base.TextChanged.
  3007. * UpDownBase.cs: mark some things new.
  3008. * CheckBox.cs: mark DoubleClick "new", and add some text about
  3009. what we need to look at.
  3010. * Panel.cs: make the events "new", and manipulate the base
  3011. version. these are just here for attributes.
  3012. * AccessibleObject.cs: make owner private.
  3013. * Control.cs: deal with AccessibleObject.owner being private.
  3014. cache our own copy if we need it.
  3015. * Button.cs: add "new" to the DoubleClickEvent.
  3016. * ListBox.cs: no need to track our own has_focus here. let
  3017. Control.has_focus do it for us. Also some other work to clear up
  3018. warnings about not overriding base class methods of the same name.
  3019. * ComboBox.cs: clear up some warnings about not override base
  3020. class methods of the same name.
  3021. 2006-12-01 Chris Toshok <[email protected]>
  3022. * Form.cs: flag a few things as "new" to quiet some of the mcs
  3023. warnings.
  3024. * AxHost.cs: same.
  3025. * PrintPreviewDialog.cs: same.
  3026. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  3027. now DGV isn't so horrible on the class status page. also, move
  3028. all events to using System.ComponentModel.EventHandlerList. my
  3029. wrists hurt.
  3030. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  3031. * MdiWindowManager.cs:
  3032. - Set form to active mdi child if shown,
  3033. and update the active mdi child to the next
  3034. remaining child in the z-order if the form is hidden.
  3035. * Form.cs:
  3036. - Track if the form has been visible and if its
  3037. visibility is beeing changed, so that the MdiClient
  3038. can properly decide the ActiveMdiChild. The MdiClient
  3039. cannot track this since the form can change visibility
  3040. before MdiClient is created.
  3041. * MdiClient.cs:
  3042. - Don't activate anything of the parent form is changing
  3043. its visibility.
  3044. - Rework ActiveMdiChild to only return visible mdi
  3045. children and take into account several other corner
  3046. cases.
  3047. 2006-12-01 Chris Toshok <[email protected]>
  3048. * IBindableComponent.cs: new 2.0 interface.
  3049. 2006-12-01 Gert Driesen <[email protected]>
  3050. * DataGrid.cs: Font for caption area is bold by default.
  3051. 2006-12-01 Everaldo Canuto <[email protected]>
  3052. * Menu.cs: Tag property for 2.0.
  3053. 2006-11-01 Everaldo Canuto <[email protected]>
  3054. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  3055. 2006-12-01 Chris Toshok <[email protected]>
  3056. * TreeView.cs: doh, the Begin* events should be
  3057. TreeViewCancelEventHandler.
  3058. 2006-12-01 Chris Toshok <[email protected]>
  3059. * Form.cs: Form.ControlCollection already stores off the
  3060. form_owner field. don't access the base class's internal "owner"
  3061. field.
  3062. * Control.cs: make all the fields in Control.ControlCollection
  3063. private. there's no need for any internal fields here.
  3064. 2006-12-01 Chris Toshok <[email protected]>
  3065. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  3066. OnHandleCreated. Fixes bug #80109.
  3067. 2006-12-01 Chris Toshok <[email protected]>
  3068. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  3069. SplitContainer.cs, Control.cs, StatusStrip.cs,
  3070. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  3071. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  3072. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  3073. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  3074. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  3075. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  3076. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  3077. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  3078. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  3079. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  3080. do most of the work to convert our code over to use
  3081. System.ComponentModel.Component.Events for
  3082. adding/removing/dispatching events.
  3083. 2006-11-30 Jonathan Pobst <[email protected]>
  3084. * DataGridView.cs: Fix an ArgumentNullException reported
  3085. twice today in IRC.
  3086. 2006-11-30 Mike Kestner <[email protected]>
  3087. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  3088. grabbed listbox. Fixes #80036 and #80101.
  3089. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  3090. * Message.cs: Changed ToString() to match MS.
  3091. 2006-11-30 Jackson Harper <[email protected]>
  3092. * TextBoxBase.cs: You can still change the selected text on a read
  3093. only textbox.
  3094. * TextControl.cs: Lower magic number for wrap calculations. This
  3095. lets text get closer to the right (far) edge.
  3096. 2006-11-30 Jonathan Pobst <[email protected]>
  3097. * Control.cs: Tweak 2.0 layout properties.
  3098. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  3099. * TextRenderer.cs: Add a new overload.
  3100. * ToolStrip*: Huge amount of changes and new features.
  3101. 2006-11-30 Mike Kestner <[email protected]>
  3102. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  3103. scroll range correct. Fixes #79994.
  3104. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  3105. * MdiWindowManager.cs: Update main form's text when
  3106. a form is closed. (fixes #80038)
  3107. 2006-11-30 Everaldo Canuto <[email protected]>
  3108. * ToolBar.cs:
  3109. - Fix an regression in ButtonSize.
  3110. - Get ImeMode default value change to "Disable".
  3111. - Get ShowTooltips default value change to true, default value is
  3112. "false" but after make a test in .NET we get "true" result as default.
  3113. 2006-11-29 Jonathan Pobst <[email protected]>
  3114. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  3115. 2006-11-29 Chris Toshok <[email protected]>
  3116. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  3117. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  3118. SetWindowTransparency hasn't been called.
  3119. 2006-11-29 Chris Toshok <[email protected]>
  3120. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  3121. if it's supported.
  3122. (set_AllowTransparency): reorder things a little so that the
  3123. WS_EX_LAYERED style is removed properly.
  3124. 2006-11-29 Chris Toshok <[email protected]>
  3125. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  3126. * Form.cs: only call the XplatUI transparency method (get/set) if
  3127. SupportsTransparency says it's supported. Otherwise fallback to
  3128. doing nothing (in the set case) or returning the instance field we
  3129. cache (in the get case).
  3130. * XplatUIStructs.cs: add TransparencySupport flag enum.
  3131. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  3132. change to SupportsTransparency.
  3133. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  3134. TransparencySupport.None from SupportsTransparency.
  3135. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  3136. TransparencySupport.Set from SupportsTransparency.
  3137. * XplatUIWin32.cs: implement GetWindowTransparency calling
  3138. GetLayeredWindowAttributes, and implement SupportsTransparency by
  3139. checking whether or not both
  3140. GetWindowTransparency/SetWindowTransparency are available
  3141. entrypoints. We need to do this since SetWindowTransparency is
  3142. available as of win2k, but GetWindowTransparency requires winxp.
  3143. yay win32 api.
  3144. * XplatUI.cs: Add GetWindowTransparency, and change
  3145. SupportsTransparency to allow for either/both Get/Set.
  3146. 2006-11-29 Chris Toshok <[email protected]>
  3147. * DataGrid.cs: keep from going into an infinite loop redrawing a
  3148. datagrid that has no datasource. Fixes bug #80033.
  3149. 2006-11-29 Chris Toshok <[email protected]>
  3150. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  3151. Invalidate) before the mainmenu has been assigned to a control.
  3152. 2006-11-29 Chris Toshok <[email protected]>
  3153. * DataGrid.cs: detect when we should be double the double click
  3154. row/column autosize stuff, although that codepath has yet to be
  3155. written. part of the work for bug #79891.
  3156. 2006-11-29 Chris Toshok <[email protected]>
  3157. * Binding.cs (SetControl): fix unit test.
  3158. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  3159. * PageSetupDialog.cs: Validate the margins and set them in
  3160. PageSettings.
  3161. * NumericTextBox.cs: New class to mimic the behavior of the
  3162. textboxes used in the printing dialogs.
  3163. 2006-11-29 Andreia Gaita <[email protected]>
  3164. * Form.cs: Revert previous change (remove call UpdateBounds
  3165. from form constructor), because it messes with the handle creation
  3166. order, and that one needs lots and lots of love.
  3167. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  3168. for valid printer and throw InvalidPrinterException if document
  3169. is set but printer not valid), adding a MonoTODO. Once
  3170. handle creation is done properly, we can put this back in.
  3171. 2006-11-28 Everaldo Canuto <[email protected]>
  3172. * MenuItem.cs: Create a invalidate method for menu item, to be
  3173. calling from set text, it make text changes to imadiate update
  3174. on screen. Fixes #80013.
  3175. 2006-11-28 Everaldo Canuto <[email protected]>
  3176. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  3177. fixes bug #80070 and some other problem on toolbar buttons
  3178. layout.
  3179. 2006-11-28 Everaldo Canuto <[email protected]>
  3180. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  3181. with dotted brush. Fixes #79564
  3182. 2006-11-28 Andreia Gaita <[email protected]>
  3183. * Form.cs: Removed call to UpdateBounds on Form
  3184. constructor, it was causing a call to CreateHandle
  3185. before it was supposed to.
  3186. * PrintControllerWithStatusDialog: Applied patch
  3187. by Chris Toshok to hide controller when there are
  3188. no printers available.
  3189. PrintDialog.cs: initialize printer settings to
  3190. null - correct DefaultValues test #5
  3191. * PrintPreviewControl.cs: Move PrintController
  3192. initialization to GeneratePreview
  3193. * PrintPreviewDialog.cs:
  3194. - Remove Preview generation from Document_set(). It is
  3195. called on OnPaint
  3196. - Throw InvalidPrinterException on CreateHandle if
  3197. a Document is set but there are no printers or
  3198. printer is not valid.
  3199. * ThemeWin32Classic: don't paint PrintPreviewControl
  3200. if there is nothing to paint
  3201. 2006-11-28 Miguel de Icaza <[email protected]>
  3202. * Form.cs: Add another popular method.
  3203. * TabPage.cs: ditto.
  3204. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  3205. * MenuItem.cs: Fixed a warning.
  3206. * InternalWindowManager: Fixed a warning.
  3207. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  3208. * MenuItem.cs:
  3209. - When cloning a menu also clone MdiList and clone the
  3210. window menu items properly (as the forms and menuitems
  3211. are kept in an internal hashtable, these need updating
  3212. as well)
  3213. - Rewrote the window menu code, menu items are added in the
  3214. order the forms were added to their parent, and they are
  3215. updated every time the window menu is shown (before the
  3216. list was only generated once, in the current order of the
  3217. forms, and would never be updated). A checkmark is shown
  3218. next to the item corresponding to the active mdi child.
  3219. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  3220. * XplatUIStructs.cs:
  3221. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  3222. * XplatUIWin32.cs:
  3223. - Added TME_NONCLIENT to TMEFlags.
  3224. - Handles WM_NCMOUSEMOVE in GetMessage to
  3225. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  3226. * MdiWindowManager:
  3227. - Now merges mdi child menu to parent menu when maximized.
  3228. - Recalculate NC areas of both mdi child and mdi parent.
  3229. Fixes #79757 (4).
  3230. on window state and size changes.Fixes #79844 (3).
  3231. - Handle WM_NCCALCSIZE to properly calculate borders.
  3232. * Form.cs:
  3233. - Add/remove to the mdi containers list of mdi children
  3234. in the order they are added.
  3235. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  3236. to the maximized mdi child.
  3237. * InternalWindowManager.cs:
  3238. - Only execute a click on the control buttons on the mouse up,
  3239. not on the mouse down. Show the state of the button
  3240. (was only showing Normal state, never Pressed state). The
  3241. pressed button now follows the mouse (if you click the Close
  3242. button and move the mouse over the Maximize button, the
  3243. Maximize button will be shown as pressed). Since Win32 does
  3244. not generate WM_NCLBUTTONUP if you release the button outside
  3245. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  3246. it as a mouse up.
  3247. * ThemeWin32Classic.cs:
  3248. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  3249. * MdiClient.cs:
  3250. - Added a list of forms which contains the order the forms are
  3251. added to the mdi parent.
  3252. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  3253. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  3254. - If the active form changes set the scrollbars to the top
  3255. of the Z order, otherwise the form could hide them.
  3256. - Scrollbars are now sized according to ClientSize, not
  3257. to Size, and they take into account the other scrollbar
  3258. to determine maximum.
  3259. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  3260. * XplatUI.cs:
  3261. * XplatUIDriver.cs:
  3262. * XplatUIX11.cs:
  3263. * XplatUIWin32.cs:
  3264. * XplatUIOSX.cs:
  3265. - Added RequestAdditionalWM_NCMessages for windows to
  3266. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  3267. Currently only implemented in XplatUIWin32.
  3268. 2006-11-27 Chris Toshok <[email protected]>
  3269. * Hwnd.cs: only add the hwnd to the windows hash in
  3270. set_WholeWindow and set_ClientWindow if whole_window/client_window
  3271. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  3272. 2006-11-27 Mike Kestner <[email protected]>
  3273. * ComboBox.cs: remove redundant OnDropDown call. It is called
  3274. from the ComboListBox.ShowWindow code. Fixes #79969.
  3275. 2006-11-27 Chris Toshok <[email protected]>
  3276. * Hwnd.cs: remove the setters for ExposePending and
  3277. NCExposePending - noone uses them.
  3278. 2006-11-27 Jackson Harper <[email protected]>
  3279. * TextControl.cs: new param for ReplaceSelection which determines
  3280. whether we select the new selection, or set the cursor to the end
  3281. of the new selection.
  3282. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  3283. pasting, select the new text.
  3284. * RichTextBox.cs: Use new param for ReplaceSelection.
  3285. 2006-11-27 Jackson Harper <[email protected]>
  3286. * TextBoxBase.cs: Set the selection to the caret after the caret
  3287. is moved, otherwise they get out of sync.
  3288. 2006-11-26 Everaldo Canuto <[email protected]>
  3289. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  3290. it fixes #80015
  3291. 2006-11-26 Everaldo Canuto <[email protected]>
  3292. * ThemeWin32Classic.cs:
  3293. - Fix toolbar drop down arrow position.
  3294. - Fix drop down appearance when ToolBar.Appearance is normal,
  3295. it fixes #80018.
  3296. 2006-11-26 Gert Driesen <[email protected]>
  3297. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  3298. * Control.cs: Same.
  3299. * UpDownBase.cs: Same.
  3300. * ButtonBase.cs: Same.
  3301. * ScrollBar.cs: Same.
  3302. * TrackBar.cs: Same.
  3303. * PictureBox.cs: Same.
  3304. * UserControl.cs: Same.
  3305. * Label.cs: Same.
  3306. * ListControl.cs: Same.
  3307. * TextBoxBase.cs: Same.
  3308. * ListView.cs: Same.
  3309. * RichTextBox.cs: Same.
  3310. * TreeView.cs: Same.
  3311. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  3312. * PrintDialog.cs:
  3313. - Text label for where
  3314. - Text label comment was not shown
  3315. 2006-11-23 Everaldo Canuto <[email protected]>
  3316. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  3317. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  3318. * InternalWindowManager.cs:
  3319. - Handle WM_PARENTNOTIFY to activate the form
  3320. if any child control is clicked.
  3321. - The form is only sizable if not minimized.
  3322. * MdiWindowManager.cs:
  3323. - Save the IconicBounds if the form is moved.
  3324. - Rework SetWindowState, now the window bounds
  3325. are stored only if the old window state is Normal.
  3326. * MdiClient.cs:
  3327. - In SetWindowStates store the old window state if
  3328. the window is maximized and restore window state if
  3329. the window looses focus.
  3330. - Don't handle any scrollbar value changes if
  3331. initializing the scroll bars. Fixes #79771.
  3332. - Reworked ArrangeIconicWindows. Current algorithm
  3333. tests bounds agains all other minimized windows, if
  3334. any intersections create new bounds (going left to
  3335. right, bottom to top) and then test again. When
  3336. successful the bounds are saved and never computed
  3337. again. Fixes #79774.
  3338. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  3339. * InternalWindowManager.cs: Added HandleTitleBarUp.
  3340. 2006-11-23 Gert Driesen <[email protected]>
  3341. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  3342. hexadecimal in ParseUserEdit.
  3343. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  3344. * MdiWindowManager.cs:
  3345. - Handle a click on the form's icon to show the
  3346. system menu (when maximized). Fixes #79775.
  3347. - Change the existing click handler for the form's
  3348. icon when not maximized to show on MouseUp.
  3349. Fixes #79776.
  3350. * Form.cs: In OnResize only layout the mdi child's
  3351. parent if it actually has a parent. Might not if
  3352. the window is closing.
  3353. 2006-11-23 Gert Driesen <[email protected]>
  3354. * MdiClient.cs: Ignore active MDI client for text of parent, if
  3355. child has no text set.
  3356. 2006-11-23 Gert Driesen <[email protected]>
  3357. * ToolBar.cs: Fixed ToString to match MS.
  3358. 2006-11-22 Andreia Gaita <[email protected]>
  3359. * NumericUpDown:
  3360. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  3361. update inner values on set. Fixes #79966.
  3362. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  3363. - Fix hexadecimal parsing.
  3364. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  3365. parent. Fixes #79957
  3366. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  3367. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  3368. the actual size has to be queried, since if height /
  3369. width is negative Win32 changes it to 0.
  3370. Fixes #79999 on Windows.
  3371. * XplatUIX11.cs: Set height / width to 0 if negative
  3372. in SetWindowPos. Fixes #79999 on Linux.
  3373. 2006-11-22 Everaldo Canuto <[email protected]>
  3374. * ThemeWin32Classic.cs: Fix text redenring when button is
  3375. pressed.
  3376. 2006-11-22 Everaldo Canuto <[email protected]>
  3377. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  3378. and later navigate by mouse. Fixes #79528.
  3379. 2006-11-21 Everaldo Canuto <[email protected]>
  3380. * ToolBar.cs: Set default value for TabStop to false in
  3381. constructor, it fixes remaining behavior of bug #79863.
  3382. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  3383. * MdiWindowManager.cs:
  3384. * InternalWindowManager.cs:
  3385. - Moved a few methods specific to Mdi from
  3386. InternalWindowManager to MdiWindowManager.
  3387. Fixes #79996.
  3388. 2006-11-21 Chris Toshok <[email protected]>
  3389. * XplatUIOSX.cs: stub out InvalidateNC.
  3390. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  3391. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  3392. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  3393. * XplatUIDriver.cs: add InvalidateNC abstract method.
  3394. * XplatUI.cs: add InvalidateNC.
  3395. 2006-11-21 Everaldo Canuto <[email protected]>
  3396. * ToolBar.cs: Invalidate complete button area when pressed status
  3397. was changed.
  3398. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  3399. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  3400. by 1 when button is pressed.
  3401. 2006-11-20 Everaldo Canuto <[email protected]>
  3402. * ToolButton.cs: Invalidate middle of DropDown button when
  3403. ToolBar theres DropDownArrows.
  3404. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  3405. fix DropDown drawing operations.
  3406. 2006-11-20 Chris Toshok <[email protected]>
  3407. * NativeWindow.cs: fix the formatting of functions ('{' on the
  3408. following line), and enable the thread exception dialog.
  3409. * Application.cs: remove the duplicate exception catching from
  3410. here.
  3411. 2006-11-20 Everaldo Canuto <[email protected]>
  3412. * Toolbar.cs: Triggers button click event when click on icon
  3413. of dropdown ToolBarButton. Fixes #79912.
  3414. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  3415. * Theme.cs:
  3416. * ThemeWin32Classic.cs:
  3417. - Added a property WindowBorderFont to enable themeing
  3418. of mdi child windows' Text.
  3419. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  3420. * InternalWindowManager.cs:
  3421. * Form.cs:
  3422. * MdiClient.cs:
  3423. * MdiWindowManager.cs:
  3424. - If mdi child is maximized, set mdi parent's
  3425. text to "Parent - [Child]". Fixes #79770.
  3426. - If there is any maximized mdi child windows, only the active
  3427. window (and any new windows) is maximized, the rest are normal.
  3428. - On a WindowState change only save mdi child's window bounds
  3429. if the old window state was normal. Fixes #79774.
  3430. - The scroll bars are now calculated on hopefully all
  3431. necessary events. Fixed #79771 / #79844->6 / #79906.
  3432. - MdiClient.SizeScrollBars() now takes into account docked
  3433. controls in the parent when calculating available space.
  3434. - InternalWindowManager now always repaints the entire title
  3435. area. Fixes #79844->1/4/5.
  3436. - Added RequestNCRecalc on mdi child windowstate changes.
  3437. Fixes #79772.
  3438. 2006-11-20 Mike Kestner <[email protected]>
  3439. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  3440. in the MouseUp handler of the listbox and move the return handling
  3441. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  3442. 2006-11-20 Everaldo Canuto <[email protected]>
  3443. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  3444. 2006-11-17 Alexander Olk <[email protected]>
  3445. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  3446. working in 1.2.x anymore. So, updated.
  3447. 2006-11-19 Gert Driesen <[email protected]>
  3448. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  3449. NumberGroupSeparator of current culture instead of assuming en-US.
  3450. Fixed bug #79967.
  3451. 2006-11-17 Mike Kestner <[email protected]>
  3452. * Control.cs: Add the concept of implicit bounds setting so that
  3453. dock/undock round trips preserve explicitly set size/locations.
  3454. Fixes #79313.
  3455. 2006-11-17 Alexander Olk <[email protected]>
  3456. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  3457. can't handle those filters. (Fixes bug #79961)
  3458. 2006-11-17 Chris Toshok <[email protected]>
  3459. [ fixes the exit/crashes associated with #79835. it's clearly
  3460. suboptimal though, we need to figure out a better way to solve
  3461. this. ]
  3462. * PrintPreviewControl.cs: deal with the new invalid printer
  3463. exceptions.
  3464. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  3465. and return false (so CommonDialog.ShowDialog doesn't actually show
  3466. the form.)
  3467. * PrintDialog.cs: enable/disable the Ok button depending on
  3468. whether or not the printer is valid.
  3469. * CommonDialog.cs (ShowDialog): only actually show the form if
  3470. RunDialog returns true.
  3471. 2006-11-17 Jackson Harper <[email protected]>
  3472. * TextControl.cs: When soft splitting a line, mark it as a soft
  3473. split line. Also carry over the current line break to the next
  3474. line.
  3475. 2006-11-17 Chris Toshok <[email protected]>
  3476. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  3477. only want to shift the part of the invalid area that overlaps the
  3478. area we're scrolling. we also don't want to clear the invalid
  3479. area unless the invalid area was entirely contained within the
  3480. scrolling area.
  3481. 2006-11-16 Chris Toshok <[email protected]>
  3482. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  3483. also make sure to free the memory returned by XGetWindowProperty
  3484. in GetText().
  3485. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  3486. 2006-11-16 Chris Toshok <[email protected]>
  3487. * XplatUI.cs: add a new super secret way to get at the totally
  3488. unsupported X11 backend.
  3489. 2006-11-16 Gert Driesen <[email protected]>
  3490. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  3491. 2006-11-16 Jackson Harper <[email protected]>
  3492. * TreeView.cs: Allow more explicit setting of top node position
  3493. for scrollbars. Slower algo, but more accurate.
  3494. - CollapseAll should maintain the current top node.
  3495. * TextBoxBase.cs: When positioning the caret, use the line, pos
  3496. method, since the x, y method does not grab the correct tag, and
  3497. the caret height never gets set correctly. (Maybe I should just do
  3498. away with the caret having its own height, and always use the
  3499. carets current tag for height).
  3500. 2006-11-16 Jonathan Pobst <[email protected]
  3501. [Fixes 79778, 79923]
  3502. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  3503. Parent to the FosterParent instead.
  3504. 2006-11-16 Jackson Harper <[email protected]>
  3505. * TreeView.cs: Need to recalc the topnode when we expand or
  3506. collapse. The scrolling methods can't handle this on their own,
  3507. since they use differences between the last scroll position, and
  3508. those difference get completely messed up since we are expanding
  3509. nodes. This problem should probably be fixed in the scrolling
  3510. methods, so they can figure out exactly where they are, but this
  3511. will slow things down a little.
  3512. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  3513. strings, makes nunit-gui look a lot nicer.
  3514. 2006-11-16 Chris Toshok <[email protected]>
  3515. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  3516. the broken multithreaded event handling we have in here. File
  3517. this entry under "Why we should move to the new X11 backend".
  3518. Any thread can make it into UpdateMessageQueue, which gets events
  3519. from the X socket - some of which could belong to hwnds being
  3520. managed by a different thread. We can also have multiple threads
  3521. in UpdateMessageQueue at the same time, with each one reading from
  3522. the X socket. This leads to many problems, with the following
  3523. solutions:
  3524. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  3525. EnqueueLocked.
  3526. The MotionNotify compression we do can't work across threads
  3527. (without locking the entire queue, perhaps) since we call
  3528. hwnd.Queue.Peek, so we just punt and don't compress motion events
  3529. unless the owning thread is the one which got the X event.
  3530. ConfigureNotify is another fun one, since it modifies the hwnd's
  3531. bounds and then enqueues the event. We add a lock to Hwnd which
  3532. is held when setting configure_pending to true (and enqueuing the
  3533. event).
  3534. There is a race wrt the wake socket. we need to make sure that
  3535. only 1 thread is waiting on that socket, or else a thread could
  3536. sleep waiting for data that never comes. It's difficult (but not
  3537. impossible) to make happen, because it seems to require something
  3538. like the following:
  3539. 1. Thread 1 polls on wake_receive
  3540. 2. poll returns saying there's data to be read on
  3541. wake_receive.
  3542. 3. Thread 2 polls on wake_receive and immediately returns
  3543. saying there's data to be read.
  3544. 4. Thread 2 reads the wakeup byte from wake_receive
  3545. 5. Thread 1 attempts to read the wakeup byte from
  3546. wake_receive.
  3547. 6. Thread 2 exits (due to a form closing, perhaps).
  3548. 7. Thread 1 blocks forever.
  3549. Fun, eh?
  3550. Fixing the Expose handling isn't done yet, and the races inherent
  3551. in that piece of code are responsible for the drawing mistakes you
  3552. see when generating expose events in a MT app (like NPlot). This
  3553. one is the likely to be the hardest to bandaid, and it doesn't
  3554. appear to cause anything but drawing problems. The other issues
  3555. caused apps to exit or hang.
  3556. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  3557. called from a different thread than the one that should be calling
  3558. these functions.
  3559. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  3560. 2006-11-15 Chris Toshok <[email protected]>
  3561. * Application.cs: null out the context's MainForm when we exit
  3562. RunLoop. Fixes a newly checked in unit test as well as the last
  3563. ODE from bug #79933.
  3564. 2006-11-15 Chris Toshok <[email protected]>
  3565. * Form.cs (set_Owner): allow a null value so we can clear the
  3566. form's owner.
  3567. (Dispose): set all our owned_form's Owner properties to null, and
  3568. clear the owned_forms collection.
  3569. (WM_CLOSE): clean up this a little bit.. still not right though.
  3570. * ApplicationContext.cs: OnMainFormClosed should only call
  3571. ExitThreadCore if the main form isn't recreating. Fixes unit
  3572. test.
  3573. 2006-11-15 Jonathan Pobst <[email protected]>
  3574. [Fixes 78346]
  3575. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  3576. 2006-11-15 Jonathan Pobst <[email protected]>
  3577. [Fixes 79433]
  3578. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  3579. keep popup window types from stealing focus from the main form
  3580. on Windows.
  3581. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  3582. * MenuAPI.cs: Set above flag to true.
  3583. 2006-11-15 Chris Toshok <[email protected]>
  3584. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  3585. the button being released is not in wParam.
  3586. 2006-11-15 Jonathan Pobst <[email protected]>
  3587. * Form.cs: Add the released button to MouseEventArgs.Button
  3588. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  3589. on Win32.
  3590. 2006-11-15 Chris Toshok <[email protected]>
  3591. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  3592. GetText(). untested because it's unused in our implementation.
  3593. Control.Text always caches the text, even if
  3594. ControlStyles.CacheText is not set.
  3595. fixes bug #79939.
  3596. 2006-11-15 Chris Toshok <[email protected]>
  3597. [ fixes #79933 ]
  3598. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  3599. message. no hiding, no disposing.
  3600. in the WM_CLOSE handler, hide the form if it's modal.
  3601. 2006-11-15 Chris Toshok <[email protected]>
  3602. * XplatUIX11.cs: use AddExpose instead of sending a message.
  3603. fixes textbox border drawing.
  3604. 2006-11-15 Chris Toshok <[email protected]>
  3605. * PropertyGridView.cs: keep from crashing on mouse move/down when
  3606. the property grid is empty.
  3607. 2006-11-14 Jackson Harper <[email protected]>
  3608. * TextControl.cs: Make PageUp and PageDown more like the MS
  3609. versions.
  3610. * TextBoxBase.cs: When we set the text property position the
  3611. cursor at the beginning of the document.
  3612. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  3613. * Form.cs: if a mdi child's WindowState has changed
  3614. before it's creation, it would display wrong control
  3615. buttons.
  3616. 2006-11-14 Alexander Olk <[email protected]>
  3617. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  3618. (Fixes bug #79927)
  3619. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  3620. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  3621. the window gets to paint its borders even if the window is
  3622. getting smaller.
  3623. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  3624. otherwise the old control buttons would still be painted
  3625. if the window gets bigger.
  3626. * PaintEventArgs.cs: add an internal method so that the clip
  3627. rectangle can be changed.
  3628. 2006-11-13 Chris Toshok <[email protected]>
  3629. [ fixes bug #79745 ]
  3630. * NotifyIcon.cs: lots of cleanup.
  3631. * X11Structs.cs: add an enum for XEMBED messages.
  3632. * XplatUIX11.cs: reindent one of the giant switch statements, it
  3633. was taking up an additional tab stop, and this file is already way
  3634. too wide for my laptop's screen.
  3635. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  3636. we get it, resize the hwnd to the WMNormalHints max_width/height.
  3637. 2006-11-13 Jackson Harper <[email protected]>
  3638. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  3639. teh simple way.
  3640. 2006-11-13 Chris Toshok <[email protected]>
  3641. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  3642. #79898. force a reference to the Region to stick around so the
  3643. unmanaged object isn't collected (rendering our handle in the MSG
  3644. stale).
  3645. 2006-11-13 Chris Toshok <[email protected]>
  3646. * XplatUIX11.cs: fix #79917 for window managers which support
  3647. using XStoreName on the raw utf8, and we need to convert to
  3648. COMPOUND_TEXT if it's non-latin1.
  3649. 2006-11-13 Chris Toshok <[email protected]>
  3650. * Form.cs (set_DialogResult): we need to set closing to false if
  3651. we're setting our result to None. fixes bug #79908.
  3652. 2006-11-13 Jackson Harper <[email protected]>
  3653. * TextControl.cs: When formatting text, compute the adjusted tag
  3654. lengths correctly, using FindTag for the end tag instead of trying
  3655. to figure it out outselves.
  3656. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  3657. the item, ItemHeight doesn't work, because trees with large
  3658. imagelists use those for their height
  3659. * TreeView.cs: ActualItemHeight factors in the image height
  3660. - compute left edge of checkboxes correctly
  3661. - when expanding/collapsing move the bottom down one pixel, so we
  3662. aren't moving part of the node
  3663. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  3664. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  3665. stack in PaintEventStart so that it won't get disposed by the gc
  3666. before reaching PaintEventEnd.
  3667. 2006-11-13 Jackson Harper <[email protected]>
  3668. * TextBoxBase.cs: Don't select the word if we are on a line with
  3669. no text.
  3670. - We don't need to position the caret on mouse up, since the mouse
  3671. move handler should be doing this
  3672. - When double clicking a blank line, the caret is advanced to the
  3673. next line.
  3674. 2006-11-13 Gert Driesen <[email protected]>
  3675. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  3676. 2006-11-12 Gert Driesen <[email protected]>
  3677. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  3678. Fixes part of bug #79910.
  3679. 2006-11-11 Alexander Olk <[email protected]>
  3680. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  3681. (bug #79903). Some minor string updates to match ms.
  3682. 2006-11-10 Alexander Olk <[email protected]>
  3683. * FileDialog.cs: Don't add an extension if the filename
  3684. already ends with that extension.
  3685. 2006-11-10 Jackson Harper <[email protected]>
  3686. * TreeView.cs: Use the currently highlighted node for the
  3687. BeforeSelect event.
  3688. * TextBoxBase.cs: There is no need to expand selection on
  3689. MouseMove.
  3690. - CanUndo means 'is there any undo operations', not 'is undo
  3691. allowed on this textcontrol. Fixed ClearUndo unit test.
  3692. 2006-11-10 Andreia Gaita <[email protected]>
  3693. * Button.cs: only perform click when button is Selectable (so as
  3694. not to activate default buttons when they're disabled)
  3695. * Control.cs: Rewrite of the SelectNextControl and related
  3696. methods. HandleClick now selects next control if the current one
  3697. is being disabled.
  3698. * Form.cs: OnActivated selects next active control only if Load
  3699. has already occurred. If Load hasn't run, there's no point in
  3700. selecting here, Load might change the state of controls.
  3701. * FocusTest.cs: Tests marked as working again for these fixes
  3702. 2006-11-10 Chris Toshok <[email protected]>
  3703. * XplatUIX11.cs: a couple of fixes.
  3704. - use XInternAtoms with almost all the atoms we need to register,
  3705. instead of many, many calls to XInternAtom. should help a bit on
  3706. startup time, at the expense of making the code look a little
  3707. worse.
  3708. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  3709. isn't reparented (which seems to be a clue that we're running fon
  3710. compiz) and they have an Owner form. This fixes the tool windows
  3711. in paint.net when running under compiz.
  3712. - when setting the opacity of a window, support both the case
  3713. where the window has been reparented and also when it hasn't been.
  3714. Since compiz/beryl doesn't seem to reparent windows, and these are
  3715. the only window managers which support translucency, I'm not sure
  3716. why we need the hwnd.reparented case at all.. but leave it in.
  3717. now we get translucent windows in paint.net under compiz/beryl.
  3718. 2006-11-10 Alexander Olk <[email protected]>
  3719. * FileDialog.cs: Always return the value for FilterIndex that
  3720. was set. Internally convert it to values that make sense.
  3721. 2006-11-10 Everaldo Canuto <[email protected]>
  3722. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  3723. 2006-11-10 Everaldo Canuto <[email protected]>
  3724. * Toolbar.cs: Change default value of DropDownArrows to true, the
  3725. signature still using false to make it compatible with MS but the
  3726. initial value is true. Fixes #79855.
  3727. 2006-11-10 Alexander Olk <[email protected]>
  3728. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  3729. only available on Linux.
  3730. 2006-11-09 Everaldo Canuto <[email protected]>
  3731. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  3732. reduce number of calls to redraw method during toolbar creation.
  3733. 2006-11-09 Mike Kestner <[email protected]>
  3734. * ListView.cs : raise SelectedIndexChanged when an item is selected
  3735. programmatically via the Item.Selected property. Gert's nice
  3736. ListViewSelectedIndexChanged test fixture now runs clean.
  3737. 2006-11-09 Mike Kestner <[email protected]>
  3738. * ListView.cs : raise SelectedIndexChanged when a selected item is
  3739. removed from the item collection using Remove or RemoveAt.
  3740. 2006-11-09 Mike Kestner <[email protected]>
  3741. * ListView.cs : raise SelectedIndexChanged once per selected item
  3742. for compat with MS. Fixes #79849+.
  3743. 2006-11-09 Chris Toshok <[email protected]>
  3744. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  3745. we need to (if we have any tab pages). Fixes unit test.
  3746. 2006-11-09 Chris Toshok <[email protected]>
  3747. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  3748. width is 0, not 3. Fixes a unit test.
  3749. 2006-11-09 Mike Kestner <[email protected]>
  3750. * ListView.cs : use Implicit scrollbars so that focus isn't
  3751. stolen from the listview when they are clicked. Fixes #79850.
  3752. 2006-11-09 Chris Toshok <[email protected]>
  3753. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  3754. have a root item. Fixes #79879.
  3755. 2006-11-09 Alexander Olk <[email protected]>
  3756. * FileDialog.cs:
  3757. - Fix ToString ()
  3758. - An ArgumentException is now thrown if a wrong filter
  3759. is applied (matches ms). The previous filter doesn't change
  3760. anymore if an exception is thrown.
  3761. - Changing the FileName property also affects FileNames
  3762. * ColorDialog.cs: The length of the CustomColors array is always
  3763. 16. It doesn't matter if we use a smaller array or null to update
  3764. or change the custom colors property.
  3765. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  3766. for RootFolder if we get a undefined value.
  3767. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  3768. * StatusBarPanel.cs:
  3769. - Width is set to MinWidth if Width is smaller than
  3770. MinWidth. Fixes #79842.
  3771. - MinWidth now always overrides Width (MSDN says MinWidth
  3772. is set to Width when AutoSize = None, but they do not
  3773. behave like that).
  3774. - Style has now the the correct default value.
  3775. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  3776. * TrackBar.cs:
  3777. - The control is completely invalidated on
  3778. Got/LostFocus to draw the focus rectangle correctly.
  3779. - When AutoSize then height is always 45 (width for
  3780. vertical controls).
  3781. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  3782. on the mouse when moved and it doesn't move when grabbed
  3783. until the mouse moves as well. Also fixed some wrong
  3784. calculations when clicking on the thumb (control thought
  3785. click was outside of thumb and didn't grab it).
  3786. Fixes some of the issues in #79718.
  3787. 2006-11-08 Everaldo Canuto <[email protected]>
  3788. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  3789. 2006-11-08 Chris Toshok <[email protected]>
  3790. * PropertyGridView.cs: only call ToggleValue if the item is not
  3791. readonly.
  3792. 2006-11-08 Jackson Harper <[email protected]>
  3793. * TextBoxBase.cs: The RichTextBox and textbox have very different
  3794. word selection methods. Implement the textbox's simple word
  3795. selection here, and let the RichTextBox override and provide it's
  3796. own.
  3797. - Don't do extra selection on mouseup
  3798. * RichTextBox.cs: Use the documents word selection algorithm, I
  3799. think ideally, this function will be pulled into the
  3800. RichTextBox.cs code someday.
  3801. 2006-11-08 Chris Toshok <[email protected]>
  3802. * RootGridEntry.cs: new class to represent GridItemType.Root.
  3803. * CategoryGridEntry.cs: reformat, and add boilerplate.
  3804. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  3805. returns the UI parent anyway, and we need special handling to
  3806. implement the GetTarget method in the face of it. Also, implement
  3807. Select().
  3808. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  3809. a root grid item, and use that instead of PropertyGrid.grid_items.
  3810. Also, make use of TypeConverters (and add limitted support for
  3811. ICustomTypeDescriptors) when initially populating the grid.
  3812. Arrays now show up more or less properly.
  3813. 2006-11-08 Chris Toshok <[email protected]>
  3814. * Application.cs: set the modal dialog to non modal after we close
  3815. it. Fixes bug #79866.
  3816. 2006-11-08 Jackson Harper <[email protected]>
  3817. * TextControl.cs: When combining lines carry over the line end
  3818. style from the end line.
  3819. - Invalidate the selected area when setting it, if it is visible.
  3820. * TextBoxBase.cs: Only rich text box can do full line selects.
  3821. - Make sure to set the cursor position when there is a click,
  3822. otherwise two clicks in separate areas could cause a large chunk
  3823. to be selected.
  3824. 2006-11-07 Everaldo Canuto <[email protected]>
  3825. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  3826. Fixes #79863.
  3827. 2006-11-07 Everaldo Canuto <[email protected]>
  3828. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  3829. time. Remove tooltips when ToolButton click events. Fixes #79856.
  3830. 2006-11-07 Everaldo Canuto <[email protected]>
  3831. * MenuAPI.cs: Ignore right click for menu actions and fixes
  3832. menu border when clicked. Fixes #79846.
  3833. 2006-11-07 Everaldo Canuto <[email protected]>
  3834. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  3835. MouseState after create wParam for message, this fixes mouse button
  3836. equal none in mouse up events.
  3837. 2006-11-07 Andreia Gaita <[email protected]>
  3838. * Control.cs : Focus() now calls Select to set the Container's
  3839. Active Control and to give it focus. To avoid infinite recursion
  3840. (because ActiveControl also calls Focus at one point), a check
  3841. is made in Focus with the help of a new internal variable
  3842. is_focusing.
  3843. 2006-11-07 Mike Kestner <[email protected]>
  3844. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  3845. if there's a selection. Fixes #79849.
  3846. 2006-11-07 Gert Driesen <[email protected]>
  3847. * PropertyGrid.cs: Avoid fixed height of help description label.
  3848. Fixes part of bug #79829.
  3849. 2006-11-07 Chris Toshok <[email protected]>
  3850. * XplatUIX11.cs: fix #79790 again, by using the
  3851. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  3852. 2006-11-07 Everaldo Canuto <[email protected]>
  3853. * ToolBar.cs: Fix left click checking.
  3854. 2006-11-07 Chris Toshok <[email protected]>
  3855. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  3856. 2006-11-07 Chris Toshok <[email protected]>
  3857. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  3858. PropertyManager unit tests.
  3859. * PropertyManager.cs: make property_name internal.
  3860. 2006-11-07 Chris Toshok <[email protected]>
  3861. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  3862. pass a unit test. Also, don't set image_index to anything in
  3863. response to setting the ImageList property.
  3864. 2006-11-07 Everaldo Canuto <[email protected]>
  3865. * ToolBar.cs: Ignore click events when mouse button is not a
  3866. left button, only accepts other button for dropdown menus.
  3867. Fixes #79854.
  3868. 2006-11-07 Chris Toshok <[email protected]>
  3869. * DataGrid.cs: make the back and parent row buttons a little less
  3870. ugly.
  3871. 2006-11-07 Jackson Harper <[email protected]>
  3872. * TextBoxBase.cs: When converting to Text don't put line breaks in
  3873. for soft line breaks.
  3874. * TextControl.cs: There is an initial "fake" line in the document,
  3875. this is now a soft break line, so that an extra line feed doesn't
  3876. get added to the end of documents.
  3877. 2006-11-07 Chris Toshok <[email protected]>
  3878. [ fix bug #79778 ]
  3879. * CurrencyManager.cs: if the list is readonly, don't bother
  3880. checking if IBindingList.AllowNew is true.
  3881. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  3882. for non-DataRowView datasources.. or rather, make it not crash.
  3883. (DataGridPaintRelationRow): make sure we limit the row painting to
  3884. the area not covered by the row header, and make our cell width at
  3885. least large enough to cover the relation area. This allows grids
  3886. that have relations but no rows to render correctly.
  3887. (DataGridPaintRowContents): same type of changes here.
  3888. (SetDataSource): move back to always calling
  3889. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  3890. navigating back through relations.
  3891. (HitTest): handle the case where we have no cells but have
  3892. relations. Right now we generate a hit in cell 0 of whatever the
  3893. row is, not sure if this is strictly correct, but it works for our
  3894. purposes.
  3895. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  3896. bother doing anything.
  3897. 2006-11-07 Jonathan Pobst <[email protected]>
  3898. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  3899. early version of StatusStrip. Not responsible for eaten
  3900. application or firstborn children.
  3901. 2006-11-06 Chris Toshok <[email protected]>
  3902. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  3903. call GetTabRect with a -1 index. Fixes #79847.
  3904. 2006-11-06 Jackson Harper <[email protected]>
  3905. * TreeNodeCollection.cs: Update scrollbars after clearing.
  3906. 2006-11-06 Chris Toshok <[email protected]>
  3907. * NumericUpDown.cs: fix the ToString method for some unit test
  3908. love.
  3909. 2006-11-06 Chris Toshok <[email protected]>
  3910. * PropertyGrid.cs:
  3911. - set the initial SelectedGridItem if we can.
  3912. - Exclude non-mergable properties only if we're merging > 1
  3913. object. Merging 1 object isn't really merging, obviously.
  3914. - Handle PropertySort.NoSort just like Alphabetical, which is
  3915. wrong of course, but at least gets things on the screen.
  3916. * PropertyGridView.cs:
  3917. - Add method "FindFirstItem" which finds the first property grid
  3918. item, so we can select it by default.
  3919. - make use of GridEntry.CanResetValue.
  3920. - Don't call RedrawBelowItemOnExpansion here anymore, the
  3921. individual GridEntry's will do that.
  3922. - Remove the ITypeDescriptorContextImpl internal class.
  3923. * GridEntry.cs:
  3924. - this class needs to implement ITypeDescriptorContext, as it's
  3925. what MS's PropertyDescriptorGridEntry does, which means we can
  3926. remove the ITypeDescriptorContextImpl internal class from
  3927. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  3928. - keep a reference to our PropertyGridView, and move the call to
  3929. RedrawBelowItemOnExpansion here from PGV. This means
  3930. programmaticly setting Expanded actually does something visible.
  3931. - add a CanResetValue() function which takes into account our
  3932. possibly multiple "selected_objects" in the merged case. Shifting
  3933. PropertyGridView to use this method fixes another unreported
  3934. crasher found running the test for #79829.
  3935. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  3936. is updated to reflect this.
  3937. * CategoryGridEntry.cs: the ctor takes the PGV now.
  3938. 2006-11-06 Jackson Harper <[email protected]>
  3939. * TextControl.cs: These are 1 based.
  3940. * TextBoxBase.cs: When setting the selected text, don't change the
  3941. selected text tags, this is done by ReplaceText, just position the
  3942. cursor at the end of the new text.
  3943. 2006-11-06 Alexander Olk <[email protected]>
  3944. * ListView.cs: Allow label edit only when, when LabelEdit is
  3945. set to true.
  3946. 2006-11-06 Jackson Harper <[email protected]>
  3947. * TextControl.cs: If a suitable wrapping position isn't found,
  3948. just wrap right in the middle of a word.
  3949. 2006-11-06 Alexander Olk <[email protected]>
  3950. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  3951. bug #79820.
  3952. 2006-11-06 Jackson Harper <[email protected]>
  3953. * TreeView.cs: Can't use the VisibleCount property when setting
  3954. scrollbar heights, because this doesn't take into account whether
  3955. or not the horz scrollbar just came visible.
  3956. 2006-11-05 Everaldo Canuto <[email protected]>
  3957. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  3958. activated. Fixes #79369, #79832.
  3959. 2006-11-05 Alexander Olk <[email protected]>
  3960. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  3961. had to remove support for links that point to a directory. FileInfo
  3962. returns no usefull information (means, the directory they point to)
  3963. for such links. Replaced some empty string ("") with String.Empty.
  3964. 2006-11-04 Gert Driesen <[email protected]>
  3965. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  3966. NullReferenceException when attempting to remove node that is not in
  3967. collection. Throw NullReferenceException when null is passed to
  3968. Remove. Allow first element of the collection to be removed. Fixes
  3969. bug #79831. In GetEnumerator ().Current return null if positioned
  3970. before the first element of the collection. In GetEnumerator ().Reset,
  3971. position before first element of the collection.
  3972. 2006-11-04 Gert Driesen <[email protected]>
  3973. * PropertyGrid.cs: To match MS, remove default title and description
  3974. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  3975. buttons.
  3976. 2006-11-04 Chris Toshok <[email protected]>
  3977. * Theme.cs: add a Clamp method, just for kicks.
  3978. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  3979. 2006-11-04 Chris Toshok <[email protected]>
  3980. * Form.cs: if the form isn't visible, Close() does nothing.
  3981. 2006-11-03 Chris Toshok <[email protected]>
  3982. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  3983. Hide it.
  3984. (WndProc): don't Dispose after handling the WM_CLOSE message.
  3985. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  3986. them as such, instead of using casts from Control to Form. Also,
  3987. don't Dispose of the modal dialog when we fall out of the loop -
  3988. Close() it instead.
  3989. fixes bug #79813.
  3990. 2006-11-03 Chris Toshok <[email protected]>
  3991. * Control.cs (Dispose): only go through the dispose thing if we're
  3992. @disposing, and we haven't already been disposed. Fixes bug
  3993. #79814.
  3994. * Form.cs: no reason to call "base.Dispose()" here instead of
  3995. "Dispose()".
  3996. 2006-11-03 Mike Kestner <[email protected]>
  3997. * ComboBox.cs : use ToString instead of casts in AddItem for
  3998. sorting functionality. Fixes #79812.
  3999. 2006-11-03 Chris Toshok <[email protected]>
  4000. * Application.cs: pave the way for actually using the thread
  4001. exception dialog. it's ifdefed out at the moment.
  4002. 2006-11-03 Chris Toshok <[email protected]>
  4003. * ThreadExceptionDialog.cs: until we get a better layout, actually
  4004. hide the details textbox and label when we shouldn't see them.
  4005. 2006-11-03 Jackson Harper <[email protected]>
  4006. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  4007. multiline textboxes anymore. This method also determines the
  4008. width/height of a textboxes canvas area.
  4009. - Sorta a revert of the last patch. For multiline just position
  4010. the controls, then bail. This way the scrollbar width won't be
  4011. altered.
  4012. 2006-11-03 Everaldo Canuto <[email protected]>
  4013. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  4014. it dont need. Fixes #79537.
  4015. 2006-11-02 Jackson Harper <[email protected]>
  4016. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  4017. send the status after firing the DndOver event.
  4018. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  4019. * TrackBar.cs: Now orientation only switches height / width if
  4020. the control's handle is created (Win32 does it like this). Also
  4021. fixed a typo in ToString() for a test to pass, changed the
  4022. exception thrown in set_LargeChange and set_SmallChange to
  4023. match Win32 behaviour, and added TrackBar tests to the unit
  4024. tests.
  4025. 2006-11-02 Chris Toshok <[email protected]>
  4026. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  4027. not _NET_WM_STATE_NO_TASKBAR.
  4028. 2006-11-02 Jackson Harper <[email protected]>
  4029. * TextControl.cs: Increment count by one, since in the update view
  4030. count - 1 is used.
  4031. 2006-11-02 Jackson Harper <[email protected]>
  4032. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  4033. the mouse is in the client rectangle (duh).
  4034. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  4035. * TrackBar.cs: Fixed trackbar jumping around when clicking
  4036. on it - the trackbar was not detecting correctly at which
  4037. side of the thumb the click was done. (fixes #79718)
  4038. 2006-11-02 Everaldo Canuto <[email protected]>
  4039. * ListBox.cs: scroll visible area when change SelectedIndex to
  4040. a non visible area. Fixes #79481.
  4041. 2006-11-01 Jackson Harper <[email protected]>
  4042. * TextControl.cs: When replacing the selection move the selection
  4043. start/end/anchor to the end of the new text.
  4044. 2006-11-01 Jackson Harper <[email protected]>
  4045. * XplatUIWin32.cs: When setting the parent change the controls
  4046. visibility to it's visibility flag, not to it's old parents
  4047. visibility (.Visible walks the parent chain).
  4048. 2006-11-01 Chris Toshok <[email protected]>
  4049. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  4050. XSetTransientForHint fix breaks paint .net's tool windows. more
  4051. work needed for that one.
  4052. 2006-11-01 Chris Toshok <[email protected]>
  4053. * ScrollBar.cs: throw ArgumentException instead of Exception in
  4054. LargeChange/SmallChange setters. fixes unit tests.
  4055. 2006-10-31 Andreia Gaita <[email protected]>
  4056. * ContainerControl.cs: reverted rev.67183 (which was itself
  4057. a reversion of rev.66853... eh).
  4058. * Control.cs: Fixes Reflector hang by changing Focus() call
  4059. to what it was before rev.66643 (calling Select() here sets
  4060. ActiveControl, which in some situations calls back Focus and
  4061. eventually does a stack overflow). Temp fix.
  4062. Changes to GetNextControl() to not look for children to select when
  4063. parent cannot be selectable (so it looks for siblings instead)
  4064. 2006-10-31 Mike Kestner <[email protected]>
  4065. * CheckedListBox.cs : off by one error in returned index from
  4066. ObjectCollection.Add. Fixes #79758.
  4067. 2006-10-31 Chris Toshok <[email protected]>
  4068. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  4069. calls for the textbox/spinner, to keep from recursing to the point
  4070. where we crash. Fixes #79760.
  4071. 2006-10-31 Chris Toshok <[email protected]>
  4072. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  4073. null/"" value, just return. matches ms's behavior and fixes some
  4074. failing tests.
  4075. 2006-10-31 Chris Toshok <[email protected]>
  4076. * Control.cs (set_Capture): make a logic a little easier to
  4077. follow.
  4078. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  4079. if it's being destroyed. A necessary fix surely, but a bandaid
  4080. also, to fix the stuck capture problem in bug #78413.
  4081. 2006-10-31 Chris Toshok <[email protected]>
  4082. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  4083. convention of clearing hwnd.ClientRect when we set the
  4084. width/height (so it'll be recalculated by Hwnd).
  4085. 2006-10-31 Andreia Gaita <[email protected]>
  4086. * ContainerControl.cs: reversed Contains check from
  4087. ActiveControl due to hanging problems. This fix
  4088. partly regresses #79667 (button does not have
  4089. initial focus), so this might be a symptom for
  4090. a larger parenting problem (set_ActiveControl
  4091. is being called but the child control does
  4092. not have the parent set yet?)
  4093. 2006-10-31 Mike Kestner <[email protected]>
  4094. * MenuAPI.cs : fix keynav when menu is click activated.
  4095. 2006-10-31 Jonathan Pobst <[email protected]>
  4096. * ToolStrip*: Version 0.2.
  4097. * MenuStrip.cs: Version 0.1.
  4098. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  4099. 2006-10-30 Chris Toshok <[email protected]>
  4100. [ fixes the oversized notify icon issue in bug #79745 ]
  4101. * NotifyIcon.cs: scale the icon down to the size we're given by
  4102. the XplatUI layer (this would be faster if we did it once instead
  4103. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  4104. since it's never invoked.
  4105. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  4106. pixels high by default, so let's hardcode our systray icon to that
  4107. size. The SYSTEM_TRAY protocol should really have a way for
  4108. client apps to query for the correct icon size.. but oh well. A
  4109. couple of patches to deal with the screwy client_window ==
  4110. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  4111. instance, and also make sure we don't XSelectInput twice).
  4112. 2006-10-30 Chris Toshok <[email protected]>
  4113. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  4114. recreating forms. Control recreation is the bane of my existence.
  4115. Fix it in a way that keeps everyone happy.
  4116. 2006-10-30 Chris Toshok <[email protected]>
  4117. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  4118. just non-CHILD ones. otherwise sometimes scrollbars end up with
  4119. client_windows not being resized to the proper size (ReportBuilder
  4120. shows this extremely well).
  4121. 2006-10-30 Chris Toshok <[email protected]>
  4122. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  4123. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  4124. showing up in the gnome taskbar. Fixes bug #79790.
  4125. 2006-10-30 Chris Toshok <[email protected]>
  4126. * ApplicationContext.cs: guard against a NRE.
  4127. * Application.cs: null out the old MainForm for the context, so we
  4128. don't try to use it again once it's disposed. Fixes bug #79783.
  4129. 2006-10-30 Chris Toshok <[email protected]>
  4130. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  4131. BindingContext, set the data source directly, otherwise do the
  4132. lazy approach - the actual ListManager will be created when we get
  4133. a BindingContext. Fixes bug #79700.
  4134. 2006-10-30 Jonathan Pobst <[email protected]>
  4135. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  4136. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  4137. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  4138. 2006-10-30 Jonathan Pobst <[email protected]>
  4139. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  4140. of SetVisible that allows a window to be shown, but not activated.
  4141. This is needed on Windows for MenuStrip, and can probably be used
  4142. with MainMenu and ComboBox to fix the focus stealing issues on
  4143. Windows.
  4144. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  4145. 2006-10-30 Alexander Olk <[email protected]>
  4146. * PictureBox.cs: Fix the output of the ToString method.
  4147. 2006-10-29 Chris Toshok <[email protected]>
  4148. * Control.cs (get_TopLevelControl): fix bug #79781.
  4149. 2006-10-29 Chris Toshok <[email protected]>
  4150. * ListControl.cs (set_DataSource): throw Exception here, not
  4151. ArgumentException, to match MS behavior.
  4152. 2006-10-29 Chris Toshok <[email protected]>
  4153. * Form.cs: remove the try-catch's around calls to GetWindowState.
  4154. We can just check the return value.
  4155. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  4156. Instead return -1.
  4157. * XplatUI.cs: Add note about additional return value for
  4158. GetWindowState.
  4159. 2006-10-29 Chris Toshok <[email protected]>
  4160. * Control.cs (CreateHandle): when we create our handle, we also
  4161. create the handles of our child controls. Fixes one of the
  4162. Control unit tests (CH11).
  4163. 2006-10-28 Alexander Olk <[email protected]>
  4164. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  4165. 2006-10-28 Alexander Olk <[email protected]>
  4166. * ThemeClearlooks.cs: A little speedup.
  4167. 2006-10-27 Chris Toshok <[email protected]>
  4168. * Control.cs: implement Control.FromChildHandle in a way that
  4169. matches the docs (and fixes the failed test.)
  4170. 2006-10-27 Chris Toshok <[email protected]>
  4171. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  4172. comments).
  4173. * DataGrid.cs: implement ResetForeColor such that the tests
  4174. succeed.
  4175. 2006-10-27 Chris Toshok <[email protected]>
  4176. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  4177. being set to "". Fixes bug #79759.
  4178. 2006-10-27 Jackson Harper <[email protected]>
  4179. * TextControl.cs: We need to clear the entire selection area when
  4180. setting the start, otherwise multiline selections are still
  4181. visible.
  4182. 2006-10-26 Chris Toshok <[email protected]>
  4183. * PropertyGridView.cs:
  4184. - ifdef all the code specific to the double
  4185. buffer case, and provide some alternatives in the non-doublebuffer
  4186. code, which makes heavy use of XplatUI.ScrollWindow to move things
  4187. around without having to invalidate (and cause flicker). There
  4188. are still some drawing problems in the non-doublebuffered case, so
  4189. DOUBLEBUFFER is defined by default.
  4190. - Fix the way dropdowns are handled. now we explicitly watch for
  4191. the events which might cause the dropdown to close, and break out
  4192. of the nested event loop there. This gets rid of all Capture
  4193. code, at the expense of the Msg special casing. Seems to work,
  4194. though, and fixes bug #79743.
  4195. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  4196. * Control.cs: SetIsRecreating now recreates implicitly added
  4197. child controls as well. Finally fixes #79629. The flag passed to
  4198. SetIsRecreating has also been removed since it wasn't used.
  4199. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  4200. * PageSetupDialog.cs: Clean some code, fix some bits,
  4201. add some checks, and add a printer sub-dialog.
  4202. 2006-10-26 Chris Toshok <[email protected]>
  4203. * PropertyGrid.cs: make set_SelectedObject call
  4204. set_SelectedObjects, and move the duplicate logic to the
  4205. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  4206. * PropertyGridView.cs: hide the textbox when we get a
  4207. SelectedObjectsChanged event.
  4208. Fixes bug #79748.
  4209. 2006-10-26 Chris Toshok <[email protected]>
  4210. * PropertyGridView.cs: deal with the type converter not supporting
  4211. GetStandardValues() or GetStandardValues() returning null, which
  4212. is does in the default case. Fixes #79742.
  4213. 2006-10-25 Andreia Gaita <[email protected]>
  4214. * CheckedListBox.cs: nunit no longer crashes when selecting
  4215. Project/Edit menu option
  4216. 2006-10-25 Andreia Gaita <[email protected]>
  4217. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  4218. is no menu selected. fixes #79739
  4219. 2006-10-25 Chris Toshok <[email protected]>
  4220. * PropertyGridView.cs: factor out the splitter invalidation code
  4221. into the SplitterPercent setter, and for kicks implement the
  4222. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  4223. amount in either direction.
  4224. 2006-10-25 Chris Toshok <[email protected]>
  4225. * PropertyGridView.cs: do some cleanup of the brush used to draw
  4226. text - read only fields should be grayed out. not sure how to do
  4227. this with the textbox, though. but the textbox's should also be
  4228. readonly now at least. Also, hide/show the textbox when resizing
  4229. the control.
  4230. * CursorConverter.cs: use System.Reflection when getting the
  4231. properties of Cursors, as TypeDescriptor.GetProperties isn't
  4232. returning static properties.
  4233. 2006-10-25 Chris Toshok <[email protected]>
  4234. * PropertyGridView.cs: factor out the up/down handling, and reuse
  4235. it for page up/down. also add End/Home support.
  4236. 2006-10-25 Chris Toshok <[email protected]>
  4237. * PropertyGridView.cs:
  4238. - ensure the selected grid item is visible in the scrolled area,
  4239. fixes bug #79572.
  4240. - fix Keys.Down handling when you're on the last item in the
  4241. propertygrid.
  4242. 2006-10-25 Mike Kestner <[email protected]>
  4243. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  4244. clicks too. Fixes #79725.
  4245. 2006-10-24 Chris Toshok <[email protected]>
  4246. * PropertyGrid.cs: use property.Converter instead of
  4247. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  4248. TypeConverters declared on the property as well as on the
  4249. PropertyType. Fixes bug #79678.
  4250. 2006-10-24 Alexander Olk <[email protected]>
  4251. * MimeIcon.cs, Mime.cs:
  4252. Fallback to the default platform handler if no shared mime info
  4253. stuff exists (fixes #79693).
  4254. 2006-10-20 Andreia Gaita <[email protected]>
  4255. * ContainerControl.cs: Incorrect contains check in ActiveControl
  4256. from previous fix (duh).
  4257. 2006-10-20 Chris Toshok <[email protected]>
  4258. * PropertyGridView.cs: the dropdown should be MIN(number of items
  4259. in list, 15). Fixes #79551.
  4260. 2006-10-20 Andreia Gaita <[email protected]>
  4261. Fixes #79384, #79394, #79652, #79667
  4262. * Application.cs:
  4263. - Modal windows are now destroyed in the proper order for windows
  4264. * ContainerControl.cs:
  4265. - ActiveControl setter has more conditions on when to return:
  4266. - if we're reselecting the active control, but it actually
  4267. didn't have focus (window hidden or some such), it runs
  4268. - if the active control being selected doesn't actually
  4269. exist in the container, it returns
  4270. * Form.cs
  4271. - The ShowDialog now gets the current form as the owner when
  4272. invoking without parameters, and correctly activates the owner
  4273. when returning
  4274. * MessageBox.cs
  4275. - MessageBox now catches the Escape key to exit
  4276. 2006-10-20 Chris Toshok <[email protected]>
  4277. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  4278. most of bug #79676):
  4279. - you can navigate around the property grid with the arrow keys.
  4280. - the dropdown is sized properly when the pg has a vertical
  4281. scrollbar.
  4282. - fix the indentation for subentries, and properly select the
  4283. entire label rect.
  4284. - fix the gray bar's drawing (only draw it to the last element,
  4285. not for the height of the control. Also make sure we draw that
  4286. last horizontal grid line.
  4287. - use the same mechanism the datagrid uses wrt the editing textbox
  4288. when scrolling/resizing/etc. Namely, we hide it first, do the
  4289. operation, then show it again (if it's still visible).
  4290. - aggressively remove a lot of unnecessary refreshes (and also
  4291. calls to Invalidate(). call more limited variants, and only redraw
  4292. what we need.)
  4293. * PropertyGrid.cs:
  4294. - when we're populating the merged collection, fill in the UI
  4295. parent with either the passed in item, or the category item we
  4296. create.
  4297. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  4298. * GridItem.cs: drop some fully qualified names.
  4299. * GridEntry.cs: add a "UIParent", which is basically the parent
  4300. treenode.
  4301. * GridItemCollection.cs: add an IndexOf method.
  4302. 2006-10-20 Mike Kestner <[email protected]>
  4303. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  4304. a working win32 NC invalidation mechanism, we can't invalidate
  4305. menus. [Fixes #79705]
  4306. 2006-10-20 Mike Kestner <[email protected]>
  4307. * ListBox.cs : don't update the VScrollbar if the list is empty,
  4308. just hide it. [Fixes #79692]
  4309. 2006-10-20 Jackson Harper <[email protected]>
  4310. * RichTextBox.cs: Handle some special chars better, and don't skip
  4311. the entire group when we encounter a special char that we don't
  4312. handle correctly.
  4313. 2006-10-18 Chris Toshok <[email protected]>
  4314. * PropertyGridView.cs: address a number of issues from bug #79676,
  4315. mostly of the cosmetic variety.
  4316. - The highlight rectangle for indented items not extends all the
  4317. way to the left.
  4318. - Indented items aren't indented so much.
  4319. - the dropdown is properly sized width-wise if the pg has a
  4320. vertical scrollbar.
  4321. 2006-10-18 Chris Toshok <[email protected]>
  4322. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  4323. systray stuff is rather convoluted to begin with.
  4324. systray icons are a single window for some reason (that I haven't
  4325. figured out yet), and for them, client_window == whole_window.
  4326. Given the way the tests are structured elsewhere to determine
  4327. which paints are pending (client vs. nc), that situation will
  4328. always yield PAINT, not NCPAINT. So, if we have a pending
  4329. nc_expose and no pending expose, remove the hwnd from the paint
  4330. queue, and also set nc_expose_pending to false, to keep us from
  4331. blocking further expose's adding the hwnd to the paint queue.
  4332. phew. like i said, a rather convoluted change. Fixes the
  4333. notifyicon repaint issues in bug #79645.
  4334. 2006-10-18 Chris Toshok <[email protected]>
  4335. * Form.cs: when getting the backcolor of the form, don't get
  4336. base.BackColor, as this allows parents to influence the background
  4337. color. This breaks mdi forms. Instead, if the background_color
  4338. is empty, return the default.
  4339. 2006-10-18 Chris Toshok <[email protected]>
  4340. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  4341. to being private instead of internal static.
  4342. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  4343. crap, it wasn't working for more deeply nested controls anyway,
  4344. and we already have the is_recreating flag - use that instead.
  4345. Before calling DestroyHandle in RecreateHandle, recurse through
  4346. the control tree setting it to true. this returns the recreate
  4347. code to much of its original simplicity, while now guaranteeing we
  4348. actually recreate everything we're supposed to. This change gets
  4349. fyireporting actually showing mdi children.
  4350. 2006-10-17 Chris Toshok <[email protected]>
  4351. * Form.cs: remove some debug spew, and collapse some duplicate
  4352. code at the end of SetClientSizeCore.
  4353. * XplatUIX11.cs:
  4354. - add some more debug spew here too wrt Destroy handling.
  4355. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  4356. in Control's handling of WM_DESTROY.
  4357. - Remove the handling of zombie window DestroyNotifies from the
  4358. event loop - we don't need it. Now the only DestroyNotifies we
  4359. actually handle are ones generated by X.
  4360. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  4361. match gtk's (functioning) handling of this. This keep metacity
  4362. from leaving droppings in the form of wm borders with no window
  4363. contents all over the place.
  4364. * Control.cs:
  4365. - add a bunch of debug spew wrt control recreation.
  4366. - fix a bug where we weren't tracking Visible properly on
  4367. recreated hwnds.
  4368. - fixed the WM_PAINT double buffer handling to support re-entrant
  4369. calls (yes, i know it's gross, but it's happening to us).
  4370. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  4371. * ThemeWin32Classic.cs: changed drawing of selected days
  4372. to make them look better.
  4373. 2006-10-16 Chris Toshok <[email protected]>
  4374. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  4375. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  4376. * XplatUIX11.cs: move away from using hwnd.client_dc and
  4377. hwnd.non_client_dc and on to a stack of dc's (and in window's
  4378. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  4379. without puking or not disposing of Graphics objects.
  4380. * XplatUIOSX.cs: same.
  4381. * XplatUIWin32.cs: same.
  4382. 2006-10-03 Alexander Olk <[email protected]>
  4383. * FileDialog.cs: Don't call on_directory_changed inside
  4384. OnSelectedIndexChanged (it changes the SelectedIndex too).
  4385. Instead move it to OnSelectionChangeCommitted.
  4386. 2006-10-13 Chris Toshok <[email protected]>
  4387. * XplatUIX11.cs: more Destroy work. the current code does the
  4388. following things, in order:
  4389. 1. Enumerates all handles of all controls at or below the one
  4390. being destroyed, in pre-order. As it is doing this, it marks the
  4391. handles as zombie and clears all references to them.
  4392. 2. calls XDestroyWindow on the window passed in.
  4393. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  4394. list.
  4395. 2006-10-13 Chris Toshok <[email protected]>
  4396. * XplatUIX11.cs: set hwnd.zombie to true before calling
  4397. SendMessage (WM_DESTROY). this keeps us from marking the new
  4398. window a zombie, and also keeps us from calling sendmessage at
  4399. all.
  4400. 2006-10-13 Jackson Harper <[email protected]>
  4401. * TextControl.cs: Do not show the caret and selection at the same
  4402. time. Reduces ugliness by 35%.
  4403. 2006-10-13 Chris Toshok <[email protected]>
  4404. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  4405. zombie after we do the recursive call, so we actually do call
  4406. SendMessage on the children controls.
  4407. (GetMessage): if we find a pending paint event for a zombie hwnd,
  4408. remove the hwnd from the paint queue, or else it will always be
  4409. there (and we'll effectively loop infinitely)
  4410. 2006-10-13 Mike Kestner <[email protected]>
  4411. * MenuItem.cs : add Selected format under keynav too.
  4412. Fixes #79528.
  4413. 2006-10-13 Gert Driesen <[email protected]>
  4414. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  4415. implementation and that of MS.
  4416. 2006-10-13 Chris Toshok <[email protected]>
  4417. * Control.cs (OnInvalidated) only futz with the invalid_region if
  4418. the control is double buffered. this fixes the apparent hang in
  4419. the ListView unit tests. Someone needs to make the
  4420. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  4421. 2006-10-13 Chris Toshok <[email protected]>
  4422. * PropertyGridView.cs:
  4423. - do a little refactoring so that only one place calls
  4424. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  4425. else call that. Also make it Refresh, since there are redraw bugs
  4426. otherwise (we should take a look at that...)
  4427. - do a little more refactoring work to share the body of code
  4428. involved with the drop down. it was duplicated in the code
  4429. dealing with the listbox handling and in the code dealing with the
  4430. UITypeEditors.
  4431. - add a Capture to the dropdown form's control once it's
  4432. displayed, and add a MouseDown handler that checks to make sure
  4433. the position is inside the control. If it's not, close the
  4434. dropdown. This fixes #78190.
  4435. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  4436. if the value is different than the initial value.
  4437. 2006-10-13 Andreia Gaita <[email protected]>
  4438. * Control.cs: see #78650
  4439. - Fixed GetNextControl for several cases:
  4440. - Changed FindFlatForward to return
  4441. correct sibling control when more than one
  4442. control has same TabIndex as the currently
  4443. focused one.
  4444. - Changed FindFlatBackward to loop children
  4445. from last to first and apply same logic as in
  4446. FindFlatForward
  4447. - Changed FindControlForward to search for
  4448. children when control is not a container
  4449. but has children, or search for siblings if
  4450. control is a container...
  4451. - Changed FindControlBackward to continue
  4452. searching for child controls when hitting
  4453. Panel-like parents
  4454. - Fixed Focus method to update ActiveControl
  4455. (FocusTest.FocusSetsActive failure)
  4456. * TabControl.cs:
  4457. - Focus rectangle now refreshes when gaining
  4458. or losing focus
  4459. - Removed grab for Tab key on IsInputKey that
  4460. was keeping tab navigation from working (#78650)
  4461. 2006-10-13 Chris Toshok <[email protected]>
  4462. * PropertyGridView.cs:
  4463. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  4464. SelectedObjects.
  4465. - Deal with GridItem.Value == null a few places.
  4466. * PropertyGrid.cs:
  4467. - replace the PopulateGridItemCollection with a pair of methods
  4468. which compute the intersection of all the properties in the
  4469. SelectedObjects array. Fixes #79615.
  4470. - Throw ArgumentException from set_SelectedObjects if there's a
  4471. null in the array.
  4472. - Add GetTarget method which can be used to traverse up the
  4473. GridItem.Parent chain. It depends on the assumption that
  4474. selected_objects for different GridEntries are always in the same
  4475. order (a safe assumption). Use this method and loop over all the
  4476. selected objects in the entry when calling RemoveValueChanged and
  4477. AddValueChanged.
  4478. * GridEntry.cs: Make this handle multiple selected objects.
  4479. .Value returns null if not all the selected objects share the same
  4480. value.
  4481. 2006-10-12 Jonathan Pobst <[email protected]>
  4482. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  4483. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  4484. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  4485. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  4486. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  4487. add additional functionality.
  4488. 2006-10-12 Mike Kestner <[email protected]>
  4489. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  4490. * HelpProvider.cs : new ToolTipWindow ctor sig.
  4491. * ToolTip.cs : remove ToolTip param from Window sig since it is
  4492. not used.
  4493. * ToolBar.cs : add tooltip support. Fixes #79565.
  4494. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  4495. * ComboBox.cs: move the events in set_SelectedIndex to
  4496. after the call to HighlightIndex in order to avoid
  4497. possible recursion and subsequent problems with the call
  4498. to HighlightIndex and include a range check in
  4499. set_HighlightIndex. Fixes #79588
  4500. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  4501. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  4502. to ui thread's settings instead of sunday.
  4503. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  4504. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  4505. * DateTimePicker.cs
  4506. * MonthCalendar.cs
  4507. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  4508. and implement missing functionality (selecting different parts
  4509. of the date and edit them individually with the keyboard).
  4510. 2006-10-11 Chris Toshok <[email protected]>
  4511. * Control.cs (OnInvalidated): fix NRE relating to last change.
  4512. 2006-10-11 Chris Toshok <[email protected]>
  4513. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  4514. atoms in _NET_WM_STATE here if the window is maximized. We need
  4515. to do this because we're *replacing* the existing _NET_WM_STATE
  4516. property, so those atoms will be lost otherwise, and any further
  4517. call to GetWindowState will return Normal for a window which is
  4518. actually maximized. Fixes #79338.
  4519. 2006-10-11 Jackson Harper <[email protected]>
  4520. * TextControl.cs: Special case for setting selection end to
  4521. selection start, we basically kill the anchor.
  4522. - some todo comments.
  4523. 2006-10-11 Chris Toshok <[email protected]>
  4524. * Control.cs: switch to using an "invalid_region" to track which
  4525. parts of the image buffer need updating. This is more code than
  4526. the simple fix from r66532. That version just attempted to always
  4527. fill the entire buffer on redraw, which turns out to be
  4528. inefficient when invalidating small rectangles. This version
  4529. simply adds the invalid rectangle to the invalid region. When we
  4530. get any WM_PAINT message we see if it can be filled using the
  4531. image buffer, and if it can't (if the paint event's clip rectangle
  4532. is visible in the invalid region) we first fill the image buffer.
  4533. So, the image buffer is still a cache, we just fill it lazily.
  4534. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  4535. need it any longer.
  4536. 2006-10-11 Chris Toshok <[email protected]>
  4537. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  4538. well as size after calling XMoveResizeWindow. This keeps us from
  4539. ignoring future SetWindowPos calls. Fixes the disappearing
  4540. DateTimePicker in the ToolBarDockExample from bug #72499.
  4541. 2006-10-11 Chris Toshok <[email protected]>
  4542. * TextBoxBase.cs: reorder things a bit when it comes to
  4543. resizing-causing-recalculation. we were recalculating the
  4544. document when our position was changed, which shouldn't happen.
  4545. We only care about size changes. Clear up some more redundant
  4546. recalculation calls while I'm at it. This makes the toolbar dock
  4547. example snappy when you're just dragging toolbars around (since it
  4548. causes a relayout whenever you move one.)
  4549. 2006-10-11 Chris Toshok <[email protected]>
  4550. * ToolBarButton.cs (get_Rectangle): this only returns
  4551. Rectangle.Empty if Visible == false, or Parent == null.
  4552. Parent.Visible doesn't matter.
  4553. 2006-10-10 Chris Toshok <[email protected]>
  4554. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  4555. by .net 1.1, so switch to an internal method instead.
  4556. 2006-10-10 Chris Toshok <[email protected]>
  4557. * Control.cs (WM_PAINT): when a control is double buffered we draw
  4558. initially to the ImageBuffer and then copy from there. But when a
  4559. parent control which has child controls is double buffered, the
  4560. initial drawing doesn't encompass the entire ClientRectangle of
  4561. the parent control, so we end up with uninitialized bits (this is
  4562. easily seen by dragging the top toolbar in
  4563. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  4564. manually set the ClipRectangle of the paint_event (only the one we
  4565. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  4566. of the nastiness in bug #72499.
  4567. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  4568. which we use in Control.cs's WM_PAINT handling.
  4569. 2006-10-10 Jackson Harper <[email protected]>
  4570. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  4571. 2006-10-10 Chris Toshok <[email protected]>
  4572. * Cursor.cs: Apply a slightly different patch to the one suggested
  4573. in #79609.
  4574. 2006-10-10 Jackson Harper <[email protected]>
  4575. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  4576. not the parent form.
  4577. * TextControl.cs: use difference in old line count vs new count to
  4578. calculate how many lines were added, this takes into account soft
  4579. line breaks properly.
  4580. 2006-10-10 Chris Toshok <[email protected]>
  4581. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  4582. rectangle located at 0,0 and the size of the text. Use
  4583. ClientRectangle instead. This fixes rendering of non-left aligned
  4584. link labels.
  4585. 2006-10-10 Jackson Harper <[email protected]>
  4586. * TextBoxBase.cs: When we set the selection start position the
  4587. caret.
  4588. * TextControl.cs: Need to update the caret when we decrement it to
  4589. zero.
  4590. - Make sure that the selection_visible flag gets reset to false if
  4591. the selection isn't visible. Before this you could get it set to
  4592. visible by changing the selection start, then changing the end to
  4593. equal the start.
  4594. 2006-10-09 Jackson Harper <[email protected]>
  4595. * TreeView.cs: Don't update scrollbars when we aren't visible.
  4596. * TreeNodeCollection.cs: Only need to update scrollbars if being
  4597. added to an expanded visible node or the root node.
  4598. 2006-10-09 Chris Toshok <[email protected]>
  4599. * XplatUIX11.cs (SendMessage): fix NRE.
  4600. 2006-10-09 Jackson Harper <[email protected]>
  4601. * TextBoxBase.cs: Implement horizontal autoscrolling.
  4602. * TextControl.cs: Add a movement types that allows moving forward
  4603. and backwards without wrapping.
  4604. 2006-10-09 Mike Kestner <[email protected]>
  4605. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  4606. with focus "expansion" of labels. Fixes #79532 and then some.
  4607. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  4608. when wrapping.
  4609. 2006-10-09 Jackson Harper <[email protected]>
  4610. * TextBoxBase.cs: Set the default max values to MaxValue since
  4611. we use the scrollbar for autoscrolling and the default value is
  4612. 100. If we don't do this the caret won't keep up with typing
  4613. after about 18 characters.
  4614. * TextControl.cs: Make sure the selection is offset by the
  4615. viewport x. This fixes selection when using auto scrolling.
  4616. 2006-10-07 Andreia Gaita <[email protected]>
  4617. * Form.cs: The active control should be selected after the
  4618. OnLoad so that any child control initialization that affects
  4619. the selection is done. Fixes #79406
  4620. 2006-10-06 Chris Toshok <[email protected]>
  4621. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  4622. to have no evil effects.
  4623. - Stop selecting StructureNotifyMask on non-toplevel windows.
  4624. The only way children should be resized is by using the SWF api,
  4625. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  4626. Toplevel windows can be interacted with via the window manager,
  4627. and so we keep the input mask there.
  4628. The other event StructureNotifyMask gives us (that we care
  4629. about) is DestroyNotify. The code is already structured such
  4630. that it assumes we won't be getting a DestroyNotify event for
  4631. the window we pass to XDestroyWindow (which is what
  4632. StructureNotifyMask is supposed to guarantee.) So, that code
  4633. shouldn't be affected by this either.
  4634. - Stop selecting VisibilityChangeMask altogether.
  4635. We weren't doing anything with the resulting events anyway.
  4636. This vastly reduces the number of X requests and events we see
  4637. when resizing/laying out a large ui.
  4638. 2006-10-06 Chris Toshok <[email protected]>
  4639. * ScrollableControl.cs (DisplayRectangle): we need to take into
  4640. account the DockPadding regardless of whether or not auto_scroll
  4641. == true. rework this slightly to this effect, and fix bug #79606,
  4642. and part of #72499 (you can now see the drag handles and drag
  4643. toolbars around).
  4644. 2006-10-06 Gert Driesen <[email protected]>
  4645. * ListViewItem.cs: Collections of selected and checked items are now
  4646. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  4647. we mark the collection "dirty".
  4648. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  4649. to only clear SelectedItems when a new item is selected and MultiSelect
  4650. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  4651. event of ListViewItemCollection, and mark its list dirty whenever
  4652. that event is fire. This allows us to return selected/checked items
  4653. in the same order as they are in the Items collection. This matches
  4654. the MS behavior.
  4655. 2006-10-06 Chris Toshok <[email protected]>
  4656. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  4657. right mouse clicks. Fixes bug #79593.
  4658. 2006-10-06 Chris Toshok <[email protected]>
  4659. * Splitter.cs: doh, fix splitters that don't want to cancel the
  4660. movement when you drag them. Also, impose the limits on the
  4661. values we send to the SplitterMovingEvent. Fixes #79598.
  4662. 2006-10-06 Jackson Harper <[email protected]>
  4663. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  4664. since we use this for auto scrolling also.
  4665. 2006-10-05 Chris Toshok <[email protected]>
  4666. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  4667. beginning to think that most datagrid column types don't need this
  4668. method. Fixes bug #79392.
  4669. 2006-10-05 Chris Toshok <[email protected]>
  4670. * DataGrid.cs: move back to a more lazy scheme for creating the
  4671. CurrencyManager, so we aren't updating it every time you set
  4672. either DataSource or DataMember. Also, don't call
  4673. RecreateDataGridRows if the currency manager hasn't changed.
  4674. 2006-10-05 Chris Toshok <[email protected]>
  4675. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  4676. emitted, SelectedIndex should already be updated. Fixes bug
  4677. #78929.
  4678. 2006-10-05 Jonathan Pobst <[email protected]>
  4679. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  4680. ToolStripTextBox.cs: Initial commit.
  4681. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  4682. 2006-10-05 Jackson Harper <[email protected]>
  4683. * TabControl.cs: We need to invalidate the tab control area when
  4684. new ones are added (duh).
  4685. 2006-10-03 Chris Toshok <[email protected]>
  4686. * Form.cs (ProcessDialogKey): if the focused control is in this
  4687. form and is a button, call its PerformClick method here. Fixes
  4688. #79534.
  4689. 2006-10-04 Jackson Harper <[email protected]>
  4690. * TabPage.cs: Ignore setting of Visible, and add an internal
  4691. method for setting the controls visibility. TabPage's Visible
  4692. property is a little strange on MS, this seems to make us
  4693. compatible, and fixes cases where people set all the tab pages to
  4694. visible.
  4695. * TabControl.cs: Use the new internal setting on tab pages
  4696. visibility.
  4697. 2006-10-03 Mike Kestner <[email protected]>
  4698. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  4699. 2006-10-03 Mike Kestner <[email protected]>
  4700. * ListView.cs : use is_visible instead of Visible to check if
  4701. scrollbars should be placed/sized. Also some max_wrap_width
  4702. love for LargeIcon view. [Fixes #79533]
  4703. 2006-10-03 Atsushi Enomoto <[email protected]>
  4704. * TextControl.cs :
  4705. Make set_TextAlign() do actually update the align. Fixed #78403.
  4706. 2006-10-03 Chris Toshok <[email protected]>
  4707. * DataGrid.cs: fix a crash when switching datasources if the
  4708. vertical scrollbar is at someplace other than Value = 0. Also,
  4709. reduce the number of recalculation passes we do in SetDataSource
  4710. from 2 to 1.
  4711. 2006-10-03 Jackson Harper <[email protected]>
  4712. * TextBoxBase.cs: Move the if value the same bail check up, we
  4713. don't want to empty the document if it is already empty, this
  4714. seems to severly mess up the caret. TODO: I should probably fix
  4715. the empty statement to update teh caret somehow.
  4716. 2006-10-03 Chris Toshok <[email protected]>
  4717. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  4718. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  4719. reflection, an internal row type, properties on said type, etc.)
  4720. will work with our datagrid. Fixes #79531.
  4721. 2006-10-03 Alexander Olk <[email protected]>
  4722. * FileDialog.cs: Don't crash if a path is not accessible
  4723. (System.UnauthorizedAccessException). Fixes #79569.
  4724. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  4725. a ':' too. Return unknown icon for those paths/files.
  4726. 2006-10-03 Sebastien Pouliot <[email protected]>
  4727. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  4728. GetContainerControl returns null.
  4729. 2006-10-02 Chris Toshok <[email protected]>
  4730. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  4731. call to XGetWindowAttributes instead of "handle". fixes an X
  4732. error using notifyicon after the NotifyIconWindow to Form base
  4733. class switch.
  4734. 2006-10-02 Chris Toshok <[email protected]>
  4735. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  4736. server grab and looping we need to do to get down to the most
  4737. deeply nested child window.
  4738. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  4739. QueryPointer again after the WarpPointer so we can generate a
  4740. proper (fake) MotionNotify event to be enqueued in the destination
  4741. window's queue.
  4742. (GetCursorPos): call QueryPointer.
  4743. Fixes #79556.
  4744. 2006-10-02 Jackson Harper <[email protected]>
  4745. * NotifyIcon.cs: Derive the notify icon from a form, so things
  4746. like FindForm work on it.
  4747. - Swallow the WM_CONTEXTMENU message, since that is generated on
  4748. mouse down, and context menu is a mouse up kinda guy. I believe
  4749. the correct fix here is probably to make the notify icon entirely
  4750. NC area, but this seems to work fine for anyone not manipulating
  4751. WndProc.
  4752. 2006-10-02 Jonathan Pobst <[email protected]>
  4753. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  4754. ToolStripItemCollection.cs, ToolStripLabel.cs,
  4755. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  4756. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  4757. Initial implementation.
  4758. * TextRenderer.cs: Provide padding to MeasureText.
  4759. 2006-10-02 Sebastien Pouliot <[email protected]>
  4760. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  4761. of ButtonBaseAccessibleObject. Fix bug #79552.
  4762. 2006-10-02 Jackson Harper <[email protected]>
  4763. * MdiWindowManager.cs: When maximizing use the containers client
  4764. rect, not it's bounds, so nc area is accounted correctly.
  4765. - Use the parent form's size for the menu position, since the
  4766. client isn't always the full form size.
  4767. 2006-10-01 Chris Toshok <[email protected]>
  4768. * ScrollableControl.cs: make sure neither right_edge or
  4769. bottom_edge are < 0, since they're used as LargeChange for the
  4770. horiz/vert scrollbars respectively. Fixes #79539.
  4771. 2006-10-01 Chris Toshok <[email protected]>
  4772. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  4773. the xplatuix11 code can cause us to destroy/recreate our handle.
  4774. * XplatUIX11.cs
  4775. (SystrayAdd):
  4776. - this code can be invoked many times for the same Hwnd. Make
  4777. sure we only destroy the client window once (the first time this
  4778. method is called). This fixes bug #79544.
  4779. - Remove the call to the improperly bound XSync. why we had two
  4780. bindings to this, I will never know, but this call resulted in
  4781. events being discarded from the queue(!).
  4782. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  4783. not our current state but the state we wish to be in. So, 0 if
  4784. we don't want to be mapped. Change it to 1.
  4785. (SystrayRemove): The XEMBED spec makes mention of the fact that
  4786. gtk doesn't support the reparent of client windows away from the
  4787. embedder. Looking at gtksocket-x11.c seems to agree with this.
  4788. The only avenue we have for removing systray icons is to destroy
  4789. them. We don't want the handle to go away for good, though, so
  4790. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  4791. #79545.
  4792. 2006-10-01 Chris Toshok <[email protected]>
  4793. * Form.cs (WndProc): inline the native_enabled variable usage into
  4794. the cases in which it's used. Fixes #79536.
  4795. 2006-09-29 Mike Kestner <[email protected]>
  4796. * ListView.cs : toggle the selection state for ctrl clicks in
  4797. multiselect mode. [Fixes #79417]
  4798. 2006-09-29 Mike Kestner <[email protected]>
  4799. * ListView.cs : kill CanMultiSelect and refactor the selection
  4800. code to support multiselection in the absence of mod keys. Steal
  4801. arrow/home/end keys by overriding InternalPreProcessMessage to
  4802. restore regressed keynav behavior.
  4803. [Fixes #79416]
  4804. 2006-09-29 Jackson Harper <[email protected]>
  4805. * MdiClient.cs: Repaint the titlebars when the active window is
  4806. changed.
  4807. 2006-09-29 Chris Toshok <[email protected]>
  4808. * Application.cs: when entering a runloop with a modal, make sure
  4809. the hwnd is enabled. Fixes #79480.
  4810. 2006-09-29 Chris Toshok <[email protected]>
  4811. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  4812. when ListManager.CanAddRows == false, bump us back one.
  4813. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  4814. listmanager.CanAddRows check. This makes ArrayLists uneditable
  4815. using a datagrid, which is not right.
  4816. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  4817. is an IEditable, but call property_descriptor.SetValue regardless.
  4818. fixes #79435.
  4819. 2006-09-29 Chris Toshok <[email protected]>
  4820. * DataGridBoolColumn.cs: we need to test equality in the face of
  4821. possible null values (as is the case with the default NullValue).
  4822. This patch keeps us from crashing in that case.
  4823. 2006-09-29 Jackson Harper <[email protected]>
  4824. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  4825. here, since it will get called for every node collection in the
  4826. tree. This is now done in the treeview once the sorting is
  4827. finished.
  4828. * TreeView.cs: Recalculate the visible order, and update the
  4829. scrollbars after sorting, set the top nope to the root so that the
  4830. recalc actually works.
  4831. 2006-09-29 Chris Toshok <[email protected]>
  4832. * LinkLabel.cs: more handling of the default link collection in
  4833. the face of LinkArea manipulation. The default link collection
  4834. contains 1 element (start=0,length=-1). If the user sets LinkArea
  4835. to anything and the links collection is the default, clear it.
  4836. Then only add the link if its nonempty. Fixes #79518.
  4837. 2006-09-29 Chris Toshok <[email protected]>
  4838. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  4839. piece correctly when we hit a '\n'. Fixes #79517.
  4840. 2006-09-29 Chris Toshok <[email protected]>
  4841. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  4842. change the binding of gdk_init_check to take two IntPtr's, and
  4843. pass IntPtr.Zero for both of them. Fixes #79520.
  4844. 2006-09-29 Mike Kestner <[email protected]>
  4845. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  4846. [Fixes #78779]
  4847. 2006-09-28 Jackson Harper <[email protected]>
  4848. * XplatUIX11.cs: When translating NC messages make sure we go from
  4849. whole window to screen, not client window to screen.
  4850. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  4851. method doesn't exist
  4852. - Skip over controls that aren't forms when arranging.
  4853. 2006-09-28 Jackson Harper <[email protected]>
  4854. * XplatUIWin32.cs: Clip the rect to the parent window.
  4855. * XplatUIStructs.cs: Add clipping modes struct.
  4856. * InternalWindowManager.cs: New private method that factors title
  4857. bar heights in when calculating the pos of an NC mouse message.
  4858. - Use SendMessage to force a paint when the form's size is changed
  4859. instead of painting the decorations immediately.
  4860. - Don't let the NC button click messages get to DefWndProc,
  4861. because they will attempt to handle windowing themself, and this
  4862. messes up z-order (it will put them in front of the scrollbars).
  4863. * XplatUIX11.cs: Make sure that we don't reset window managers if
  4864. we already have one (ie the window is an MDI window).
  4865. 2006-09-28 Chris Toshok <[email protected]>
  4866. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  4867. menu code really needs going over.
  4868. 2006-09-27 Chris Toshok <[email protected]>
  4869. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  4870. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  4871. window is maximizable. So, we need to make sure that even if we
  4872. clear the border/wm frame of those functions, they're still
  4873. available (basically, we remove the decoration without removing
  4874. the function). Half the fix for #79338.
  4875. 2006-09-27 Chris Toshok <[email protected]>
  4876. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  4877. Fixes bug #79515.
  4878. 2006-09-27 Chris Toshok <[email protected]>
  4879. * Splitter.cs: reorder things a bit so that we don't actually
  4880. draw/move the splitter until after calling OnSplitterMoving. This
  4881. lets users cancel/disallow the movement by explicitly setting
  4882. event.SplitX/SplitY. Fixes #79372.
  4883. 2006-09-27 Jackson Harper <[email protected]>
  4884. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  4885. because it is most likely on a window being destroyed, and that
  4886. will give us an X11 error.
  4887. 2006-09-27 Chris Toshok <[email protected]>
  4888. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  4889. the dropdown button now toggles between showing and hiding the
  4890. dropdown. Also, get rid of dropdown_form_showing and just use
  4891. dropdown_form.Visible. We still don't do a grab, but I'll leave
  4892. that part to someone who has handled Capture-fu before.
  4893. 2006-09-27 Chris Toshok <[email protected]>
  4894. * DataGrid.cs: return false if alt isn't pressed when '0' is
  4895. pressed. this keeps the '0' key from being swallowed, and fixes
  4896. bug #79350.
  4897. 2006-09-27 Chris Toshok <[email protected]>
  4898. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  4899. Calling Refresh (in response to a scrollbar event) screws up the
  4900. scrollbar painting. Fixes bug #78923.
  4901. 2006-09-27 Chris Toshok <[email protected]>
  4902. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  4903. then insert into hashtable" blocks threadsafe.
  4904. 2006-09-27 Chris Toshok <[email protected]>
  4905. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  4906. baseclass's, since otherwise the
  4907. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  4908. effect. This gets the close button back in messageboxes.
  4909. 2006-09-27 Chris Toshok <[email protected]>
  4910. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  4911. flag, not just != 0. this makes flags that are actually multiple
  4912. bits (like WS_CAPTION) work. fixes bug #79508.
  4913. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  4914. * PageSetupDialog.cs: add support for getting and settings the
  4915. paper size, source and orientation.
  4916. 2006-09-26 Chris Toshok <[email protected]>
  4917. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  4918. and caption == "", we need to remove the resize handles as well as
  4919. the title bar.
  4920. * Control.cs (set_Text): turns out that setting Text on a form
  4921. should change the WM styles on the window, since if ControlBox ==
  4922. false, the only way to get a window border is to have a non-""
  4923. Text property. check winforms/forms/text.cs for an example. so,
  4924. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  4925. update both window styles and title. This fixes a lot of dialogs
  4926. (including the preferences dialog in MonoCalendar.)
  4927. 2006-09-26 Chris Toshok <[email protected]>
  4928. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  4929. control isn't a Form), call Win32ShowWindow to hide the window,
  4930. but don't update the control Visible property. When we reparent
  4931. back to a parent control, call SetVisible in order for the
  4932. window's visibility to be reinstated.
  4933. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  4934. the FosterParent.
  4935. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  4936. call for good, since it breaks MonoCalendar (and other things I'm
  4937. sure.) Also, set all_controls to null *after* the owner calls,
  4938. which end up regenerating it.
  4939. (ChangeParent): allow new_parent to be == null, passing
  4940. IntPtr.Zero down to XplatUI.
  4941. this fixes #79294 the right way.
  4942. 2006-09-26 Mike Kestner <[email protected]>
  4943. * GridEntry.cs : internal SetParent method.
  4944. * PropertyGrid.cs : attach to property changed on the proper
  4945. target if we have a hierarchical grid with subobjects. Setup
  4946. GridItem.Parent for hierarchical items.
  4947. * PropertyGridView.cs : Set value on the correct target for
  4948. hierarchical grids. [Fixes #78903]
  4949. 2006-09-26 Chris Toshok <[email protected]>
  4950. * Control.cs (ChildNeedsRecreating): this should return true if
  4951. either we're being recreated and the child is in our list, or our
  4952. parent is waiting for our recreation.
  4953. 2006-09-26 Chris Toshok <[email protected]>
  4954. * Control.cs (ControlCollection.Remove): reinstate the
  4955. value.Hide() call as suggested in bug #79294.
  4956. 2006-09-26 Sebastien Pouliot <[email protected]>
  4957. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  4958. coordinates (versus a relative move).
  4959. 2006-09-26 Chris Toshok <[email protected]>
  4960. * Control.cs: rework child recreation a little bit. It turns out
  4961. that we race between the DestroyNotify the WM_DESTROY message. If
  4962. the parent gets its DestroyNotify before the child gets the
  4963. WM_DESTROY message, the child ends up not recreating (since the
  4964. parent finishes its recreation on DestroyNotify, and the child
  4965. checks ParentIsRecreating.)
  4966. So, instead we store off a list of all the child controls which
  4967. need to be recreated when the parent control starts to recreate
  4968. itself. Then, when child controls get their WM_DESTROY message we
  4969. check to see if they're in the parent's pending recreation list,
  4970. and if so, we recreate. This removes all dependency on ordering
  4971. from the code and fixes the initial MonoCalendar upgrade dialog.
  4972. 2006-09-26 Jackson Harper <[email protected]>
  4973. * TextControl.cs: Use the Line to get the length of the line,
  4974. since soft line breaks can change the end line.
  4975. 2006-09-26 Chris Toshok <[email protected]>
  4976. * Control.cs (ControlCollection.AddImplicit): don't add the
  4977. control again if it's already in one of our lists. This keeps us
  4978. from adding controls over and over again for comboboxes when their
  4979. handle gets recreated (as the combobox adds implicit controls in
  4980. OnHandleCreated). Fixes the X11 errors in bug #79480.
  4981. 2006-09-26 Jackson Harper <[email protected]>
  4982. * TextControl.cs: When deleting characters make sure that any
  4983. orphaned zero lengthed tags get deleted.
  4984. - Fix ToString for zero lengthed tags.
  4985. 2006-09-25 Jackson Harper <[email protected]>
  4986. * TextControl.cs: When getting a tag at the location there can be
  4987. multiple tags at the same spot, these are 0-lengthed tags that
  4988. appear when extra formatting has been stuck in a location. We
  4989. need to pull out the last of these 0 lengthed tags.
  4990. 2006-09-25 Jackson Harper <[email protected]>
  4991. * TextControl.cs: Fix print out in debug method.
  4992. * TextBoxBase.cs: When text is set bail if we are setting to the
  4993. previous value.
  4994. 2006-09-24 Alexander Olk <[email protected]>
  4995. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  4996. It is now possible to change the selected index in a FontXXXListBox
  4997. with the up and down arrow keys from the FontXXXTextBoxes.
  4998. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  4999. FontXXXListBoxes to match ms.
  5000. 2006-09-22 Sebastien Pouliot <[email protected]>
  5001. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  5002. anyone can dispose it, anytime. All other properties returns enums,
  5003. structs or basic types so they don't need such tricks.
  5004. 2006-09-22 Jackson Harper <[email protected]>
  5005. * XplatUI.cs:
  5006. * XplatUIWin32.cs:
  5007. * Clipboard.cs:
  5008. * DataFormats.cs:
  5009. * XplatUIOSX.cs:
  5010. * XplatUIDriver.cs: Update interface to add a primary selection
  5011. flag, so the driver can use the primary selection buffer if
  5012. needed.
  5013. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  5014. * RichTextBox.cs: We need to supply the data object to paste now
  5015. (so we can choose to supply CLIPBOARD or PRIMARY).
  5016. * TextBoxBase.cs: Supply data object to paste (see above).
  5017. - Middle click uses the primary selection data object.
  5018. 2006-09-21 Chris Toshok <[email protected]>
  5019. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  5020. of SetWMStyles. It's still a rat's nest and is largely
  5021. order-dependent which I dislike immensely. This also fixes the X
  5022. button disappearing from toplevel forms.
  5023. 2006-09-21 Mike Kestner <[email protected]>
  5024. * ListBox.cs: move Jordi's click/dblclick raising code to the
  5025. mouse up handler.
  5026. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  5027. * ListBox.cs: Fixes 79450
  5028. 2006-09-21 Mike Kestner <[email protected]>
  5029. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  5030. to deal with people updating the TreeNodeCollection after the tree
  5031. is disposed. "Fixes" 79330.
  5032. 2006-09-20 Jackson Harper <[email protected]>
  5033. * TextControl.cs: Push the cursor record onto the undo stack
  5034. before the delete action. This fixes 78651.
  5035. 2006-09-20 Jonathan Chambers <[email protected]>
  5036. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  5037. CreateParams. Fixes 79329.
  5038. 2006-09-19 Chris Toshok <[email protected]>
  5039. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  5040. things up a bit. First, get rid of the NetAtoms array (and the NA
  5041. enum), and just embed the atoms as static fields. Also, add a
  5042. couple of functions (StyleSet and ExStyleSet) to clean up all the
  5043. bitmask testing of styles.
  5044. * X11Structs.cs: remove the NA enum, not needed anymore.
  5045. 2006-09-19 Chris Toshok <[email protected]>
  5046. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  5047. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  5048. added cleanup to get MessageBox titles appearing again, which were
  5049. broken by my earlier fix for caption-less/ControlBox-less windows.
  5050. 2006-09-18 Jonathan Pobst <[email protected]>
  5051. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  5052. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  5053. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  5054. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  5055. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  5056. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  5057. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  5058. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  5059. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  5060. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  5061. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  5062. Inital import.
  5063. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  5064. ToolStripButton.cs: Stubs needed for above.
  5065. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  5066. 2006-09-15 Chris Toshok <[email protected]>
  5067. * XplatUIX11.cs:
  5068. - make the MessageQueues hashtable Synchronized.
  5069. - SendMessage: if the Hwnd is owned by a different thread, use the
  5070. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  5071. thread. Fixes bug #79201.
  5072. 2006-09-15 Chris Toshok <[email protected]>
  5073. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  5074. ControlBox == false, we disallow maximize/minimize/close. If the
  5075. form Caption is "" we also disallow move (and get rid of the Title
  5076. decoration). Unfortunately, regardless of how things are set,
  5077. we're stuck with the Title and WM menu.
  5078. 2006-09-15 Chris Toshok <[email protected]>
  5079. * Application.cs: add locking around the static message_filters
  5080. ArrayList, part of #79196.
  5081. 2006-09-15 Chris Toshok <[email protected]>
  5082. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  5083. Form.ControlBox == false, the window has no titlebar nor resize
  5084. handles. fixes bug #79368.
  5085. 2006-09-15 Chris Toshok <[email protected]>
  5086. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  5087. >= 0. Fixes bug #79370.
  5088. 2006-09-15 Jonathan Pobst <[email protected]>
  5089. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  5090. * Control.cs:
  5091. Add properties: LayoutEngine, Margin, DefaultMargin.
  5092. Add method: GetPreferredSize.
  5093. Move layout logic from PerformLayout to layout engines.
  5094. 2006-09-13 Chris Toshok <[email protected]>
  5095. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  5096. fix for #79326 broke #78718, so this change addresses that.
  5097. - in SendWMDestroyMessages remove the call to
  5098. CleanupCachedWindows, since we might be recreating the control and
  5099. need to maintain the references to right Hwnd handles. Also, set
  5100. the zombie flag to true for each of the children in the hierarchy
  5101. instead of calling hwnd.Dispose. This will cause GetMessage to
  5102. ignore all events for the window except for DestroyNotify.
  5103. - In GetMessage, ignore messages except for DestroyNotify for
  5104. zombie hwnds.
  5105. * Control.cs: revert the is_recreating fix from the last
  5106. ChangeLog. It's definitely "right", but it breaks switching from
  5107. an MDI form to a non-MDI form. Will need to revisit that.
  5108. * Hwnd.cs: add a zombie flag, which means "the
  5109. client_window/whole_window handles are invalid, but we're waiting
  5110. for the DestroyNotify event to come in for them". Set the flag to
  5111. false explicitly if setting WholeWindow/ClientWindow, and also
  5112. when Disposing.
  5113. 2006-09-13 Chris Toshok <[email protected]>
  5114. * XplatUIX11.cs: rework window destruction slightly.
  5115. - when destroying the windows associated with a control, we don't
  5116. need 2 separate XDestroyWindow calls. Just the one for the
  5117. whole_window (or for client_window if whole_window is somehow
  5118. IntPtr.Zero -- can this happen?) is enough.
  5119. - reworked SendWMDestroyMessages slightly, so we always dispose
  5120. the child control hwnd's after sending the messages.
  5121. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  5122. the two places it was used (one was even using hwnd.Handle and the
  5123. other hwnd.client_window. ugh), adding another call in
  5124. SendWMDestroyMessages. We need this new call because now the
  5125. DestroyNotify events in the queue will be ignored for the child
  5126. controls (as their hwnd's were disposed, and the window id's
  5127. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  5128. - this fixes bug #79326.
  5129. 2006-09-13 Chris Toshok <[email protected]>
  5130. * Control.cs: don't always set is_recreating to false at the end
  5131. of RecreateHandle, since sometimes we're not done (and won't be
  5132. until WndProc handles the WM_DESTROY message). Also, set
  5133. is_recreating to false in the WM_DESTROY handling code. Part of
  5134. the fix for bug #79326.
  5135. 2006-09-13 Miguel de Icaza <[email protected]>
  5136. * X11DesktopColors.cs: Start the droppage of debugging messages.
  5137. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  5138. 2006-09-13 Jonathan Pobst <[email protected]>
  5139. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  5140. 2006-09-12 Chris Toshok <[email protected]>
  5141. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  5142. to create it using SetDataSource. Fixes bug #79151.
  5143. 2006-09-11 Chris Toshok <[email protected]>
  5144. * XEventQueue.cs: add a DispatchIdle property.
  5145. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  5146. either the queue is null, or the queue has DispatchIdle set to
  5147. true.
  5148. (DoEvents): set queue.DispatchIdle to false around the
  5149. peek/translate/dispatch message loop in this method. This keeps
  5150. Application.Doevents from emitting idle events. Part of the fix
  5151. for #78823.
  5152. 2006-09-11 Chris Toshok <[email protected]>
  5153. * DataGrid.cs (set_DataSource): make this work for both the
  5154. winforms/datagrid test and ReportBuilder. It seems as though when
  5155. we've created a ListManager (or maybe it's if we have a
  5156. BindingContext?), when we set the DataSource it clears the
  5157. DataMember to "". otherwise we reuse the datamember. Fixes bug
  5158. #79333.
  5159. 2006-09-11 Chris Toshok <[email protected]>
  5160. * XplatUIX11.cs: deal with queue being null, which happens in all
  5161. the Clipboard functions. Fixes one of the two problems mentioned
  5162. in #78612.
  5163. 2006-09-11 Chris Toshok <[email protected]>
  5164. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  5165. button on various spots (including outside the menu) works closer
  5166. to MS, and doesn't crash. Fixes #79343.
  5167. 2006-09-11 Gert Driesen <[email protected]>
  5168. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  5169. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  5170. and the internal comparer is set. When a new ListViewItemSorter is set,
  5171. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  5172. was specified. No further processing is necessary if SortOrder is set
  5173. to it's current value. If Sorting is modified to None, and View is
  5174. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  5175. (either custom or our internal ItemComparer) to null, on 1.0 profile
  5176. only set item_sorter to null if its our internal IComparer. If Sorting
  5177. is modified to Ascending or Descending, then use our internal IComparer
  5178. if none is set, and if the current IComparer is our internal one then:
  5179. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  5180. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  5181. Enum.IsDefined to verify whether a valid View value is specified in
  5182. its setter. Automatically sort listview items when listview is
  5183. created. In Sort, do nothing if ListView is not yet created, or if
  5184. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  5185. to None or ListViewItemSorter was set to null). Added Sort overload
  5186. taking a bool to indicate whether the ListView should be redrawn when
  5187. items are sorted (we use this in ListViewItemCollection to avoid double
  5188. redraws). Modified our internal IComparer to take the sort order into
  5189. account. In Add and AddRange methods of ListViewItemCollection, also
  5190. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  5191. view), but use overload with noredraw option to avoid double redraw.
  5192. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  5193. true when View is Tile, and do the same when attempting to set View to
  5194. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  5195. for selected/checked indices, as it involves overhead when sorting is
  5196. done while these collections are not used all that often. Instead
  5197. we'll build the indices on demand. Modified IList implementation of
  5198. CheckedIndexCollection to use public methods if object is int.
  5199. Modified CheckedListViewItemCollection to hide checked items if
  5200. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  5201. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  5202. IList implementation in SelectedIndexCollection to use public methods
  5203. if object is int. Modified SelectedListViewItemCollection to hide
  5204. selected items if listview is not yet created.
  5205. * ListViewItem.cs: CheckedIndices list no longer needs to be
  5206. maintained separately (see ListView changes). Also clone font, fixes
  5207. test failure.
  5208. 2006-09-11 Mike Kestner <[email protected]>
  5209. * ComboBox.cs: if we are updating the contents of the currently
  5210. selected index, refresh the control or the textbox selection.
  5211. [Fixes #79066]
  5212. 2006-09-11 Mike Kestner <[email protected]>
  5213. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  5214. the 'specified' logic has been moved there. This seems like a bug
  5215. in Control.cs, since our current SetBoundsCore completely ignores
  5216. the specified parameter. Peter's commit seems to indicate that is
  5217. the way the MS control implementation works. [Fixes #79325]
  5218. 2006-09-10 Jonathan Chambers <[email protected]>
  5219. * XplatUI.cs: Set default_class_name to be composed
  5220. of current domain id. This allows MWF to be loaded in multiple
  5221. domains on Win32.
  5222. 2006-09-09 Miguel de Icaza <[email protected]>
  5223. * X11Keyboard.cs: If we are unable to obtain the input method, do
  5224. not call CreateXic to create the input context. Should fix
  5225. #78944/79276.
  5226. 2006-09-08 Alexander Olk <[email protected]>
  5227. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  5228. Simplified gnome support by adding more pinvokes to get the
  5229. icon for a file or mime type.
  5230. 2006-09-08 Jackson Harper <[email protected]>
  5231. * MenuAPI.cs: Deslect popup context menu items before closing the
  5232. window, so that you don't see the previously selected item
  5233. selected when you reopen the menu.
  5234. * TextControl.cs: Update the cursor position even if we don't have
  5235. focus. This fixes typing in things like the ComboBox. I'm not
  5236. totally sure we should always set the visibility if we don't have
  5237. focus, but couldn't find any corner cases where the cursor showed
  5238. up when it shouldn't.
  5239. 2006-09-08 Chris Toshok <[email protected]>
  5240. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  5241. our arrays are length 256. & 0xff before indexing. Fixes the
  5242. crash in bug #78077.
  5243. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  5244. * ThemeWin32Classic.cs:
  5245. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  5246. is true. Handle that check box too.
  5247. 2006-09-07 Chris Toshok <[email protected]>
  5248. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  5249. 79244.
  5250. 2006-09-07 Chris Toshok <[email protected]>
  5251. * Control.cs: in set_BackColor only do the work if
  5252. background_color != value.
  5253. * XplatUIX11.cs: move the clearing of invalid areas (both client
  5254. and nc) to the same block of code where we set (nc_)expose_pending
  5255. to false. That is, move it from PaintEventEnd to PaintEventStart,
  5256. so things that cause invalidates from within OnPaint will trigger
  5257. another call to OnPaint. Fixes bug #79262.
  5258. 2006-09-07 Alexander Olk <[email protected]>
  5259. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  5260. * FileDialog.cs: Fix typo
  5261. 2006-09-07 Jackson Harper <[email protected]>
  5262. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  5263. for tab pages if they have any.
  5264. 2006-09-06 Mike Kestner <[email protected]>
  5265. * Splitter.cs: use the "current" rect when finishing drag handle
  5266. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  5267. 2006-09-06 Mike Kestner <[email protected]>
  5268. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  5269. support offset splitters. [Fixes #79298]
  5270. 2006-09-06 Alexander Olk <[email protected]>
  5271. * Mime.cs: Fixed a bug that could override the global mime type
  5272. result.
  5273. 2006-09-05 Jackson Harper <[email protected]>
  5274. * TabControl.cs: Better calculation method for setting the slider
  5275. pos. Prevents crashes on really wide tabs.
  5276. - Draw Image on tab pages if an image list is used.
  5277. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  5278. * MonthCalendar.cs: When Font changes, the Size should be
  5279. updated to fit the new font's space requirements.
  5280. 2006-09-02 Alexander Olk <[email protected]>
  5281. * ListBox.cs: If the items are cleared with Items.Clear set
  5282. top_index to 0.
  5283. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  5284. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  5285. fire DateChanged event instead of DateSelected event when
  5286. the date was changed by keyboard interaction.
  5287. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  5288. * DateTimePicker.cs: Handle DateChanged for the associated
  5289. month_calendar control, and set month_calendar.Font from
  5290. OnFontChanged method, as well as resize the height of the
  5291. control when needed. Make PreferredHeight proportional.
  5292. 2006-09-01 Chris Toshok <[email protected]>
  5293. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  5294. properties.
  5295. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  5296. 2006-09-01 Peter Dennis Bartok <[email protected]>
  5297. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  5298. for decorations (Fixes #79219)
  5299. 2006-09-01 Mike Kestner <[email protected]>
  5300. * ComboBox.cs: first stab at sorting plus some selection handling
  5301. fixes to bring us more in line with MS behavior. Also switches back
  5302. to index based selection. Alternative patches for index-based
  5303. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  5304. and [email protected] on bug 78848. I assume they were similar to this
  5305. code I've had simmering in my tree forever.
  5306. [Fixes #78848]
  5307. 2006-09-01 Chris Toshok <[email protected]>
  5308. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  5309. when setting list position guard against ending up with a -1 index
  5310. (the other part of the fix for #78812). Should probably make sure
  5311. we don't need the analogous fix in the ItemDeleted case.
  5312. * DataGrid.cs:
  5313. - in SetDataSource, work around the fact that the way
  5314. OnBindingContextChanged is invoked will cause us to re-enter this
  5315. method. I'll remove the hack once I investigate
  5316. OnBindingContextChanged.
  5317. - fix the logic in set_DataSource and set_DataMember (basically
  5318. what to do if the other of the two is null.)
  5319. - in OnListManagerItemChanged, we need to take into account the
  5320. edit row when deciding whether or not to call RecreateDataGridRows
  5321. (part of the fix for #78812).
  5322. 2006-09-01 Jackson Harper <[email protected]>
  5323. * Splitter.cs: Don't do anything if there is no control to affect
  5324. (prevents us from crashing in weird tet cases).
  5325. * TreeView.cs: Bounding box for the mouse movement reverting
  5326. focus/selection back to previously selected node. This matches
  5327. MS, and makes the tree a lot more useable.
  5328. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  5329. use clipping so they are not drawn. This fixes when the control
  5330. is set to have a transparent background, or if it was over an
  5331. image.
  5332. 2006-09-01 Alexander Olk <[email protected]>
  5333. * MimeIcon.cs: Improved handling for reading default icons when
  5334. using gnome (2.16 made it necessary). Check and read svg icons
  5335. first, then 48x48 and then 32x32 icons.
  5336. 2006-08-31 Chris Toshok <[email protected]>
  5337. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  5338. visible.
  5339. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  5340. ProcessKeyPreview. Fixes part of #77806.
  5341. * DataGrid.cs: big patch.
  5342. - revert the queueing up of DataSource/DataMember if inside
  5343. BeginInit/EndInit calls. That's not the way the datagrid achieves
  5344. its delayed databinding. Instead, call SetDataSource in
  5345. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  5346. #78811.
  5347. - Also, it wasn't mentioned in #78811, but the test case exhibits
  5348. behavior that was lacking in our datagrid implementation - Columns
  5349. that have mapping names that don't exist in the datasource's
  5350. properties aren't shown. Yuck. To fix this I added the bound
  5351. field to the column style, and basically any calculation to figure
  5352. out anything about columns uses a loop to find the bound columns.
  5353. still need to investigate if I can cache an array of the bound
  5354. columns or if the indices must be the same.
  5355. - When setting CurrentCell, we no longer abort if the cell being
  5356. edited was in the add row. This fixes the other part of #77806.
  5357. - The new code also fixes #78807.
  5358. * ThemeWin32Classic.cs: perpetrate the same disgusting
  5359. column.bound field hack, and only render bound fields.
  5360. 2006-08-31 Chris Toshok <[email protected]>
  5361. * DataGridColumnStyle.cs: add bound field. this field is true if
  5362. the datasource has a property corresponding to the mapping name.
  5363. * DataGridTableStyle.cs: set the bound field on the column styles
  5364. depending on whether or not we have a column for that property.
  5365. 2006-08-31 Peter Dennis Bartok <[email protected]>
  5366. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  5367. splitter control (fixes #79228)
  5368. 2006-08-31 Chris Toshok <[email protected]>
  5369. * DataGridColumnStyle.cs: we need to delay the assignment of
  5370. property descriptor until the last possible moment due to the lazy
  5371. databinding stuff in the datagrid. Also, fix the exceptions
  5372. thrown by CheckValidDataSource to match MS.
  5373. 2006-08-31 Jackson Harper <[email protected]>
  5374. * Form.cs: When activated select the active control, if there is
  5375. no active control, we select the first control.
  5376. * XplatUIX11.cs: If there is no focus control when we get a
  5377. FocusIn event, find the toplevel form and activate it. This
  5378. occurs when you popup a window, it becomes the focus window, then
  5379. you close that window, giving focus back to the main window.
  5380. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  5381. * MonthCalendar.cs:
  5382. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  5383. as StringFormat with Center alignments in MonthCalendar,
  5384. instead of creating new ones when drawing the control.
  5385. Also, draw the month name in bold style.
  5386. 2006-08-30 Peter Dennis Bartok <[email protected]>
  5387. * Control.cs:
  5388. - PerformLayout(): It would seem MS performs the fill even if the
  5389. control is not visible (part of #79218 fix)
  5390. - ResetBackColor(): Use the setter to reset the color, to allow
  5391. overriders to catch the change.
  5392. * Form.cs:
  5393. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  5394. - CreateHandle(): dito (part of $79218 fix)
  5395. - Don't set an icon if we have a dialog
  5396. * ScrollableControl.cs:
  5397. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  5398. - ScrollIntoView(): No need to scroll if control is already visible
  5399. (resolves fixme and fixes #79218)
  5400. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  5401. * MonthCalendar.cs: Change proportions in SingleMonthSize
  5402. to match the aspect of the original control.
  5403. 2006-08-29 Alexander Olk <[email protected]>
  5404. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  5405. get updated when they get maximized.
  5406. 2006-08-29 Peter Dennis Bartok <[email protected]>
  5407. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  5408. 2006-08-29 Chris Toshok <[email protected]>
  5409. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  5410. 2006-08-29 Jackson Harper <[email protected]>
  5411. * TreeView.cs: Need to track selected node and highlighted node,
  5412. they aren't always the same thing, when the mouse is down on a
  5413. node it is hilighted, but not selected yet.
  5414. - Do the HideSelection stuff right
  5415. - Need to focus on rbutton mouse down. And redraw selection when
  5416. right click is mouse upped.
  5417. 2006-08-29 Mike Kestner <[email protected]>
  5418. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  5419. when SubItems.Count < Columns.Count. [Fixes #79167]
  5420. 2006-08-28 Peter Dennis Bartok <[email protected]>
  5421. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  5422. 2006-08-28 Peter Dennis Bartok <[email protected]>
  5423. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  5424. from X. Only send based on ConfigureNotify if we don't have the
  5425. correct location in hwnd (if the window manager moved us)
  5426. 2006-08-28 Mike Kestner <[email protected]>
  5427. * ListView.cs: remove a TODO.
  5428. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  5429. [Fixes ListView part of #79166]
  5430. 2006-08-28 Mike Kestner <[email protected]>
  5431. * ListView.cs: move wheel handler to parent since it is focused
  5432. instead of the item_control now. [Fixes #79177]
  5433. 2006-08-28 Mike Kestner <[email protected]>
  5434. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  5435. when the control is focused. [Fixes #79171]
  5436. 2006-08-28 Mike Kestner <[email protected]>
  5437. * ListView.cs: size the item and header controls for empty and
  5438. unscrollable views.
  5439. * ThemeWin32Classic.cs: draw disabled backgrounds.
  5440. [Fixes #79187]
  5441. 2006-08-28 Chris Toshok <[email protected]>
  5442. * Form.cs: remove unused "active_form" static field.
  5443. * Hwnd.cs: lock around accesses to static windows collection.
  5444. * Application.cs: lock threads in Exit ().
  5445. 2006-08-28 Chris Toshok <[email protected]>
  5446. * NativeWindow.cs: lock around accesses to window_collection.
  5447. 2006-08-28 Chris Toshok <[email protected]>
  5448. * Control.cs: err, fix this the right way, by locking on controls
  5449. when using it. not by making it synchronized.
  5450. 2006-08-28 Chris Toshok <[email protected]>
  5451. * Control.cs: make the static "controls" field synchronized, as it
  5452. gets updated from multiple threads.
  5453. 2006-08-27 Peter Dennis Bartok <[email protected]>
  5454. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  5455. Prevent other threads from exiting when calling thread sets quit state.
  5456. * XEventQueue.cs: Added PostQuitState property
  5457. 2006-08-27 Chris Toshok <[email protected]>
  5458. * AsyncMethodData.cs: add a slot for the window handle.
  5459. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  5460. window (the destination control's window, not the foster window).
  5461. * Control.cs (BeginInvokeInternal): store the window's handle in
  5462. the AsyncMethodData.
  5463. 2006-08-27 Peter Dennis Bartok <[email protected]>
  5464. * XplatUIX11.cs:
  5465. - PostQuitMessage: Removed resetting S.D display handle, we might have
  5466. another loop started after calling PostQuitMessage (Fixes #79119)
  5467. - Created destructor to reset S.D handle
  5468. 2006-08-27 Peter Dennis Bartok <[email protected]>
  5469. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  5470. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5471. * TextControl.cs (Insert): Update the caret position even if we don't
  5472. have a handle yet, just don't call the driver in that case.
  5473. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  5474. to the end of the new selection text (Fixes #79184)
  5475. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5476. * Form.cs (Activate): Only activate if the handle is created)
  5477. * Control.c:
  5478. - Mark window as invisible when it's disposed
  5479. - Check if window handle is created when setting window visible,
  5480. instead of relying just on the is_created variable
  5481. - Check if object is disposed when creating the control (Fixes #79155)
  5482. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5483. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  5484. when allowing layout again. Otherwise we re-generate the anchoring
  5485. distance to the border again and actually alter what the user wanted
  5486. This is ugly, it'd be better if we used DisplayRectangle instead of
  5487. ClientRectangle for Control.UpdateDistances, but that causes us to
  5488. have other problems (initial anchoring positons would be wrong)
  5489. (Fixes #78835)
  5490. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5491. * Control.cs:
  5492. - The size and location setters shouldn't go directly to
  5493. SetBoundsCore, but to SetBounds, which triggers layout on the
  5494. parent, then calls SetBoundsCore. (Related to fix for #78835)
  5495. - SetBounds: Moved actual location update code into this function
  5496. from SetBoundsCore, to match MS. Added call to PerformLayout if
  5497. we have a parent (to trigger resizing of anchored parents if the
  5498. child size has changed (see testcase for #78835)
  5499. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  5500. new control code
  5501. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  5502. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5503. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  5504. System.Drawing when a toplevel window gets closed; there might
  5505. be other toplevel windows belonging to the same app (Fixes #78052)
  5506. 2006-08-26 Alexander Olk <[email protected]>
  5507. * FileDialog.cs: After reading FileDialog settings from mwf_config
  5508. use Desktop prefix only if a real folder doesn't exist anymore.
  5509. * FontDialog.cs: Added char sets.
  5510. It is now possible to select the font, size or style with the
  5511. textboxes.
  5512. 2006-08-25 Kornél Pál <[email protected]>
  5513. * PrintPreviewDialog.cs: Use assembly name constants.
  5514. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5515. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  5516. scrollbar from whacking it's buttons)
  5517. 2006-08-24 Chris Toshok <[email protected]>
  5518. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  5519. in this patch (aggregating setting Left/Top/Width/Height to
  5520. setting Bounds on the scrollbars), but the crux of the fix is in
  5521. Recalculate, where we scroll by the remaining scroll_position if
  5522. we're hiding a scrollbar. The 2*$5 reward in the comment is
  5523. serious.
  5524. 2006-08-24 Jackson Harper <[email protected]>
  5525. * MdiClient.cs:
  5526. * MdiWindowManager.cs: If the form is made a non-mdi window we
  5527. need to remove the form closed event so that closing forms works
  5528. correctly.
  5529. 2006-08-24 Jackson Harper <[email protected]>
  5530. * Control.cs: Make IsRecreating internal so that the driver can
  5531. check it
  5532. - Temporarily remove the Hide when controls are removed, its
  5533. making a whole bunch of things not work because visibility isn't
  5534. getting reset elsewhere correctly
  5535. * Form.cs: Need to do a full handle recreation when the mdi parent
  5536. is set.
  5537. * XplatUIX11.cs: If we are recreating handles don't dispose the
  5538. HWNDs. What was happening is the handles were being recreated in
  5539. SendWMDestroyMessages, but then flow continued on in that method
  5540. and destroyed the new handles.
  5541. 2006-08-23 Jackson Harper <[email protected]>
  5542. * Form.cs: MdiClient is always at the back of the bus
  5543. * Control.cs: When the order of items in the collection is changed
  5544. we need to reset the all_controls array
  5545. - do the same sorta setup thats done when adding a control when a
  5546. control is set on the collection.
  5547. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5548. * TextBoxBase.cs (get_Text): Return an empty array if our document
  5549. is empty (fixes #79052)
  5550. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5551. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  5552. on WM_SYSCHAR messages (fixes #79053)
  5553. 2006-08-23 Chris Toshok <[email protected]>
  5554. * DataGrid.cs: fix flickering when scrolling vertically.
  5555. 2006-08-23 Chris Toshok <[email protected]>
  5556. * DataGrid.cs (EndEdit): only invalidate the row header when we
  5557. need to.
  5558. 2006-08-23 Chris Toshok <[email protected]>
  5559. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  5560. methods. fixes the flicker when scrolling around.
  5561. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5562. * FileDialog.cs: Making sure the control is created before we get a
  5563. chance to use it with BeginInvoke (Fixes #79096)
  5564. 2006-08-23 Chris Toshok <[email protected]>
  5565. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  5566. width to use when painting the rows.
  5567. 2006-08-23 Peter Dennis Bartok <[email protected]>
  5568. * TextBoxBase.cs:
  5569. - Throw ArgumentException if a negative value is passed to SelectionLength
  5570. - Update the selection end if start is moved. end needs to be always
  5571. after start. (Fixes #79095)
  5572. - Track selection length; MS keeps the selection length even if start
  5573. is changed; reset on all other operations affection selection
  5574. 2006-08-22 Jackson Harper <[email protected]>
  5575. * TreeView.cs: Make sure both scrollbars get displayed and sized
  5576. correctly when the other bar is visible.
  5577. - Use the original clip rectangle for checking if the area between
  5578. the two scrollbars is visible, not the viewport adjusted clipping
  5579. rectangle.
  5580. 2006-08-22 Jackson Harper <[email protected]>
  5581. * Binding.cs: We don't use IsBinding because it requires the
  5582. control to be created, which really shouldn't be necessary just to
  5583. set a property on the control.
  5584. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  5585. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  5586. ArgumentNullReferenceException when the argument is null.
  5587. 2006-08-21 Jackson Harper <[email protected]>
  5588. * Timer.cs: Track the thread that the timer is started in (NOT
  5589. CREATED), this way messages for it will only be triggered on its
  5590. queue.
  5591. * XEventQueue.cs: Track the timers here, this makes timers per
  5592. thread, like MS.
  5593. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  5594. 2006-08-19 Chris Toshok <[email protected]>
  5595. * XplatUIX11.cs: after further communication with pdb, we get the
  5596. best of both worlds. SetZOrder working for un-Mapped windows, and
  5597. no X errors for un-mapped windows.
  5598. 2006-08-19 Chris Toshok <[email protected]>
  5599. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  5600. as it was causing pdn toolbars to not have the correct stacking.
  5601. 2006-08-18 Mike Kestner <[email protected]>
  5602. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  5603. calculation. Not sure why control should ever be setting a negative
  5604. width though. Fixes #78931.
  5605. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  5606. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  5607. null items in ObjectCollection class.
  5608. * ListBox.cs.: Likewise.
  5609. 2006-08-18 Atsushi Enomoto <[email protected]>
  5610. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  5611. as the base method in ThemeWin32Classic should work fine.
  5612. Fixed bug #78607.
  5613. 2006-08-18 Jackson Harper <[email protected]>
  5614. * Binding.cs: When validating if the value entered doesn't convert
  5615. properly reset to the old value.
  5616. * RadioButton.cs: Don't fire click when we get focus.
  5617. 2006-08-18 Jackson Harper <[email protected]>
  5618. * FileDialog.cs: Paint the selection on the directory combobox the
  5619. same way as on MS.
  5620. 2006-08-17 Jackson Harper <[email protected]>
  5621. * ErrorProvider.cs: Don't allow the error control to be selected.
  5622. * Control.cs: Don't send the SetFocus messages, the control
  5623. activation will do this, and if we do it blindly here validation
  5624. does not work.
  5625. 2006-08-17 Jackson Harper <[email protected]>
  5626. * Control.cs:
  5627. * ContainerControl.cs: Make validation events fire in the correct
  5628. order. TODO: For some reason the first validation event is not
  5629. getting fired.
  5630. 2006-08-17 Mike Kestner <[email protected]>
  5631. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  5632. 2006-08-17 Mike Kestner <[email protected]>
  5633. * ComboBox.cs : implement scroll wheel support for popped-down
  5634. state. Fixes #78945.
  5635. 2006-08-17 Jackson Harper <[email protected]>
  5636. * TreeView.cs: Specify treeview actions (old patch that didn't get
  5637. committed for some reason).
  5638. - Don't let the mouse wheel scroll us too far. Just want to make
  5639. the bottom node visible, not scroll it all the ways to the top.
  5640. 2006-08-17 Jackson Harper <[email protected]>
  5641. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  5642. 2006-08-17 Mike Kestner <[email protected]>
  5643. * ComboBox.cs : don't do mouseover selection in simple mode.
  5644. 2006-08-16 Jackson Harper <[email protected]>
  5645. * Form.cs: Fire the closing events for all the mdi child windows
  5646. when a window is closed. If the cancel args are set to true, the
  5647. main window still gets the event fired, but it doesn't not close.
  5648. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  5649. handler, instead of when the button is clicked, so cancelling the
  5650. close works correctly.
  5651. * ComboBox.cs: Send the mouse down to the scrollbar.
  5652. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  5653. * ListBox.cs: When passing 'null' to SelectedItem,
  5654. set SelectedIndex to -1, to unselect items. This is the
  5655. observed behaviour in .Net.
  5656. 2006-08-16 Peter Dennis Bartok <[email protected]>
  5657. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  5658. MS flags saying there won't be any. (fixes #78800)
  5659. * Control.cs (HandleClick): Made virtual
  5660. 2006-08-16 Atsushi Enomoto <[email protected]>
  5661. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  5662. cultures. Fixed bug #78399.
  5663. 2006-08-16 Jackson Harper <[email protected]>
  5664. * Form.cs: Use the MdiClients MdiChildren property to access
  5665. MdiChildren instead of creating the array from the child controls.
  5666. * MdiClient.cs: Maintain a separate array of the mdi children, so
  5667. that insertion order is maintained when the Z-order is changed.
  5668. 2006-08-16 Mike Kestner <[email protected]>
  5669. * ListView.cs : add an ItemComparer and default to it for sorting.
  5670. Fixes #79076, but sorting needs a complete overhaul to be compat with
  5671. MS.
  5672. 2006-08-15 Peter Dennis Bartok <[email protected]>
  5673. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  5674. 2006-08-15 Peter Dennis Bartok <[email protected]>
  5675. * Hwnd.cs (Mapped): Properly traverse the tree
  5676. 2006-08-15 Chris Toshok <[email protected]>
  5677. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  5678. pass manager.Current.GetType() to ParseData. It has to be the
  5679. property type. So, hold off doing the ParseData until we're in
  5680. SetPropertyValue where we know the type. This fixes the crash in
  5681. #78821 but the textbox is still empty.
  5682. 2006-08-15 Chris Toshok <[email protected]>
  5683. * DataGrid.cs:
  5684. - when we're scrolling, only call Edit() again if the
  5685. current cell is still unobscured. Fixes bug #78927.
  5686. - when handling mousedown on a cell, ensure the cell is visible
  5687. before calling Edit.
  5688. - remove the properties from DataGridRow, and remove the
  5689. DataGridParentRow class altogether.
  5690. 2006-08-15 Peter Dennis Bartok <[email protected]>
  5691. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  5692. fire OnTextChanged by ourselves. There's no point calling base,
  5693. we don't set the base value anywhere else. Fixes #78773.
  5694. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  5695. * ListBox.cs: Call CollectionChanged when modifying
  5696. an item from Items indexer, to update the actual items
  5697. in the list box.
  5698. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  5699. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  5700. to match .Net behaviour.
  5701. 2006-08-15 Peter Dennis Bartok <[email protected]>
  5702. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  5703. 2006-08-15 Peter Dennis Bartok <[email protected]>
  5704. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  5705. 2006-08-15 Peter Dennis Bartok <[email protected]>
  5706. * MessageBox.cs: Prevent potential NRE exception.
  5707. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  5708. 2006-08-14 Peter Dennis Bartok <[email protected]>
  5709. * MessageBox.cs: Calculate the owner of a messagebox, also make
  5710. it topmost. Fixes #78753
  5711. 2006-08-14 Chris Toshok <[email protected]>
  5712. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  5713. programmatically move windows. first, set the PPosition hint as
  5714. well as the USPosition hint. Second include some code from pdb
  5715. that sets the window type to NORMAL when we set the transient for
  5716. hint. This is because, in the absence of a window type, metacity
  5717. thinks any window with TransientFor set is a dialog, and refuses
  5718. to let us move it programmatically. fascists.
  5719. 2006-08-14 Peter Dennis Bartok <[email protected]>
  5720. * XplatUIX11.cs: When setting normal hints, take into consideration
  5721. an different hints previously set so we don't delete them (fixes #78866)
  5722. 2006-08-12 Chris Toshok <[email protected]>
  5723. * ToolBarButton.cs: make Layout return a boolean, if something to
  5724. do with the button's layout changed.
  5725. * ToolBar.cs:
  5726. - add another parameter to Redraw, @force, which all existing
  5727. calls set to true.
  5728. - make the Layout function return a boolean which is true if the
  5729. layout has actually changed. Redraw now uses this (and @force)
  5730. to determine when to invalidate. At present the only place
  5731. where @force can be false is the call from OnResize, when
  5732. background_image == null. So, resizing a toolbar when the
  5733. layout doesn't change results in no drawing.
  5734. 2006-08-12 Chris Toshok <[email protected]>
  5735. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  5736. the VScrollBar and HScrollbar reversed. oops.
  5737. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  5738. scrollbars. we were assigning them twice (once in
  5739. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  5740. therefore causing two scrollbar resizes (and redraws?) to happen
  5741. per grid resize.
  5742. 2006-08-12 Chris Toshok <[email protected]>
  5743. * ToolBarButton.cs: redraw the entire button if the theme tells us
  5744. to.
  5745. * Theme.cs: add ToolBarInvalidateEntireButton.
  5746. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  5747. buttons, just the border.
  5748. * ThemeNice.cs: redraw the entire toolbar button since we need to
  5749. draw the highlight image.
  5750. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  5751. we need to redraw the entire button (not just the border).
  5752. 2006-08-11 Peter Dennis Bartok <[email protected]>
  5753. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  5754. for vertical bars. Fixes the mismatches shown by #78513
  5755. 2006-08-11 Alexander Olk <[email protected]>
  5756. * FileDialog.cs: If a saved/remembered path doesn't exist
  5757. anymore, fall back to "Desktop".
  5758. 2006-08-11 Peter Dennis Bartok <[email protected]>
  5759. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  5760. parent. It's apparently legal to not have one
  5761. * XplatUIX11.cs:
  5762. - SetZOrder: Don't try to set Z-Order on an unmapped window
  5763. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  5764. it unless the coordinates are negative
  5765. 2006-08-10 Mike Kestner <[email protected]>
  5766. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  5767. when setting to null per msdn docs. Fixes #78854.
  5768. 2006-08-10 Chris Toshok <[email protected]>
  5769. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  5770. flickering by setting a clip rectangle on the Graphics when we
  5771. need to redraw just a particular menuitem. Also, rename "OnClick"
  5772. to "OnMouseDown" to reflect what it actually is.
  5773. * Form.cs: track the OnMouseDown change.
  5774. 2006-08-10 Peter Dennis Bartok <[email protected]>
  5775. * CommonDialog.cs: Properly inherit the CreateParams from the form
  5776. and only change what we need. Fixes #78865
  5777. 2006-08-10 Chris Toshok <[email protected]>
  5778. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  5779. flickering in flat mode (and most of the flickering in general) by
  5780. only invalidating the button border (and not the entire rectangle)
  5781. when the state changes. A couple of cases still flicker:
  5782. ToggleButtons, and the dropdown arrow case when the user mouse
  5783. ups.
  5784. 2006-08-10 Alexander Olk <[email protected]>
  5785. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  5786. for german keyboards. Numlock state shouldn't affect the behaviour
  5787. of the Del key. Fixes bug #78291.
  5788. 2006-08-10 Chris Toshok <[email protected]>
  5789. * ListControl.cs: remove the items.Clear line from BindDataItems,
  5790. as this is the first thing done by both subclasses in their
  5791. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  5792. passed -1, refresh the list. This gets databinding working when
  5793. the datasource is set on the list before the datasource is
  5794. populated (as in wf-apps/ReportBuilder.)
  5795. * ComboBox.cs: remove the argument to BindDataItems. This call
  5796. should really go away, and be initiated by the ListControl code.
  5797. * ListBox.cs: same.
  5798. 2006-08-09 Peter Dennis Bartok <[email protected]>
  5799. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  5800. if no data is in the document when the control is displayed
  5801. 2006-08-09 Peter Dennis Bartok <[email protected]>
  5802. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  5803. yes (fixes #78806)
  5804. * TextControl.cs:
  5805. - PositionCaret: Allow positioning of caret but don't call methods
  5806. requiring a handle if the window isn't created yet
  5807. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  5808. - owner_HandleCreated: Don't position the caret, just update it's
  5809. location. User might have already set a different position
  5810. 2006-08-09 Peter Dennis Bartok <[email protected]>
  5811. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  5812. windows. Screws up the returned coordinates for child windows.
  5813. Fixes #78825. I'm hoping this doesn't break something, since the
  5814. code was explicitly put in 8 months ago, but no bug was attached.
  5815. Menus still seem to work properly.
  5816. 2006-08-08 Chris Toshok <[email protected]>
  5817. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  5818. supposed to do - delay data binding until the EndInit call. Also,
  5819. make the table style collection's CollectionChangeAction.Refresh
  5820. work properly.
  5821. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  5822. (with action = Refresh) when a consituent table's MappingName is
  5823. changed.
  5824. 2006-08-08 Chris Toshok <[email protected]>
  5825. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  5826. Invalidate, since changing the text can change the size of the all
  5827. toolbar buttons.
  5828. 2006-08-08 Peter Dennis Bartok <[email protected]>
  5829. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  5830. we don't have it yet
  5831. 2006-08-08 Chris Toshok <[email protected]>
  5832. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  5833. dialog, as this causes X errors later on, since we actually
  5834. destroy the window. Instead, .Hide() it.
  5835. 2006-08-08 Peter Dennis Bartok <[email protected]>
  5836. * ComboBox.cs: Added focus reflection for popup window
  5837. * XplatUIX11.cs:
  5838. - Removed transient setting for non-app windows for now, not sure it
  5839. was needed
  5840. - Fixed logic checking if we have captions when deciding
  5841. override_redirect, WS_CAPTION is two bits and a 0 check was not
  5842. sufficient
  5843. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  5844. complicated
  5845. * Form.cs:
  5846. - AddOwnedForm: Don't just add the form to the list, call the property
  5847. to ensure the driver is informed about the ownership as well
  5848. - CreateHandle: Set the TopMost status in the driver if we have an owner
  5849. * XplatUI.cs: Fixed debug statement
  5850. 2006-08-08 Jonathan Pobst <[email protected]>
  5851. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  5852. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  5853. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  5854. TrackBarRenderer.cs: Make constructor private.
  5855. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  5856. * ProfessionalColorTable.cs: Make properties virtual.
  5857. 2006-08-06 Duncan Mak <[email protected]>
  5858. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  5859. is not changing.
  5860. 2006-08-04 Jonathan Pobst <[email protected]>
  5861. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  5862. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  5863. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  5864. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  5865. Initial import of new 2.0 classes.
  5866. 2006-08-04 Jonathan Pobst <[email protected]>
  5867. * Application.cs: Add 2.0 VisualStyles properties.
  5868. 2006-08-04 Jonathan Pobst <[email protected]>
  5869. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  5870. XplatUIX11.cs: Create property to allow access to existing private
  5871. variable "themes_enabled"
  5872. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  5873. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  5874. file size, as otherwise our class libraries fail using windows. Fixes
  5875. bug #78759.
  5876. 2006-08-04 Jackson Harper <[email protected]>
  5877. * Form.cs:
  5878. * XplatUIX11.cs: Move the toolwindow window manager creation into
  5879. the X11 driver, this way on win32 we can let windows create/handle
  5880. the toolwindows.
  5881. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  5882. * PrintDialog.cs: Remove some redundant checks, add some others,
  5883. clean some code, and move the focus to the text boxes when the
  5884. values are incorrect.
  5885. 2006-08-04 Alexander Olk <[email protected]>
  5886. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  5887. 2006-08-03 Alexander Olk <[email protected]>
  5888. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  5889. handled correctly. Fixes bug #79001.
  5890. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  5891. * PrintDialog.cs: The "Copies" numeric up down must have
  5892. set the Minimum property to 1; only if the value is bigger
  5893. than 1, activate "Collate" check box. This is the behaviour of .Net.
  5894. Also modify the Document elements only if it is not null.
  5895. 2006-08-03 Jackson Harper <[email protected]>
  5896. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  5897. length. (We have a larger array then actual node count).
  5898. 2006-08-03 Jackson Harper <[email protected]>
  5899. * ComboBox.cs: Don't show selection by default.
  5900. - The SelectAll isn't needed here, since the focus code should do
  5901. that
  5902. - DDL style lists to manual selection drawing, so when they
  5903. get/lose focus they have to invalidate.
  5904. 2006-08-03 Peter Dennis Bartok <[email protected]>
  5905. * TextBoxBase.cs: Don't always show all selections by default.
  5906. 2006-08-03 Jonathan Pobst <[email protected]>
  5907. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  5908. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  5909. Fixed various typos.
  5910. 2006-08-03 Alexander Olk <[email protected]>
  5911. * Control.cs: Removing the controls in a ControlCollection with
  5912. Clear now hides the controls as expected. Fixes bug #78804.
  5913. 2006-08-03 Jackson Harper <[email protected]>
  5914. * Control.cs: Revert previous focus patch, it breaks reflector.
  5915. 2006-08-03 Jackson Harper <[email protected]>
  5916. * ComboBox.cs: Cleanup selection and focus with the combobox.
  5917. This also eliminates some duplicated keyboard code, since now
  5918. everything is handled by the main class.
  5919. - Make list selection work on mouse up instead of down, to match
  5920. MS.
  5921. 2006-08-02 Jackson Harper <[email protected]>
  5922. * Control.cs: Setting focus needs to go through the whole
  5923. selection mechanism.
  5924. 2006-08-02 Chris Toshok <[email protected]>
  5925. * PrintPreviewDialog.cs: change MinimumSize to use
  5926. base.MinimumSize so it works.
  5927. 2006-08-02 Peter Dennis Bartok <[email protected]>
  5928. * TextControl.cs:
  5929. - UpdateCaret: Added sanity check in case caret isn't defined yet
  5930. - Line.Delete: Now updating selection and caret markers if we're
  5931. transfering a node (Properly fixes #78323)
  5932. - SetSelectionEnd: Added sanity check
  5933. * TextBoxBase.cs: Removed broken attempt to fix #78323
  5934. 2006-08-01 Chris Toshok <[email protected]>
  5935. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  5936. Close() call is handled in Form, not here.
  5937. 2006-08-01 Chris Toshok <[email protected]>
  5938. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  5939. layout/rendering.
  5940. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  5941. for sizes < 100% zoom. The code now aggressively attempts to keep
  5942. from calling document.Print (), and tries not to use the scaling
  5943. g.DrawImage whenever possible (it still does if you scale to >
  5944. 100%, since usually that involves huge images).
  5945. * PrintPreviewControl.cs: hook up the close button.
  5946. 2006-08-01 Jonathan Pobst <[email protected]>
  5947. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  5948. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  5949. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  5950. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  5951. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  5952. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  5953. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  5954. Removed [Serializable] for 2.0 Event Handlers.
  5955. 2006-07-31 Jackson Harper <[email protected]>
  5956. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  5957. * TextControl.cs: Uncomment out the body of this method.
  5958. 2006-07-31 Alexander Olk <[email protected]>
  5959. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  5960. standard cursors.
  5961. 2006-07-31 Peter Dennis Bartok <[email protected]>
  5962. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  5963. that embed TextBox and need selections visible even if textbox is not
  5964. focused to enforce that behaviour.
  5965. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  5966. selection drawing
  5967. 2006-07-31 Peter Dennis Bartok <[email protected]>
  5968. * TextControl.cs:
  5969. - Added new SetSelectionStart/SetSelectionEnd overloads
  5970. - Fixed viewport width assignment to be accurate
  5971. - Adjusted alignment line shift calculations to allow cursor on right
  5972. aligned lines to be always visible at the right border (like MS)
  5973. * TextBoxBase.cs:
  5974. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  5975. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  5976. - CalculateScrollBars: Use ViewPort size instead of window size, to
  5977. properly consider space occupied by the border and scrollbars
  5978. (Fixes #78661)
  5979. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  5980. calculations; no longer leaves artifacts
  5981. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  5982. calculation bugs (Still missing right/center align calculations)
  5983. 2006-07-31 Peter Dennis Bartok <[email protected]>
  5984. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  5985. use of both scroll rect and clip rect, as they do the same.
  5986. 2006-07-31 Peter Dennis Bartok <[email protected]>
  5987. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  5988. in the event handler (fixes #78912)
  5989. 2006-07-31 Chris Toshok <[email protected]>
  5990. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  5991. grid.ListManager.Count, since grid.ListManager might be null.
  5992. This of course begs the question "why are we drawing rows for a
  5993. grid with no list manager (and therefor no rows)?" Fixes the
  5994. crash in bug #78929.
  5995. 2006-07-31 Chris Toshok <[email protected]>
  5996. * RelatedPropertyManager.cs: Don't always chain up to the parent
  5997. ctor. instead, call SetDataSource if the parent's position is !=
  5998. -1. Fixes the crash in #78822.
  5999. 2006-07-31 Chris Toshok <[email protected]>
  6000. * DataGrid.cs (get_ListManager): use field instead of property
  6001. accessors for datasource and datamember.
  6002. (RowsCount): make internal again.
  6003. (OnMouseDown): end edits before resizing columns/rows.
  6004. (OnMouseUp): restart edits after resizing columns/rows.
  6005. 2006-07-30 Peter Dennis Bartok <[email protected]>
  6006. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  6007. This fixes the situation where the last set cursor is displayed
  6008. whenever the mouse is over scrollbars.
  6009. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  6010. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  6011. Document properties, as well as initial values.
  6012. 2006-07-29 Peter Dennis Bartok <[email protected]>
  6013. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  6014. and ClientEdge results in a 3-pixel border, which is
  6015. wrong.
  6016. 2006-07-28 Jackson Harper <[email protected]>
  6017. * TreeNodeCollection.cs: Fix the clear method.
  6018. - Fix the Shrink also
  6019. 2006-07-27 Jackson Harper <[email protected]>
  6020. * TreeView.cs: Make sure the visible order is computed when we
  6021. attempt to size the scrollbars (for trees that mess with the
  6022. scrolling when they shouldn't.
  6023. - Make sure to give the scrollbars valid values.
  6024. 2006-07-26 Peter Dennis Bartok <[email protected]>
  6025. * XplatUIX11.cs: Move motion compression code to where it
  6026. has less performance impact
  6027. 2006-07-26 Jackson Harper <[email protected]>
  6028. * UpDownBase.cs: When the control is selected make the child
  6029. controls non selectable, so that a click on them won't do a
  6030. focus/unfocus cycle.
  6031. - Don't give focus to the text box when the spinner is selected.
  6032. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  6033. 2006-07-26 Chris Toshok <[email protected]>
  6034. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  6035. satisfied with this solution. If the bitmaps are small, we should
  6036. just cache them in the PrintPreviewDialog and draw them here.
  6037. Also, the layout is broken for the 2-up and 3-up cases.
  6038. * Theme.cs: add PrintPReviewControlPaint.
  6039. * PrintPreviewDialog.cs: first pass implementation.
  6040. * PrintPreviewControl.cs: first pass implementation. No
  6041. scrollbars yet.
  6042. * PrintDialog.cs: only validate fields if that particular portion
  6043. of the UI is enabled. Also, set the document's controller to a
  6044. PrintControllerWithStatusDialog wrapping the document's print
  6045. controller.
  6046. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  6047. bring up a SaveFileDialog (i hope we don't want to match the
  6048. behavior of the crappy windows file entry) and set the
  6049. PrinterSettings.PrintFileName accordingly.
  6050. 2006-07-26 Jackson Harper <[email protected]>
  6051. * ContainerControl.cs: Add a field that disables auto selecting
  6052. the next control in a container when the container is activated.
  6053. * UpDownBase.cs: Don't select the text box when the up down is
  6054. selected.
  6055. 2006-07-26 Peter Dennis Bartok <[email protected]>
  6056. * XEventQueue.cs: Added methods for peeking (used for compression
  6057. of successive events)
  6058. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  6059. mouse move events (fixes #78732)
  6060. 2006-07-25 Jackson Harper <[email protected]>
  6061. * UpDownBase.cs: Use an internal class for the textbox so that we
  6062. can control focus. the updown control should always have focus,
  6063. if either the text area or the buttons are clicked.
  6064. - Send the key messages to the textbox, since it never actually
  6065. has focus
  6066. - Activate and decativate the textbox caret.
  6067. 2006-07-24 Jackson Harper <[email protected]>
  6068. * Control.cs: Use the directed select when selecting a control,
  6069. this way the container controls override will get called and the
  6070. whole ActiveControl chain will get triggered. TODO: probably need
  6071. to make sure this gets done everywhere instead of the old
  6072. Select(Control).
  6073. * ContainerControl.cs: Implement the directed Select method to
  6074. find and activate the correct child control.
  6075. 2006-07-22 Mike Kestner <[email protected]>
  6076. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  6077. menu handling code so that clicks without a grab work too.
  6078. [Fixes #78914]
  6079. 2006-07-22 Alexander Olk <[email protected]>
  6080. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  6081. Added some small optimizations.
  6082. 2006-07-21 Matt Hargett <[email protected]>
  6083. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  6084. 2006-07-21 Peter Dennis Bartok <[email protected]>
  6085. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  6086. tests pass and match MS in some strange border cases.
  6087. 2006-07-21 Chris Toshok <[email protected]>
  6088. * ThemeWin32Classic.cs: handle drawing of the relation links and
  6089. parent row buttons.
  6090. * Theme.cs: change args to DataGridPaintParentRow.
  6091. * DataGrid.cs: Don't use controls for the relation links and
  6092. parent buttons, so we have to handle all their interactions in
  6093. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  6094. when we're navigating through child tables, so we can reinstate
  6095. selection, expanded state, current cell, etc.
  6096. 2006-07-20 Chris Toshok <[email protected]>
  6097. * ToolBar.cs: When we redraw a button, for whatever reason,
  6098. there's no reason to redraw the entire toolbar. Also, don't call
  6099. Control.Refresh from within Redraw, as it's much heavier than
  6100. Invalidate (which is really what we want).
  6101. 2006-07-20 Chris Toshok <[email protected]>
  6102. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  6103. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  6104. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  6105. traces from within a debug IBindingList datasource
  6106. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  6107. to work in a similar fashion.
  6108. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  6109. * ListBox.cs: Don't call Sort () when setting
  6110. the Sorted property to false (avoid an unnecessary sort).
  6111. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  6112. * ListControl.cs: DataSource should throw an ArgumentException
  6113. instead of a normal exception when the argument is not of the
  6114. correct type.
  6115. 2006-07-20 Mike Kestner <[email protected]>
  6116. * Control.cs: add InternalPreProcessMessage to allow us to steal
  6117. key events before MWF gets its paws on them. Adapted from a
  6118. suggestion by eno.
  6119. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  6120. up/down/left/right navigation. Override the new internal control
  6121. method to steal the events since they never make it to WndProc.
  6122. * ToolBarButton.cs: don't worry about pushed when setting hilight
  6123. since the drawing code prefers pushed to hilight. Invalidate on
  6124. Hilight changes. Fixes #78547 and #78525.
  6125. 2006-07-20 Peter Dennis Bartok <[email protected]>
  6126. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  6127. the canvas size. Fixes #78868
  6128. 2006-07-20 Peter Dennis Bartok <[email protected]>
  6129. * Splitter.cs: Track requested split position until first layout
  6130. is performed. Fixes #78871
  6131. 2006-07-20 Peter Dennis Bartok <[email protected]>
  6132. * Application.cs: Removed code that forces 1.x for the version
  6133. number if the version started with 0. Not sure why that code was
  6134. there and I couldn't find any bugs that indicated we needed it.
  6135. Fixes #78869
  6136. 2006-07-20 Alexander Olk <[email protected]>
  6137. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  6138. ResetDefaults(), just write some output to the console until it's
  6139. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  6140. 2006-07-19 Jonathan Chambers <[email protected]>
  6141. * PropertyGridView.cs: set StartPosition of drop down forms
  6142. so they appear in correct initial spot. Fixes #78190.
  6143. 2006-07-19 Mike Kestner <[email protected]>
  6144. * ThemeWin32Classic.cs: use parent background color when drawing
  6145. flat toolbars. Restructure the conditionals to make sure non-flat
  6146. non-Divider toolbars are filled too. Fixes #78837.
  6147. 2006-07-19 Mike Kestner <[email protected]>
  6148. * ListBox.cs: Sort on collection changes even if the handle
  6149. isn't created yet. Fixes #78813.
  6150. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  6151. * ListControl.cs: DisplayMember should never be null,
  6152. and now we assign String.Empty when null is passed to it (this
  6153. is the .Net way).
  6154. 2006-07-17 Mike Kestner <[email protected]>
  6155. * ListViewItem.cs: restructure Font and subitem Font handling
  6156. to hold a specific font and refer back to owner on null.
  6157. Fixes #78761.
  6158. 2006-07-17 Mike Kestner <[email protected]>
  6159. * ToolBar.cs: bandaid for side-effect of previous patch which was
  6160. discarding explicit heights for non-AutoSize toolbars. Need to
  6161. extend my format tester to deal with AutoSize=false. Fixes #78864.
  6162. 2006-07-15 Jackson Harper <[email protected]>
  6163. * LabelEditTextBox.cs:
  6164. * TreeView.cs: Use a new LabelEdit class for node editing, this
  6165. class automatically 'closes' itself when it gets the enter key or
  6166. loses focus.
  6167. - Use the client rectangle when setting the trees scrollbars, so
  6168. border style is taken into account.
  6169. 2006-07-14 Jackson Harper <[email protected]>
  6170. * TreeNode.cs:
  6171. * TreeView.cs: Make the editing work similar to MSs, firing the
  6172. events correctly and ending edits correctly.
  6173. 2006-07-14 Mike Kestner <[email protected]>
  6174. * ToolBarButton.cs:
  6175. * ToolBar.cs: layout restructuring and redraw enhancements to support
  6176. formatting changes gracefully, like setting TextAlign, ImageList,
  6177. ButtonSize, and Appearance. Handles explicit button sizing quirks
  6178. of the MS controls. Things like flat toolbars ignoring button size
  6179. but becoming constant sized at the largest button's size. Normal
  6180. toolbars with an image set cannot be shrunk smaller than the image,
  6181. but text can be clipped/ignored.
  6182. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  6183. is zero. Seems like DrawString should be smart enough to not put
  6184. anything on screen though. Also trim labels and ellipsize at the char
  6185. boundary, not word.
  6186. Fixes #78711 and #78483.
  6187. 2006-07-14 Alexander Olk <[email protected]>
  6188. * FolderBrowserDialog.cs: Disable "New Folder" button and
  6189. "New Folder" contextmenu menuitem if a folder like "My Computer"
  6190. is selected.
  6191. 2006-07-14 Alexander Olk <[email protected]>
  6192. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  6193. * FolderBrowserDialog.cs:
  6194. - Use MWFConfig to store and read size and position settings
  6195. - Added code to create a new folder (button or context menu).
  6196. Use TreeView labeledit to change the name of the new folder.
  6197. 2006-07-14 Jackson Harper <[email protected]>
  6198. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  6199. when the tree is scrolled we end editing.
  6200. 2006-07-14 Alexander Olk <[email protected]>
  6201. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  6202. Down arrows
  6203. 2006-07-14 Jonathan Pobst <[email protected]>
  6204. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  6205. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  6206. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  6207. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  6208. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  6209. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  6210. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  6211. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  6212. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  6213. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  6214. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  6215. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  6216. ListViewItemSelectionChangedEventHandler.cs,
  6217. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  6218. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  6219. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  6220. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  6221. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  6222. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  6223. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  6224. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  6225. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  6226. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  6227. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  6228. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  6229. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  6230. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  6231. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  6232. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  6233. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  6234. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  6235. WebBrowserNavigatingEventHandler.cs,
  6236. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  6237. 2006-07-14 Jonathan Pobst <[email protected]>
  6238. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  6239. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  6240. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  6241. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  6242. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  6243. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  6244. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  6245. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  6246. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  6247. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  6248. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  6249. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  6250. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  6251. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  6252. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  6253. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  6254. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  6255. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  6256. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  6257. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  6258. ListViewItemStates.cs, MaskFormat.cs: Added
  6259. 2006-07-13 Jonathan Chambers <[email protected]>
  6260. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  6261. Patch from eno for bug 78558.
  6262. 2006-07-13 Jackson Harper <[email protected]>
  6263. * TreeView.cs: When an edit is finished make sure that the
  6264. selected node is visible.
  6265. - When setting the top/bottom use the scrollbars is_visible, so
  6266. everything will be set correctly even if the tree isn't visible
  6267. yet.
  6268. 2006-07-13 Jackson Harper <[email protected]>
  6269. * ComboBox.cs: Revert the item->index part of my previous patch.
  6270. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  6271. the edit box has lost focus (duh).
  6272. - Just make the edit box not visible when we get return, that will
  6273. take the focus, which will call EndEdit
  6274. * TreeNode.cs When we start editing, notify the treeview.
  6275. 2006-07-12 Jackson Harper <[email protected]>
  6276. * ComboBox.cs: Clear out old items before setting the item list.
  6277. This prevents databound controls from having their items added
  6278. twice.
  6279. - Switch the combobox to use indices whereever possible instead of
  6280. using Item's. This allows usto navigate through lists that have
  6281. more then one item with the same string value (ie a, b, b, a).
  6282. - Scroll the listboxes scrollbar when a non visible item is
  6283. highlighted
  6284. - Allow keypress to cycle through all the possible values. For
  6285. example if you have b1, b2, b3 and hold down the B key all the
  6286. values will be cycled through.
  6287. 2006-07-12 Jackson Harper <[email protected]>
  6288. * TextBoxBase.cs:
  6289. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  6290. this using the internal methods.
  6291. * Control.cs: Add OnGotFocusInternal. A new method that allows
  6292. controls to "override" OnGotFocus and change focus behavior if
  6293. needed.
  6294. - Same thing for LostFocus
  6295. * ComboBox.cs: Pass off focus to the text control properly.
  6296. 2006-07-12 Alexander Olk <[email protected]>
  6297. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  6298. * FolderBrowserDialog.cs: Almost a complete rewrite.
  6299. - Better support for Environment.Specialfolders
  6300. - Added support for MWFVFS
  6301. - Made setting SelectedPath work
  6302. 2006-07-12 Jackson Harper <[email protected]>
  6303. * Control.cs: Optimze getting all the controls.
  6304. 2006-07-11 Jackson Harper <[email protected]>
  6305. * ContainerControl.cs: Override SETFOCUS in the container control,
  6306. so that it is not selected on mouse click.
  6307. 2006-07-11 Peter Dennis Bartok <[email protected]>
  6308. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  6309. Hopefully we will have a better way once all of focus is complete.
  6310. 2006-07-11 Peter Dennis Bartok <[email protected]>
  6311. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  6312. a compile error with csc.
  6313. 2006-07-11 Jackson Harper <[email protected]>
  6314. * Control.cs: When hiding a control only select the next control
  6315. if the current control was focused.
  6316. - Don't handle enter/leave when setting/killing focus, this is
  6317. done by the container control.
  6318. - Remove is_selected, it's not needed anymore.
  6319. - Add utility methods for selecting a child control, and for
  6320. firing the Enter/Leave events.
  6321. * ContainerControl.cs: When a control is activated fire the
  6322. enter/leave events.
  6323. - Don't wrap when processing the tab key, so that focus can be
  6324. moved outside of the container.
  6325. - Use the correct active control
  6326. 2006-07-11 Jackson Harper <[email protected]>
  6327. * ComboBox.cs: Remove some debug code that was blinding me.
  6328. * UpDownBase.cs: These controls actually aren't implicit, they are
  6329. visible to the user.
  6330. 2006-07-10 Chris Toshok <[email protected]>
  6331. * DataGrid.cs: move back to the is_adding boolean field. god i
  6332. hate this is_editing/is_adding/is_changing stuff.
  6333. 2006-07-10 Chris Toshok <[email protected]>
  6334. * DataGridTableStyle.cs: just check if the property type is bool.
  6335. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  6336. Don't use CanRenderType.
  6337. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  6338. if our text == NullText. Remove CanRenderType.
  6339. * DataGridBoolColumn.cs: nuke CanRenderType.
  6340. * DataGrid.cs: reenable some code to end the current edit inside
  6341. of set_CurrentCell. This fixes the other 1.1.16 regression.
  6342. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  6343. Also, remove the visible_row_count arg from CalcRowHeaders, since
  6344. we don't need to worry about the actual height of the area.
  6345. 2006-07-10 Chris Toshok <[email protected]>
  6346. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  6347. mode, just return.
  6348. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  6349. the real sense of the IsInEditOrNavigateMode property (true =
  6350. navigate, false = edit). Also, update OnKeyPress to reflect this.
  6351. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  6352. column style exists, we still need to set its property descriptor
  6353. to match up with our list manager.
  6354. 2006-07-10 Chris Toshok <[email protected]>
  6355. * ThemeWin32Classic.cs: implement the new row/header painting
  6356. approach. The parent row painting will likely go away and
  6357. replaced with label controls, but the rest seems to work ok (and
  6358. efficiently).
  6359. * Theme.cs: change the way we draw datagrid rows. we don't draw
  6360. the row headers as a block now. Instead we draw them in the
  6361. normal draw-row loop. Add some calls for drawing parent rows and
  6362. relation rows.
  6363. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  6364. a default table style. Set the defaults from ThemeEngine.Current,
  6365. not SystemColors. Fix lots of misc issues with property setters.
  6366. * DataGrid.cs: move loads of style information out of this class
  6367. as it's being duplicated with DataGridTableStyle. keep track of a
  6368. special DataGridTableStyle for the properties we used to mirror
  6369. here. Switch all the style properties to access this table style
  6370. instead of instance fields of this class. Also add a internal
  6371. class to represent parent rows (more needs to be stored here, like
  6372. the selection state from the parent table, as well as the
  6373. expansion state.) Also, for datasources with relations, do the
  6374. right thing for collapse/expand, and add support for the
  6375. navigation/parent row buttons.
  6376. Lastly, fix the crash in the 1.1.16 build.
  6377. * GridTableStylesCollection.cs: make the explicit interface
  6378. implementations call the class's methods as opposed to duplicating
  6379. them.
  6380. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  6381. 0 so the text doesn't jump around when we move the cursor.
  6382. 2006-07-10 Jackson Harper <[email protected]>
  6383. * TextBoxBase.cs:
  6384. * ListBox.cs: Match MS's ToString (this makes debugging focus
  6385. stuff infinitely easier).
  6386. 2006-07-10 Jackson Harper <[email protected]>
  6387. * Control.cs (SelectNextControl): When checking the control's
  6388. parent use this instead of ctrl.parent so that null can be passed
  6389. to SelectNextControl. (I have unit tests for this).
  6390. - Remove unused var.
  6391. 2006-07-10 Chris Toshok <[email protected]>
  6392. * CurrencyManager.cs: correct one regression, the removal of the
  6393. finalType field. Also, add a MonoTODO on CanAddRows, implement
  6394. Refresh() correctly, and fix some event emission in
  6395. ListChangedHandler.
  6396. 2006-07-07 Alexander Olk <[email protected]>
  6397. * FileDialog.cs: Don't use brackets for new folders if they exist
  6398. under *nix. Instead use -(number of existing folders +1).
  6399. 2006-07-07 Alexander Olk <[email protected]>
  6400. * FileDialog.cs:
  6401. - Fixed really nasty bug #78771
  6402. - Don't block the whole GUI when reading directories with a lot of
  6403. entries. Use an other thread instead and call BeginInvoke to
  6404. update the ListView in MWFFileView
  6405. 2006-07-07 Chris Toshok <[email protected]>
  6406. * Control.cs (Dispose): release any Capture when disposing.
  6407. 2006-07-07 Chris Toshok <[email protected]>
  6408. * LinkLabel.cs (Select): if we chain up to the parent, set
  6409. focused_index to -1 so we'll search for the first available link
  6410. the next time the user tabs into us. Also, if the direction is
  6411. backward and focused_index == -1, start the search from the last
  6412. element.
  6413. 2006-07-07 Chris Toshok <[email protected]>
  6414. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  6415. is beyond the end of the text, don't do anything.
  6416. (CreateLinkPieces): set our ControlStyles.Selectable based on
  6417. whether or not we have any links.
  6418. (Link.Invalidate): use a loop instead of foreach.
  6419. (Link.set_Start): null out owner.sorted_links so it'll be
  6420. recreated by CreateLinkPieces.
  6421. 2006-07-06 Chris Toshok <[email protected]>
  6422. * LinkLabel.cs: revert the SetStyle change.
  6423. 2006-07-06 Chris Toshok <[email protected]>
  6424. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  6425. (OnEnableChanged): s/Refresh/Invalidate
  6426. (OnGotFocus): if we have a focused index already, refocus it (so
  6427. if we mouse out/in to the window it'll focus the right link).
  6428. (OnKeyDown): move the tab handling out of here.
  6429. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  6430. when we lose focus.
  6431. (OnMouseDown): don't Capture here - Control handles it. Also,
  6432. focus the active link.
  6433. (OnMouseUp): don't deal with Capture.
  6434. (OnPaintBackgroundInternal): remove.
  6435. (OnTextAlignChanged): CreateLinkPieces before calling the
  6436. superclass's method.
  6437. (OnTextChanged): call CreateLinkPieces before calling superclass's
  6438. method.
  6439. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  6440. move around.
  6441. (Select): implement this, moving the selection between different
  6442. links, and call parent.SelectNextControl if we don't have another
  6443. link to focus in the given direction.
  6444. (CreateLinkPieces): call Invalidate instead of Refresh.
  6445. 2006-07-06 Chris Toshok <[email protected]>
  6446. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  6447. new LinkLabel internals.
  6448. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  6449. over pieces looking for active/focused/etc links. also, deal with
  6450. runs of text (and links) with embedded \n's in them, and use
  6451. MeasureCharacterRanges instead of MeasureString to figure out the
  6452. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  6453. two-step.
  6454. 2006-07-04 Jackson Harper <[email protected]>
  6455. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  6456. XKB or key auto repeat, do it manually. Without key auto repeat,
  6457. when a key is held down we get key press, key release, key press,
  6458. key release, ... with auto repeat we get key press, key press, key
  6459. press ..., and then a release when the key is actually released.
  6460. 2006-07-03 Jackson Harper <[email protected]>
  6461. * TabControl.cs:
  6462. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  6463. rules, they are always control color regardless of the background
  6464. color.
  6465. 2006-07-02 Alexander Olk <[email protected]>
  6466. * FileDialog.cs: Added internal class MWFConfig.
  6467. Removed Registry support and replaced it with support for the new
  6468. MWFConfig class. See MWFConfig comments for more information.
  6469. 2006-06-30 Alexander Olk <[email protected]>
  6470. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  6471. rectangle. Added some patches from eno from bug #78490 and fixed
  6472. the arrow position for small up and down CPDrawScrollButtons.
  6473. 2006-06-30 Jackson Harper <[email protected]>
  6474. * InternalWindowManager.cs: Remove some debug code.
  6475. * Form.cs: When an MdiParent is set to null, the window is
  6476. "detatched" and becomes a normal window.
  6477. * MdiClient.cs: Don't bring the new child form to the front until
  6478. it is activated (setting it as active does this), this makes the
  6479. previously active forms titlebar get redrawn as inactive.
  6480. 2006-06-29 Peter Dennis Bartok <[email protected]>
  6481. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  6482. with later controls
  6483. 2006-06-29 Mike Kestner <[email protected]>
  6484. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  6485. arrow in keynav state. Fixes #78682.
  6486. 2006-06-28 Atsushi Enomoto <[email protected]>
  6487. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  6488. order (fixes #78393)
  6489. 2006-06-28 Jonathan Pobst <[email protected]>
  6490. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  6491. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  6492. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  6493. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  6494. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  6495. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  6496. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  6497. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  6498. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  6499. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  6500. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  6501. values)
  6502. 2006-06-28 Mike Kestner <[email protected]>
  6503. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  6504. 2006-06-28 Atsushi Enomoto <[email protected]>
  6505. * PropertyGrid.cs,
  6506. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  6507. item lines from other area (It also makes BackColor consistent and
  6508. compatible with .NET). Fixed bug #78564.
  6509. 2006-06-28 Jonathan Chambers <[email protected]>
  6510. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  6511. Patch from Eno for #78555.
  6512. 2006-06-27 Chris Toshok <[email protected]>
  6513. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  6514. * DataGridColumnStyle.cs: same.
  6515. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  6516. * DataGridDrawingLogic.cs: nuke.
  6517. 2006-06-27 Chris Toshok <[email protected]>
  6518. * DataGridTableStyle.cs: clean up the constructors, and build the
  6519. list of child relations for this table. I have no idea if this is
  6520. where we should be doing it (it probably isn't), but since we're
  6521. already iterating over the properties..
  6522. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  6523. struct and array for keeping track of row information, similar to
  6524. what's shown in a hack on
  6525. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  6526. * Theme.cs: be consistent about the naming of DataGrid methods,
  6527. prefering ColumnWidths and RowHeights over columnsWidths and
  6528. RowsHeights.
  6529. * ThemeWin32Classic.cs: same, and also add support for variable
  6530. sized rows (and the +/- expansion icons for related rows).
  6531. 2006-06-27 Peter Dennis Bartok <[email protected]>
  6532. * TextBoxBase.cs: Applied Eno's patch from #78660
  6533. 2006-06-27 Peter Dennis Bartok <[email protected]>
  6534. * Form.cs (ScaleCore): We don't want to scale our form if it's
  6535. state is minimized or maximized, but we still need to scale our
  6536. child windows. Also, added try/finally block to ensure layout
  6537. gets reset (Fixes #78697)
  6538. 2006-06-27 Peter Dennis Bartok <[email protected]>
  6539. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  6540. 2006-06-27 Peter Dennis Bartok <[email protected]>
  6541. * Form.cs: Fixed c+p error and added check to resize form if minimum
  6542. size is bigger than current size (Fixes #78709)
  6543. 2006-06-26 Peter Dennis Bartok <[email protected]>
  6544. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  6545. 2006-06-26 Mike Kestner <[email protected]>
  6546. * ComboBox.cs: only do Keypress handling in the combo when there
  6547. are items in the collection. Fixes #78710.
  6548. 2006-06-26 Chris Toshok <[email protected]>
  6549. * Binding.cs: make this work bi-directionally. also, clear up
  6550. other mixups between Push/Pull Data (e.g. we're supposed to pull
  6551. data when validating).
  6552. * BindingManagerBase.cs: trim some fully qualified collection
  6553. types.
  6554. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  6555. 2006-06-23 Chris Toshok <[email protected]>
  6556. * PropertyManager.cs: It appears (according to the unit tests)
  6557. that PropertyManager doesn't use
  6558. PropertyDescriptor.AddValueChanged to track propery value changes
  6559. in its datasource, but uses the same scheme as Binding, where it
  6560. looks for a <Property>Changed event and binds to it.
  6561. Also, according to the docs, IsSuspended always returns false for
  6562. a property manager with a non-null datasource.
  6563. 2006-06-22 Peter Dennis Bartok <[email protected]>
  6564. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  6565. need to update the actual DialogResult. (Fixes #78613)
  6566. 2006-06-22 Peter Dennis Bartok <[email protected]>
  6567. * Form.cs (ShowDialog): Release any captures before running the
  6568. new message pump (fixes #78680)
  6569. 2006-06-22 Mike Kestner <[email protected]>
  6570. * ListView.cs: Layout column widths properly in details mode even
  6571. if HeaderStyle.None is set. Fixes #78691.
  6572. 2006-06-21 Peter Dennis Bartok <[email protected]>
  6573. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  6574. 2006-06-21 Peter Dennis Bartok <[email protected]>
  6575. * Control.cs (ContainsFocus): Using new driver method to get focused
  6576. window, instead of trying to use internal tracking var, which can
  6577. recursion issues (Fixes #78685)
  6578. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  6579. XplatUIWin32.cs: Added GetFocus method to return focused window
  6580. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  6581. * ColorDialog.cs: when the mouse button is pressed inside the color
  6582. matrix, don't let the cursor move out of it until the button is
  6583. released, which is the behavior on windows. Changed 'colours' by
  6584. 'colors' to use the same word consistently.
  6585. 2006-06-21 Chris Toshok <[email protected]>
  6586. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  6587. child relation and back, using a stack). Also, remove
  6588. GetDataSource and the code that calls it - it's not needed. Also,
  6589. track CurrencyManager.ListName's removal.
  6590. 2006-06-21 Chris Toshok <[email protected]>
  6591. * CurrencyManager.cs: push some of the original type checking from
  6592. BindingContext.CreateBindingManager to here, and remove some of
  6593. the finalType stuff. Need more tests to make sure I've got the
  6594. ListName part right, and we might need more in SetDataSource.
  6595. * PropertyManager.cs: add a ctor that takes just the datasource,
  6596. and no property name. Make SetDataSource work with a null
  6597. property_name, and make Current return the data_source if the
  6598. property descriptor is null. this makes 'string foo = "hi";
  6599. BindingContext[foo].Current' return "hi" as it should.
  6600. * RelatedCurrencyManager.cs: make this code more generic - there's
  6601. no reason the parent manager has to be CurrencyManager, and
  6602. there's no reason to pass the DataRelation. It suffices to use a
  6603. BindingManagerBase and PropetyDescriptor.
  6604. * RelatedPropertyManager.cs: make a similar change here.
  6605. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  6606. flower I knew it could be.
  6607. 2006-06-20 Chris Toshok <[email protected]>
  6608. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  6609. data in the source has changed and we need to update the control,
  6610. so s/PullData/PushData.
  6611. * CurrencyManager.cs: Refresh is meant to update the control from
  6612. data in the datasource. So, s/PullData/PushData.
  6613. * BindingContext.cs: add more ugliness (we weren't handling the
  6614. case where data_source = DataTable and data_member = column_name).
  6615. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  6616. from the perspective of the datasource. PullData pulls from the
  6617. control, PushData pushes to the control.
  6618. 2006-06-20 Chris Toshok <[email protected]>
  6619. * BindingContext.cs: rewrite the CreateBindingManager code to
  6620. handle navigation paths more or less properly. This could
  6621. definitely stand some more work, in particular to push the
  6622. recursion up to the toplevel. But that relies on fixes in other
  6623. places (System.Data comes to mind).
  6624. Also, move to a flat hashtable (and encode the twolevel nature of
  6625. the dictionary into the hash key). This lets us implement the
  6626. IEnumerable.GetEnumerator method.
  6627. * RelatedCurrencyManager.cs: new class. Update our view based on
  6628. our relation and our parent CurrencyManager's position.
  6629. * CurrencyManager.cs: split out some logic from the ctor into
  6630. SetView, so it can be called from the new RelatedCurrencyManager
  6631. subclass.
  6632. * RelatedPropertyManager.cs: new class. Update our datasource
  6633. based on the position of our parent CurrencyManager.
  6634. * PropertyManager.cs: split out some logic from the ctor into
  6635. SetDataSource, so it can be called from the new RelatedDataSource
  6636. subclass. Also, make the Current getter return the value
  6637. of the PropertyDescriptor, not the data_source.
  6638. * Binding.cs: no need to duplicate the string splitting code here.
  6639. 2006-06-19 Peter Dennis Bartok <[email protected]>
  6640. * Control.cs:
  6641. - set_Enabled: OnEnabledChanged is not called if the inherited state
  6642. of the control is not altered, even though we might be changing the
  6643. internal state of the control (#78458)
  6644. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  6645. OnEnabledChanged, to allow easy altering of any child window state
  6646. - OnEnabledChanged: Added code to enable/disable driver window state
  6647. - OnParentEnabledChanged: Instead of firing the event, call
  6648. OnEnabledChanged, which will fire the event and also a) set driver
  6649. window state and pass the enabled state to any grandchildren (#78458)
  6650. 2006-06-19 Jackson Harper <[email protected]>
  6651. * InternalWindowManager.cs: We don't set the cursor explicitly
  6652. thats done via the response to NCHITTESTs.
  6653. - Don't need to adjust for titlebar heights anymore, the
  6654. coordinates are coming in the correct coordinates now (see peters
  6655. last patch).
  6656. 2006-06-19 Peter Dennis Bartok <[email protected]>
  6657. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  6658. being translated relative to whole window, instead of client window.
  6659. That caused broken offsets on mouseclick (and caused gas for our
  6660. InternalWindowManager)
  6661. 2006-06-15 Peter Dennis Bartok <[email protected]>
  6662. * TextControl.cs:
  6663. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  6664. - Undo(): Added replay of cursor move on DeleteChars action; added
  6665. calling Undo() again if a recorded cursor move is invalid (to
  6666. ensure that some action is performed on Undo)
  6667. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  6668. 2006-06-16 Jackson Harper <[email protected]>
  6669. * MdiClient.cs: Instead of just sizing maximized windows when
  6670. there is a resize we also have to adjust the Y of minimized
  6671. windows, so they stay pinned to the bottom of the mdi container.
  6672. - Eliminate separate tracking of the active control, we can just
  6673. get this from the controls collection.
  6674. - Paint the decorations for the newly activated titlebar so we get
  6675. a pretty blue bar.
  6676. * InternalWindowManager.cs:
  6677. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  6678. even if they are a tool window.
  6679. 2006-06-15 Peter Dennis Bartok <[email protected]>
  6680. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  6681. undo buffer, these can happen when text was deleted and the cursor
  6682. was recorded first. Since we will also have a recorded cursor
  6683. after the delete this is not an issue. (Fixes #78651)
  6684. 2006-06-14 Peter Dennis Bartok <[email protected]>
  6685. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  6686. instead properly track control states internally (allows us to
  6687. remove is_selected from Control)
  6688. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  6689. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  6690. whose width is not a multiple of 8.
  6691. 2006-06-13 Jackson Harper <[email protected]>
  6692. * MdiClient.cs: Only maximize the next child if the current one
  6693. is maximized.
  6694. 2006-06-13 Chris Toshok <[email protected]>
  6695. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  6696. modified. Also, guard against grid or grid_drawing being null in
  6697. Invalidate.
  6698. * DataGrid.cs: Reformat tons of getters/setters. In the
  6699. DataMember setter, just call SetNewDataSource instead of
  6700. duplicating some of its functionality. In SetNewDataSource, don't
  6701. check ListManager for null, since the property getter creates the
  6702. object if needed.
  6703. * DataGridTableStyle.cs: don't set TableStyle or call
  6704. SetDataGridInternal on the column here, it's done in
  6705. GridColumnStylesCollection.Add.
  6706. * GridColumnStylesCollection.cs: fix all the explicit interface
  6707. implementations to just call our methods. Nuke AddInternal() and
  6708. move the body of it to Add(). Also, add a call to
  6709. column.SetDataGridInternal to Add().
  6710. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  6711. base()+duplicate code. Also, use the Format property instead of
  6712. format to generate an Invalidate ala MS. Lastly, create the
  6713. textbox here, unconditionally.
  6714. (set_Format): call Invalidate.
  6715. (get_TextBox): no need to call EnsureTextBox.
  6716. (Commit): remove the message box.
  6717. (Edit) remove the call to EnsureTextBox.
  6718. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  6719. (EnterNullValue): no need to check textbox for null.
  6720. (HideEditBox): no need to check textbox for null.
  6721. (SetDataGridInColumn): add the textbox to the grid's controls.
  6722. (EnsureTextBox): nuke.
  6723. 2006-06-13 Jackson Harper <[email protected]>
  6724. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  6725. and redraw the buttons when needed. Unhook when the window is
  6726. unmaximized.
  6727. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  6728. needs this so that it can redraw its buttons when the menu is
  6729. repainted.
  6730. * InternalWindowManager.cs:
  6731. * Form.cs: The method order has changed for DrawMaximizedButtons,
  6732. so that it can be a PaintEventHandler.
  6733. 2006-06-13 Jackson Harper <[email protected]>
  6734. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  6735. window is activated and maximized, even if it wasn't before.
  6736. - When a new window is activated repaint the decorations of the
  6737. old one, so that it no longer has the Active "look" (the blue
  6738. titlebar).
  6739. * InternalWindowManager.cs: Open up CreateButtons to base classes
  6740. so they can recreate the buttons on state changes.
  6741. - If a window is maximized give it all three buttons
  6742. * MdiWindowManager.cs: Create the titlebar buttons when the state
  6743. is changed, this is needed because a toolwindow will not have all
  6744. three buttons until it is maximized.
  6745. 2006-06-13 Atsushi Enomoto <[email protected]>
  6746. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  6747. Fixed bug #78609.
  6748. 2006-06-12 Jackson Harper <[email protected]>
  6749. * KeysConverter.cs: Make sure we handle the Ctrl special case
  6750. if its the only key.
  6751. 2006-06-12 Jackson Harper <[email protected]>
  6752. * Theme.cs: Add a method to get the size of a managed window
  6753. toolbar button.
  6754. * InternalWindowManager.cs: Remove the ButtonSize property, this
  6755. should be retrieved from the theme.
  6756. * MdiWindowManager.cs: Get the button size from the theme
  6757. * ThemeWin32Classic.cs: Make the method to get the managed window
  6758. titlebar button size public.
  6759. - Handle the different button sizes of maximized toolwindows
  6760. (should match any maximized window).
  6761. - Get the titlebar height from the theme, not the WM (which gets
  6762. it from the theme).
  6763. 2006-06-12 Jackson Harper <[email protected]>
  6764. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  6765. event down to the mdi window manager.
  6766. - Expose some extra stuff to base classes
  6767. - Make sure to end the Capture on an NC Mouse up, so that we can
  6768. get double clicks properly, and the sizing doens't stick.
  6769. - When doing PointToClient contain it in the workable desktop
  6770. area, this prevents windows from changing size when the cursor is
  6771. pulled outside of the working area while sizing.
  6772. * MdiWindowManager.cs: When we get a double click maximize the
  6773. window.
  6774. - Reset the cursor after handling mode changes.
  6775. 2006-06-12 Peter Dennis Bartok <[email protected]>
  6776. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  6777. current desktop, instead of just assuming a 0, 0 origin. This
  6778. is needed for our internal window manager, to know the top
  6779. margin of the desktop
  6780. 2006-06-12 Chris Toshok <[email protected]>
  6781. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  6782. we need this to get rid of the selected background in the bool
  6783. column.
  6784. (CancelEditing): move the ConcedeFocus call to above the Abort
  6785. call. Also, set is_changing to false and invalidate the row
  6786. header if we were changing before.
  6787. (ProcessKeyPreviewInternal): remove, since noone outside this
  6788. class calls it anymore. Roll the code into ProcessKeyPreview.
  6789. (EndEdit): remove the internal version.
  6790. (InvalidateCurrentRowHeader): make private.
  6791. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  6792. Keys.Escape handling (and with it the last call to
  6793. DataGrid.EndEdit from outside the class.)
  6794. 2006-06-12 Chris Toshok <[email protected]>
  6795. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  6796. (OnKeyPress): set isedit to true.
  6797. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  6798. already handled by the grid.
  6799. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  6800. right. ugh.
  6801. (set_DataSource): SetDataSource always returns true, so stop
  6802. putting it in an if statement.
  6803. (EndEdit): get rid of some {}'s
  6804. (ProcessGridKey): return true in case Keys.Escape.
  6805. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  6806. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  6807. PositionChanged, stopped connecting to CurrentChanged.
  6808. (GetDataSource): simplify this a bunch.
  6809. (SetDataSource): change return type from bool to void.
  6810. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  6811. to this, and make sure we don't set ListManager.Position inside
  6812. set_CurrentCell.
  6813. (OnListManagerItemChanged): if we're passed an actual index,
  6814. redraw that row.
  6815. * CurrencyManager.cs (set_Position): don't call PullData here.
  6816. 2006-06-09 Jackson Harper <[email protected]>
  6817. * TreeNode.cs: Recalculate the visible order before doing the
  6818. Expand/Collapse Below calls, because those calls generate an
  6819. expose.
  6820. - Reduce calls to the TreeView property, which is mildly expensive
  6821. by using a local var.
  6822. * Form.cs: Layout the MDI child windows when creating the parent
  6823. form.
  6824. - Don't use the internal constructor anymore
  6825. * MdiClient.cs: use the parent form width/height (if available)
  6826. when laying out the child windows, we do this because the
  6827. mdiclient isn't docked yet when the initial layout is done.
  6828. - Don't need an internal constructor anymore.
  6829. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  6830. * FileDialog.cs: handle access errors when trying to create a folder
  6831. or changing to a directory. No need to initialize out parameters.
  6832. 2006-06-08 Alexander Olk <[email protected]>
  6833. * FileDialog.cs: Append a number when creating a new folder if the
  6834. folder already exists (use parenthesis instead of square brackets)
  6835. 2006-06-08 Alexander Olk <[email protected]>
  6836. * FileDialog.cs:
  6837. - Disabled registry support for windows and added better registry
  6838. error checking for other systems (need to investigate why it
  6839. works perfectly on my system)
  6840. - If a folder already exist show an error MessageBox instead of
  6841. trying to create an indexed name.
  6842. - Fixed a non intentional typo.
  6843. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  6844. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  6845. 2006-06-08 Alexander Olk <[email protected]>
  6846. * FileDialog.cs: When creating a new folder don't crash if the
  6847. folder already exists.
  6848. 2006-06-08 Alexander Olk <[email protected]>
  6849. * FileDialog.cs: Allmost a complete rewrite.
  6850. - added a "virtual" file system that handles the differences
  6851. between unix and windows file systems (especially the directory
  6852. structure). Moved most of the directory and file handling code
  6853. into the vfs.
  6854. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  6855. UnixFileSystem and FSEntry.
  6856. - Recently used folder/directory, size, location and used file names
  6857. (file name ComboBox) are now stored in the registry and get read
  6858. before the dialog shows up (fixes part 6 of bug #78446).
  6859. - Creation of new folders/directories is now possible (context menu
  6860. or ToolBar). Added TextEntryDialog for this that fills in the gap
  6861. until ListView.LabelEdit works.
  6862. - Fixed cursor handling (bug #78527) and focus handling for
  6863. PopupButtonPanel
  6864. - Various "Search in" ComboBox enhancements. The content of the
  6865. dropdown listbox now almost matches ms.
  6866. - Changed the behaviour when the user switches to SpecialFolder
  6867. Recent to show the ListView in View.Details.
  6868. - Beside using the ToolBar to change the View property of the
  6869. file ListView it is now possible to use the context menu too.
  6870. 2006-06-08 Alexander Olk <[email protected]>
  6871. * ComboBox.cs: Don't create a new ObjectCollection when an item
  6872. gets inserted. Just insert the item in the existing object_items
  6873. ArrayList.
  6874. 2006-06-08 Jackson Harper <[email protected]>
  6875. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  6876. that the treeview and root node checks are done also, this fixes a
  6877. regression i caused in the unit tests.
  6878. 2006-06-07 Wade Berrier <[email protected]>
  6879. * RichTextBox.cs: More ISO8859-1 -> unicode
  6880. 2006-06-07 Mike Kestner <[email protected]>
  6881. * ComboBox.cs : use items to hold highlight/selection so that
  6882. collection insertions don't require synchronization.
  6883. 2006-06-07 Jackson Harper <[email protected]>
  6884. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  6885. routine. We now always keep the sized edge at the cursor instead
  6886. of computing movement and adjusting rects. There is one buglet
  6887. with this method though when the cursor is moved over area that
  6888. the window can not expand too (such as the toolbars on the desktop).
  6889. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  6890. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  6891. here. Fixes crash on startup in AlbumSurfer.
  6892. 2006-06-07 Peter Dennis Bartok <[email protected]>
  6893. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  6894. values
  6895. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  6896. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  6897. statement to avoid calling XNextEvent which will block if another thread
  6898. took the event that we were expecting. Fixes bug #78605.
  6899. 2006-06-07 Mike Kestner <[email protected]>
  6900. * ListView.cs : isolated checkbox clicking from the selection logic.
  6901. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  6902. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  6903. * Form.cs: Check that the value passed to Form.DialogResult
  6904. is a valid enum value.
  6905. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  6906. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  6907. Computer'. Clicking it in the network view goes to 'My Computer'.
  6908. Added CIFS filesystem type. Display the mount point of filesystems.
  6909. Avoid duplicate mount points (happens for me with CIFS);
  6910. 2006-06-06 Jackson Harper <[email protected]>
  6911. * InternalWindowManager.cs: Draw the maximized windows buttons
  6912. when resizing.
  6913. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  6914. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  6915. all other dialogs. Fixes bug #78585.
  6916. 2006-06-06 Mike Kestner <[email protected]>
  6917. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  6918. Only invalidate checkbox on checkstate changes to avoid flicker.
  6919. * ListBox.cs : avoid unselect/select when clicking selected item.
  6920. avoid reselection flicker for already multiselected items.
  6921. Fixes #78382.
  6922. 2006-06-06 Jackson Harper <[email protected]>
  6923. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  6924. the parent form so that the menu is removed if needed.
  6925. 2006-06-06 Mike Kestner <[email protected]>
  6926. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  6927. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  6928. 2006-06-06 Mike Kestner <[email protected]>
  6929. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  6930. 2006-06-06 Jackson Harper <[email protected]>
  6931. * Control.cs: Use the property (instead of the field) to get the
  6932. default cursor so it is instantiated correctly.
  6933. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  6934. resizes so we need to manually repaint the window decorations here.
  6935. - Set the titlebar button locations as soon as they are created,
  6936. otherwise they are not set correctly on win32.
  6937. 2006-06-06 Chris Toshok <[email protected]>
  6938. * CurrencyManager.cs (set_Position): call PullData before
  6939. OnCurrentChanged.
  6940. (AddNew): after calling IBindingList.AddNew, update our
  6941. listposition, and call OnCurrentChanged/OnPositionChanged (without
  6942. calling PullData).
  6943. (OnCurrentChanged): remove the call to PullData from here.
  6944. (OnItemChanged): remove the call to PushData from here.
  6945. (OnPositionChanged): change the test from == null to != null to
  6946. match the other methods.
  6947. (ListChangedHandler): the grossest part of the patch. Implement
  6948. this such that it passes the unit tests in CurrencyManagerTest and
  6949. the output more or less matches that of MS's implementation.
  6950. 2006-06-06 Mike Kestner <[email protected]>
  6951. * ListView.cs : only update check state on single click.
  6952. * ThemeWin32Classic.cs : fix focus drawing for details view without
  6953. fullrowselect. Fixes #78454.
  6954. * XplatUIX11.cs : fix for double click emission.
  6955. 2006-06-05 Jonathan Chambers <[email protected]>
  6956. * PropertyGridView.cs : Applied Atsushi's patch to fix
  6957. font dialog bug (#78197).
  6958. 2006-06-05 Jackson Harper <[email protected]>
  6959. * TreeNode.cs: Compute the next node for expanding/collapsing
  6960. correctly. We now factor in nodes without a NextNode
  6961. correctly. (Fixes somes cases in nunit-gui).
  6962. * InternalWindowManager.cs: Set the bounds when updating the
  6963. virtual position of a tool window.
  6964. 2006-06-05 Chris Toshok <[email protected]>
  6965. * DataGrid.cs: rename cached_currencymgr to list_manager.
  6966. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  6967. some.
  6968. (CurrentRow, CurrentColumn): single accessors so we can make the
  6969. cursor movement code a lot easier to understand.
  6970. (CurrentRowIndex): implement this in terms of CurrentRow.
  6971. (BeginEdit): clean this up a bit.
  6972. (CancelEditing): sort out the is_editing/is_changing/is_adding
  6973. stuff a little.
  6974. (EndEdit): minor changes.
  6975. (OnKeyDown): add a comment about a (most likely) unnecessary
  6976. check.
  6977. (OnMouseDown): cancel editing when we click on a row header. And
  6978. use the CurrentRow setter, not CurrentCell.
  6979. (ProcessDialogKey): directly call ProcessGridKey.
  6980. (UpdateSelectionAfterCursorMove): factor out this common block of
  6981. code (it's used everywhere that we move the cursor by updating row
  6982. or column).
  6983. (ProcessGridKey): pretty substantial overhaul. Use the
  6984. CurrentRow/CurrentColumn properties to make the code a lot more
  6985. readable. Only use the CurrentCell property when we have to
  6986. modify both row and column at once. Tab behavior is still broken,
  6987. and Delete is untested.
  6988. (Select): if we have no selected rows, set selection_start to
  6989. @row.
  6990. (EditCurrentCell): rename EditCell this. It was only ever invoked
  6991. with CurrentCell as the arg, so drop the arg and rename it.
  6992. * DataGridColumnStyle.cs: clean up the constructors a little, and
  6993. drop CommonConstructor().
  6994. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  6995. actually get notified when the user hits it.
  6996. (ProcessKeyMessage): *substantially* simplify this method.
  6997. There's no reason (that I can see) for the textbox to be making
  6998. calls into the datagrid at all. Remove all of them but the ones
  6999. for Enter handling. those will take some more work.
  7000. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  7001. calling HideEditBox.
  7002. (HideEditBox): if we have an active textbox, render it invisible
  7003. without causing a re-layout of the datagrid.
  7004. 2006-06-05 Mike Kestner <[email protected]>
  7005. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  7006. collection changes by resetting it to Items[0]. Fixes #78587.
  7007. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  7008. * MessageBox.cs: if the height of the text is larger than the icon_size,
  7009. use that. Fixes bug #78575.
  7010. 2006-06-05 Jackson Harper <[email protected]>
  7011. * TreeView.cs: Fix line drawing when scrolling. To do this each
  7012. node is basically responsible for drawing its entire horizontal
  7013. area. When drawing a node it draws its parent node lines if
  7014. needed.
  7015. - Adjust the clip area to the viewport rectangle
  7016. - Fix Left/Right key handling to match MS. (It expand/collapses
  7017. and moves to parents/first child but does not move selection to
  7018. sibling nodes).
  7019. - Fix SetTop to work with new bound calculation code
  7020. - When scrollbars are no longer needed we need to reset scrolling
  7021. vars and recalculate the visible order so the redraw is correct
  7022. * TreeNode.cs: We can't expand/collapse nodes with no children.
  7023. 2006-06-03 John Luke <[email protected]>
  7024. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  7025. so the colors work without dev packages
  7026. 2006-06-02 Peter Dennis Bartok <[email protected]>
  7027. * Control.cs
  7028. - Select: Implemented to just use activate. Seems to match MS
  7029. behaviour closest. Documented to only do actual control walking
  7030. based on it's parameters if in a container control so I moved
  7031. the code there.
  7032. - Removed selection check logic from our internal Select() method
  7033. * ContainerControl.cs:
  7034. - Select: Moved selection logic from Control here, since MS documents
  7035. that containers obey the bool arguments. No longer calling base
  7036. 2006-06-02 Jackson Harper <[email protected]>
  7037. * TreeView.cs: If the selected node isn't changed when we get
  7038. focus update the previously selected node so that we see the
  7039. selection box.
  7040. 2006-06-02 Mike Kestner <[email protected]>
  7041. * ComboBox.cs: restructure grab and general mouse event handling.
  7042. Make the composite control raise mouse events like it was a single
  7043. control for leaves/enters/motion/up/down events. fix dropdown list
  7044. coordinate mangling and refactor it into the scrollbar subclass to
  7045. reduce code duplication. Fixes #78282 #78361 and #78457.
  7046. 2006-06-02 Mike Kestner <[email protected]>
  7047. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  7048. automatically in the Control.WndProc.
  7049. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  7050. * FileDialog.cs: fix crash when running SharpChess, which sets the
  7051. FilterIndex to 2 with only one Filter.
  7052. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  7053. * ToolBar.cs: add SizeSpecified property.
  7054. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  7055. try to figure out our real size, otherwise fallback to what the
  7056. container says.
  7057. 2006-06-01 Peter Dennis Bartok <[email protected]>
  7058. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  7059. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  7060. up the event
  7061. 2006-06-01 Mike Kestner <[email protected]>
  7062. * ListView.cs: revamp the focus management in ListView. It still
  7063. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  7064. better than not handling focus at all. Will revisit when pdb feels
  7065. the general focus handling is solid. Fixes #78526.
  7066. 2006-06-01 Jackson Harper <[email protected]>
  7067. * TreeView.cs: Set the default border style in the constructor.
  7068. - Move painting to use OnPaintInternal instead of capturing
  7069. WM_PAINT, this is the correct way of doing things
  7070. - UpdateBelow shouldn't invalidate the scrollbar area
  7071. - Cap the top on update below in case the node was above the top
  7072. of the viewport rectangle.
  7073. - ExpandBelow and Collapse below need to obey Begin/End Update.
  7074. * TreeNode.cs: Make is_expanded internal so the treenode
  7075. collection can change it without firing the whole event chain.
  7076. * TreeNodeCollection.cs: When clearing all the child nodes make
  7077. sure to recalc the visible order.
  7078. - Improve algo for remove the top node
  7079. 2006-06-01 Peter Dennis Bartok <[email protected]>
  7080. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  7081. SendMessage directly calling window procedures, which in turn might
  7082. call SetFocus()
  7083. 2006-06-01 Peter Dennis Bartok <[email protected]>
  7084. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  7085. has focus (works around X11 sending a FocusIn after our SetFocus)
  7086. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  7087. 2006-06-01 Alexander Olk <[email protected]>
  7088. * Mime.cs: Fix for the NET_2_0 build.
  7089. NameValueCollection needs StringComparer now.
  7090. 2006-05-31 Chris Toshok <[email protected]>
  7091. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  7092. return (via an out parameter) the starting X of the column.
  7093. (UpdateVisibleColumn): track change to FromPixelToColumn.
  7094. (HitTest): add a ColumnResize case here.
  7095. (DrawResizeLine): new function, probably poorly named.
  7096. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  7097. only need to keep one reference.
  7098. (set_ListManager): same.
  7099. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  7100. Also, add support for HitTestType.ColumnResize.
  7101. (OnMouseMove): add column resize behavior here, and change the
  7102. cursor to the correct one as we move around the datagrid.
  7103. (OnMouseUp): terminate the column resize if we're resizing.
  7104. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  7105. for the current cell.
  7106. (ConnectListManagerEvents): use cached_currencymgr.
  7107. (DisconnectListManagerEvents): fill this in, using
  7108. cached_currencymgr.
  7109. (SetCurrentCell): remove cached_currencymgr_events handling.
  7110. (SetDataMember): only call DisconnectListManagerEvents if
  7111. cached_currencymgr is != null.
  7112. (SetDataSource): same.
  7113. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  7114. cached_currencymgr.
  7115. 2006-05-31 Jackson Harper <[email protected]>
  7116. * BindingManagerBase.cs: Remove somedebug code that creeped into
  7117. SVN.
  7118. * TreeNode.cs: We get the indent level dynamically right now, so
  7119. don't track it as a member.
  7120. * TreeNodeCollection.cs: Make sure all nodes added to the list
  7121. have parents, treeviews/topnodes setup properly.
  7122. - Don't attempt to track indent level.
  7123. 2006-05-30 Jackson Harper <[email protected]>
  7124. * BindingContext.cs: Create the currency manager tables here.
  7125. This allows us to more easily create null tables (when bad data
  7126. members are used), and more easily create related currency
  7127. managers.
  7128. * CurrencyManager.cs: All the table creation stuff is done by the
  7129. binding context now.
  7130. - Current should throw an exception if listposition is -1.
  7131. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  7132. been bound yet.
  7133. 2006-05-30 Mike Kestner <[email protected]>
  7134. * ListView.cs: allow reexpansion of zero-width column headers.
  7135. Fixes #78528.
  7136. 2006-05-28 Chris Toshok <[email protected]>
  7137. * CurrencyManager.cs (get_Current): after the late binding
  7138. listposition = -1 fix, we need to guard against it here and return
  7139. null, otherwise we raise an exception (which is swallowed
  7140. elsewhere, and breaks datagrid databinding.)
  7141. 2006-05-26 Peter Dennis Bartok <[email protected]>
  7142. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  7143. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  7144. 2006-05-26 Jackson Harper <[email protected]>
  7145. * ControlPaint.cs:
  7146. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  7147. values, it's faster and it's all we care about (we don't care if
  7148. the names aren't equal).
  7149. * KeyboardLayouts.cs: Eliminate some dead code.
  7150. - Lazy init things
  7151. * X11Keyboard.cs: Lazy init keyboard detection.
  7152. - Cleanup access modifiers a little.
  7153. 2006-05-26 Peter Dennis Bartok <[email protected]>
  7154. * XplatUIX11.cs: Once again, attempting to get layout just right.
  7155. 2006-05-26 Peter Dennis Bartok <[email protected]>
  7156. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  7157. the sizes of each link section, that will result in sizes that
  7158. match DrawString's layout (Fixes #78391)
  7159. 2006-05-27 Alexander Olk <[email protected]>
  7160. * FileDialog.cs: If AddExtension property is true autocomplete the
  7161. extensions in SaveFileDialog correctly. Fixes bug #78453.
  7162. Set MyNetwork and MyComputer to "C:\" for windows. This should
  7163. fix part 8 of bug #78446 for now.
  7164. 2006-05-26 Chris Toshok <[email protected]>
  7165. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  7166. invalidate the current row header if we need to, but presumably
  7167. we'll invalidate the row corrsponding to the bounds or
  7168. editingControl.
  7169. (GridHScrolled): switch back to this method, as it's part of the
  7170. public api. *sigh*.
  7171. (GridVScrolled): same.
  7172. (OnMouseWheel): hack up something that more or less works. Call
  7173. GridHScrolled/GridVScrolled directly, instead of duplicating much
  7174. of their code here.
  7175. (EnsureCellVisibility): reinstate a bunch of this code, since we
  7176. can't just set the scrollbar Value and expect to do all the work
  7177. in the ValueChanged handler. Also, Call Update() after scrolling
  7178. in one direction so the other XplatX11.ScrollWindow call has the
  7179. proper stuff in the proper places.
  7180. (EditCell): set is_editing to true before calling .Edit.
  7181. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  7182. don't bother comparing first.
  7183. (OnKeyPress): call grid.ColumnStartedEditing before calling
  7184. base.OnKeyPress. this will set is_changing and invalidate the row
  7185. header if necessary.
  7186. (ProcessKeyMessage): for WM_CHAR messages, call
  7187. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  7188. and WM_KEYDOWN.
  7189. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  7190. it's done in the DataGrid.
  7191. (NextState): call grid.ColumnStartedEditing, which takes care of
  7192. invalidating the row header (and setting is_changing).
  7193. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  7194. here. it's done in the DataGrid.
  7195. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  7196. * Control.cs: allow changing the cursor when the mouse position is
  7197. out of bounds but Capture is set.
  7198. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  7199. linklabel but released somewhere else.
  7200. 2006-05-25 Jackson Harper <[email protected]>
  7201. * TreeView.cs: When we get focus if there is no selected node make
  7202. it the top node
  7203. - Remove some uneeded setup code from Draw.
  7204. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  7205. a new node is inserted make the new node the top.
  7206. * XplatUIX11.cs:
  7207. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  7208. be used (should be faster).
  7209. 2006-05-25 Chris Toshok <[email protected]>
  7210. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  7211. problem with the last commit.
  7212. 2006-05-25 Chris Toshok <[email protected]>
  7213. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  7214. need the invalidate call here, while scrolling right-to-left via
  7215. the left arrow key (i.e. moving the editing cell while scrolling).
  7216. * DataGrid.cs (.ctor): remove the initialization of
  7217. ctrl_pressed/shift_pressed. We no longer track them using key
  7218. up/down handlers, but by using Control.ModifierKeys. Also, switch
  7219. to using ValueChanged handlers on the scrollbars instead of
  7220. Scrolled event handlers. This simplifies a bunch of the scrolling
  7221. code.
  7222. (GridHValueChanged): rename from GridHScrolled, and change it to
  7223. work with the new event args.
  7224. (GridVValueChanged): same.
  7225. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  7226. (OnMouseWheel): actually scroll the datagrid. Don't change the
  7227. selected cell.
  7228. (ProcessGridKey): correct all the keyboard navigation stuff I
  7229. could find. Ctrl up/down/left/right/home/end work now.
  7230. (EnsureCellVisibility): correct method name spelling. Also,
  7231. simplify this a touch by not explicitly calling the
  7232. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  7233. scrollbar value.
  7234. (OnKeyUpDG): no need for this method now.
  7235. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  7236. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  7237. Fixes bug #78392.
  7238. 2006-05-25 Chris Toshok <[email protected]>
  7239. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  7240. r61019.
  7241. 2006-05-25 Peter Dennis Bartok <[email protected]>
  7242. * Application.cs: Moved setting of is_modal and closing to before
  7243. we create the control, to allow the event handlers called as a
  7244. result of creation affect closing. Also removed Gonzalo's previous
  7245. change to setting DialogResult, the behaviour has been moved to
  7246. Form.ShowDialog()
  7247. * Form.cs:
  7248. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  7249. handle it instead
  7250. - ShowDialog(): If no dialog result is set, we need to return Cancel
  7251. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  7252. the close is cancelled
  7253. 2006-05-25 Jackson Harper <[email protected]>
  7254. * StatusBar.cs: We only need to update the sizes of the other
  7255. panels when we have auto size contents. Also we are only updating
  7256. the contents of the panel, not the borders, so compensate for the
  7257. border width (TODO: get this width from the theme somehow).
  7258. * TreeView.cs: Scrollable is true by default
  7259. - Use invalidate instead of refresh where needed
  7260. - Factor the scrollable value into scrollbar updating
  7261. - Update the scrollbars if the Scrollable property is altered
  7262. - Update the selected node if its ImageIndex is changed
  7263. - Handle null nodes in UpdateNode (mainly so we don't have to
  7264. check if selected is null when updating it
  7265. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  7266. are factored into the visible count
  7267. - Use VisibleCount for clarity in the code
  7268. - When the font is changed we need to recurse through all the
  7269. nodes and invalidate their sizes
  7270. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  7271. * Application.cs: set the DialogResult to fixed when the main form is
  7272. hidden or destroyed while being modal.
  7273. 2006-05-25 Miguel de Icaza <[email protected]>
  7274. * Theme.cs: Use Tangoified messagebox icons.
  7275. (GetSizedResourceImage): Also cope with width = 0 and do not
  7276. trigger a warning in that case (0 means "give me your icon from
  7277. the resouce, no special size needed).
  7278. 2006-05-25 Peter Dennis Bartok <[email protected]>
  7279. * Application.cs: Leave runloop if the the main modal form is
  7280. hidden (fixes #78484)
  7281. 2006-05-25 Atsushi Enomoto <[email protected]>
  7282. * BindingContext.cs : reject null datasource in Contains() and
  7283. Item[].
  7284. * CurrencyManager.cs : check data_member validity when data_source
  7285. is dataset. When it is late binding, the initial position is -1.
  7286. 2006-05-24 Jackson Harper <[email protected]>
  7287. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  7288. inserted nodes that aren't visible. This changes the
  7289. max_visible_order which confuses scrollbar settings.
  7290. - Use the enumerator to get the prev node instead of duplicating
  7291. code.
  7292. * TreeView.cs: Use new method for setting scrollbar values
  7293. - Don't set the bounds every time the scrollbar is updated
  7294. - When updating below the root node use an invalidate instead of a
  7295. refresh to prevent the child controls (scrollbars) from being
  7296. refreshed. (UpdateBelow still needs to be reworked anyways).
  7297. - Reenable SetBottom now that visible orders are set correctly,
  7298. added some debug code incase we ever get bad values there again.
  7299. - Set the scrollbar max to 2 less then the max value, this
  7300. compensates for the max value being one above the node count, and
  7301. for scrollbars adding one extra "notch".
  7302. - When drawing image nodes if there is an imagelist we draw the
  7303. first image in the list if the supplied image index is out of the
  7304. image list's bounds.
  7305. 2006-05-24 Peter Dennis Bartok <[email protected]>
  7306. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  7307. we receive a size change from the WM (Fixes #78503)
  7308. 2006-05-24 Peter Dennis Bartok <[email protected]>
  7309. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  7310. rectangle (Fixes #78501)
  7311. 2006-05-24 Peter Dennis Bartok <[email protected]>
  7312. * ButtonBase.cs:
  7313. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  7314. as a bitfield.
  7315. - Fixed MouseMove to no longer switch pressed state unless the left
  7316. mouse button is pressed. Atsushi provided the original patch (#78485)
  7317. 2006-05-24 Jackson Harper <[email protected]>
  7318. * ScrollBar.cs: New internal methods that allow us to change a
  7319. couple values on the scrollbar (the most common case is maximum
  7320. and large change) without getting multiple invalidates.
  7321. 2006-05-24 Chris Toshok <[email protected]>
  7322. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  7323. (Edit): save off the original state in oldState, and set
  7324. grid.is_editing to true.
  7325. (OnKeyDown): abort editing if escape is pressed. also, call
  7326. NextState if space is pressed.
  7327. (OnMouseDown): call NextState.
  7328. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  7329. here. Also, only invalidate the row header once (on the initial
  7330. is_changing switch) to save on redraws.
  7331. 2006-05-24 Chris Toshok <[email protected]>
  7332. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  7333. if the value in the cell is different than it was before. This
  7334. keeps us from triggering a layout when we move around a datarid
  7335. with a highlighted cell.
  7336. (Edit): suspend layout when creating/positining the text box, and
  7337. resume passing false so we don't ever actually re-layout.
  7338. (ReleaseHostedControl): same.
  7339. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  7340. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  7341. control-key sequences should go to the datagrid - remove that
  7342. lock. Also, modify the conditions under which we move between
  7343. cells when moving the cursor within a cell, and remove the "this"
  7344. and "base" from field accesses. We weren't even consistent, given
  7345. they all were in the base class.
  7346. 2006-05-24 Atsushi Enomoto <[email protected]>
  7347. * Binding.cs : (.ctor)
  7348. An obvious NRE fix for BindingTest.CtorNullTest().
  7349. 2006-05-23 Chris Toshok <[email protected]>
  7350. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  7351. them between lines. This fixes some quirks editing cells in the
  7352. datagrid.
  7353. 2006-05-23 Jackson Harper <[email protected]>
  7354. * TreeView.cs: Use begin/end update when doing expand/collapse all
  7355. so that we don't get flicker on the scrollbar.
  7356. 2006-05-23 Jackson Harper <[email protected]>
  7357. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  7358. treenode calculations to be independant of the painting code. To
  7359. do this nodes track a visible order which is calculated by the
  7360. treeview.
  7361. - Call new methods for expanding/collapsing nodes. These methods
  7362. use scrollwindow so we don't have to update everything below the
  7363. node.
  7364. * TreeView.cs: Refactored drawing and scrolling code. We don't
  7365. need to update nodes when drawing anymore or calculate scrollbar
  7366. stuff.
  7367. - Added new methods for expanding/collapsing nodes. These methods
  7368. use ScrollWindow so as to not have to redraw all the nodes below.
  7369. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  7370. we add/remove nodes or sort.
  7371. - Handle removing the selected and the top node properly.
  7372. 2006-05-23 Chris Toshok <[email protected]>
  7373. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  7374. maybe this should actually happen in the datagrid code?
  7375. (EndEdit): no need to invalidate anything, given that
  7376. ReleaseHostedControl causes the datagrid to relayout, which
  7377. invalidates everything anyway.
  7378. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  7379. in SetCurrentCell).
  7380. (set_SelectionBackColor): call InvalidateSelection instead of
  7381. Refresh.
  7382. (set_SelectionForeColor): same.
  7383. (BeginEdit): Flesh this out a bit.
  7384. (CancelEditing): only do any of this if we're editing/adding.
  7385. (EndEdit): same.
  7386. (OnMouseDown): there's no need to cancel editing here, it's done
  7387. in SetCurrentCell.
  7388. (SetCurrentCell): only invalidate the current row header if it's a
  7389. different row than the new one.
  7390. (ShiftSelection): fix this to work like MS does.
  7391. (ResetSelection): factor out the invalidation of selected_rows to
  7392. InvalidateSelection.
  7393. (SetDataSource): cancel any editing that's going on.
  7394. * DataGridColumnStyle.cs
  7395. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  7396. call the non-interface version.
  7397. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  7398. header rectangle with the clip rectangle so we don't redraw the
  7399. entire header for just a small area. Gets rid of the last flicker
  7400. when horizontally scrolling.
  7401. (DataGridPaintRow): same.
  7402. 2006-05-23 Mike Kestner <[email protected]>
  7403. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  7404. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  7405. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  7406. Critical bug report.
  7407. 2006-05-23 Peter Dennis Bartok <[email protected]>
  7408. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  7409. and this fixes #78493
  7410. 2006-05-23 Miguel de Icaza <[email protected]>
  7411. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  7412. size is not found.
  7413. * FileDialog.cs: Do not change the background for the side bar as
  7414. it wont work nicely with the theme, and also reduces the artifacts
  7415. in rendering the icons (which I want to fix too).
  7416. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  7417. resources, not resgen resources.
  7418. (PlatformDefaultHandler): Pull images using the new API.
  7419. 2006-05-23 Peter Dennis Bartok <[email protected]>
  7420. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  7421. a reference to the hwnd and will not remove it unless there are
  7422. no pending exposures (fixes #78341)
  7423. * XplatUI.cs: Improved debug
  7424. 2006-05-23 Atsushi Enomoto <[email protected]>
  7425. * MenuAPI.cs : don't handle OnClick event when it was not the left
  7426. button. Fixed bug #78487.
  7427. 2006-05-23 Mike Kestner <[email protected]>
  7428. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  7429. prefer submenus to the top menu for item lookup, to avoid popping down
  7430. top-row items.
  7431. 2006-05-23 Alexander Olk <[email protected]>
  7432. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  7433. Graphics.FillRectangle as the visual results are really bad (even
  7434. on win). We now draw perfect arrows (and perfect shadows when the
  7435. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  7436. Pen.DashPattern to draw the dots of each line.
  7437. 2006-05-22 Alexander Olk <[email protected]>
  7438. * FileDialog.cs: Update the filename combobox when navigating through
  7439. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  7440. 2006-05-22 Mike Kestner <[email protected]>
  7441. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  7442. Fixes #78463.
  7443. 2006-05-22 Mike Kestner <[email protected]>
  7444. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  7445. requests. Fix a misspelled parameter and a copy paste exception error
  7446. in Select.
  7447. 2006-05-22 Peter Dennis Bartok <[email protected]>
  7448. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  7449. to get the same width/height (5/13) on X11 as the default font has on
  7450. win32. This means that our DefaultFont emSize is smaller than the
  7451. the MS SWF equivalent (even thought the width/height stays the same)
  7452. 2006-05-20 Jackson Harper <[email protected]>
  7453. * MdiClient.cs:
  7454. * MdiWindowManager.cs:
  7455. * InternalWindowManager.cs: Make sure to use the border width from
  7456. the theme.
  7457. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  7458. * PrintDialog.cs: Implements printer details
  7459. 2006-05-19 Alexander Olk <[email protected]>
  7460. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  7461. Fixes part 1 and 2 of bug #78446
  7462. 2006-05-19 Peter Dennis Bartok <[email protected]>
  7463. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  7464. instead of sticking to the first ever calculated value
  7465. 2006-05-19 Mike Kestner <[email protected]>
  7466. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  7467. PointToClient, since Capture is set. Fixes #78344.
  7468. 2006-05-19 Mike Kestner <[email protected]>
  7469. * ListView.cs: match MS behavior in Details view where items are not
  7470. drawn if Columns.Count == 0.
  7471. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  7472. Use a separate pen to draw the check, since changing the width affects
  7473. the box as well. Fixes #78454.
  7474. 2006-05-18 Miguel de Icaza <[email protected]>
  7475. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  7476. exception should throw the name of the invalid argument.
  7477. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  7478. there are no files listed.
  7479. 2006-05-18 Jackson Harper <[email protected]>
  7480. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  7481. up.
  7482. 2006-05-18 Peter Dennis Bartok <[email protected]>
  7483. * Control.cs: Brought back our old UpdateZOrder method as a private
  7484. function and switched our calls from UpdateZOrder to the new one.
  7485. This fixes the Paint.Net canvas disappearing bug.
  7486. 2006-05-18 Jackson Harper <[email protected]>
  7487. * Theme.cs:
  7488. * ThemeWin32Classic.cs:
  7489. * InternalWindowManager.cs: Move the drawing into the theme,
  7490. expose everything the theme should need from the window manager.
  7491. 2006-05-18 Peter Dennis Bartok <[email protected]>
  7492. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  7493. from the call to NativeWindow to avoid walking up the parent chain
  7494. further than needed (speeds up setting cursors and avoids setting
  7495. the wrong cursor if a parent has another cursor defined)
  7496. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  7497. the icon as hotspot, not what's contained as hotspot in the icon
  7498. file. This fixes the perceived drawing offset seen with Paint.Net
  7499. 2006-05-18 Peter Dennis Bartok <[email protected]>
  7500. * XplatUIX11.cs:
  7501. - Store the calculated rectangle in Hwnd object and use it when
  7502. setting the client size
  7503. - Force Toolwindows to always be type Dock, to ensure they're on top
  7504. 2006-05-18 Mike Kestner <[email protected]>
  7505. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  7506. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  7507. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  7508. Substantial refactoring to remove confusing nested classes. Coding
  7509. standard and Get+Set->property refactorings. Shift to index based
  7510. highlighting in ComboListBox instead of constantly using IndexOf and
  7511. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  7512. in FileDialog growth. Draw borders manually since Simple mode needs
  7513. to look like two independent controls. Make listbox border
  7514. conditional to DropDownStyle. Improved OwnerDraw support.
  7515. 2006-05-18 Sebastien Pouliot <[email protected]>
  7516. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  7517. Don't set the disposed graphics to null, so we can throw the "right"
  7518. exception if the graphics is reused later (added a flag to avoid
  7519. double disposing). Some behaviours are different under 2.0 and are
  7520. filled under bug #78448.
  7521. 2006-05-18 Peter Dennis Bartok <[email protected]>
  7522. * Control.cs: When double-buffering is enabled, we need to reset
  7523. our graphics context between paint calls. Otherwise, any
  7524. transformations and other alterations on the context will
  7525. become cumulative (#77734)
  7526. 2006-05-18 Mike Kestner <[email protected]>
  7527. * ListView.cs: do focused item selection like MS on clicks.
  7528. Rework focus handling for ItemControl so LostFocus invalidates as
  7529. well.
  7530. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  7531. the ListView ItemControl has focus.
  7532. 2006-05-17 Peter Dennis Bartok <[email protected]>
  7533. * XplatUIX11.cs: If client_window ends up being width or height zero
  7534. due to border settings, move it off window inside whole_window (#78433)
  7535. 2006-05-17 Alexander Olk <[email protected]>
  7536. * Mime.cs: Shrink the mime file cache correctly.
  7537. 2006-05-17 Alexander Olk <[email protected]>
  7538. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  7539. 2006-05-16 Peter Dennis Bartok <[email protected]>
  7540. * XplatUIX11.cs (AddExpose): More sanity checks
  7541. 2006-05-16 Peter Dennis Bartok <[email protected]>
  7542. * XplatUIX11.cs:
  7543. - AddExpose: Don't add expose ranges outside the size of our
  7544. window
  7545. - Cast opacity values to Int32 to avoid crashes with certain
  7546. values
  7547. - Added disabled code paths that protect against illegal cross-
  7548. thread painting (Developers.exe)
  7549. 2006-05-16 Peter Dennis Bartok <[email protected]>
  7550. * ProgressBar.cs: Invalidate the control when it's resized
  7551. since block size is based on control size. (#78388)
  7552. 2006-05-16 Miguel de Icaza <[email protected]>
  7553. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  7554. of setting the incoming argument to the "reset" value, we set the
  7555. this.datamember to string.empty (before we were invalidating the
  7556. incoming data).
  7557. Fixes 78420
  7558. 2006-05-16 Peter Dennis Bartok <[email protected]>
  7559. * Form.cs: Only apply transparency settings after the form
  7560. is created. (Fixes #77800)
  7561. 2006-05-16 Peter Dennis Bartok <[email protected]>
  7562. * ApplicationContext.cs: Grab the HandleDestroyed event so
  7563. we know when to fire OnMainFormClosed
  7564. 2006-05-16 Peter Dennis Bartok <[email protected]>
  7565. * Application.cs: Introduced sub-class to allow tracking of
  7566. threads and centralized triggering of the event mess for
  7567. ThreadExit, AppExit, etc.. (#76156)
  7568. 2006-05-16 Alexander Olk <[email protected]>
  7569. * MimeIcon.cs:
  7570. - Do not return a null icon index value for a mime subclass.
  7571. Instead try the main mime type class too.
  7572. - Seems that some newer distributions don't have a link to some
  7573. gnome default icons anymore. So check the default gnome dir too.
  7574. 2006-05-16 Jackson Harper <[email protected]>
  7575. * MdiClient.cs: Don't paint the parent background image if we have
  7576. our own background image.
  7577. 2006-05-16 Peter Dennis Bartok <[email protected]>
  7578. * Control.cs:
  7579. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  7580. controls, all filled controls are supposed to overlap (#78080)
  7581. - UpdateZOrder is supposed to update the control's z-order in the
  7582. parent's z-order chain. Fixed to behave like that
  7583. - BringToFront: Removed obsolete code
  7584. - SendToBack: Simplyfied
  7585. - SetChildIndex: Trigger layout calculations when Z-order changes
  7586. since layout is done by z-order
  7587. 2006-05-16 Chris Toshok <[email protected]>
  7588. [ fixes bug #78410 ]
  7589. * DataGrid.cs (set_AlternatingBackColor): use
  7590. grid_drawing.InvalidateCells instead of Refresh().
  7591. (set_BackColor): call grid_drawing.InvalidateCells.
  7592. (set_BackgroundColor): use Invalidate instead of Refresh.
  7593. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  7594. invalidate the cell area.
  7595. 2006-05-15 Chris Toshok <[email protected]>
  7596. [ fixes bug #78011 ]
  7597. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  7598. on to DataGridPaintRow.
  7599. (DataGridPaintRow): take a clip argument, and only draw the cells
  7600. which intersect it. same with the not_usedarea.
  7601. * Theme.cs (DataGridPaintRow) add @clip parameter.
  7602. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  7603. XplatUI.ScrollWindow.
  7604. (ScrollToRow): same.
  7605. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  7606. with last column which was causing a gray swath to appear with the
  7607. XplatUI.ScrollWindow code.
  7608. 2006-05-15 Chris Toshok <[email protected]>
  7609. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  7610. use XplatUI.ScrollWindow.
  7611. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  7612. 2006-05-15 Peter Dennis Bartok <[email protected]>
  7613. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  7614. 2006-05-15 Peter Dennis Bartok <[email protected]>
  7615. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  7616. file since there are no equivalent X11 cursors
  7617. 2006-05-15 Atsushi Enomoto <[email protected]>
  7618. * MonthCalendar.cs : DateTimePicker should reflect selected date
  7619. on mouse*up*, not mouse*down*. Fixed originally reported part of
  7620. bug #76474.
  7621. 2006-05-15 Atsushi Enomoto <[email protected]>
  7622. * TabControl.cs : When argument index is equal or more than tab
  7623. count, just ignore. Fixed bug #78395.
  7624. 2006-05-15 Peter Dennis Bartok <[email protected]>
  7625. * Control.cs: Dispose all child controls when control is diposed (#78394)
  7626. 2006-05-14 Alexander Olk <[email protected]>
  7627. * ColorDialog.cs: Finally it is possible to select the color with
  7628. the text boxes
  7629. 2006-05-14 Alexander Olk <[email protected]>
  7630. * PrintDialog.cs: Fix typo
  7631. 2006-05-14 Alexander Olk <[email protected]>
  7632. * PrintDialog.cs: PrintDialog is not resizable
  7633. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  7634. color. Made some ToolBar drawing methods protected virtual.
  7635. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  7636. * PrintDialog.cs: Implementation of the PrintDialog
  7637. 2006-05-12 Chris Toshok <[email protected]>
  7638. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  7639. thumb, instead use MoveThumb. This has the side effect of making
  7640. most of the other thumb moving machinery use MoveThumb as well.
  7641. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  7642. need to actually invalidate the rectangle where the new thumb will
  7643. go.
  7644. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  7645. We force an Update() after, so it's not as fast as it could be,
  7646. but at least there's zero flicker and no droppings.
  7647. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  7648. (UpdateThumbPos): add another argument (dirty), which says whether
  7649. or not to calculate/add dirty regions which we later invalidate.
  7650. For cases where we know we're going to use MoveThumb, we pass
  7651. false for this. Otherwise, pass true.
  7652. 2006-05-12 Jackson Harper <[email protected]>
  7653. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  7654. the status bar.
  7655. 2006-05-12 Peter Dennis Bartok <[email protected]>
  7656. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  7657. and GetClipRegion methods and UserClipWontExposeParent property.
  7658. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  7659. overriding UserClipWontExposeParent property, setting to false, since
  7660. Win32 handles the required expose messages to draw our clipped parent
  7661. areas internally
  7662. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  7663. PaintEventStart to set the user clip region if set.
  7664. * Control.cs:
  7665. - Now internally tracking the Region for the control since we need to
  7666. store it if the handle is not yet created and only set it when it
  7667. becomes created. Before setting the region forced handle creation
  7668. - Added code to draw the parents underneath a user-clipped region
  7669. * Hwnd.cs: Added UserClip property
  7670. 2006-05-12 Chris Toshok <[email protected]>
  7671. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  7672. (set_Maximum): same.
  7673. (set_Minimum): same.
  7674. (set_SmallChange): same.
  7675. (OnMouseUpSB): remove the call to refresh when releasing the
  7676. thumb. We shouldn't need it.
  7677. 2006-05-12 Miguel de Icaza <[email protected]>
  7678. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  7679. AutoSize set to None, we do not need to relayout everything, we
  7680. just need to invalidate the current region.
  7681. (Draw): Do not draw the entire ClientArea, just redraw the
  7682. clip area being passed.
  7683. * MdiClient.cs: Make MdiClient constructor with the Form argument
  7684. internal.
  7685. 2006-05-12 Jackson Harper <[email protected]>
  7686. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  7687. parents background image, but strangely not their own.
  7688. - (DrawStatusBarPanel): Take into account horizontal alignment
  7689. when drawing the strings and icons.
  7690. 2006-05-12 Mike Kestner <[email protected]>
  7691. * ListBox.cs: avoid invalidations for focus when the collection is
  7692. empty.
  7693. 2006-05-12 Chris Toshok <[email protected]>
  7694. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  7695. invalidate the entire thumb area. Call InvalidateDirty which
  7696. limits the redraw to the thumb itself and surrounding pixels.
  7697. * XplatUIX11.cs (ScrollWindow): optimize copying.
  7698. 2006-05-12 Chris Toshok <[email protected]>
  7699. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  7700. Figure out the positioning/layout in a single pass instead of
  7701. multiple recursive invocations. Speeds up the initial display of
  7702. the data grid. Also, make many things private that were
  7703. originally public but unused outside this class.
  7704. 2006-05-11 Jackson Harper <[email protected]>
  7705. * MdiClient.cs: Improved layout code.
  7706. 2006-05-11 Jonathan Chambers <[email protected]>
  7707. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  7708. not SelectedObject.
  7709. 2006-05-11 Chris Toshok <[email protected]>
  7710. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  7711. union of that will always be {0,0,width,height}.
  7712. 2006-05-11 Jackson Harper <[email protected]>
  7713. * Form.cs: Match MS's DefaultSize for forms (they must have
  7714. changed the size in sp2).
  7715. 2006-05-11 Atsushi Enomoto <[email protected]>
  7716. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  7717. 2006-05-11 Atsushi Enomoto <[email protected]>
  7718. * TextControl.cs : Fixed bug #78109. This incorrect position
  7719. comparison caused crash on automatic line split.
  7720. * TextBoxBase.cs : reduce duplicate code.
  7721. 2006-05-10 Jackson Harper <[email protected]>
  7722. * MdiClient.cs: Active form is only sent to the back when using
  7723. the Next form functionality, when a form is clicked the current
  7724. active shouldn't be sent to the back.
  7725. - Layout the mdi windows when the container is first made visible.
  7726. * Form.cs: Give the MdiClient a ref to the containing form when we
  7727. create it.
  7728. 2006-05-10 Atsushi Enomoto <[email protected]>
  7729. * LinkLabel.cs : link_font could be uninitialized, so populate one
  7730. before actual use. Fixed bug #78340.
  7731. 2006-05-10 Atsushi Enomoto <[email protected]>
  7732. * XplatUIX11.cs : clipboard format native value is IntPtr.
  7733. Fixed bug #78283.
  7734. 2006-05-10 Peter Dennis Bartok <[email protected]>
  7735. * Control.cs:
  7736. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  7737. which is passed up the parent chain by DefWndProc
  7738. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  7739. to DefWndProc (#77956)
  7740. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  7741. 2006-05-10 Jackson Harper <[email protected]>
  7742. * MdiClient.cs: We need to remove the controls from the mdi
  7743. collection, when we close the window.
  7744. * MdiWindowManager.cs: Special handling of closing mdi windows.
  7745. * InternalWindowManager.cs: Make the close method virtual so the
  7746. mdi window manager can handle it specially.
  7747. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  7748. * DataGrid.cs:
  7749. - Recalculate grid when the data source has changed
  7750. - Matches styles provided by user from all data sources types
  7751. * DataGridTableStyle.cs: For columns that provided by the user set the
  7752. with the preferred value is there was unassigned.
  7753. * CurrencyManager.cs: throw OnItemChanged event
  7754. 2006-05-10 Peter Dennis Bartok <[email protected]>
  7755. * PictureBox.cs: Don't animate until handle is created. Start animation
  7756. when handle is created.
  7757. 2006-05-10 Peter Dennis Bartok <[email protected]>
  7758. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  7759. current codebase.
  7760. * XEventQueue.cs: We don't need to provide the extra info
  7761. 2006-05-10 Jackson Harper <[email protected]>
  7762. * MdiClient.cs: If the mdi clients parent form has a background
  7763. image set, we draw that background image for the mdi area's
  7764. background.
  7765. 2006-05-10 Peter Dennis Bartok <[email protected]>
  7766. * TextBoxBase.cs: Set IBeam cursor (#78347)
  7767. 2006-05-10 Mike Kestner <[email protected]>
  7768. * ToolBar.cs: fix some text padding issues with ButtonSize
  7769. calculation. Update the default size to match MS documentation.
  7770. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  7771. button size. Fixes #78296.
  7772. 2006-05-10 Mike Kestner <[email protected]>
  7773. * ListBox.cs: use is_visible for scrollbar positioning in case the
  7774. control isn't on screen yet. Fix off by one with Right vs Width
  7775. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  7776. 2006-05-10 Jackson Harper <[email protected]>
  7777. * X11Dnd.cs: Drop to a control with another control on top of it.
  7778. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  7779. be modified in click handlers. TODO: Look for similar problems in
  7780. other controls.
  7781. 2006-05-09 Jackson Harper <[email protected]>
  7782. * Form.cs: Window managers need the old window state when setting
  7783. window state now.
  7784. * InternalWindowManager.cs: Allow the base mdi window manager to
  7785. handle more of the MDI only stuff (like maximize buttons).
  7786. * MdiWindowManager.cs: Fix some snafus in changing the window
  7787. state. Add all the menu functionality, for both popup and
  7788. maximized menus.
  7789. * MdiClient.cs: When a new form is selected the currently
  7790. activated form is sent to the back, this matches MS.
  7791. - Implement a new method to activate the next mdi child window.
  7792. 2006-05-08 Peter Dennis Bartok <[email protected]>
  7793. * Control.cs:
  7794. - Added new InternalCapture method to allow controls to prevent
  7795. the capture behaviour on the click handlers
  7796. - Switched to use InternalCapture
  7797. * ComboBox.cs:
  7798. - Using InternalCapture to prevent mouse captures from being released
  7799. on mouse button release (Fixes #78100)
  7800. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  7801. returns Form borders if a caption is present. (Fixes #78310)
  7802. 2006-05-08 Peter Dennis Bartok <[email protected]>
  7803. * TreeNode.cs: Changed serialization .ctor to not require every field
  7804. to be present. (#78265)
  7805. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  7806. 2006-05-05 Alexander Olk <[email protected]>
  7807. * MimeIcon.cs: for is faster than foreach for strings.
  7808. 2006-05-05 Mike Kestner <[email protected]>
  7809. * CheckedListBox.cs: update check handling code to not use selected.
  7810. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  7811. behavior for visual feedback, motion response, shift/ctrl handling,
  7812. and properly deal with all 4 selection modes. Updates to bounds
  7813. handling logic. Add scroll wheel support. [Fixes #77842]
  7814. 2006-05-05 Peter Dennis Bartok <[email protected]>
  7815. * ListView.cs:
  7816. - Moved adding of Implicit controls into .ctor. That way, subsequent
  7817. creation of the controls will not cause them to think they are
  7818. toplevel windows (fixes #78200 header problem)
  7819. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  7820. - Switched visibility setting of header control to use internal field
  7821. to avoid triggering handle creation
  7822. - Now checking if handle is created before causing a refresh when items
  7823. are added (This makes us now match handle creation time with MS)
  7824. * Splitter.cs: Removed loading of private splitter cursor, switched to
  7825. Cursors version now that that is loading the right ones
  7826. * Cursors.cs: Load proper splitter cursors from resources
  7827. * Cursor.cs: Added second method of loading resource cursors for the
  7828. VS.Net users amongst us
  7829. 2006-05-05 Mike Kestner <[email protected]>
  7830. * ListView.cs: give header_control a minimum size based on the
  7831. ListView size.
  7832. 2006-05-05 Peter Dennis Bartok <[email protected]>
  7833. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  7834. window seems to do that with metacity, so set that type. (#78120)
  7835. 2006-05-05 Mike Kestner <[email protected]>
  7836. * ListViewItem.cs: fix Details mode checkbox layout bug.
  7837. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  7838. at the end of the header, if it exists. [Fixes for #78200]
  7839. 2006-05-04 Jackson Harper <[email protected]>
  7840. * MdiClient.cs: Add a helper property to get the container form.
  7841. * MdiWindowManager.cs: We have to make sure to use the menu origin
  7842. when drawing the icons and buttons, this fixes maximized window
  7843. icons/buttons on win32.
  7844. * InternalWindowManager.cs: Reset the restore captions when a
  7845. window goes from Maximized to Minimized and vice versa. Move the
  7846. DrawMaximizedButtons into the MdiWindowManager source, tool
  7847. windows can't be maximized. NOTE: This could use a little
  7848. refactoring if time ever permits.
  7849. 2006-05-03 Jonathan Chambers <[email protected]>
  7850. * TextBox.cs: Add MWFCategoryAttributes
  7851. * TextBoxBase.cs: Add MWFCategoryAttributes
  7852. * Form.cs: Add MWFCategoryAttributes
  7853. 2006-05-03 Jonathan Chambers <[email protected]>
  7854. * Control.cs: Add MWFCategoryAttributes
  7855. * ScrollableControl.cs: Add MWFCategoryAttributes
  7856. 2006-05-03 Alexander Olk <[email protected]>
  7857. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  7858. Divider is true. Fix a little glitch in PropertyToolBar
  7859. drawing code
  7860. 2006-05-02 Peter Dennis Bartok <[email protected]>
  7861. * Control.cs:
  7862. - Dispose: Call base.Dispose, this causes the disposed event
  7863. to be fired (and probably other, more important stuff)
  7864. - SetVisibleCore: Set is_visible to true after creating the
  7865. window so that the window still gets created invisible (if
  7866. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  7867. to generate a WM_ACTIVE message
  7868. * Form.cs: Call Dispose when we want to destroy the window, instead of
  7869. just destroying the handle (Dispose will do that for us)
  7870. * XplatUIX11.cs:
  7871. - RootWindow also needs a queue, so we can properly process the
  7872. property change events from RootWindow (like Activate)
  7873. - Generatic synthetic WM_ACTIVE message when the active window is
  7874. being destroyed
  7875. 2006-05-01 Peter Dennis Bartok <[email protected]>
  7876. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  7877. bounds are changed
  7878. 2006-05-01 Peter Dennis Bartok <[email protected]>
  7879. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  7880. for determining width and height (image might not be assigned if
  7881. we're drawing an imagelist)
  7882. 2006-05-01 Peter Dennis Bartok <[email protected]>
  7883. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  7884. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  7885. height from system
  7886. * Theme.cs: No longer returns hardcoded menu height, instead calls
  7887. new driver method
  7888. * Form.cs (OnLoad): Scaling happens before triggering Load events
  7889. on MS (# 78257)
  7890. 2006-05-01 Mike Kestner <[email protected]>
  7891. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  7892. 2006-04-30 Peter Dennis Bartok <[email protected]>
  7893. * TextBoxBase.cs: Removed Fixme
  7894. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  7895. 2006-04-30 Peter Dennis Bartok <[email protected]>
  7896. * XplatUIX11.cs:
  7897. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  7898. the rectangle relative to the parent, considering borders. We
  7899. don't really want that.
  7900. - ScrollWindow: Fixed warning to be more understandable
  7901. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  7902. scrollbars and scroll only the visible area
  7903. * RichTextBox.cs: Removed debug output
  7904. 2006-04-29 Peter Dennis Bartok <[email protected]>
  7905. * NumericUpDown.cs (Text): Just use base
  7906. * UpDownBase.cs: Ensure txtView is created before using it
  7907. 2006-04-29 Peter Dennis Bartok <[email protected]>
  7908. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  7909. casting to IntPtr to avoid 64bit overflow errors
  7910. 2006-04-29 Peter Dennis Bartok <[email protected]>
  7911. * Control.cs:
  7912. - AllowDrop: Don't force handle creation.
  7913. - CreateHandle: Added call to tell driver if we're allowed to drop
  7914. 2006-04-27 Alexander Olk <[email protected]>
  7915. * FileDialog.cs: Remember the last directory not only for the
  7916. current instance but also for new FileDialog instances.
  7917. 2006-04-29 Peter Dennis Bartok <[email protected]>
  7918. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  7919. broke sending async messages
  7920. 2006-04-29 Peter Dennis Bartok <[email protected]>
  7921. * XplatUIX11.cs:
  7922. - ScrollWindow: Fixed method. We finally generate expose events again
  7923. for scrolled areas. This was causing 'garbage' when scrolling
  7924. textbox and other controls that used ScrollWindow
  7925. - Switched from using the regular queue for paint events to the MS
  7926. model of 'generating' paint events when the queue is empty.
  7927. We use the new XQueueEvent.Paint subclass to store which windows
  7928. need painting.
  7929. - AddExpose now takes the x/y/width/height of the exposed area
  7930. and inserts the window into the paint queue if not already there
  7931. - InvalidateWholeWindow: Switched to use new AddExpose method
  7932. - UpdateMessageQueue: Added which queue to monitor for paint events
  7933. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  7934. the unlikely case nothing above handles it. We reset the expose
  7935. pending states to get them off the queue.
  7936. - GetMessage: Now pulls a paint event if no other events are in the
  7937. queue
  7938. - Invalidate: Switched to new AddExpose method
  7939. - PeekMessage: Updated to understand pending paint events
  7940. - UpdateWindow: Fixed logic bug. We were only updating if the window
  7941. didn't need updating. Also switched to sending WM_PAINT directly,
  7942. like MS does.
  7943. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  7944. and random access Remove(). The random access is needed to handle
  7945. UpdateWindow() where a WM_PAINT is sent directly without accessing
  7946. the queue.
  7947. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  7948. allow for better feedback when scrolling. Scrollbars are small and
  7949. the immediate update should make it 'feel' more responsive without
  7950. slowing things down. ScrollBar still needs it's invaliate logic
  7951. updated to not always invalidate the whole bar on certain changes.
  7952. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  7953. * Control.cs:
  7954. (BackColor): if the control does not support a transparent background,
  7955. return the default backcolor when the parent backcolor is transparent.
  7956. 2006-04-28 Peter Dennis Bartok <[email protected]>
  7957. * Application.cs: Updated to new StartLoop/GetMessage API
  7958. * RichTextBox.cs: Provide some output on RTF parsing errors
  7959. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  7960. new queue_id argument to GetMessage and PeekMessage to allow faster
  7961. handling of per-thread queues in drivers.
  7962. * Hwnd.cs: Added Queue tracking and property
  7963. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  7964. * XEventQueue.cs: Added thread trackingA
  7965. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  7966. * XplatUIX11.cs:
  7967. - Implemented new per-thread queue
  7968. - GetMessage: Fixed return/break behaviour on several cases. We were
  7969. returning stale messages in some cases, instead of just processing
  7970. the next message
  7971. 2006-04-27 Jonathan Chambers <[email protected]>
  7972. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  7973. 2006-04-27 Peter Dennis Bartok <[email protected]>
  7974. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  7975. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  7976. 2006-04-27 Jonathan Chambers <[email protected]>
  7977. * PropertyGridView.cs: Fix drop down width.
  7978. 2006-04-27 Alexander Olk <[email protected]>
  7979. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  7980. a mess in DrawToolBar, so I removed one of them.
  7981. 2006-04-27 Alexander Olk <[email protected]>
  7982. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  7983. needed (clip). Otherwise we get artifacts.
  7984. 2006-04-26 Peter Dennis Bartok <[email protected]>
  7985. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  7986. dimension is fixed
  7987. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  7988. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  7989. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  7990. if it matches the scale base font (avoids unneeded scaling)
  7991. 2006-04-26 Alexander Olk <[email protected]>
  7992. * X11DesktopColors.cs: One gtk_init_check should be enough
  7993. 2006-04-26 Peter Dennis Bartok <[email protected]>
  7994. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  7995. match MS behaviour
  7996. 2006-04-26 Peter Dennis Bartok <[email protected]>
  7997. * TextBoxBase.cs:
  7998. - Generate OnTextChanged for Backspace even if we're only deleting
  7999. the current selection
  8000. - When setting the Text property, only select all text if the
  8001. control does not have focus when it is being set. Otherwise
  8002. just place the cursor at the beginning of the control
  8003. 2006-04-26 Alexander Olk <[email protected]>
  8004. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  8005. Added a little helper to draw PropertyGrid ToolBar with a different
  8006. border and a different BackColor.
  8007. * PropertyGrid.cs: Some background parts didn't get painted with the
  8008. correct background color. Added a class that helps us to draw the
  8009. correct border for PropertyGridView and a class that helps us to
  8010. draw ToolBars with a different backcolor
  8011. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  8012. 2006-04-25 Jonathan Chambers <[email protected]>
  8013. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  8014. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  8015. 2006-04-25 Peter Dennis Bartok <[email protected]>
  8016. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  8017. into the palette entries. Also, since we're working on a copy
  8018. we needed to copy the palette back onto the bitmap.
  8019. * Cursor.cs: Same fix as XplatUIWin32.cs.
  8020. 2006-04-25 Peter Dennis Bartok <[email protected]>
  8021. * ImageListStreamer.cs: Need to read the var (or we're off)
  8022. 2006-04-25 Peter Dennis Bartok <[email protected]>
  8023. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  8024. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  8025. TextBoxBase.cs: Unused var fixes
  8026. * AxHost.cs: Small 2.0 fix
  8027. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  8028. as it seems that is what at least Metacity expects. This will make
  8029. icons show up on 64bit platforms. We still have some 64bit size
  8030. issues, though, since the startup app window size still won't match.
  8031. 2006-04-25 Mike Kestner <[email protected]>
  8032. * *.cs: cleanup newly reported exception var unused warnings.
  8033. 2006-04-25 Alexander Olk <[email protected]>
  8034. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  8035. ms
  8036. 2006-04-25 Alexander Olk <[email protected]>
  8037. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  8038. image. The image position is always the same, no matter if the
  8039. button is pressed or not.
  8040. 2006-04-25 Alexander Olk <[email protected]>
  8041. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  8042. selection and set the correct filename for SaveFileDialog.
  8043. Patch by Emery Conrad.
  8044. 2006-04-24 Mike Kestner <[email protected]>
  8045. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  8046. check for item.X outside the ClientRect instead of item.Y. Fixes
  8047. #78151.
  8048. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  8049. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  8050. trust that value blindly and do some sanity check. Fixes bug #77814.
  8051. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  8052. * ImageListStreamer.cs: save the mask as a 1bpp image.
  8053. 2006-04-21 Mike Kestner <[email protected]>
  8054. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  8055. pass Checked and Indeterminate to the Theme Engine. Improve
  8056. encapsulation with ListBox.
  8057. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  8058. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  8059. nested types. Move all CheckState functionality to CheckedListBox.
  8060. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  8061. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  8062. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  8063. single base list. Fix scrollbar sizing and placement to mirror MS.
  8064. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  8065. used.
  8066. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  8067. for CheckedListBox by using new DrawItemState info. Center the
  8068. checkboxes on the items. Use new StringFormat property.
  8069. 2006-04-18 Jackson Harper <[email protected]>
  8070. * Form.cs: MdiChildren don't do default locations the same way as
  8071. regular forms. This prevents a crash when trying to position the
  8072. mdi windows.
  8073. 2006-04-17 Jonathan Chambers <[email protected]>
  8074. * PropertyGridTextBox.cs: Formatting, copyright
  8075. * PropertiesTab.cs: Formatting
  8076. * PropertyGrid.cs: Formatting
  8077. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  8078. click toggling of values
  8079. 2006-04-17 Peter Dennis Bartok <[email protected]>
  8080. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  8081. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  8082. every time a control is created
  8083. * Application.cs: Removed obsolete EnableRTLMirroring method
  8084. 2006-04-18 Gert Driesen <[email protected]>
  8085. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  8086. SelectedIndex to -1. Fixes bug #78121.
  8087. 2006-04-17 Jackson Harper <[email protected]>
  8088. * Binding.cs: Handle null values for Current and BindingContext.
  8089. This occurs when binding is a little delayed.
  8090. * CurrencyManager.cs: return null for Current when there are no
  8091. items in the list.
  8092. - Hookup to the listchanged event on the DataView and update
  8093. bindings when the list is changed. This fixes late binding of
  8094. controls.
  8095. 2006-04-17 Jackson Harper <[email protected]>
  8096. * X11Dnd.cs:
  8097. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  8098. Ringenbach.
  8099. 2006-04-15 Alexander Olk <[email protected]>
  8100. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  8101. place
  8102. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  8103. with the correct ButtonState
  8104. 2006-04-14 Peter Dennis Bartok <[email protected]>
  8105. * XplatUIX11.cs: Improved distinguishing between window types to
  8106. tell the WM a type closer to what the app wants (Fixes #78107)
  8107. 2006-04-14 Alexander Olk <[email protected]>
  8108. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  8109. GrabHandle
  8110. 2006-04-14 Alexander Olk <[email protected]>
  8111. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  8112. drawing code to reflect the size grip changes
  8113. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  8114. * ImageListStreamer.cs: fix handling of the mask that follows the main
  8115. bitmap when deserializing and serialize it properly. The generated mask
  8116. should better be a 1bpp image, but I'll do that later.
  8117. 2006-04-13 Alexander Olk <[email protected]>
  8118. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  8119. path doesn't fit into some of our Current.Places
  8120. 2006-04-13 Jackson Harper <[email protected]>
  8121. * ComboBox.cs: Use borders instead of drawing our own decorations,
  8122. try to obey correct rules for heights.
  8123. * Theme.cs:
  8124. * ThemeNice.cs:
  8125. * ThemeClearLooks.cs:
  8126. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  8127. this is now handled by borders.
  8128. - Remove unused DrawListBoxDecorationSize method.
  8129. 2006-04-13 Mike Kestner <[email protected]>
  8130. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  8131. reported by Alex.
  8132. 2006-04-13 Alexander Olk <[email protected]>
  8133. * ThemeWin32Classic.cs:
  8134. - Fixed CPDrawStringDisabled
  8135. - Corrected drawing of disabled menu items
  8136. - Fixed drawing of disabled radio buttons (bug #78095)
  8137. - Draw check in a disabled CheckBox with color ControlDark
  8138. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8139. * Form.cs: Use the provided width when calculating the menu size;
  8140. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  8141. and ClientSize.Width won't be updated yet
  8142. * Application.cs: Use Visible instead of Show() to make form visible,
  8143. this way we create the handle later and menusize is considered
  8144. 2006-04-12 Mike Kestner <[email protected]>
  8145. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  8146. reporting.
  8147. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8148. * TextBox.cs: Implemented context menu
  8149. 2006-04-12 Mike Kestner <[email protected]>
  8150. * ListView.cs: implement box selection. fixes #77838.
  8151. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  8152. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8153. * XplatUIX11.cs: Added setting of window type when transient window
  8154. is created (metacity would move it otherwise)
  8155. * X11Structs.cs: Added WINDOW_TYPE atoms
  8156. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  8157. background (the control is Opaque but still wants transparent
  8158. backgrounds)
  8159. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8160. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  8161. that set Opaque but don't mean it (like all ButtonBase-derived
  8162. controls) to still draw their background
  8163. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  8164. the background
  8165. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8166. * Control.cs (PaintControlBackground): Set the graphics object
  8167. on our PaintEvent to null to prevent it from being disposed
  8168. when the PaintEvent gets disposed
  8169. 2006-04-12 Alexander Olk <[email protected]>
  8170. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  8171. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  8172. 2006-04-12 Peter Dennis Bartok <[email protected]>
  8173. * Control.cs:
  8174. - Added transparency check to BackColor property. Transparent
  8175. backgrounds are only allowed if the control styles permit it
  8176. - Added recursive painting of parent control background and
  8177. foreground if a control with a transparent backcolor is drawn
  8178. (Thanks to Tim Ringenback for providing his 'hack' as a base
  8179. for this patch) Fixes #77985 and #78026.
  8180. - Added Opaque style check before calling OnPaintBackground, no
  8181. need to draw the background if the control is opaque
  8182. - Removed ControlAccessibleObject owner variable (inherited from
  8183. base, no need to define again)
  8184. - Added some documentation links explaining the drawing events
  8185. and styles
  8186. 2006-04-11 Peter Dennis Bartok <[email protected]>
  8187. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  8188. that the affected control is the located at the left border of our
  8189. parent (Fixes #77936)
  8190. 2006-04-11 Peter Dennis Bartok <[email protected]>
  8191. * TextBoxBase.cs: When rendering disabled or readonly controls,
  8192. draw the background with 'Control' instead of 'Window' color as
  8193. long as the user hasn't specifically set a color
  8194. 2006-04-11 Peter Dennis Bartok <[email protected]>
  8195. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  8196. since that won't be updated if the user types text (only if it's
  8197. programatically set)
  8198. 2006-04-11 Peter Dennis Bartok <[email protected]>
  8199. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  8200. layout changes do to app-triggered resizes will have the proper
  8201. display rectangle for layout
  8202. 2006-04-11 Alexander Olk <[email protected]>
  8203. * ThemeWin32Classic.cs:
  8204. - Make use of the SystemBrushes and SystemPens wherever possible
  8205. - Corrected some highlight colors
  8206. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  8207. drawing
  8208. * Theme.cs: Added Empty field to CPColor struct
  8209. 2006-04-11 Peter Dennis Bartok <[email protected]>
  8210. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  8211. is displayed when calculating the display rectangle. Thanks to Mike
  8212. for teaching me the err of my ways.
  8213. 2006-04-10 Peter Dennis Bartok <[email protected]>
  8214. * ScrollableControl.cs:
  8215. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  8216. (instead of 0,0) and we now return the real width/height instead of
  8217. just the clientrectangle, adjusted for padding. The rectangle is
  8218. now cached and created by the new CalculateDisplayRectangle method.
  8219. - Created new CalculateDisplayRectange method, which basically does
  8220. what get_DisplayRectangle() did originally, but now using the
  8221. right edge instead of DisplayRectangle to determine the size of
  8222. our scrollbars
  8223. - get_Canvas(): Fixed it to properly calculate canvas for
  8224. right/bottom controls which seem to be placed to the right/bottom
  8225. of any controls that have a fixed location
  8226. - Removed TODO that's taken care of
  8227. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  8228. and SetDisplayRectLocation according to new MSDN2 docs
  8229. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  8230. event when that is called, this is added for compatibility
  8231. - ScrollControlIntoView(): Implemented.
  8232. - Switched scrollbars to be implicit, they shouldn't be selectable
  8233. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  8234. call it when the active control is set/changed
  8235. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  8236. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  8237. implicit_control variable (used for native Win32 message generation)
  8238. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  8239. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  8240. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  8241. * XplatUIStructs.cs: Added ScrollBarCommands enum
  8242. 2006-04-10 Jackson Harper <[email protected]>
  8243. * ButtonBase.cs:
  8244. * CheckedListBox.cs:
  8245. * ComboBox.cs:
  8246. * DataGrid.cs:
  8247. * DataGridView.cs:
  8248. * Form.cs:
  8249. * GroupBox.cs:
  8250. * ListBox.cs:
  8251. * PrintPreviewControl.cs:
  8252. * ProgressBar.cs:
  8253. * PropertyGrid.cs:
  8254. * Splitter.cs:
  8255. * StatusBar.cs:
  8256. * TrackBar.cs:
  8257. * UpDownBase.cs: Fixup base event overrides.
  8258. 2006-04-06 Mike Kestner <[email protected]>
  8259. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  8260. all user-initiated value changes to min <= value <= max-thumbsz+1.
  8261. (set_Value): check for vert/horiz when calculating new thumb position.
  8262. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  8263. like MS does.
  8264. (OnMouseMoveSB): refactor the thumb dragging code and refine
  8265. invalidation logic to reduce flicker.
  8266. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  8267. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  8268. (UpdateThumbPosition): small code readability cleanup
  8269. 2006-04-10 Alexander Olk <[email protected]>
  8270. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  8271. different
  8272. 2006-04-08 Alexander Olk <[email protected]>
  8273. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  8274. 2006-04-08 Alexander Olk <[email protected]>
  8275. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  8276. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  8277. This dramatically reduces the number of Pen.Dispose calls.
  8278. Where possible call ResPool methods only once instead of calling it
  8279. over and over again (for example for the same color).
  8280. 2006-04-06 Mike Kestner <[email protected]>
  8281. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  8282. Also remove an unused private field on the collection. Fixes #77972.
  8283. 2006-04-06 Alexander Olk <[email protected]>
  8284. * ThemeNice.cs: Added ToolBar drawing code
  8285. 2006-04-06 Mike Kestner <[email protected]>
  8286. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  8287. I'm assuming that means we need to look up the toplevel for the
  8288. provided control. Fixes the crash trace in #77911 but exposes another
  8289. crash in some strange reflection usage in NDocGui.
  8290. 2006-04-06 Alexander Olk <[email protected]>
  8291. * ThemeNice.cs: Gave it a little silver touch and added Images
  8292. method
  8293. * FontDialog.cs: FontDialog is not resizable
  8294. * FileDialg.cs: Added SizeGripStyle.Show
  8295. 2006-04-05 Jackson Harper <[email protected]>
  8296. * KeyboardLayouts.cs: Remove warning.
  8297. 2006-04-05 Jackson Harper <[email protected]>
  8298. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  8299. all of our controls instead of Paint +=.
  8300. * ListBox.cs:
  8301. * ListView.cs:
  8302. * MenuAPI.cs:
  8303. * MessageBox.cs:
  8304. * NotifyIcon.cs:
  8305. * ProgressBar.cs:
  8306. * ScrollBar.cs:
  8307. * Splitter.cs:
  8308. * StatusBar.cs:
  8309. * TabControl.cs:
  8310. * TextBoxBase.cs:
  8311. * ToolBar.cs:
  8312. * TrackBar.cs:
  8313. * UpDownBase.cs:
  8314. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  8315. use OnPaintInternal. Remove Width/Height and Visible checks in
  8316. paint handler, this is done at a higher level now.
  8317. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  8318. * PaintEventArgs.cs: Add a handled flag so controls that don't
  8319. want anymore painting after OnPaintInternal can make sure OnPaint
  8320. isn't called.
  8321. 2006-04-05 Mike Kestner <[email protected]>
  8322. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  8323. state of the form, so that we don't process events when Modal dialogs
  8324. are up. Fixes #77922.
  8325. 2006-04-05 Alexander Olk <[email protected]>
  8326. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  8327. checking is done.
  8328. 2006-04-05 Mike Kestner <[email protected]>
  8329. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  8330. 2006-04-05 Mike Kestner <[email protected]>
  8331. * ListView.cs (HeaderMouseMove): null guarding for the over column
  8332. when setting up the drag_to_index. Fixes #78015.
  8333. 2006-04-04 Peter Dennis Bartok <[email protected]>
  8334. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  8335. in the taskbar. Transient windows seem to accomplish that.
  8336. 2006-04-04 Peter Dennis Bartok <[email protected]>
  8337. * Form.cs:
  8338. - Re-enabled CreateParams.X/Y code for FormStartPosition
  8339. - Added code for manual placement when creating the Control
  8340. - Incomplete patch to treat MDI forms differently when
  8341. setting the ClientSizeCore. (Still need to figure out handling
  8342. x/y coords there)
  8343. * XplatUIX11.cs:
  8344. - When we're explicitly setting the X/Y position of a non-Child
  8345. window, let the WM know. Metacity really wants this.
  8346. 2006-04-04 Alexander Olk <[email protected]>
  8347. * ThemeNice.cs: Added CPDrawButton
  8348. 2006-04-04 Alexander Olk <[email protected]>
  8349. * ThemeNice.cs: Changed the color for focused buttons and activated
  8350. the arrows for small scroll buttons.
  8351. 2006-04-04 Alexander Olk <[email protected]>
  8352. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  8353. anymore. Changed some method modifiers to protected (virtual)
  8354. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  8355. changes
  8356. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  8357. Updated drawing of menus, buttons and progressbars; added
  8358. CPDrawBorder3D
  8359. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  8360. * ImageListStreamer.cs: implemented serialization/deserialization
  8361. of the images.
  8362. 2006-04-03 Alexander Olk <[email protected]>
  8363. * ThemeWin32Classic.cs:
  8364. - Removed all the DrawFrameControl stuff; CPDrawButton,
  8365. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  8366. inside the methods
  8367. - Updated and corrected the drawing code of CPDrawButton,
  8368. CPDrawCheckBox and CPDrawRadioButton to better match ms
  8369. - Updated theme checkbox and radiobutton code to use the CP*
  8370. methods
  8371. 2006-03-31 Peter Dennis Bartok <[email protected]>
  8372. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  8373. bug is fixed
  8374. 2006-03-31 Jackson Harper <[email protected]>
  8375. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  8376. sometimes.
  8377. * UpDownBase.cs: Don't CreateGraphics manually, use a
  8378. Refresh. Ideally we would invalidate the correct areas here.
  8379. 2006-03-31 Peter Dennis Bartok <[email protected]>
  8380. * XplatUIX11.cs:
  8381. - We now track the mapping state of windows. If a window (or
  8382. one of it's parents) is not mapped we no longer permit
  8383. WM_PAINT messages to be generated since we'd otherwise get
  8384. lots of BadMatch X errors. Jackson did all the work figuring
  8385. out the problem.
  8386. - Destroying the caret if the window it's contained in is
  8387. destroyed. Can't use regular DestroyCaret method since it
  8388. might fall into a drawing function (trying to remove the
  8389. caret) and with that generate new BadMatch errors. Again,
  8390. Jackson tracked this down.
  8391. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  8392. make sure we send the messages to all windows. (The old code
  8393. would send the WM_DESTROY to the window, and then all child
  8394. windows would be 'gone' because the WM_DESTROY handle lookup
  8395. would no longer find the destroyed window)
  8396. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  8397. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  8398. 2006-03-31 Jackson Harper <[email protected]>
  8399. * ScrollableControl.cs: Dont recalc if we are not visible.
  8400. 2006-03-31 Mike Kestner <[email protected]>
  8401. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  8402. the visibility branch.
  8403. 2006-03-31 Jackson Harper <[email protected]>
  8404. * ScrollBar.cs: Cap values when incrementing/decrementing.
  8405. 2006-03-31 Mike Kestner <[email protected]>
  8406. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  8407. * ToolTip.cs: guard against timer expirations with no active control.
  8408. Not sure why it happened.
  8409. 2006-03-31 Mike Kestner <[email protected]>
  8410. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  8411. text.
  8412. * ToolTip.cs: Position the tooltip based on where the cursor is at
  8413. popup time, not at MouseEnter time. Add a Down state so that we don't
  8414. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  8415. positioning offset. Lookup DisplaySize at positioning time, since it
  8416. can theoretically change during invocation.
  8417. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  8418. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  8419. 2006-03-31 Alexander Olk <[email protected]>
  8420. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  8421. Fixes behaviour when the Text property of the box is String.Empty
  8422. 2006-03-31 Peter Dennis Bartok <[email protected]>
  8423. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  8424. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  8425. a window)
  8426. 2006-03-31 Alexander Olk <[email protected]>
  8427. * FileDialog.cs: Visual enhancement for the popup buttons in
  8428. PopupButtonPanel
  8429. 2006-03-31 Alexander Olk <[email protected]>
  8430. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  8431. code
  8432. 2006-03-30 Alexander Olk <[email protected]>
  8433. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  8434. highlighted menu items to match ms
  8435. 2006-03-30 Peter Dennis Bartok <[email protected]>
  8436. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  8437. 2006-03-30 Mike Kestner <[email protected]>
  8438. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  8439. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  8440. go active to account for HotLight to Selected transition.
  8441. * MenuItem.cs: add internal Selected prop. Fill out the Status
  8442. property by calculating it from item info. Add HotLight,
  8443. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  8444. 2006-03-30 Mike Kestner <[email protected]>
  8445. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  8446. 2006-03-29 Jackson Harper <[email protected]>
  8447. * Form.cs: Implement TODO.
  8448. 2006-03-29 Peter Dennis Bartok <[email protected]>
  8449. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  8450. missing proper dialog setup in the constructor
  8451. 2006-03-29 Peter Dennis Bartok <[email protected]>
  8452. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  8453. * Control.cs:
  8454. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  8455. - Fixed ResetBindings and removed TODO
  8456. - Added check for cross-thread calls to get_Handle()
  8457. - Added Marshaller attribute for set_Font to satisfy class status
  8458. * FontDialog.cs: Removed TODOs that seemed implemented
  8459. * UpDownBase.cs: Removed unneeded TODO and Fixme
  8460. * MessageBox.cs: Implemented support for Default button and removed TODO
  8461. * FileDialog.cs: Removed obsolete TODO
  8462. * DomainUpDown.cs: Removed obsolete TODO
  8463. * ButtonBase.cs: Removed obsolete TODO
  8464. * XplatUIWin32.cs: Removed obsolete TODO
  8465. * Form.cs:
  8466. - Removed obsolete TODO
  8467. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  8468. internal status updates
  8469. - Making sure the active control is selected when the control is created
  8470. * CurrencyManager.cs: Removed obsolete TODO
  8471. 2006-03-29 Mike Kestner <[email protected]>
  8472. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  8473. of PrintPreviewDialog and RichTextBox.
  8474. 2006-03-29 Alexander Olk <[email protected]>
  8475. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  8476. DarkDark, Light and LightLight colors for a specific color
  8477. * ThemeWin32Classic.cs:
  8478. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  8479. Appearance = Button
  8480. - Make use of the new ResPool helper CPColor
  8481. - Draw ProgressBar and StatusBar with correct 3D borders
  8482. 2006-03-29 Alexander Olk <[email protected]>
  8483. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  8484. 2006-03-28 Mike Kestner <[email protected]>
  8485. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  8486. calculating col/row counts.
  8487. 2006-03-28 Mike Kestner <[email protected]>
  8488. * ColumnHeader.cs:
  8489. * ListView.cs:
  8490. * ListViewItem.cs:
  8491. * Menu.cs:
  8492. switch to explicit interface method implementation for some methods
  8493. corcompare identifies as inconsistent with MS.
  8494. 2006-03-28 Mike Kestner <[email protected]>
  8495. * MainMenu.cs:
  8496. * Menu.cs:
  8497. add a few missing methods from the class status output.
  8498. 2006-03-28 Alexander Olk <[email protected]>
  8499. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  8500. correct.
  8501. 2006-03-28 Mike Kestner <[email protected]>
  8502. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  8503. 2006-03-27 Mike Kestner <[email protected]>
  8504. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  8505. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  8506. 2006-03-27 Alexander Olk <[email protected]>
  8507. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  8508. 2006-03-25 Alexander Olk <[email protected]>
  8509. * ThemeWin32Classic.cs:
  8510. - GroupBox: Inserted a little gap between the text and the lines
  8511. on the right side
  8512. - Made the code in CPDrawBorder3D more readable
  8513. - Corrected the drawing location of the up and down arrows in
  8514. CPDrawScrollButton
  8515. 2006-03-25 Alexander Olk <[email protected]>
  8516. * ControlPaint.cs: Corrected line widths in DrawBorder for
  8517. ButtonBorderStyle Inset and Outset
  8518. 2006-03-25 Alexander Olk <[email protected]>
  8519. * ThemeWin32Classic.cs:
  8520. - Rewrote the totally broken CPDrawBorder3D method. That was
  8521. one of the main problems for the terrific ThemeWin32Classic
  8522. look
  8523. - Updated and corrected Button drawing
  8524. - Correct the dimensions of the SizeGrip to match ms ones
  8525. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  8526. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  8527. Border3DStyle.Sunken to match ms.
  8528. 2006-03-25 Alexander Olk <[email protected]>
  8529. * ThemeWin32Classic.cs: First small part of the "de-uglify
  8530. ThemeWin32Classic" effort, SizeGrip
  8531. 2006-03-24 Jackson Harper <[email protected]>
  8532. * XplatUIX11.cs: Give a max idle time of one second, this matches
  8533. MS and forces an Idle event every second when there are no other
  8534. events in the queue.
  8535. 2006-03-24 Mike Kestner <[email protected]>
  8536. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  8537. * ListView.Item.cs: fix layout issues with null image lists and images
  8538. smaller than checkbox size.
  8539. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  8540. mode like MS does. It's weird, but consistent. ;-)
  8541. Fixes #77890.
  8542. 2006-03-24 Mike Kestner <[email protected]>
  8543. * ListView.cs: Scroll wheel support for the item control. Fixes
  8544. #77839.
  8545. 2006-03-23 Jackson Harper <[email protected]>
  8546. * ScrollableControl.cs: Special case negative sized areas, not
  8547. zero.
  8548. * MonthCalendar.cs: Save the rect of the clicked date so we can
  8549. use it for invalidation.
  8550. - Try to cut down on the number of invalidates
  8551. - Invalidate the rect the mouse is over and was over when moving
  8552. the mouse, so we get the focus box following the cursor.
  8553. 2006-03-23 Mike Kestner <[email protected]>
  8554. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  8555. focus rectangle drawing. Fixes #77835.
  8556. 2006-03-23 Mike Kestner <[email protected]>
  8557. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  8558. the if and else if and reverting back to the original == check on the
  8559. None conditional.
  8560. 2006-03-23 Alexander Olk <[email protected]>
  8561. * FontDialog.cs: Update the example panel if the selected index of
  8562. the fontListBox changes.
  8563. 2006-03-23 Alexander Olk <[email protected]>
  8564. * FileDialog.cs: Make FileDialog remember which directory it was in
  8565. last in the same execution.
  8566. 2006-03-22 Mike Kestner <[email protected]>
  8567. * FileDialog.cs: make the DropDownMenu on the toolbar display
  8568. RadioChecks since they are mutually exclusive and that's what MS does.
  8569. 2006-03-22 Mike Kestner <[email protected]>
  8570. * Theme.cs: add Color param to CPDrawMenuGlyph.
  8571. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  8572. checks and radio marks and arrows are visible on highlighted items.
  8573. * ControlPaint.cs: update to use new Theme signature.
  8574. 2006-03-22 Mike Kestner <[email protected]>
  8575. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  8576. is active. Fixes #77870.
  8577. 2006-03-22 Alexander Olk <[email protected]>
  8578. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  8579. to be focused/selected after startup
  8580. 2006-03-22 Alexander Olk <[email protected]>
  8581. * ColorDialog.cs:
  8582. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  8583. CustomColors and ShowHelp properties
  8584. - Some internal rewrites to get better results when using the
  8585. ColorMatrix
  8586. 2006-03-22 Mike Kestner <[email protected]>
  8587. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  8588. HoverSelection. Fixes #77836.
  8589. 2006-03-22 Mike Kestner <[email protected]>
  8590. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  8591. ToggleButtons. (De)Sensitize the Back button around a stack count of
  8592. 1, not 0. Update ButtonSize based on a pixel count of the win32
  8593. control. Adjust the toolbar size/location for new button size.
  8594. 2006-03-22 Jackson Harper <[email protected]>
  8595. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  8596. true.
  8597. * ScrollBar.cs: When doing increments and decrements we need to
  8598. set the Value property so that ValueChanged gets raised. A
  8599. possible optimization here would be to make an internal SetValue
  8600. that doesn't invalidate immediately.
  8601. * ToolTip.cs: Tooltips get added to their container (when
  8602. supplied) so they get disposed when the container is disposed.
  8603. - Don't create tooltips for String.Empty. This prevents all these
  8604. little 2-3 pixel windows from showing up when running nunit-gui
  8605. and driving me mad.
  8606. * Form.cs: Don't set topmost when setting the owner if the handles
  8607. haven't been created yet. The topmost set will happen when the
  8608. handles are created.
  8609. 2006-03-22 Peter Dennis Bartok <[email protected]>
  8610. * XplatUIX11.cs:
  8611. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  8612. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  8613. visible (to allow them to recalculate their sizes)
  8614. 2006-03-21 Mike Kestner <[email protected]>
  8615. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  8616. methods. Removed a ton of redundant code. Still not really happy with
  8617. the border rendering, but I think that's mainly because of the
  8618. ControlDarkDark being black instead of a dark grey. Depending on how
  8619. close we want to be, we might want to revisit those color choices.
  8620. Among the new features added during the refactor were DropDownArrow
  8621. pressed rendering, Disabled image rendering. Proper flat appearance
  8622. boundary rendering. Removed the Divider and Wrapping dividers since I
  8623. can't figure out any combination of themes and conditions to make the
  8624. MS control draw a horizontal line on a toolbar despite what the
  8625. Divider property docs indicate.
  8626. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  8627. conditions and incorrect layout. Updated to coding standard.
  8628. * ToolBarButton.cs: refactored layout and positioning code from
  8629. ToolBar to here. Invalidate wherever possible instead of forcing
  8630. redraws of the whole toolbar.
  8631. (Known remaining issues: explicit ButtonSize smaller than provided
  8632. images.)
  8633. 2006-03-21 Mike Kestner <[email protected]>
  8634. * ContextMenu.cs (Show): use the position parameter instead of just
  8635. showing at the MousePosition.
  8636. 2006-03-21 Jackson Harper <[email protected]>
  8637. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  8638. control handle this.
  8639. * TreeNodeCollection.cs: If we are clearing the root node we need
  8640. to reset top_node so calcs can still happen.
  8641. * ThemeWin32Classic.cs: This is a Flags so we need to check
  8642. properly.
  8643. 2006-03-21 Jackson Harper <[email protected]>
  8644. * DataGrid.cs: Create columns when the binding context has been
  8645. changed.
  8646. * X11Structs.cs: Keysyms are uints.
  8647. - Add size to fix build.
  8648. 2006-03-21 Peter Dennis Bartok <[email protected]>
  8649. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  8650. XplatUIOSX.cs:
  8651. - Added ResetMouseHover method to allow controls to retrigger
  8652. hovering if they need it more than once
  8653. - Implemented MouseHoverTime and MouseHoverSize properties
  8654. * Timer.cs: Start() must reset the interval
  8655. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  8656. properties
  8657. 2006-03-21 Jackson Harper <[email protected]>
  8658. * X11Keyboard.cs: improved layout detection. Move the nonchar
  8659. tables into this file.
  8660. * KeyboardLayouts.cs: Move the tables into resource files.
  8661. 2006-03-21 Mike Kestner <[email protected]>
  8662. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  8663. 2006-03-21 Alexander Olk <[email protected]>
  8664. * Mime.cs: Various speed optimizations. Looking up mime types
  8665. is now 2 times faster than before
  8666. 2006-03-17 Peter Dennis Bartok <[email protected]>
  8667. * CreateParams.cs: Added internal menu field
  8668. * Control.cs:
  8669. - Switched call order for UpdateBounds; now we always call
  8670. the one that also takes ClientSize, and we're calculating the
  8671. client size via driver method in the others. The previous
  8672. method of tracking client size by difference wasn't working
  8673. for forms where even the starting client size wouldn't match
  8674. the overall form size (due to borders) (Part of fix for #77729)
  8675. - CreateParams(): Do not use parent.Handle unless the handle is
  8676. already created. Causes havoc with Nexxia and throws off our
  8677. creation of controls
  8678. * XplatUIX11.cs:
  8679. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  8680. - Switched handling of ConfigureNotify over to new PerformNCCalc
  8681. method (consolidates code)
  8682. - Changed RequestNCRecalc to use new PerformNCCalc method
  8683. - Added calls to RequestNCRecalc when menus and borders are changed
  8684. to allow app to set NC size. (Part of fix for #77729) This matches
  8685. when MS send a WM_NCRECALC on Win32 windows.
  8686. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  8687. (Part of fix for #77729). This matches what MS does, they also
  8688. send that message when the form is made visible.
  8689. - XException.GetMessage: Improved usability of X errors by including
  8690. a translation of the window into Hwnd and Control class
  8691. - Improved debug info for window creation, reparenting and destruction
  8692. - Created helper method WindowIsMapped() [Currently not used]
  8693. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  8694. * Form.cs:
  8695. - CreateParams: Now setting our menu on the new internal menu field
  8696. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  8697. avoid calculating the same property twice
  8698. * Hwnd.cs:
  8699. - Improved usability of ToString() for debugging purposes
  8700. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  8701. determine the height of the menu, instead of just the font. This
  8702. required to also create a graphics context and to keep a bmp
  8703. around (for performance reasons)
  8704. 2006-03-17 Peter Dennis Bartok <[email protected]>
  8705. * MenuAPI.cs: Added OnMouseUp method
  8706. * Form.cs:
  8707. - Now remembering the requested client size, avoids size errors
  8708. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  8709. instead of base if the menu is active. This is required due to
  8710. control now capturing and releasing on down/up and it would
  8711. prematurely release our menu capture
  8712. 2006-03-17 Jackson Harper <[email protected]>
  8713. * KeyboardLayouts.cs: Add the czech layouts.
  8714. 2006-03-16 Jackson Harper <[email protected]>
  8715. * Control.cs: Use the viewport space when sizing not the controls
  8716. client size, so things like ScrollableControl that effect the
  8717. viewport size (when scrollbars are added) are computed correctly.
  8718. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  8719. of ManagerEntrys.
  8720. - Handle creating BindingManagers for null data sources.
  8721. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  8722. source, otherwise when rows are added they are added to the 'fake'
  8723. datasource and we will crash when trying to set the position in
  8724. those rows.
  8725. - Use Implicit scrollbars on the datagrid so they arent
  8726. selectable.
  8727. 2006-03-16 Jackson Harper <[email protected]>
  8728. * Binding.cs:
  8729. * InternalWindowManager.cs:
  8730. * MdiWindowManager.cs:
  8731. * X11Keyboard.cs: I really want Mike to love me again (fix
  8732. compiler warnings).
  8733. 2006-03-16 Peter Dennis Bartok <[email protected]>
  8734. * DataGrid.cs:
  8735. - OnMouseDown: Switch to editing mode when clicking on the cell
  8736. even if we're clicking on the cell that's currently
  8737. selected
  8738. - ProcessGridKey: Left/Right now wrap like MS.Net does
  8739. - ProcessGridKey: Tab now knows to add a new row when tab is
  8740. pressed in the cell of the last column of the
  8741. last row
  8742. - ProcessGridKey: Enter now adds another row if pressed in the last
  8743. row and selectes the new row, same column cell
  8744. - ProcessGridKey: Home/End navigate columns, not rows, like
  8745. originally implemented
  8746. - Broke ProcessKeyPreview code out into an extra Internal method
  8747. so it can be called from the edit code
  8748. * DataGridTextBox.cs (ProcessKeyMessage):
  8749. - Switched to accept Tab keypresses
  8750. - Added F2 handling to allow jumping to the end of the edited cell
  8751. - Added logic to allow moving caret left/right inside edited cell
  8752. and making the edited cell jump when the caret hits cell borders
  8753. - Tab and Enter are now passed to the datagrid after being handled
  8754. * TextBoxBase.cs:
  8755. - Removed capture code now that Control handles it
  8756. - set_SelectionStart now ensures caret is visible
  8757. 2006-03-16 Jackson Harper <[email protected]>
  8758. * TrackBar.cs: Debackwards the increment/decrement for handling
  8759. mouse clicks on the bar with vertical trackbars.
  8760. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  8761. bottom to match MS.
  8762. 2006-03-16 Mike Kestner <[email protected]>
  8763. * ListView.cs: make shift/ctrl keyboard and mouse selection
  8764. consistent with the MS control. Fix a bug in
  8765. SelectedListViewItemCollection.Clear that was pissing me off for the
  8766. better part of a day because the collection was being altered
  8767. underneath us as we walked the list.
  8768. 2006-03-16 Peter Dennis Bartok <[email protected]>
  8769. * Control.cs: Not sure how we could miss this so long, but it seems
  8770. that MS.Net has Capture set all the way from before calling
  8771. OnMouseDown through sending the mouse events until after
  8772. OnMouseUp. This will fix DataGrid's selection being set to end
  8773. at the location of the MouseUp.
  8774. 2006-03-15 Jackson Harper <[email protected]>
  8775. * BindingContext.cs: Check the binding after its added so that it
  8776. can initialize the binding managers and hookup to events.
  8777. * Binding.cs: Data members seem to sometimes include rows/cols in
  8778. the format Row.Column we now take this into account.
  8779. - Hookup to the position changed event so we can update the
  8780. control when the position has changed in the data set.
  8781. * CurrencyManager.cs: Take into account the row/col naming
  8782. convention when creating dataset tables.
  8783. * BindingContext.cs: Using a newer better way of storing
  8784. datasource/datamember pairs. Hopefully this better matches MS for
  8785. looking up binding managers.
  8786. 2006-03-15 Jackson Harper <[email protected]>
  8787. * BindingContext.cs: The currency manager needs the data member
  8788. name, if the member is a data set we use the name to find the
  8789. correct table.
  8790. * CurrencyManager.cs: When creating the list prefer an IList over
  8791. an IListSource.
  8792. - Attempt to create a DataTable from a DataSet (TODO: might need
  8793. some better error checking here, although MS doesn't seem to have much)
  8794. - If we have a DataTable create a view and use it as our list.
  8795. 2006-03-15 Mike Kestner <[email protected]>
  8796. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  8797. keyboard navigation. Support Up/Down/Left/Right selection correctly
  8798. for all 4 View modes.
  8799. * ListViewItem.cs: add internal row/col fields for icon layouts.
  8800. 2006-03-15 Jackson Harper <[email protected]>
  8801. * TabControl.cs: Redraw the tabs when we resize so their newly
  8802. calculated sizes are drawn on screen.
  8803. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  8804. composite characters.
  8805. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  8806. - filter events so that composite characters can be created
  8807. patches by peter
  8808. * X11Structs.cs: Add XIMProperties enum.
  8809. 2006-03-14 Peter Dennis Bartok <[email protected]>
  8810. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  8811. unless it's created
  8812. 2006-03-14 Peter Dennis Bartok <[email protected]>
  8813. * Control.cs (PerformLayout): We don't need to consider visiblity
  8814. for anchoring, only for docking. This fixes 'whacky' alignment
  8815. in listbox and other controls that use implicit scrollbars after
  8816. the previous PerformLayout patch
  8817. * ListBox.cs: Switched to use implicit scrollbars
  8818. 2006-03-14 Mike Kestner <[email protected]>
  8819. * ToolBar.cs:
  8820. * VScrollBar.cs:
  8821. - chain up the "new event" overrides to base and use
  8822. OnEvent to raise them. Part of fix for bug #76509.
  8823. 2006-03-14 Alexander Olk <[email protected]>
  8824. * FileDialog.cs: Do not select an item in the parent directory
  8825. on backspace
  8826. 2006-03-14 Peter Dennis Bartok <[email protected]>
  8827. * Control.cs (PerformLayout): It would seem that we considered
  8828. invisible windows for our layout. Not quite the right thing
  8829. to do. Now we don't any longer, thereby fixing bug #76889.
  8830. 2006-03-14 Peter Dennis Bartok <[email protected]>
  8831. * Control.cs (CanFocus): I goofed. A control can have focus
  8832. even though it's not selectable. Made it match MS docs.
  8833. 2006-03-13 Peter Dennis Bartok <[email protected]>
  8834. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  8835. center by default (fixes #76895)
  8836. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  8837. all uses of Border3DSides.All with the explicit ORd together
  8838. Left|Right|Top|Bottom because I assume that nobody was aware
  8839. that All also implies a center fill. Most places I checked had
  8840. a fill right above.
  8841. * ProgressBarStyle.cs: Added
  8842. 2006-03-13 Mike Kestner <[email protected]>
  8843. * ListView.cs: fix breakage in drag shadow header positioning
  8844. from Peter's csc compilation fix.
  8845. 2006-03-13 Mike Kestner <[email protected]>
  8846. * ListView.cs: fix NRE produced by backspacing twice in a focused
  8847. FileDialog.
  8848. 2006-03-13 Mike Kestner <[email protected]>
  8849. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  8850. 2006-03-13 Peter Dennis Bartok <[email protected]>
  8851. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  8852. be changed
  8853. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  8854. the allowed size before making programmatic size changes
  8855. 2006-03-13 Peter Dennis Bartok <[email protected]>
  8856. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  8857. set, metacity is broken and will still use the emty sizes in
  8858. the struct. (Fix for #77089)
  8859. 2006-03-13 Peter Dennis Bartok <[email protected]>
  8860. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  8861. WindowExStyles and marked both enums as Flags
  8862. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  8863. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  8864. to match WindowStyles split
  8865. * XplatUIX11.cs:
  8866. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  8867. - Updated to match WindowStyles split
  8868. * XplatUIWin32.cs:
  8869. - Fixed FosterParent creation, was using ExStyle on the Style field
  8870. (This should help with Popup focus issues)
  8871. - Updated to match WindowStyles split
  8872. 2006-03-13 Jackson Harper <[email protected]>
  8873. * MdiWindowManager.cs: Use the system menu height. Fixes some
  8874. strange sizing issues.
  8875. 2006-03-12 Peter Dennis Bartok <[email protected]>
  8876. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  8877. * TextBoxBase.cs:
  8878. - Scroll to caret after inserting text (#77672)
  8879. - Make scroll range one pixel higher, fixes off-by-one error (and
  8880. makes underlines visible on the last line)
  8881. 2006-03-12 Peter Dennis Bartok <[email protected]>
  8882. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  8883. the keyboard state from being stuck with keys in 'pressed' state when
  8884. focus is switched away via keyboard
  8885. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  8886. reset the keyboard if no X11 KeyUp events are expected to come
  8887. * X11Structs.cs: Switched type of Visible to bool to match driver
  8888. 2006-03-12 Peter Dennis Bartok <[email protected]>
  8889. * TextControl.cs:
  8890. - Switched caret to be just 1 pixel wide, matches MS and looks less
  8891. clunky
  8892. - Moved caret display 1 pixel down from the top of the control
  8893. to improve view
  8894. - InsertCharAtCharet: Update the selection start if moving the caret
  8895. (fixes bug #77696; based on patch suggested by [email protected])
  8896. - No longer always creating the caret when the caret methods are
  8897. called. Only the actual ShowCaret/HideCaret will do that now
  8898. - Only setting caret visible if the owner control has focus
  8899. - UpdateView: Added invalidation-shortcut logic for center and right
  8900. aligned text. Previously we'd update all according to the left
  8901. logic which caused drawing errors. Also fixed height of invalidated
  8902. areas, now properly invalidating the whole area (was off-by-one)
  8903. - owner_HandleCreated: Always generate the document when the
  8904. handle is created; this ensures that
  8905. * TextBoxBase.cs:
  8906. - Fixed situation where caret would disappear under the right
  8907. window border, also improved scrolling behaviour on left-
  8908. aligned textboxes
  8909. - Fixed right-aligned textboxes to have a border to the
  8910. right instead of the caret being under the right border
  8911. * XplatUIX11.cs:
  8912. - Switched from 'nested' to simple visible/not visible tracking
  8913. for caret (part of fix for #77671)
  8914. - No longer passing through translated FocusIn/FocusOut messages
  8915. since we were notifying too often and the wrong windows. Instead
  8916. we just notify our focussed window of receiving or loosing focus
  8917. * XplatUIWin32.cs: Switched from 'nested' show/hide
  8918. counting for caret to simple visible yes/no behaviour (part of
  8919. fix for #77671)
  8920. 2006-03-11 Alexander Olk <[email protected]>
  8921. * Mime.cs: Remove debug code...
  8922. 2006-03-11 Alexander Olk <[email protected]>
  8923. * MimeGenerated.cs: Removed
  8924. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  8925. and subclasses) from /usr/(local/)share/mime and
  8926. $HOME/.local/share/mime.
  8927. 2006-03-10 Jackson Harper <[email protected]>
  8928. * MdiWindowManager.cs: Recalc the NC area when a window is
  8929. maximized/restored so that the menu area is drawn on forms that
  8930. don't have a menu.
  8931. 2006-03-10 Peter Dennis Bartok <[email protected]>
  8932. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  8933. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  8934. us to force a WM_NCCALCRESIZE message being sent. This is needed
  8935. for MDI maximizing.
  8936. 2006-03-10 Jackson Harper <[email protected]>
  8937. * Form.cs: We need to use the ActiveMenu when calculating menu
  8938. height.
  8939. - Fix nullref when the window manager hasn't been created yet.
  8940. * Control.cs: Fix nullref when we try to bring a control to the
  8941. front that has no parent.
  8942. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  8943. height.
  8944. - Add a dummy item to the maximized menu so it always has the
  8945. correct height. Otherwise when there are no menus we don't get our
  8946. icon and buttons.
  8947. 2006-03-10 Jackson Harper <[email protected]>
  8948. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  8949. stuff.
  8950. * Form.cs: Make the window_state internal so the window managers
  8951. can track it.
  8952. - When an MDI child is maximized let its window manager create the
  8953. main menu (so it can add its icon).
  8954. - Notify the window managers of state changes
  8955. - Let the window manager paint its buttons and handle button
  8956. clicks on the menu when it is maximized.
  8957. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  8958. window manager, since tool windows don't use it, only mdi windows.
  8959. - Tell the main form that we don't want it to handle NCPAINT
  8960. itself to avoid extra painting.
  8961. - Handle clicks on a maximized windows menu.
  8962. - Handle window state changes
  8963. - Handle minimize/maximize clicks correctly by setting the window state.
  8964. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  8965. when clicking on the forms icon).
  8966. - New method to create a forms maximized menu. This is its normal
  8967. menu + an icon.
  8968. - Handle window state changes.
  8969. - Handle sizing of maximized windows. Maximized windows are just
  8970. drawn bigger then the parent visible area. All controls are still
  8971. there, they are just outside the visible area (this matches windows).
  8972. * MdiClient.cs: No scrollbars when a child window is maximized.
  8973. - Let the children windows figure out how big they should be when
  8974. sizing maximized windows.
  8975. - Implement a version of ArrangeIconicWindows somewhat similar to
  8976. Windows version. There are some little differences, but I don't
  8977. think any app will rely on the layout of minimized mdi windows.
  8978. 2006-03-10 Peter Dennis Bartok <[email protected]>
  8979. * Padding.cs: Several fixes to allow compiling with csc 2.0
  8980. 2006-03-09 Jackson Harper <[email protected]>
  8981. * Menu.cs:
  8982. * MenuItem.cs: Cheap hack so we can add items to the list without
  8983. the events being raised. This allows adding mdi items during
  8984. drawing. TODO: Should probably find a better time to add the items.
  8985. 2006-03-10 Peter Dennis Bartok <[email protected]>
  8986. * ThemeWin32Classic.cs:
  8987. - CheckBox_DrawText: Added logic to not wrap if not enough space
  8988. is available (Fix for bug #77727)
  8989. - RadioButton_DrawText: Added logic not to wrap if not enough
  8990. space is available (Fix for bug #77727). Also removed some
  8991. duplicate code, DrawString always drawing the regular text
  8992. before hitting the if statement.
  8993. 2006-03-10 Peter Dennis Bartok <[email protected]>
  8994. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  8995. 2006-03-10 Peter Dennis Bartok <[email protected]>
  8996. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  8997. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  8998. methods. Moved the new 2.0 properties into alphabetical order with
  8999. other properties and added MonoTODO tags
  9000. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9001. * AutoScaleMode.cs: Added. Fix build.
  9002. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9003. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  9004. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  9005. and was requiring premature handle creation for calls from above
  9006. * Form.cs, Control.cs: Removed handle arguments from calls to
  9007. CalculateClientRect()
  9008. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9009. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  9010. drag_column.column_rect is MarshalByRef and can't be used that way
  9011. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9012. * AxHost.cs: Added deserialization constructor for
  9013. AxHost+State (fixes 77743)
  9014. 2006-03-09 Mike Kestner <[email protected]>
  9015. * ListView.cs:
  9016. - Added column drag reordering for details view.
  9017. - fixed behavior when mouse is dragged off column and
  9018. AllowColumnReorder is false.
  9019. * ColumnHeader.cs: clone the format too in Clone.
  9020. * Theme.cs: add DrawListViewHeaderDragDetails method.
  9021. * ThemeWin32Classic.cs:
  9022. - impl new method for drawing drag column shadows and targets.
  9023. - support column offset for details mode in DrawListViewItem.
  9024. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9025. * TextControl.cs: Reset the char_count when the document is cleared
  9026. (Fixes bug reported on mono-winforms mailing list)
  9027. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9028. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  9029. of calling base we simply process the key ourselves, since both
  9030. DefWindowProc and the handled method would set m.Result.
  9031. (Fixes #77732)
  9032. 2006-03-09 Peter Dennis Bartok <[email protected]>
  9033. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  9034. method also moves the window; instead implemented a copy of
  9035. Control.ScaleCore (Part of fix for #77456)
  9036. * TextBoxBase.cs:
  9037. - Created new CreateGraphicsInternal method to allow providing
  9038. a graphics context when no handle is created without triggering
  9039. handle creation. (Part of fix for #77456)
  9040. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  9041. * TextControl.cs:
  9042. - Switched Constructor to require TextBoxBase instead of Control (to
  9043. allow uncast access to CreateGraphicsInternal)
  9044. - Safeguarded use of owner.Handle property. No longer accessing it
  9045. unless the handle is already created.
  9046. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  9047. - Now triggering a recalc when owning control becomes visible
  9048. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  9049. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  9050. premature handle creation (Part of fix for #77456)
  9051. * Control.cs:
  9052. - We now only destroy our double-buffering buffers when the
  9053. control is resized or disposed, but not when visibility
  9054. changes. (The code even re-created them twice every time)
  9055. - Now requiring a redraw of the buffer on visibility changes
  9056. (fixes bug 77654 part 2)
  9057. - Not passing OnParentVisibleChanged up unless the control
  9058. is visible
  9059. - CanFocus: Fixed to match MS documentation
  9060. - Focus: Fixed to return actual focus state and to check if
  9061. setting focus is legal before setting it
  9062. 2006-03-08 Peter Dennis Bartok <[email protected]>
  9063. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  9064. when to draw focus rectangle by looking at parent focus and
  9065. selected state instead. This fixes TabPages on Linux sometimes
  9066. having none or multiple focus rectangles.
  9067. * XplatUIX11.cs (SetFocus):
  9068. - Don't set the focus if the same window already has focus
  9069. - Use SendMessage instead of PostMessage (like it's Win32
  9070. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  9071. to match MS behaviour
  9072. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  9073. are not selectable.
  9074. 2006-03-07 Jackson Harper <[email protected]>
  9075. * PictureBox.cs: Revert line I accidently committed last week.
  9076. 2006-03-07 Peter Dennis Bartok <[email protected]>
  9077. * Control.cs:
  9078. - Added new IsRecreating and ParentIsRecreating properties to
  9079. allow testing if RecreateHandle has been called on ourselves
  9080. or one of our parents
  9081. - WndProc(WM_DESTROY): If our control handle is being recreated
  9082. we immediately need to create the handle when receiving the
  9083. destroy, that way our child windows find a valid parent handle
  9084. when they themselves are being recreated upon WM_DESTROY receipt
  9085. (fix for bug #77654 part 1)
  9086. * XplatUIX11.cs:
  9087. - DestroyWindow: WM_DESTROY must be sent to our own window before
  9088. notifying any child windows. MS documents that child windows
  9089. are still valid when WM_DESTROY is received. (Control now relies on
  9090. this behaviour)
  9091. - Added some fine-grain debug options
  9092. 2006-03-06 Jackson Harper <[email protected]>
  9093. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  9094. box and base calculations off this.
  9095. * MdiChildContext.cs:
  9096. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  9097. anymore.
  9098. 2006-03-06 Peter Dennis Bartok <[email protected]>
  9099. * Splitter.cs: In situations where the affected control is added
  9100. to the parent's control list after the splitter, we would not
  9101. populate affected. Now we try populating it on mousedown, if
  9102. it's not already set, and force it to be re-set whenever our
  9103. parent changes.
  9104. 2006-03-03 Matt Hargett <[email protected]>
  9105. * Control.cs: implement Control.Padding
  9106. * Padding.cs: -Padding.All returns -1 when constructing with the
  9107. implicit default ctor
  9108. -Padding.ToString() matches MS.NET
  9109. * ContainerControl.cs: implement
  9110. ContainerControl.AutoScaleDimensions
  9111. * ListControl.cs: implement ListControl.FormattingEnabled
  9112. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  9113. * ButtonBase.cs:
  9114. * TabPage.cs: Implement UseVisualStyleBackColor.
  9115. * PictureBox.cs: Implement PictureBox.InitialImage.
  9116. 2006-03-03 Mike Kestner <[email protected]>
  9117. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  9118. event declarations to proxy to base event.
  9119. * ListViewItem.cs: update to use ItemControl.
  9120. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  9121. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  9122. column header label rendering for 0 width columns.
  9123. 2006-03-03 Peter Dennis Bartok <[email protected]>
  9124. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  9125. that causes the control to be created. Fixes #77476.
  9126. 2006-03-02 Jackson Harper <[email protected]>
  9127. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  9128. expose_pending.
  9129. 2006-03-02 Peter Dennis Bartok <[email protected]>
  9130. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  9131. passed in for the EventArgs (fixes #77690)
  9132. 2006-03-01 Jackson Harper <[email protected]>
  9133. * ScrollBar.cs: Refresh afterbeing resized.
  9134. 2006-02-28 Mike Kestner <[email protected]>
  9135. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  9136. Clean up a tracker compile warning.
  9137. * MenuItem.cs: add internal PerformPopup method.
  9138. [Fixes #77457]
  9139. 2006-02-28 Peter Dennis Bartok <[email protected]>
  9140. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  9141. implicit expose) when the text is set to null
  9142. 2006-02-28 Peter Dennis Bartok <[email protected]>
  9143. * RichTextBox.cs (FlushText): When newline is true, we always
  9144. need to split the line, even if no text is on it and we may
  9145. never eat newlines. (Fixes #77669)
  9146. 2006-02-28 Mike Kestner <[email protected]>
  9147. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  9148. and set Selected instead.
  9149. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  9150. collections.
  9151. 2006-02-28 Peter Dennis Bartok <[email protected]>
  9152. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  9153. 2006-02-28 Alexander Olk <[email protected]>
  9154. * FontDialog.cs:
  9155. - Got rid of the panel. All controls are now directly added to
  9156. the dialog form
  9157. - It is now possible to set a font with the Font property
  9158. - MinSize and MaxSize property do now what they should
  9159. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  9160. - Searching and selecting a font with the font textbox works now,
  9161. the same applies to the style and size textbox
  9162. - Draw the correct 3D border in the example panel
  9163. - Fixed a little mem leak (unused fonts didn't get disposed)
  9164. - Many other internal updates/rewrites...
  9165. - Fix typo
  9166. 2006-02-27 Peter Dennis Bartok <[email protected]>
  9167. * TextControl.cs:
  9168. - InsertRTFFromStream: Added 'number of characters inserted' argument
  9169. - set_SelectedRTF: Now using the number of characters to calculate
  9170. the new location for the selection and cursor (x/y cannot be used
  9171. due to potentially already wrapped text)
  9172. 2006-02-27 Peter Dennis Bartok <[email protected]>
  9173. * TextControl.cs: Added property and implemented means to allow
  9174. disabling recalculation of a document (can be used to speed up
  9175. multiple inserts and is needed to make RTF inserts predictable, see
  9176. bug #77659)
  9177. * RichTextBox.cs: Using the new NoRecalc property of Document to
  9178. keep x/y insert locations predictable. Also makes it faster inserting
  9179. large chunks of RTF
  9180. 2006-02-27 Peter Dennis Bartok <[email protected]>
  9181. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  9182. it's easier for a child control to handle the other messages without
  9183. having to duplicate the special functionality
  9184. * TextBoxBase.cs
  9185. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  9186. code to handle processing the key ourselves, in order to get
  9187. access to the result of KeyEventArgs.Handled. We now only call
  9188. ProcessKey if they key hasn't been handled already. Fixes #77526.
  9189. - set_Text: If null or empty string is given, just clear the
  9190. document. Fixes part of #77526
  9191. 2006-02-27 Jackson Harper <[email protected]>
  9192. * SizeGrip.cs: Paint the background color before painting the grip
  9193. so things look right.
  9194. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  9195. 2006-02-27 Mike Kestner <[email protected]>
  9196. * ListView.cs:
  9197. - Restructure layout and invalidation model to remove a ton of
  9198. flicker from the control and speed up performance in general.
  9199. - Add manual column resize, flickers like crazy, but I already have
  9200. some ideas on how I'll fix that. (#76822)
  9201. - Merge the three Icon-based views into a single layout method.
  9202. - Move item selection interaction logic from the item since
  9203. interaction with the collections is more appropriate to the view.
  9204. - Deselection on non-item clicks.
  9205. * ListViewItem.cs:
  9206. - Encapsulate most of the layout. Add some internal props to trigger
  9207. layout. Move to a model where Items invalidate themselves instead
  9208. of just invalidating the whole control every time something changes.
  9209. - Invalidate on Text/Caption changes.
  9210. - switch to an offset based layout model to avoid having to absolute
  9211. position every element on item moves.
  9212. - correct checkbox layout to conform to MS layout.
  9213. * ThemeWin32Classic.cs:
  9214. - refactor some column header drawing code.
  9215. - fix string justification for column headers (#76821)
  9216. - make SmallIcon labels top justified for compat with MS impl.
  9217. * ThemeClearlooks.cs:
  9218. - adjust to new ListViewItem internal checkbox bounds api.
  9219. 2006-02-27 Jackson Harper <[email protected]>
  9220. * Control.cs: Change where implicit controls fall in the zorder.
  9221. They are now on top of all children.
  9222. - Synced AddImplicit code with Add
  9223. - Removed unused enumerator.
  9224. * SizeGrip.cs: Remove the TODO as its been TODONE.
  9225. 2006-02-26 Peter Dennis Bartok <[email protected]>
  9226. * TextControl.cs(Insert): Combine the last lines unless the insertion
  9227. string ends with \n\n, otherwise we leave one line too many (Fixes
  9228. something I noticed with the testapp for #77526; the bug itself was
  9229. already fixed in the previous checkin)
  9230. 2006-02-26 Peter Dennis Bartok <[email protected]>
  9231. * RichTextBox.cs:
  9232. - SelectionColor and SelectionFont methods no longer set absolute
  9233. styles. Instead, the keep font or color respectively (This
  9234. resolves a long-standing FIXME in the code)
  9235. - When flushing RTF text, the insert code now considers text trailing
  9236. behind the insertion point (Fixes the bug where when replacing
  9237. the selected text via SelectedRTF the remainder of the line behind
  9238. the selection would stay on the first insertion line)
  9239. * TextBoxBase.cs:
  9240. - AppendText now updates the selection points after inserting text
  9241. - AppendText now ensures that the last tag (sometimes 0-length) of
  9242. the document is used for the style information (Fixes part of
  9243. bug #77220)
  9244. * TextControl.cs:
  9245. - Created new FontDefiniton class to allow describing partial style
  9246. changes
  9247. - StreamLine() now takes a lines argument, to allow it to decide
  9248. whether an encountered zero-length tag is the last in the document
  9249. (which must be kept to not loose the font/color contained in it,
  9250. for later appends)
  9251. - Created Combine() and Split() methods for Marker structs, to
  9252. support marker updates due to reformatted documents (soft line
  9253. wraps)
  9254. - Implemented Document.CaretTag setter
  9255. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  9256. of the last line (Not the cause, but also exposed by bug #77220)
  9257. - Added LineTag argument to InsertString method, to allow callers
  9258. to force a certain tag to be used (required to force use of the
  9259. trailing zero-length tag of a document)
  9260. - Now updating markers in Combine(), to avoid stale tag markers
  9261. - Added some method descriptions to aid maintenance
  9262. - Implemented new FormatText concept, allowing additive/subtractive
  9263. formatting by only specifying the components that are to be
  9264. changed. This was needed for resolving the RTB.SelectedColor/
  9265. RTB.SelectedFont fixmes
  9266. - Added Break() support method to allow breaking up linetags (used
  9267. for partial formatting)
  9268. - Added GenerateTextFormat() method. It is used for partial
  9269. formatting and allows to generate a full font/color from given
  9270. attributes and an existing tag.
  9271. 2006-02-26 Jackson Harper <[email protected]>
  9272. * XplatUIX11.cs: Use the correct caption height.
  9273. - Translate hittest coordinates to screen coords to match MS.
  9274. * XplatUIWin32.cs: When we create MDI windows we need to reset
  9275. some of the style flags, so we get a nice blank window, and can
  9276. draw all the decorations ourselves.
  9277. - Set a clipping rectangle on the non client paint event, the
  9278. window manager drawing code needs one.
  9279. * Form.cs: The window manager needs to know when the window state
  9280. has been updated.
  9281. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  9282. don't need to factor in border and title sizes in these
  9283. methods. TODO: Remove the args and fix the call points.
  9284. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  9285. properly.
  9286. - Let the driver set the cursors.
  9287. - Improve active window handling
  9288. - Correct sizes for title bars and buttons.
  9289. - Match MS drawing better
  9290. * MdiWindowManager.cs: We don't need to handle border style
  9291. updates specially anymore.
  9292. - Check for scrollbars when windows are done moving
  9293. - Handle Active properly.
  9294. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  9295. correctly. I am spewing the exception though, so we don't hide the
  9296. bugs.
  9297. 2006-02-26 Pedro Martinez Julia <[email protected]>
  9298. * DataGridViewRowPostPaintEventArgs.cs,
  9299. DataGridViewCellPaintingEventArgs.cs,
  9300. DataGridViewRowCollection.cs,
  9301. DataGridViewRowPrePaintEventArgs.cs,
  9302. DataGridViewCell.cs: Clear a few warnings and implement a few
  9303. exceptions that should be thrown.
  9304. 2006-02-22 Peter Dennis Bartok <[email protected]>
  9305. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  9306. 'inheriting' our parent's (non-default) cursor. (Part of
  9307. the fix for #77479)
  9308. 2006-02-22 Peter Dennis Bartok <[email protected]>
  9309. * XplatUIX11.cs: Fixed cast to make csc happy
  9310. 2006-02-22 Peter Dennis Bartok <[email protected]>
  9311. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  9312. it's for the client area (part of fix for #77479 and needed
  9313. for MDI window cursor handling)
  9314. * XplatUIX11.cs
  9315. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  9316. the appropriate default cursors and also passing the message
  9317. up the parent chain
  9318. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  9319. for non-client areas
  9320. 2006-02-15 Jackson Harper <[email protected]>
  9321. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  9322. is a real MDI window
  9323. 2006-02-14 Alexander Olk <[email protected]>
  9324. * X11DesktopColors.cs: Instead of checking the desktop session
  9325. string for "KDE" check if it starts with "KDE"
  9326. 2006-02-10 Jackson Harper <[email protected]>
  9327. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  9328. systems).
  9329. 2006-02-10 Alexander Olk <[email protected]>
  9330. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  9331. errors
  9332. * ColorDialog.cs:
  9333. - Got rid of the panel. All controls are now directly added to
  9334. the dialog form
  9335. - Changed to mono coding style
  9336. 2006-02-10 Jackson Harper <[email protected]>
  9337. * InternalWindowManager.cs: We don't need the set visibility to
  9338. false hack anymore now that peter has written beautiful shutdown
  9339. code.
  9340. 2006-02-10 Peter Dennis Bartok <[email protected]>
  9341. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  9342. where already explicitly destroyed
  9343. 2006-02-10 Jackson Harper <[email protected]>
  9344. * MdiClient.cs: Handle the case where windows are too high or to
  9345. the left and we need scrollbars.
  9346. 2006-02-10 Alexander Olk <[email protected]>
  9347. * MimeIcon.cs: Added some icons
  9348. * FileDialog.cs:
  9349. - Fixed bug #77477
  9350. - Got rid of the panel. All controls are now directly added to
  9351. the dialog form
  9352. - Changed to mono coding style
  9353. - On Linux "My Computer" and "My Network" will now show some
  9354. more usefull information. A new class, MasterMount, gathers
  9355. this information from /proc/mount. Updated MWFFileView to make
  9356. use of this information
  9357. - Fixed a bug that caused FileDialog to crash when
  9358. ".recently_used" file had a zero size
  9359. - FilterIndex does now what it should
  9360. - Some Refactoring
  9361. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  9362. FileDialog changes
  9363. 2006-02-09 Jackson Harper <[email protected]>
  9364. * ComboBox.cs: Don't touch if null.
  9365. 2006-02-09 Peter Dennis Bartok <[email protected]>
  9366. * Cursor.cs: 64bit safeness fix
  9367. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  9368. 2006-02-09 Jackson Harper <[email protected]>
  9369. * Form.cs: If a form is made into an MDI form update the styles so
  9370. all the props can get set correctly.
  9371. - Kill the mdi_container when we dont need it anymore.
  9372. * InternalWindowManager.cs: Add missing NOT
  9373. 2006-02-08 Jackson Harper <[email protected]>
  9374. * InternalWindowManager.cs: Respek clipping when drawing MDi
  9375. decorations.
  9376. 2006-02-08 Jackson Harper <[email protected]>
  9377. * Hwnd.cs: Add bits to track non client expose events.
  9378. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  9379. gives us a proper invalid rect and will allow for some nice
  9380. optimizations with NC client drawing
  9381. - MDI windows are children windows, so move their style handling
  9382. into the child window block.
  9383. * InternalWindowManager.cs: Remove a state reset that was
  9384. getting invoked at the wrong time. Fixes managed windows getting
  9385. into a 'stuck' captured state.
  9386. 2006-02-07 Peter Dennis Bartok <[email protected]>
  9387. * TextControl.cs (Document.ctor): Now initializing
  9388. selection_anchor. Fixes #77493
  9389. 2006-02-07 Jackson Harper <[email protected]>
  9390. * TrackBar.cs: The increment/decrements were backwards.
  9391. 2006-02-07 Mike Kestner <[email protected]>
  9392. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  9393. to the instance itself.
  9394. 2006-02-07 Peter Dennis Bartok <[email protected]>
  9395. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  9396. on ulongs and pointers, the size differs between 32bit and 64bit
  9397. systems.
  9398. 2006-02-07 Mike Kestner <[email protected]>
  9399. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  9400. for 64 bit platforms to work around a metacity bug.
  9401. 2006-02-07 Jackson Harper <[email protected]>
  9402. * TrackBar.cs: Process the input keys we need, and hookup to
  9403. KeyDown instead of using WndProc, so we get key messages.
  9404. 2006-02-06 Peter Dennis Bartok <[email protected]>
  9405. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  9406. machine we're on.
  9407. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  9408. we need to translate the XdndVersion atoms array before sending it
  9409. 2006-02-06 Peter Dennis Bartok <[email protected]>
  9410. * XplatUIX11.cs:
  9411. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  9412. number of bits for the property, not the number of bytes. The
  9413. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  9414. but would not crash since it specified 8 bits instead of 4 bits)
  9415. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  9416. defined as XID -> long in the C headers)
  9417. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  9418. references since those are now IntPtr to begin with
  9419. - Switched all Atom.XXX 'int' casts to IntPtr casts
  9420. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  9421. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  9422. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  9423. * X11Structs.cs:
  9424. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  9425. - Changed atom in HoverStruct to be IntPtr
  9426. * X11DnD.cs:
  9427. - Removed local DllImports, switched code to use those from XplatUIX11
  9428. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  9429. 2006-02-06 Mike Kestner <[email protected]>
  9430. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  9431. method signatures in the import region. There may still be some
  9432. lingering struct marshaling issues, as I didn't drill down into those.
  9433. Yet.
  9434. 2006-02-06 Jackson Harper <[email protected]>
  9435. * ComboBox.cs: Dont manually set the top_item, this is computed
  9436. when the scrollbar position is set.
  9437. 2006-02-06 Mike Kestner <[email protected]>
  9438. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  9439. startup crashes on amd64. There's other fixes needed. All pinvoke
  9440. usage of Atom needs to be mapped to IntPtr for example. And there are
  9441. likely other int/long issues to be addressed.
  9442. 2006-02-04 Alexander Olk <[email protected]>
  9443. * FileDialog.cs: One more...
  9444. 2006-02-03 Alexander Olk <[email protected]>
  9445. * FileDialog.cs: Next try
  9446. 2006-02-03 Alexander Olk <[email protected]>
  9447. * FileDialog.cs: First part of fix for #77464
  9448. 2006-02-03 Alexander Olk <[email protected]>
  9449. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  9450. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  9451. AcceptButton border drawing.
  9452. 2006-02-03 Peter Dennis Bartok <[email protected]>
  9453. * Form.cs: Moved positioning of form after auto scaling is applied,
  9454. otherwise it would possibly use wrong form size.
  9455. 2006-02-03 Peter Dennis Bartok <[email protected]>
  9456. * Control.cs (RecreateHandle): No need to re-create any child
  9457. controls, the child windows will get destroyed automatically by
  9458. the windowing system or driver, and re-created when the handle
  9459. is being accessed the first time. Fixes #77456
  9460. * Form.cs: No longer setting the form to closing if the handle is
  9461. being recreated. This seems like the right thing to do, don't
  9462. have a bug or testcase for this, though.
  9463. 2006-02-02 Peter Dennis Bartok <[email protected]>
  9464. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  9465. controls to avoid unwanted side effects
  9466. 2006-02-02 Peter Dennis Bartok <[email protected]>
  9467. * Control.cs:
  9468. - ScaleCore needs to scale the bounds, not the ClientSize of the
  9469. control. Fixes #77416.
  9470. - DefaultSize is 0,0 for control
  9471. * TextBoxBase.cs:
  9472. - DefaultSize is 100, 20
  9473. - SetBoundsCore: Now enforcing the height, no matter if the provided
  9474. height is more or less than the preferred one, as long as AutoSize
  9475. is on
  9476. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  9477. 2006-02-02 Peter Dennis Bartok <[email protected]>
  9478. * Control.cs:
  9479. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  9480. call unless both performLayout is true *and* we have a pending
  9481. layout change
  9482. - ResumeLayout: MS does not completely nest Suspend and Resume,
  9483. they bottom out at 0, fixed our code to match that.
  9484. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  9485. SetBoundsCore, we were updating even when we shouldn't. This fixes
  9486. swf-anchors mis-anchoring when resizing the app fast and lots.
  9487. - UpdateDistances: Now only setting the left and top distance if
  9488. we have a parent and are not suspended, this is based on
  9489. a suggestion by Don Edvaldson in bug #77355.
  9490. - OnVisibleChanged: Fixed logic when to create the control. We may
  9491. not create the control if we have no parent or if it's not visible;
  9492. switched to using Visible property instead of is_visible field
  9493. since the property also considers parent states. This fixes a bug
  9494. when starting Paint.Net
  9495. 2006-02-02 Jackson Harper <[email protected]>
  9496. * Form.cs: If the forms handle hasn't been created yet don't call
  9497. into xplatui to make it top most, just set the topmost flag on the
  9498. form in CreateParams
  9499. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  9500. 2006-02-01 Jackson Harper <[email protected]>
  9501. * ScrollableControl.cs: Refactored the Recalculate method a
  9502. little, this wasn't handling all the variants of bottom and right
  9503. bars needed to be added and added/removed based on their
  9504. counterparts being added/removed (which changes the drawable
  9505. size). Also we special case client widths and heights of 0 and
  9506. don't add the scrollbar for those.
  9507. 2006-02-01 Peter Dennis Bartok <[email protected]>
  9508. * XplatUIX11.cs:
  9509. - Added method to get AbsoluteGeometry(); currently unused, but might
  9510. be used in the future, if we try again to figure out toplevel
  9511. coordinates with some more crappy window managers
  9512. - Added FrameExtents() method to retrieve the WM set decoration size
  9513. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  9514. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  9515. * Hwnd.cs:
  9516. - Added whacky_wm tracking var for metacity
  9517. - Added logic to have default menu height if the actual menu height
  9518. has not yet been calculated (part of fix for #77426)
  9519. * Form.cs: Keep track whether client size has been set and re-set
  9520. it if a menu is added/removed afterwards (Fixes #77426)
  9521. 2006-01-31 Jackson Harper <[email protected]>
  9522. * Control.cs: When a new Site is set on the component attempt to
  9523. pull the AmbientProperties from it.
  9524. 2006-01-31 Peter Dennis Bartok <[email protected]>
  9525. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  9526. in the background of the owning form. Fixes #77332
  9527. 2006-01-31 Alexander Olk <[email protected]>
  9528. * MimeIcon.cs: Fix for #77409
  9529. 2006-01-31 Alexander Olk <[email protected]>
  9530. * XplatUIX11GTK.cs: Initial import
  9531. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  9532. * FixedSizeTextBox: fixes class signature
  9533. 2006-01-30 Jackson Harper <[email protected]>
  9534. * FixedSizeTextBox.cs: New internal class that represents a
  9535. textBox that will not be scaled.
  9536. * TreeView.cs:
  9537. * ComboBox.cs:
  9538. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  9539. standard TextBox.
  9540. 2006-01-30 Peter Dennis Bartok <[email protected]>
  9541. * XplatUIX11.cs: Retrieve default screen number instead of
  9542. assuming 0. Attempted fix for #77318
  9543. 2006-01-30 Peter Dennis Bartok <[email protected]>
  9544. * XplatUIWin32.cs:
  9545. - GetWindowPos: When a window is parented by FosterParent, use
  9546. the desktop instead of FosterParent as the base to get coordinates
  9547. - CreateWindow: Don't make FosterParent the parent window for Popups
  9548. if we don't want a taskbar entry, Popups automatically don't get one
  9549. * Hwnd.cs: Need to call remove to actually remove the key from the
  9550. hash table
  9551. 2006-01-30 Mike Kestner <[email protected]>
  9552. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  9553. 2006-01-30 Jackson Harper <[email protected]>
  9554. * TreeView.cs:
  9555. * TreeNode.cs: Raise events no matter how the treenode is
  9556. checked. Patch by Don Edvalson.
  9557. 2006-01-30 Jackson Harper <[email protected]>
  9558. * TreeNode.cs: Signature fix.
  9559. 2006-01-29 Alexander Olk <[email protected]>
  9560. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  9561. 2006-01-20 Mike Kestner <[email protected]>
  9562. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  9563. event forwarding when menus are active.
  9564. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  9565. Most of the patch is pdb's with a little rework.
  9566. 2006-01-26 Peter Dennis Bartok <[email protected]>
  9567. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  9568. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  9569. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  9570. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  9571. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  9572. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  9573. the PaintWindowDecorations method
  9574. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  9575. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  9576. * MenuAPI.cs: Made tracker window invisible
  9577. * XplatUIWin32.cs:
  9578. - Removed GetMenuDC and ReleaseMenuDC methods
  9579. - Implemented the client=false path for PaintEventStart and
  9580. PaintEventEnd
  9581. 2006-01-26 Peter Dennis Bartok <[email protected]>
  9582. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  9583. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  9584. styles
  9585. * Form.cs:
  9586. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  9587. the style
  9588. - CreateParams: Reworked the styles to match MS look'n'feel,
  9589. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  9590. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  9591. 2006-01-26 Peter Dennis Bartok <[email protected]>
  9592. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  9593. window is not mapped, since otherwise every form that's being
  9594. created is considered minimized, which is wrong.
  9595. * Form.cs: Catching the exception and returning our internal value
  9596. instead
  9597. 2006-01-26 Peter Dennis Bartok <[email protected]>
  9598. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  9599. SetWindowMinMax() to have means to tell the driver about the minimum,
  9600. maximum and maximized state window sizes. (Part of the fix for #76485)
  9601. * Form.cs:
  9602. - Implemented tracking of minimum and maximum window size, now calling
  9603. new SetWindowMinMax() driver method to tell the driver (Part of the
  9604. fix for #76485)
  9605. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  9606. (Completes fix for #76485)
  9607. - Calling new SetWindowMinMax driver method when the handle for a
  9608. form is created, to make sure the driver knows about it even if
  9609. the values have been set before the window was created
  9610. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  9611. to avoid messing up our anchoring calculations (partial fix
  9612. for #77355)
  9613. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  9614. * XplatUIX11.cs:
  9615. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  9616. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  9617. (and presumably other freedesktop.org compliant WMs). Left the
  9618. assumption unmapped=minimized, needed for SetVisible to work.
  9619. - Now setting the window state when creating windows
  9620. - Fixed SetVisible to consider/set the window state when mapping
  9621. a Form. We cannot set the state before it's mapped, and we cannot
  9622. use Form.WindowState once it's mapped (since it would ask the
  9623. driver and get 'normal'. Therefore, we grab the state before
  9624. mapping, map, and then set state.
  9625. - Implmemented SetWindowMinMax method; Metacity does not seem to
  9626. honor the ZoomHints, though.
  9627. * XplatUIWin32.cs:
  9628. - Removed MINMAXINFO (moved to XplatUIStructs)
  9629. - Added SetWindowMinMax stub (on Win32 the only way to set that
  9630. information is in response to the WM_GETMINMAXINFO message, which
  9631. is handled in Form.cs)
  9632. - Added logic to SetVisible to set the proper window state when a
  9633. form is made visible (fixes #75720)
  9634. 2006-01-26 Jackson Harper <[email protected]>
  9635. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  9636. same way we handle them with Invoke.
  9637. 2006-01-25 Peter Dennis Bartok <[email protected]>
  9638. * Form.cs:
  9639. - Added tracking of window state so CreateParams can return
  9640. the appropriate style
  9641. - Moved setting of WS_CAPTION style in CreateParams to allow
  9642. styles without caption
  9643. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  9644. control if the TextBox property is accessed. Fixes #77345
  9645. * Control.cs:
  9646. - get_Created: now uses is_disposed and is_created to determine
  9647. return value (suggested by Jackson)
  9648. - CreateHandle: No longer exits if the handle is being recreated
  9649. - RecreateHandle: If the handle is not yet created call the
  9650. appropriate method to create either control or handle. If the
  9651. control is already created CreateHandle will simply exit instead
  9652. of just creating the handle
  9653. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  9654. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  9655. is called.
  9656. * XplatUIX11.cs:
  9657. - When DestroyWindow is called, instead of waiting for the
  9658. DestroyNotification from X11, we directly post it to the WndProc
  9659. and immediately dispose the hwnd object.
  9660. Same applies to DestroyChildWindows, and this obsoletes the
  9661. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  9662. child windows before our own, to avoid X11 errors.
  9663. - Removed the direct sending of WM_PAINT on UpdateWindow
  9664. * XplatUIWin32.cs:
  9665. - Reworked DoEvents and GetMessage to allow access to internal queue
  9666. even when trying non-blocking access to the queue. Fixes #77335.
  9667. Based on a patch suggestion by Don Edvalson. The new private
  9668. GetMessage can now also be used as a backend for a PeekMessage
  9669. frontend version.
  9670. * XplatUI.cs: Improved debug output for CreateWindow
  9671. 2006-01-25 Jackson Harper <[email protected]>
  9672. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  9673. 2006-01-24 Jackson Harper <[email protected]>
  9674. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  9675. when we have a MaxDropItems lower then the selected index.
  9676. 2006-01-24 Jackson Harper <[email protected]>
  9677. * Control.cs: Don't allow selection of non visible controls, allow
  9678. selection of controls without parents.
  9679. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  9680. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  9681. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  9682. 2006-01-23 Jackson Harper <[email protected]>
  9683. * UpDownBase.cs: Make the textbox handle all the selection and
  9684. tabbing. This fixes tabing to updown controls.
  9685. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  9686. * TextBoxBase.cs: fixes exception thown the object was null
  9687. 2006-01-23 Jackson Harper <[email protected]>
  9688. * ButtonBase.cs: Just use the base CreateParams. They set
  9689. visibility and enabled correctly.
  9690. * ComboBox.cs:
  9691. * TrackBar.cs:
  9692. * MonthCalendar.cs: Lets let the base set as much of the
  9693. createparams as possible so we don't have duplicate code all over
  9694. the place.
  9695. 2006-01-22 Alexander Olk <[email protected]>
  9696. * ThemeGtk.cs: Added TrackBar and some experimental code to
  9697. get double buffering back
  9698. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  9699. * DataGrid.cs: Allows row number set internally higher than the last
  9700. when creating a new row. Restores the editing functionality.
  9701. 2006-01-20 Mike Kestner <[email protected]>
  9702. * MimeIcon.cs: delay Image creation until the icons are accessed
  9703. instead of creating 190 scaled images on GnomeHandler startup.
  9704. 2006-01-19 Peter Dennis Bartok <[email protected]>
  9705. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  9706. first call base before processing the event. Fixes #77279
  9707. 2006-01-19 Peter Dennis Bartok <[email protected]>
  9708. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  9709. that the stride for the GDI bitmap would match the stride of
  9710. a DIB or a Cursor.
  9711. 2006-01-19 Alexander Olk <[email protected]>
  9712. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  9713. 2006-01-19 Jackson Harper <[email protected]>
  9714. * ComboBox.cs: Hookup the text controls keydown event so we get
  9715. those when the text control has the focus.
  9716. 2006-01-18 Peter Dennis Bartok <[email protected]>
  9717. * Label.cs: Now using the base events instead of defining new ones;
  9718. this allows us to just call the base properties without having to
  9719. duplicate all base property logic
  9720. 2006-01-18 Peter Dennis Bartok <[email protected]>
  9721. * Label.cs: A label by default is not a tabstop (Fixes one of our
  9722. failing nunit tests)
  9723. 2006-01-18 Peter Dennis Bartok <[email protected]>
  9724. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  9725. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  9726. 2006-01-18 Peter Dennis Bartok <[email protected]>
  9727. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  9728. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  9729. This fixes #77218
  9730. * XplatUIWin32.cs:
  9731. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  9732. constructor creates images that can't be saved. Part of the fix
  9733. for #76103
  9734. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  9735. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  9736. bug fix for handling window state in forms properly)
  9737. 2006-01-18 Alexander Olk <[email protected]>
  9738. * ThemeGtk.cs: Simplify ScrollBar drawing
  9739. 2006-01-18 Jackson Harper <[email protected]>
  9740. * Splitter.cs: Set the default dock style for the splitter control
  9741. in the constructor.
  9742. 2006-01-18 Alexander Olk <[email protected]>
  9743. * ThemeGtk.cs: Corrected StateType and ShadowType for
  9744. gtk_paint_box
  9745. 2006-01-18 Alexander Olk <[email protected]>
  9746. * Control.cs: Make use of Theme.DoubleBufferingSupported
  9747. * ThemeGtk.cs:
  9748. - Added drawing for flat style buttons
  9749. - Added ScrollBar drawing
  9750. 2006-01-18 Alexander Olk <[email protected]>
  9751. * ThemeClearlooks.cs: Removed some unneeded code.
  9752. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  9753. 2006-01-17 Peter Dennis Bartok <[email protected]>
  9754. * LinkLabel.cs: We need to update the hover drawing when
  9755. leaving the control as well.
  9756. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  9757. * DataGrid.cs: Clicking on non empty areas in the columns
  9758. area was giving an exception
  9759. 2006-01-17 Jackson Harper <[email protected]>
  9760. * ThemeWin32Classic.cs:
  9761. * ListView.cs: Do not draw/clip the headers when the header style
  9762. is None.
  9763. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  9764. * DataGrid.cs: Fixes 77260
  9765. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  9766. * DataGrid.cs: Clicking on a column on a empty grid was giving
  9767. an exception
  9768. 2006-01-17 Peter Dennis Bartok <[email protected]>
  9769. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  9770. or any keypress will crash the grid.
  9771. 2006-01-17 Mike Kestner <[email protected]>
  9772. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  9773. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  9774. invisible/previously-visible items.
  9775. [Fixes #76909]
  9776. 2006-01-17 Alexander Olk <[email protected]>
  9777. * ThemeClearlooks.cs:
  9778. - Added CL_Draw_Button method; now other theme controls that are
  9779. not derived from button or do not have a button can draw buttons
  9780. too
  9781. - Updated ComboBox drawing
  9782. - Beautified RadioButton drawing
  9783. - Corrected drawing of bottom and left tabs
  9784. - Beautified DateTimePicker and MonthCalendar
  9785. - Added CPDrawButton and CPDrawRadioButton
  9786. 2006-01-16 Jackson Harper <[email protected]>
  9787. * ComboBox.cs: Set the initial value of the scrollbar to the
  9788. current index. Reduce the numbers of refreshs and IndexOfs called.
  9789. 2006-01-14 Alexander Olk <[email protected]>
  9790. * FileDialog.cs: When the file listview is focused hitting the
  9791. backspace key moves the fileview to the parent directory
  9792. 2006-01-13 Peter Dennis Bartok <[email protected]>
  9793. * Form.cs:
  9794. - Added RecreateHandle call when changing taskbar visibility to
  9795. trigger reparenting in Win32 driver (Fixes #75719)
  9796. - If a window has minimize or maximize buttons, it cannot have
  9797. a help button
  9798. * XplatUIWin32.cs:
  9799. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  9800. the toplevel form with FosterParent (A toolwindow not on the
  9801. taskbar) (Fixes #75719)
  9802. - Made FosterParent a toolwindow
  9803. 2006-01-13 Alexander Olk <[email protected]>
  9804. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  9805. 2006-01-13 Alexander Olk <[email protected]>
  9806. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  9807. is currently over that control, make sure that tooltip_window.Text
  9808. gets updated
  9809. 2006-01-13 Mike Kestner <[email protected]>
  9810. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  9811. 2006-01-13 Jackson Harper <[email protected]>
  9812. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  9813. value passed. Also redraw the selected node when we recieve
  9814. focus, so tabbing between trees works correctly.
  9815. 2006-01-13 Alexander Olk <[email protected]>
  9816. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  9817. ~/.gconf/%gconf-tree.xml, so use
  9818. .gconf/desktop/gnome/interface/%gconf.xml
  9819. 2006-01-13 Peter Dennis Bartok <[email protected]>
  9820. * TextControl.cs: Draw text in gray if control is disabled
  9821. 2006-01-13 Peter Dennis Bartok <[email protected]>
  9822. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  9823. make sure it's always visible. Fixes #76680.
  9824. 2006-01-13 Peter Dennis Bartok <[email protected]>
  9825. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  9826. 2006-01-13 Jonathan Chambers <[email protected]>
  9827. * PageSetupDialog.cs: Added.
  9828. * PrintDialog.cs: Attributes.
  9829. * PrintPreviewControl.cs: Updates.
  9830. * PrintPreviewDialog.cs: Updates.
  9831. 2006-01-12 Peter Dennis Bartok <[email protected]>
  9832. * Control.cs: Undid my selection check fix, since it's not needed
  9833. * TextBoxBase.cs:
  9834. - Now considering the presence of hscroll/vscroll when sizing
  9835. vscroll/hscroll respectively. Fixed bug #77077
  9836. - Added Left/Up/Down/Right to IsInputKey list to prevent
  9837. ContainerControl from stealing them. This fixes what I broke
  9838. with my last checkin.
  9839. 2006-01-12 Peter Dennis Bartok <[email protected]>
  9840. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  9841. I finally understand how the property can be set without a setter :-)
  9842. 2006-01-12 Peter Dennis Bartok <[email protected]>
  9843. * Application.cs:
  9844. - Switched RunLoop to use static Message.Create to create a
  9845. Message object
  9846. - Added PreProcessMessage call in runloop for keyboard events; this
  9847. is part of the fix for #77219, I overlooked this originally in the
  9848. MSDN doc for PreProcessMessage
  9849. * Control.cs:
  9850. - Removed call to PreProcessMessage from handling of keyboard
  9851. messages; it's supposed to be done in the message pump
  9852. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  9853. per MSDN documentation.
  9854. - IsInputChar: All chars are input chars by default; removed the
  9855. parent calling chain, MS does not document that
  9856. - PreProcessMessage: If IsInputChar is true, we want to return false
  9857. to allow dispatching of the message
  9858. - When selecting the next control, now also check that we're not
  9859. selecting ourselves again and therefore return a false positive.
  9860. * TextBoxBase.cs:
  9861. - Tried to match return values for IsInputKey and ProcessDialogKey
  9862. to what MS returns; moved processing of our special keys outside
  9863. ProcessDialogKey since MS does not seem to return true on those.
  9864. - Moved code that previously was in ProcessDialogKey into new private
  9865. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  9866. - Reworked handling of WM_CHAR to not have to duplicate code from
  9867. Control.cs anymore, instead we simply call down to base.
  9868. 2006-01-12 Jackson Harper <[email protected]>
  9869. * ComboBox.cs: We always need to refresh the text area when
  9870. EndUpdate is called. Fixes the combobox in the file dialog.
  9871. * Control.cs: Don't create the creator_thread until the controls
  9872. handle is created. Also in InvokeRequired we check if the
  9873. creator_thread is null. This gives the effect of InvokeRequired
  9874. returning true if the controls handle is not created yet, and
  9875. matches MS.
  9876. 2006-01-12 Peter Dennis Bartok <[email protected]>
  9877. * XplatUI.cs:
  9878. - Added StartLoop() driver method. This is used to allow drivers to
  9879. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  9880. loop for a particular thread
  9881. - Added EndLoop() driver method. This is called once the message
  9882. pump for the thread is shut down
  9883. - Added SupportsTransparency method to allow the driver to indicate
  9884. opacity support for windows
  9885. * Form.cs:
  9886. - Removed TODO attribute, completed AllowTransparency property
  9887. - Added documented logic to Opacity
  9888. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  9889. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  9890. versions of CompatibleTextRendering
  9891. * X11Structs.cs: Added opacity atom to our atom enumeration
  9892. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  9893. of a form might be set before it's reparented by the WM, and we need
  9894. the opacity value without calling up to Form)
  9895. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  9896. SupportsTransparency() driver methods
  9897. * Application.cs: Now calling StartLoop and EndLoop driver methods
  9898. * XplatUIX11.cs:
  9899. - Added opacity atom registration
  9900. - Added StartLoop()/EndLoop() methods. They're empty right now but
  9901. will need to get implemented when we switch to a per-thread queue
  9902. - Implemented SupportsTransparency() method
  9903. - Implemented SetWindowTransparency() method
  9904. - Added support for setting the opacity value when a window is
  9905. reparented (since the opacity needs to be set on the WM frame)
  9906. * XplatUIOSX.cs, XplatUIWin32.cs:
  9907. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  9908. 2006-01-12 Alexander Olk <[email protected]>
  9909. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  9910. 2006-01-12 Alexander Olk <[email protected]>
  9911. * FileDialog.cs: Added ToolTip for MWFFileView
  9912. * MimeIcon.cs: Rewrote GnomeHandler.
  9913. - Get currently used gnome icon theme from
  9914. ($HOME)/.gconf/%gconf-tree.xml
  9915. - Make use of inherited icon themes
  9916. - Support SVG icon themes like Tango via librsvg
  9917. 2006-01-12 Miguel de Icaza <[email protected]>
  9918. Revert's Jackson's revert which broke 2.0 builds. Fix both
  9919. builds.
  9920. * Application.cs: Move the use_compatible_text_rendering outside
  9921. the NET_2_0 define. If we ever need to use the
  9922. use_compatible_text_rendering on the individual controls they will
  9923. access the variable from the common shared code paths.
  9924. 2006-01-12 Peter Dennis Bartok <[email protected]>
  9925. * XplatUI.cs:
  9926. - Added more granular debug options
  9927. - Added method to print both window text and id
  9928. - Switched debug output to use new Window() debug method
  9929. - Added IsEnabled() driver method
  9930. - Added EnableWindow() driver method
  9931. * Form.cs:
  9932. - Removed end_modal; no longer needed, new loop handles termination
  9933. via 'closing' variable
  9934. - If form is modal, setting DialogResult will now initiate loop
  9935. termination via 'closing' variable
  9936. - Added support for is_enabled/WS_DISABLED to CreateParams
  9937. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  9938. does all the work
  9939. - Removed code that's now in RunLoop from ShowDialog()
  9940. - Added various documented sanity checks to ShowDialog()
  9941. - Added handling of WM_DESTROY message; we set 'closing' on getting
  9942. the message to indicate the message pump to terminate
  9943. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  9944. send by the Application.ExitThread method. (We send the message
  9945. to destroy the window after all other events have been
  9946. processed through the queue, instead of destroying the handle
  9947. directly)
  9948. - Moved code from Close() method to WM_CLOSE handler; added logic
  9949. to only send close-related events if the form is not displayed
  9950. modal
  9951. * Splitter.cs (..ctor): Fixed typo in resource name
  9952. * Control.cs:
  9953. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  9954. brush now
  9955. - set_Cursor: Now only setting calling into XplatUI if the handle for
  9956. the control is already created; this avoids implict handle creation
  9957. or crashes if it's not created
  9958. - set_Enabled: Now setting the enabled state via the new driver method
  9959. instead of just tracking it
  9960. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  9961. - CreateControl: Reordered event firing and method calls to more
  9962. closely fire events in the order MS does. Now setting the
  9963. enabled state in the driver when creating the control.
  9964. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  9965. match MS order
  9966. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  9967. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  9968. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  9969. * Hwnd.cs:
  9970. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  9971. - Added EnabledHwnd property to easily allow a driver to find the
  9972. handle of the first enabled window in the parent chain (this is
  9973. used by drivers to pass up input events of disabled windows)
  9974. * XplatUIDriver.cs: Added IsEnabled() method
  9975. * Application.cs:
  9976. - Removed crude and obsolete exiting tracking variable
  9977. - Removed internal ModalRun(); replaced by RunLoop()
  9978. - Implemented private CloseForms() method to allow closing all
  9979. windows owned by a particular (or all) threads
  9980. - Exit() now properly closes all windows without forcing the message
  9981. pump to quit
  9982. - Removed obsolete InternalExit() method
  9983. - Changed Run() methods to use new RunLoop() message pump
  9984. - Implemented new RunLoop() method for both modal and non-modal forms
  9985. * CommonDialog.cs:
  9986. - get_CreateParams: Added setting of WS_DISABLED
  9987. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  9988. invoked via Form.ShowDialog()
  9989. * NativeWindow.cs: We don't remove the window from the collection when
  9990. the handle is destroyed; there might still be messages for it in the
  9991. queue (mainly the resulting WM_DESTROY); instead it will be removed
  9992. when Control calls InvalidateHandle in the WM_DESTROY handler
  9993. * XplatUIX11.cs:
  9994. - CreateWindow: Added logic to handle the WS_DISABLED window style
  9995. - EnableWindow: Implemented based on Hwnd.Enabled
  9996. - GetMessage: Reset PostQuitState so the method can be called again
  9997. - Implemented support for disabled windows (passing messages to the
  9998. first enabled parent) in handling all input messages
  9999. - Added optimizations for handling Expose events
  10000. - Implemeted new driver method IsEnabled()
  10001. - Now always resetting paint pending tracking vars when we start paint
  10002. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  10003. * XplatUIOSX.cs: Added IsEnabled method stub
  10004. * XplatUIWin32.cs: Implemented new IsEnabled() method
  10005. 2006-01-11 Jackson Harper <[email protected]>
  10006. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  10007. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  10008. variables a little.
  10009. * ColorDialog.cs: Clear out the old form before adding the new
  10010. panel.
  10011. 2006-01-11 Jackson Harper <[email protected]>
  10012. * X11Dnd.cs: Make sure to add all the text formats when adding
  10013. strings to the data object.
  10014. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  10015. do some redrawing too. Also change the UpdateNode to an
  10016. UpdateBelow so the newly added node gets painted.
  10017. 2006-01-11 Miguel de Icaza <[email protected]>
  10018. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  10019. LinkLabel.cs, PropertyGrid.cs: Implement the
  10020. UseCompatibleTextRendering property for 2.x
  10021. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  10022. 2006-01-11 Jackson Harper <[email protected]>
  10023. * TreeView.cs: Use the property for setting the selected node so
  10024. the correct events get raised.
  10025. * TreeNode.cs: Update the tree when the fore/back colours of a
  10026. node are set.
  10027. 2006-01-10 Jackson Harper <[email protected]>
  10028. * TreeView.cs: Allow setting SelectedNode to null.
  10029. 2006-01-9 Jonathan Chambers <[email protected]>
  10030. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  10031. 2006-01-9 Jonathan Chambers <[email protected]>
  10032. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  10033. 2006-01-9 Jonathan Chambers <[email protected]>
  10034. * PrintDialog.cs: Added attributes and set default property values.
  10035. 2006-01-9 Jonathan Chambers <[email protected]>
  10036. * PrintControllerWithStatusDialog.cs:
  10037. Added PrintControllerWithStatusDialog.
  10038. 2006-01-9 Jonathan Chambers <[email protected]>
  10039. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  10040. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  10041. 2006-01-9 Jonathan Chambers <[email protected]>
  10042. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  10043. 2006-01-09 Jonathan Chambers <[email protected]>
  10044. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  10045. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  10046. 2006-01-08 Alexander Olk <[email protected]>
  10047. * MimeIcon.cs: Added internal class SVGUtil.
  10048. 2006-01-08 Alexander Olk <[email protected]>
  10049. * FileDialog.cs: Don't crash if there are two files with the
  10050. same name but different locations.
  10051. 2006-01-08 John BouAntoun <[email protected]>
  10052. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  10053. dates across multiple month grids. Used to not highlight entire
  10054. month, but does now.
  10055. 2006-01-06 Jackson Harper <[email protected]>
  10056. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  10057. message loop. Change timer intervals to numbers that seem more
  10058. natural.
  10059. 2006-01-06 John BouAntoun <[email protected]>
  10060. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  10061. object for location info since screen object is now implemented.
  10062. 2006-01-05 Jackson Harper <[email protected]>
  10063. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  10064. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  10065. AsyncMethodResult, this is because we ALWAYS want the
  10066. ManualResetEvent to get set.
  10067. * Control.cs: When disposing use an async invoke to call shutdown
  10068. code, so that thigns don't block on the finalizer thread. Also
  10069. check if we even have a message loop before trying to send
  10070. messages, if we don't then don't bother sending messages.
  10071. - No more weak references for async methods
  10072. * XplatUIDriver.cs: No more weak references for async methods.
  10073. 2006-01-04 Alexander Olk <[email protected]>
  10074. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  10075. returns two FontFamily with the same name
  10076. 2006-01-04 Peter Dennis Bartok <[email protected]>
  10077. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  10078. drawing disabled text. Instead using the ColorGrayText color
  10079. 2006-01-04 Jackson Harper <[email protected]>
  10080. * TreeNode.cs: redraw the node when its image index is changed.
  10081. 2006-01-04 Peter Dennis Bartok <[email protected]>
  10082. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  10083. time I checked there are no others like it.
  10084. 2006-01-04 Jackson Harper <[email protected]>
  10085. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  10086. this gives the behavoir I was looking for.
  10087. * Control.cs: Special case Invoking EventHandlers, this matches MS
  10088. and fixes part of bug #76326.
  10089. 2006-01-04 Alexander Olk <[email protected]>
  10090. * ThemeClearlooks.cs, FileDialog.cs:
  10091. - Reflect the latest Theme class changes
  10092. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  10093. with DateTime
  10094. 2006-01-04 Alexander Olk <[email protected]>
  10095. * Theme.cs: Cache UI resource images and resize them if needed
  10096. 2006-01-03 Peter Dennis Bartok <[email protected]>
  10097. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  10098. is called. This fixes the crash in Nexxia when setting the font
  10099. attributes in the chat. [However, RTF needs a look-over to make sure
  10100. that all SelectionXXX methods handle the special case that selection
  10101. is empty and therefore the change must be applied to all text starting
  10102. at the cursor/selection start]
  10103. 2006-01-03 Peter Dennis Bartok <[email protected]>
  10104. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  10105. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  10106. * X11Keyboard.cs: Switched to new way of calling PostMessage
  10107. 2006-01-03 Peter Dennis Bartok <[email protected]>
  10108. * Theme.cs: Added theme interface for images to allow the theme to
  10109. control what images are used for things like FileDialog, MessageBox
  10110. icons, etc.
  10111. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  10112. 2006-01-03 Alexander Olk <[email protected]>
  10113. * FileDialog.cs:
  10114. - Removed some dead code
  10115. - Opening a recently used file does work now
  10116. - Small UI enhancements
  10117. - Refactoring
  10118. 2006-01-02 Alexander Olk <[email protected]>
  10119. * FileDialog.cs: Forgot too add __MonoCS__
  10120. 2006-01-02 Alexander Olk <[email protected]>
  10121. * FileDialog.cs: We are able to read recently used files now let's
  10122. go on and write them.
  10123. 2006-01-01 Alexander Olk <[email protected]>
  10124. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  10125. button
  10126. * MimeIcon.cs: Do a check for the top level media type also
  10127. 2005-12-31 Alexander Olk <[email protected]>
  10128. * ThemeClearlooks.cs:
  10129. - Added CPDrawStringDisabled
  10130. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  10131. some chars if the text doesn't fit into text_rect
  10132. - DrawListViewItem: If View = View.LargeIcon center the image;
  10133. rewrote the drawing of ListViewItem.Text if View =
  10134. View.LargeIcon
  10135. 2005-12-31 Alexander Olk <[email protected]>
  10136. * MimeIcon.cs: Use default KDE icon theme if there is no
  10137. "48x48" directory for the current icon theme, fixes #77114
  10138. * Mime.cs: Disable not working and actually not used code.
  10139. * ThemeWin32Classic.cs:
  10140. - Replace "new SolidBrush" in GetControlBackBrush and
  10141. GetControlForeBrush with ResPool.GetSolidBrush
  10142. - Changed DrawListViewItem from private to protected virtual
  10143. * FileDialog.cs:
  10144. - Added form.MaximizeBox = true
  10145. - Don't throw an exception if there is a broken symbolic link
  10146. 2005-12-23 Jackson Harper <[email protected]>
  10147. * TabControl.cs: Give the panels focus, keyboard navigation is
  10148. fixed so this works correctly now.
  10149. - We need these key events also.
  10150. * ToolBar.cs: Remove some of the poor mans double buffering.
  10151. 2005-12-24 Alexander Olk <[email protected]>
  10152. * ComboBox.cs: The internal TextBox now returns the focus.
  10153. 2005-12-23 Jackson Harper <[email protected]>
  10154. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  10155. 2005-12-23 Peter Dennis Bartok <[email protected]>
  10156. * Control.cs: Removed debug code
  10157. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  10158. implicit children
  10159. 2005-12-23 Peter Dennis Bartok <[email protected]>
  10160. * Control.cs: When creating the control, update the Z-order after
  10161. all it's children are created, too. (Fixes nexxia not showing
  10162. picturebox bug)
  10163. 2005-12-23 Peter Dennis Bartok <[email protected]>
  10164. * Control.cs: Do not update the anchoring distances if layout is
  10165. suspended, instead do it once layout is resumed
  10166. 2005-12-22 Peter Dennis Bartok <[email protected]>
  10167. * Control.cs:
  10168. - After many hours of debugging, for both Jackson and
  10169. myself, it turns out that it helps to set the parent of a control
  10170. if you want to actually see it onscreen. In the spirit of that
  10171. discovery, we're now setting the parent of the control and
  10172. it's children when the control's handle is created. This fix
  10173. will make Lutz Roeder's Reflector run happily.
  10174. - now just creating the handle instead of the whole control when
  10175. getting a graphics context for the control.
  10176. 2005-12-22 Peter Dennis Bartok <[email protected]>
  10177. * ScrollableControl.cs: When calculating the canvas, don't consider
  10178. the scrollbar widths. Instead, predict if horizontal scrollbar
  10179. will affect canvas when deciding on vertical display and vice versa.
  10180. 2005-12-22 Peter Dennis Bartok <[email protected]>
  10181. * RichTextBox.cs: Set default RTF font for documents that don't
  10182. have a font table (Fixes #77076)
  10183. 2005-12-22 Jackson Harper <[email protected]>
  10184. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  10185. clipboard. This prevents a NullRef in that case.
  10186. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  10187. clipboard. PRIMARY is for the currently selected text only. (We
  10188. should implement PRIMARY at some point.
  10189. 2005-12-21 Peter Dennis Bartok <[email protected]>
  10190. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  10191. a Unicode function with a structure that was defined in Ansi way.
  10192. This fixes #76942.
  10193. 2005-12-21 Jackson Harper <[email protected]>
  10194. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  10195. on. Because thats how it rolls. (and this avoids it using ambient
  10196. colours).
  10197. * ThemeWin32Classic.cs: Use the proper back color for filling.
  10198. * Menu.cs: Use the system menu bar color for drawing menu
  10199. bars. Using the window back color will bring ambient colours into
  10200. the picture.
  10201. 2005-12-21 Alexander Olk <[email protected]>
  10202. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  10203. Bitmaps were created and not disposed.
  10204. 2005-12-21 Peter Dennis Bartok <[email protected]>
  10205. * Control.cs (CreateControl): Don't do anything if the control is
  10206. already created, otherwise we'd fire the OnCreated event more than
  10207. once
  10208. 2005-12-21 Peter Dennis Bartok <[email protected]>
  10209. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  10210. will always match. Instead return -1. Fixes #76464.
  10211. 2005-12-21 Peter Dennis Bartok <[email protected]>
  10212. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  10213. neither the beginning nor the end of the line (Fixes bug #76479)
  10214. 2005-12-21 Peter Dennis Bartok <[email protected]>
  10215. * Control.cs:
  10216. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  10217. where handle is invalid
  10218. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  10219. instead of slower linear search
  10220. * NativeWindow.cs: Don't remove the window from the hashtable until
  10221. after the driver has destroyed it (since the driver might use
  10222. Control.FromHandle to lookup the control object
  10223. * Hwnd.cs: Added DestroyPending property to track if a window is
  10224. already destroyed as far as the driver is concerned and only hasn't
  10225. yet notified the control
  10226. * XplatUIX11.cs:
  10227. - Activate(): Check if the window is still valid before using the
  10228. handle
  10229. - Implemented DestroyChildWindow() method to mark child windows as
  10230. destroyed when a window is destroyed. This prevents situations
  10231. where we might call an X method based on queued events for a
  10232. window that already has been destroyed but we haven't yet pulled
  10233. the destroy method from the queue.
  10234. - Added a call to the new DestroyChildWindow() method to the drivers
  10235. DestroyWindow code. Also now marking the destroyed window itself
  10236. as pending
  10237. 2005-12-20 Jackson Harper <[email protected]>
  10238. * StatusBar.cs:
  10239. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  10240. anymore. Just do them when needed, also track the rects of panels
  10241. so that we can optimize refreshing more in the future.
  10242. 2005-12-20 Alexander Olk <[email protected]>
  10243. * ColorDialog.cs: Fixed focus drawing in small color controls
  10244. 2005-12-19 Jackson Harper <[email protected]>
  10245. * InternalWindowManager.cs:
  10246. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  10247. moving windows works properly.
  10248. 2005-12-19 Peter Dennis Bartok <[email protected]>
  10249. * Control.cs:
  10250. - Removed call to InitLayout() from SetBoundsCore(); doc says
  10251. it's only called when a control is added to a container
  10252. - Split InitLayout logic, moved to separate UpdateDistances() method
  10253. since we need to perform those calculations more often than just
  10254. when adding the control to a container. (Needed to fix #77022)
  10255. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  10256. - Reduced the OnBindingContextChanged events count, don't send them
  10257. unless the control is created, we still aren't totally matching
  10258. MS, but I can't quite figure out some of their rules
  10259. 2005-12-18 Alexander Olk <[email protected]>
  10260. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  10261. stripes
  10262. 2005-12-18 Alexander Olk <[email protected]>
  10263. * ThemeClearlooks.cs:
  10264. - Updated ProgressBar drawing
  10265. - Corrected drawing of ScrollBars and scroll buttons
  10266. - Some temporary fixes for minor pixel artefacts
  10267. 2005-12-18 Peter Dennis Bartok <[email protected]>
  10268. * Control.cs:
  10269. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  10270. cause events to be sent in the same order as MS does.
  10271. - Added ChangeParent() method to trigger various OnXXXChanged events
  10272. that need to be fired when a parent changes (This is a reworking
  10273. of the patch from r54254, with the X11 errors fixed)
  10274. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  10275. since on MS we get OnLayoutChanged events when calling Clear()
  10276. - Changed Enabled property to consider parent state as well, if a
  10277. parent is not enabled, the control will not be either
  10278. - Changed Parent property to simply call Controls.Add() since that
  10279. now does all the work required, this way we avoid code duplication
  10280. - Threw in a few OnBindingsContextChanged calls to try and match
  10281. when MS sends them. We seem to send a few too many, though.
  10282. - Added call to CreateControl when adding the control to a parent.
  10283. We were never calling CreateControl. Still needs some work, in
  10284. some places we treat HandleCreated and ControlCreated as equal,
  10285. which is wrong
  10286. - Removed obsolete commented out code from UpdateZOrder()
  10287. 2005-12-18 Alexander Olk <[email protected]>
  10288. * ThemeClearlooks.cs: Updated TrackBar drawing.
  10289. 2005-12-17 Alexander Olk <[email protected]>
  10290. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  10291. 2005-12-17 Alexander Olk <[email protected]>
  10292. * FileDialog.cs: Add the Help button and the open readonly
  10293. checkbox only if needed
  10294. 2005-12-16 Jackson Harper <[email protected]>
  10295. * Control.cs: Make sure we have an active menu before trying to
  10296. process commands on it. Prevents menu-less forms from crashing
  10297. when Alt is pressed.
  10298. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  10299. Dieter Bremes.
  10300. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  10301. 2.0 build.
  10302. 2005-12-16 Jackson Harper <[email protected]>
  10303. * InternalWindowManager.cs: Don't translate tool windows screen
  10304. coordinates. This fixes windows 'bouncing' around when being moved.
  10305. 2005-12-15 Peter Dennis Bartok <[email protected]>
  10306. * TextBoxBase.cs:
  10307. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  10308. not quite MS compatible, MS uses that number only for single line
  10309. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  10310. the limit at 2GB)
  10311. - Now enforcing the MaxLength limit when entering characters
  10312. - Added argument to internal Paste() method to track if it's called
  10313. from programatically or via keyboard, since keyboard driven pastes
  10314. need to enforce max-length
  10315. - Added logic to Paste to only paste as many chars as MaxLength
  10316. allows
  10317. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  10318. * TextControl.cs:
  10319. - Added Length property to return number of characters in document
  10320. - Added private CharCount property which only tracks actual chars
  10321. in the document (no linefeeds) and fires event when CharCount
  10322. changes
  10323. - Added tracking of character count to all methods that alter it
  10324. - Added LengthChanged event to allow applications to subscribe
  10325. to any changes to the document
  10326. 2005-12-15 Peter Dennis Bartok <[email protected]>
  10327. * TextBox.cs:
  10328. - Removed local password_char field (moved to TextBoxBase)
  10329. - Now setting the document's password var when password is
  10330. set
  10331. * TextBoxBase.cs:
  10332. - Added password_char field (needed here so MultiLine can
  10333. access it)
  10334. - Added logic to MultiLine property setter to set the document's
  10335. variable when password display is allowed
  10336. - Removed debug code and made some debug code conditional
  10337. * TextControl.cs:
  10338. - Added RecalculatePasswordLine() method to handle special password
  10339. char only lines
  10340. - Added PasswordChar property, also added related tracking vars
  10341. - Draw() method now uses local text var for grabbing text to draw,
  10342. this var is set to line.text unless we're doing password display,
  10343. then it is set to the pre-generated all-password-chars line
  10344. - Added calling RecalculatePasswordLine() method for password lines
  10345. 2005-12-14 Peter Dennis Bartok <[email protected]>
  10346. * Hwnd.cs:
  10347. - Added Reparented property to allow tracking of Window Manager
  10348. reparenting actions (which affect X/Y calculations of toplevel
  10349. windows)
  10350. - Made ToString() print window handles in hex
  10351. * XplatUIX11.cs:
  10352. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  10353. determine if X/Y needs offsetting
  10354. - AddConfigureNotify(): Fixed offset calculations
  10355. - Now adds ReparentNotify messages into the queue
  10356. - Now processes ReparentNotify messages and causes a
  10357. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  10358. is reparented (as most likely it's X/Y coordinates are changed
  10359. due to that)
  10360. 2005-12-14 Jackson Harper <[email protected]>
  10361. * XplatUIX11.cs: Tool windows still need to respek focus.
  10362. 2005-12-14 Peter Dennis Bartok <[email protected]>
  10363. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  10364. have a working release
  10365. 2005-12-13 Jackson Harper <[email protected]>
  10366. * Form.cs: Update styles after setting the border style regardless
  10367. of whether or not the window is using a window manager.
  10368. 2005-12-13 Jackson Harper <[email protected]>
  10369. * Form.cs: We now hook into an internal window manager instead of just an
  10370. MDI subsystem, this is so we can have properly behaving tool windows.
  10371. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  10372. * InternalWindowManager.cs: New internal class that acts as a
  10373. window manager for tool windows and as a base for mdi windows.
  10374. * MdiWindowManager.cs: New class that acts as a window manager for
  10375. mdi windows.
  10376. 2005-12-12 Jackson Harper <[email protected]>
  10377. * Control.cs: Updates so we match behavoir for for implicit
  10378. controls. Fixes explosions in MDI.
  10379. 2005-12-12 Jackson Harper <[email protected]>
  10380. * Control.cs: Implement Invalidate (Region).
  10381. 2005-12-12 Peter Dennis Bartok <[email protected]>
  10382. * Control.cs:
  10383. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  10384. the same events as MS does. MS fires events for each property
  10385. except, for unknown reasons, Cursor, when the control is reparented.
  10386. I can't seem to totally match add/remove since MS also fires some
  10387. VisibleChanged events, which makes no sense. Consolidated the
  10388. parenting code into a separate method so it can be called from
  10389. both Add and Remove. set_Parent no longer needs any special logic
  10390. as it calls the parent's add method which implicitly fires
  10391. all events
  10392. - Removed some obsolete code and debug output
  10393. - Enabled state is inherited from parents, if this is enabled
  10394. 2005-12-08 Peter Dennis Bartok <[email protected]>
  10395. * Form.cs: Removed commented out code
  10396. 2005-12-08 Peter Dennis Bartok <[email protected]>
  10397. * Control.cs:
  10398. - Added internal version of Invoke, with additional argument
  10399. indicating if we're calling it from a Dispose() handler. That
  10400. way we can avoid BeginInvoke throwing an exception if we're
  10401. calling for an already destroyed window.
  10402. - Added a dispose argument to BeginInvokeInternal, and made the
  10403. check if a valid window handle chain exists conditional on
  10404. it not being a dispose call
  10405. - Removed code in DestroyHandle to destroy our children. Since we
  10406. now handle the WM_DESTROY message we will catch all our children
  10407. being destroyed.
  10408. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  10409. * Form.cs:
  10410. - Added a field to track the application context of the form.
  10411. - No need to set closing variable as response to WM_CLOSE, instead
  10412. we destroy the window. We also call PostQuitMessage if the form
  10413. has an application context (which makes it the main app form,
  10414. which, when closed terminates the app)
  10415. * XplatUI.cs:
  10416. - Dropped Exit() method, it's naming was confusing
  10417. - Added PostQuitMessage() which causes GetMessage to return false
  10418. once the message queue is empty
  10419. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  10420. PostQuitMessage()
  10421. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  10422. no longer a valid XplatUI method, but left it in since it's used
  10423. internally. Added empty PostQuitMessage() method.
  10424. * MenuAPI.cs: Replaced call to Exit() with call to
  10425. PostQuitMessage, even though this is probably no longer needed.
  10426. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  10427. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  10428. * Application.cs:
  10429. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  10430. - Removed old debug code that would call XplatUI for exception
  10431. display, enabled standard exception handling (Still not enabled
  10432. though, until NativeWindow's ExternalExceptionHandler define
  10433. is removed
  10434. * NativeWindow.cs:
  10435. - Added internal method to allow control to update NativeWindow
  10436. after a window has been destroyed
  10437. - Added handling of already destroyed windows when calling i
  10438. DestroyWindow
  10439. - Added removal of handle from list on ReleaseHandle
  10440. * XplatUIX11.cs:
  10441. - Dropped GetMessageResult var and related code
  10442. - Added PostQuitState to field to track if PostQuitMessage has been
  10443. called
  10444. - Dropped Exit() method
  10445. - Added PostQuitMessage() method
  10446. - GetMessage now will return false if PostQuitState is set and no
  10447. more messages are in the queue.
  10448. - Expose handler will no longer generate WM_PAINT messages if we are
  10449. in PostQuitState since it's very likely any windows have already
  10450. been destroyed, and since Hwnd won't get updated until we have
  10451. processed the DestroyNotify we'd be causing X errors.
  10452. 2005-12-07 Peter Dennis Bartok <[email protected]>
  10453. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  10454. Thanks to Mike for pointing out the err of my ways.
  10455. 2005-12-07 Peter Dennis Bartok <[email protected]>
  10456. * Control.cs(PreProcessMessage): Moved menu handling back, but
  10457. after all other key handling, to match MS (who handles Menu in
  10458. DefWndProc)
  10459. * Menu.cs (WndProc): Removed my brainfart
  10460. 2005-12-07 Peter Dennis Bartok <[email protected]>
  10461. * Control.cs(PreProcessMessage): Removed special menu handling
  10462. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  10463. 2005-12-07 Mike Kestner <[email protected]>
  10464. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  10465. state according in tracker.
  10466. * Menu.cs : promote tracker field to base class and provide a tracker
  10467. lookup capability. Add/Remove shortcuts dynamically if the top menu
  10468. has a tracker. Unparent items that are removed from the collection.
  10469. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  10470. * Theme*.cs: add always_show_hotkeys field to support configurability
  10471. of mnemonic display. win32 doesn't show mnemonics until Alt is
  10472. pressed.
  10473. 2005-12-07 Jackson Harper <[email protected]>
  10474. * MdiChildContext.cs: Use Control.ResetCursor.
  10475. * Control.cs: ResetCursor needs to set the property so that the
  10476. correct XplatUI call gets made.
  10477. 2005-12-07 Peter Dennis Bartok <[email protected]>
  10478. * Control.cs: More fixes to make our key events match MS. We
  10479. were not setting the modifier state on KeyData, and we were
  10480. not generating any events when Alt was pressed with a key
  10481. since handling of WM_SYSxxx was missing for the OnKey methods.
  10482. 2005-12-07 Jackson Harper <[email protected]>
  10483. * MdiChildContext.cs: reenable the sizing code.
  10484. - When the mouse leaves a window reset its cursor.
  10485. 2005-12-07 Alexander Olk <[email protected]>
  10486. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  10487. 2005-12-07 Peter Dennis Bartok <[email protected]>
  10488. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  10489. widths of Fixed3D borders
  10490. 2005-12-07 Jackson Harper <[email protected]>
  10491. * MdiClient.cs: Fix warnings. Earn Mike's love.
  10492. 2005-12-07 Alexander Olk <[email protected]>
  10493. * ThemeClearlooks.cs:
  10494. - Adjusted mouse over button color
  10495. - Added first parts of CheckBox drawing
  10496. - Added correct color for selected text background
  10497. - Fixed ComboBox drawing
  10498. - Added CPDrawBorder3D and CPDrawBorder
  10499. 2005-12-06 Peter Dennis Bartok <[email protected]>
  10500. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  10501. 2005-12-06 Peter Dennis Bartok <[email protected]>
  10502. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  10503. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  10504. alert users via sound. We could add an enum arg with different
  10505. types of alerts in the future
  10506. 2005-12-06 Peter Dennis Bartok <[email protected]>
  10507. * Control.cs: Fix behaviour problems pointed out by Mike
  10508. 2005-12-05 Mike Kestner <[email protected]>
  10509. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  10510. prop setters. Calls parent.Refresh for now, but could be maybe be
  10511. optimized with an internal method on StatusBar at some point.
  10512. [Fixes #76513]
  10513. 2005-12-05 Peter Dennis Bartok <[email protected]>
  10514. * RichTextBox.cs: Implemented get_SelectionColor
  10515. 2005-12-05 Alexander Olk <[email protected]>
  10516. * ThemeClearlooks.cs:
  10517. - Removed dead code
  10518. - Draw black button border only if button is Form.AcceptButton
  10519. - Draw correct button color for pressed RadioButton if the mouse
  10520. has entered the button
  10521. - Updated ProgressBar drawing!
  10522. - Updated CPDrawSizeGrip drawing
  10523. - Updated StatusBarPanel drawing
  10524. 2005-12-05 Mike Kestner <[email protected]>
  10525. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  10526. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  10527. 2005-12-04 Alexander Olk <[email protected]>
  10528. * ThemeClearlooks.cs: Initial check-in, activate with
  10529. export MONO_THEME=clearlooks
  10530. * ThemeEngine.cs: Added ThemeClearlooks
  10531. 2005-12-03 Mike Kestner <[email protected]>
  10532. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  10533. [Fixes #76897]
  10534. 2005-12-02 Jackson Harper <[email protected]>
  10535. * Form.cs: If the child form has no menu the default main menu is
  10536. used as the active menu.
  10537. 2005-12-02 Peter Dennis Bartok <[email protected]>
  10538. * ListBox.cs: Check if any items exist before trying to resolve
  10539. coordinates into items
  10540. 2005-12-02 Peter Dennis Bartok <[email protected]>
  10541. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  10542. as the second color for the background hatch
  10543. 2005-12-02 Peter Dennis Bartok <[email protected]>
  10544. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  10545. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  10546. sure that what we pass to FormatText is always 1-based. Fixes #76885
  10547. 2005-11-29 Miguel de Icaza <[email protected]>
  10548. * NumericUpDown.cs (EndInit): When we are done initializing,
  10549. reflect any updates on the UI.
  10550. 2005-12-02 Jackson Harper <[email protected]>
  10551. * ImplicitHScrollBar.cs:
  10552. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  10553. their container controls.
  10554. * TreeView.cs: Use the new implicit scrollbars.
  10555. 2005-12-02 Jackson Harper <[email protected]>
  10556. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  10557. can play with it.
  10558. * TreeNodeCollection.cs: If we remove the topnode we need to
  10559. update topnode to the next node in line.
  10560. - When clearing nodes go through the same process as removing
  10561. them, so they get depareneted and checked if they are top node.
  10562. 2005-12-01 Jackson Harper <[email protected]>
  10563. * TreeView.cs: When imagelists are used the image area is
  10564. selectable as well as the text.
  10565. - If there are no selected nodes select the first one.
  10566. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  10567. so don't do it more then we need to.
  10568. 2005-12-01 Jackson Harper <[email protected]>
  10569. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  10570. that arrows can be scaled.
  10571. 2005-12-01 Jackson Harper <[email protected]>
  10572. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  10573. fail. Patch by Dieter Bremes
  10574. 2005-11-30 Jackson Harper <[email protected]>
  10575. * Form.cs: Property is 2.0 only
  10576. * PrintDialog.cs: Signature fix.
  10577. 2005-11-30 Peter Dennis Bartok <[email protected]>
  10578. * TextControl.cs:
  10579. - No longer artificially moves text 2 pixels down (now that we have
  10580. borders this is no longer needed)
  10581. - Added calcs for left, hanging and right indent
  10582. 2005-11-23 Mike Kestner <[email protected]>
  10583. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  10584. 2005-11-30 Jackson Harper <[email protected]>
  10585. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  10586. get cloned as part of CloneMenu ().
  10587. * Menu.cs: Make sure the parent of the items get set correctly
  10588. when they are added. And the owners are notified of the changes.
  10589. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  10590. we can change the menu being displayed/handled by the form without
  10591. changing the menu assosciated with the form.
  10592. - Don't let Mdi children draw/handle menus.
  10593. 2005-11-30 Jackson Harper <[email protected]>
  10594. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  10595. a MenuChanged event. Just to make the API a little more
  10596. consistent.
  10597. * MainMenu.cs:
  10598. * MenuItem.cs: Use the new OnMenuChanged
  10599. * MdiChildContext.cs: Handle menu merging.
  10600. * Form.cs: Implement MergedMenu.
  10601. 2005-11-30 Jackson Harper <[email protected]>
  10602. * Menu.cs: We were misusing Add. Add goes behind the specified
  10603. index according to the docs, and does not replace the specified
  10604. index. So I added an Insert method.
  10605. 2005-11-30 Peter Dennis Bartok <[email protected]>
  10606. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  10607. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  10608. is for Jackson
  10609. * RichTextBox.cs: Added calls to base for DnD events
  10610. 2005-11-28 Peter Dennis Bartok <[email protected]>
  10611. * TextControl.cs:
  10612. - Fixed drag-selection related crash; style fixes
  10613. - Implemented undo class
  10614. o Implemented method to capture document state for specified
  10615. range in document tree
  10616. o Implemented method to restore captured document state
  10617. o Implemented cursor tracking
  10618. o Implemented basic undo stack
  10619. - Added undo cursor tracking to methods altering cursor location
  10620. - Added undo tracking to selection deletion (still missing
  10621. other text-altering hookups)
  10622. * RichTextBox.cs:
  10623. - Added SelectionLength property
  10624. - Implemented CanPaste()
  10625. - Implemented Paste()
  10626. - Added missing protected methods
  10627. - Fixed RTF->Document conversion; now uses font index 0 and color
  10628. index 0 as the default font for the parsed text
  10629. - Fixed RTF<->Document font size translation
  10630. - Fixed RTF generation, now properly handles cross-tag boundaries
  10631. for single line selection
  10632. - No longer always appends blank line to generated RTF
  10633. - Removed TODOs
  10634. - Added missing attributes
  10635. - Hooked up undo-related methods
  10636. * TextBoxBase.cs:
  10637. - Implemented Copy()
  10638. - Implemented Paste()
  10639. - Implemented Cut()
  10640. - Fixed caret mis-behaviour on backspace across line-boundaries
  10641. 2005-11-29 Jackson Harper <[email protected]>
  10642. * MdiClient.cs: Add a method for activating mdi children. Very
  10643. basic right now. I imagine someday it might need more girth.
  10644. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  10645. children windows names are added to the menu item.
  10646. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  10647. mdilist. This happens regardless of whether or not there are any
  10648. mdi windows to see in the list, and according to my tests happens
  10649. before the items are even added. Also happens if there isn't even
  10650. an mdi client to get windows from.
  10651. 2005-11-29 Alexander Olk <[email protected]>
  10652. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  10653. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  10654. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  10655. * DataGridTableStyle.cs:
  10656. - Create always the styles for the missing columns even if they are
  10657. provided by the user (not default table style)
  10658. * DataGrid.cs:
  10659. - Fixes bug 76770
  10660. - Fixes SetDataBinding (always re-attach source)
  10661. - Fixes SetNewDataSource (only clear styles if they are not for
  10662. this source)
  10663. - Expands OnTableStylesCollectionChanged to handle style refresh
  10664. and remove properly
  10665. 2005-11-29 Jackson Harper <[email protected]>
  10666. * FileDialog.cs: Implement missing bits, remove some dead
  10667. code.
  10668. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  10669. creation of the panel so that the options set on the dialog are
  10670. seen when the panel is created.
  10671. * TreeView.cs: raise a click when items are clicked.
  10672. 2005-11-29 Jackson Harper <[email protected]>
  10673. * MdiClient.cs: Pass some signature methods through to base.
  10674. 2005-11-28 Jackson Harper <[email protected]>
  10675. * ListView.cs: Raise the click event when items are clicked.
  10676. 2005-11-28 Jackson Harper <[email protected]>
  10677. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  10678. a nullref.
  10679. 2005-11-27 Alexander Olk <[email protected]>
  10680. * ThemeNice.cs: - Removed 1 pixel bitmaps
  10681. - Use SmoothingMode.AntiAlias where it makes sense
  10682. (ScrollButton arrow for example)
  10683. - Enhanced Button focus drawing
  10684. - Fixed ComboBox drawing (no artefacts anymore, focus
  10685. rectangle is back again, reduced size of ComboButton, etc.)
  10686. - Fixed RadioButton focus drawing for Appearence.Button
  10687. - Slight ScrollButton redesign
  10688. - Some LinearGradientBrush size fixes
  10689. - GroupBoxes have now rounded edges
  10690. - Fixed StatusBar drawing
  10691. 2005-11-25 Alexander Olk <[email protected]>
  10692. * ThemeNice.cs: - Remove dead code
  10693. - use correct background colors for menus, etc.
  10694. - Fake pixel drawing with 1 pixel bitmaps
  10695. 2005-11-24 Jackson Harper <[email protected]>
  10696. * MdiClient.cs: Size the scrollbars when resizing the window.
  10697. - Resize the maximized windows when the client is resized
  10698. * Form.cs: Make the child context available
  10699. 2005-11-23 Jackson Harper <[email protected]>
  10700. * MdiChildContext.cs: Don't size windows if they are maximized.
  10701. 2005-11-23 Mike Kestner <[email protected]>
  10702. * ContextMenu.cs: use MenuTracker.
  10703. * Control.cs: remove menu handle usage.
  10704. * Form.cs: remove menu handle usage.
  10705. * Hwnd.cs: remove menu handle usage.
  10706. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  10707. motion and clicks to the new Tracker handlers.
  10708. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  10709. and handle usage.
  10710. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  10711. Killed the MENU and MENUITEM data types and associated collections
  10712. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  10713. MenuTracker class that exposes the leftovers from the old MenuAPI
  10714. static methods. Restructured Capture handling so that only one grab is
  10715. done for the entire menu hierarchy instead of handing off grabs to
  10716. submenus. Tracker now has an invisible control to Capture when active.
  10717. * MenuItem.cs: add sizing accessors, kill Create
  10718. and handle usage.
  10719. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  10720. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  10721. MENU(ITEM). remove menu handle usage, use Menu directly.
  10722. * XplatUIDriver.cs: remove menu handle usage.
  10723. * XplatUIOSX.cs: remove menu handle usage.
  10724. * XplatUIWin32.cs: remove menu handle usage.
  10725. * XplatUIX11.cs: remove menu handle usage.
  10726. 2005-11-22 Jackson Harper <[email protected]>
  10727. * Hwnd.cs: Don't compute the menu size for
  10728. DefaultClientRectangle.
  10729. - Reenable menu sizes being computed for GetClienRectangle.
  10730. * Form.cs: Remove comment of trechery
  10731. 2005-11-22 Jackson Harper <[email protected]>
  10732. * Hwnd.cs: The adjustments for the menu bar are made when it is
  10733. attached to the form.
  10734. 2005-11-19 Jackson Harper <[email protected]>
  10735. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  10736. (just like on windows).
  10737. 2005-11-19 Jackson Harper <[email protected]>
  10738. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  10739. use real buttons anymore because they are in non client area. The
  10740. one TODO here is that I need to somehow invalidate a section of
  10741. the non client area.
  10742. 2005-11-18 Jackson Harper <[email protected]>
  10743. * Control.cs: Put the enum check back in now that MDI doesnt have
  10744. to use this to set border styles.
  10745. * Form.cs: Only set mdi child windows borders if the handle has
  10746. been created.
  10747. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  10748. this directly on to the driver.
  10749. - Get the move start position before adjusting for the titlebar
  10750. height, this fixes the windows "skipping" when they are first
  10751. moved.
  10752. 2005-11-18 Jackson Harper <[email protected]>
  10753. * XplatUIX11.cs: Just compute the mdi borders separately as they
  10754. don't totally match up with normal form borders.
  10755. 2005-11-18 Jackson Harper <[email protected]>
  10756. * Control.cs: Set WS_ styles for borders, so that the driver does
  10757. not have to retrieve the control instance to figure out what kind
  10758. of borders it should have.
  10759. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  10760. driver can know its an mdi child easily.
  10761. * XplatUIX11.cs: Get the border styles and whether the window is
  10762. MDI from the Styles and ExStyles params instead of having to get a
  10763. control. This prevents a chicken and egg problem.
  10764. 2005-11-18 Jackson Harper <[email protected]>
  10765. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  10766. 2005-11-18 Jackson Harper <[email protected]>
  10767. * MdiClient.cs: Calculate when to add and remove scrollbars
  10768. correctly.
  10769. * MdiChildContext.cs: Adjust the y position to take the titlebar
  10770. into account.
  10771. - No height for FormBorderStyle.None
  10772. 2005-11-18 Jackson Harper <[email protected]>
  10773. * Control.cs: Allow non enum values to be used for
  10774. InternalBorderStyle. MDI does this to set a special border style.
  10775. - New utility methods for converting points to/from client coords
  10776. - Add the newly created control to the Controls collection before
  10777. updating its style. This way UpdateStyle can walk the control
  10778. heirarchy to find the control if needed.
  10779. so I don't need to create a new Point object all the time.
  10780. * Form.cs: Let MDI windows handle their border styles.
  10781. - Set styles on MDI windows so the correct title style is derived.
  10782. * MdiChildContext.cs: Move all the painting and window handling
  10783. into the non client area.
  10784. - Use correct sizing and put correct buttons on frames based on
  10785. the FormBorderStyle.
  10786. - Notify the mdi client about scrolling
  10787. - Need to handle the buttons ourselves now, because they are all
  10788. in non client areas and we can't add controls there.
  10789. * MdiClient.cs: Halfway to scrolling, this implementation is
  10790. somewhat broken though, we need to check to make sure other
  10791. windows aren't causing scrolling before removing the bars. Also
  10792. the bars need to be drawn on top, maybe I can switch implicit
  10793. controls to be on top.
  10794. * Hwnd.cs: caption_height and tool_caption_height are now
  10795. properties of an hwnd, this way they can be set by the driver
  10796. based on the type of window they are. In X11 the window manager
  10797. handles the decorations so caption_height is zero unless its an
  10798. MDI window.
  10799. - Add 3 pixel borders for MDI windows (0xFFFF).
  10800. - Get rid of some code duplication, have DefaultClientRectanle
  10801. just call GetClientRectangle.
  10802. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  10803. Hwnd now.
  10804. - Set border styles differently for mdi windows.
  10805. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  10806. Hwnd now.
  10807. 2005-11-15 Mike Kestner <[email protected]>
  10808. * Menu.cs: when adding an item to the collection, if item is already
  10809. parented, remove it from the parent.
  10810. 2005-11-13 Alexander Olk <[email protected]>
  10811. * X11DesktopColors.cs: Added KDE support
  10812. 2005-11-11 Peter Dennis Bartok <[email protected]>
  10813. * XplatUIWin32.cs:
  10814. - Clipboard methods now can translate Rtf format
  10815. - No longer removes clipboard contents whenever a new format is added
  10816. to allow placing multiple formats on the clipboard
  10817. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  10818. will place all formats contained in it onto the clipboard. Also
  10819. now cleans the clipboard before placing a new object onto it
  10820. * RichTextBox.cs:
  10821. - Implemented set_Rtf
  10822. - Implemented set_SelectedRtf
  10823. - Created InsertRTFFromStream() method to allow single code base
  10824. for all properties and methods that insert RTF into document
  10825. - Removed debug output
  10826. * TextControl.cs:
  10827. - Fixed Delete(int) to fix up line numbers
  10828. - Fixed ReplaceSelection to combine start and end line
  10829. - Fixed serious DeleteChars bug that would leave the document tree
  10830. broken
  10831. - Improved DumpTree with several logic checks to detect broken
  10832. document trees
  10833. - Removed debug lines
  10834. - Fixed Caret.WordForward/WordBack moving code, now always also
  10835. updates caret.tag (fixes crash when word-selecting across tag
  10836. boundaries via keyboard)
  10837. - Added Insert() method for inserting multiline text into documents
  10838. - Fixed DeleteChars() calculation errors that would cause a broken
  10839. tag chain with multiple tag lines
  10840. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  10841. - Split() no longer moves caret if split is at caret location
  10842. - ReplaceSelection() now updates the cursor and re-displays it
  10843. - ReplaceSelection() now uses new Insert() method to avoid code
  10844. duplication
  10845. - FormatText() can now handle formatting partial lines
  10846. * TextBoxBase.cs:
  10847. - Append now uses new TextControl.Insert() method (this avoids
  10848. duplicate code)
  10849. - Implemented Ctrl-X (Cut) (
  10850. - Implemented Ctrl-C (Copy)
  10851. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  10852. regeneration when pasting text; roundtripping Copy&Paste within
  10853. edit control still fails due to some calculation bugs in GenerateRTF)
  10854. - The Delete key will now remove the current selection if it is visible
  10855. * TextBox.cs: Removed debug lines
  10856. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  10857. driver to be initialized and can't therefore be done via a static ctor)
  10858. 2005-11-10 Peter Dennis Bartok <[email protected]>
  10859. * TextControl.cs: Added backend code for finding char arrays and strings
  10860. * TextBoxBase.cs:
  10861. - Added mouse wheel scroll support
  10862. - Added support for VScroll and HScroll events
  10863. * RichTextBox.cs:
  10864. - Implemented all seven Find() variants
  10865. - Implemented GetCharFromPosition()
  10866. - Implemented GetCharIndexFromPosition()
  10867. - Implemented GetLineFromIndex()
  10868. - Implemented GetPositionFromCharIndex();
  10869. - Implemented SaveFile for PlainText and UnicodeText
  10870. - Fixed set_Font, now setting a new font applies that font to
  10871. the whole document
  10872. - Implemented generic Document to RTF converter
  10873. - Implemented SaveFile for RichText format (still missing unicode
  10874. conversion for non-ansi chars)
  10875. - Implemented get_Rtf
  10876. - Implemented get_SelectedRtf
  10877. 2005-11-09 Peter Dennis Bartok <[email protected]>
  10878. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  10879. to allow any captures to be released before triggering OnClick. This
  10880. way a click handler may capture the mouse without interference.
  10881. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  10882. This way we send them even though X may not allow a grab (if the window
  10883. isn't visible, for example)
  10884. 2005-11-08 Pedro Martinez Julia <[email protected]>
  10885. * DataGridViewRowEventArgs.cs: DataGridView implementation
  10886. * DataGridViewElement.cs: DataGridView implementation
  10887. * DataGridViewComboBoxCell.cs: DataGridView implementation
  10888. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  10889. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  10890. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  10891. * ImageLayout.cs: DataGridView implementation
  10892. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  10893. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  10894. * DataGridViewSelectionMode.cs: DataGridView implementation
  10895. * IDataGridViewEditingControl.cs: DataGridView implementation
  10896. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  10897. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  10898. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  10899. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  10900. * DataGridViewColumnSortMode.cs: DataGridView implementation
  10901. * DataGridView.cs: DataGridView implementation
  10902. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  10903. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  10904. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  10905. * Padding.cs: DataGridView implementation
  10906. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  10907. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  10908. * DataGridViewRowEventHandler.cs: DataGridView implementation
  10909. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  10910. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  10911. * DataGridViewButtonCell.cs: DataGridView implementation
  10912. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  10913. * DataGridViewEditMode.cs: DataGridView implementation
  10914. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  10915. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  10916. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  10917. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  10918. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  10919. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  10920. * DataGridViewCellEventHandler.cs: DataGridView implementation
  10921. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  10922. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  10923. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  10924. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  10925. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  10926. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  10927. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  10928. * QuestionEventArgs.cs: DataGridView implementation
  10929. * IDataGridViewEditingCell.cs: DataGridView implementation
  10930. * DataGridViewTriState.cs: DataGridView implementation
  10931. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  10932. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  10933. * DataGridViewColumnCollection.cs: DataGridView implementation
  10934. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  10935. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  10936. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  10937. * DataGridViewColumn.cs: DataGridView implementation
  10938. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  10939. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  10940. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  10941. * DataGridViewRow.cs: DataGridView implementation
  10942. * DataGridViewImageCellLayout.cs: DataGridView implementation
  10943. * DataGridViewImageCell.cs: DataGridView implementation
  10944. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  10945. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  10946. * DataGridViewHeaderCell.cs: DataGridView implementation
  10947. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  10948. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  10949. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  10950. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  10951. * QuestionEventHandler.cs: DataGridView implementation
  10952. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  10953. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  10954. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  10955. * DataGridViewCell.cs: DataGridView implementation
  10956. * DataGridViewCellEventArgs.cs: DataGridView implementation
  10957. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  10958. * DataGridViewCellStyle.cs: DataGridView implementation
  10959. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  10960. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  10961. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  10962. * TextFormatFlags.cs: DataGridView implementation
  10963. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  10964. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  10965. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  10966. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  10967. * DataGridViewButtonColumn.cs: DataGridView implementation
  10968. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  10969. * HandledMouseEventArgs.cs: DataGridView implementation
  10970. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  10971. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  10972. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  10973. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  10974. * DataGridViewRowCollection.cs: DataGridView implementation
  10975. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  10976. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  10977. * DataGridViewHitTestType.cs: DataGridView implementation
  10978. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  10979. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  10980. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  10981. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  10982. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  10983. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  10984. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  10985. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  10986. * DataGridViewContentAlignment.cs: DataGridView implementation
  10987. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  10988. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  10989. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  10990. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  10991. * DataGridViewPaintParts.cs: DataGridView implementation
  10992. * DataGridViewCellCollection.cs: DataGridView implementation
  10993. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  10994. * DataGridViewImageColumn.cs: DataGridView implementation
  10995. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  10996. * DataGridViewElementStates.cs: DataGridView implementation
  10997. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  10998. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  10999. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  11000. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  11001. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  11002. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  11003. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  11004. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  11005. * DataGridViewTextBoxCell.cs: DataGridView implementation
  11006. * DataGridViewBand.cs: DataGridView implementation
  11007. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  11008. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  11009. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  11010. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  11011. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  11012. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  11013. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  11014. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  11015. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  11016. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  11017. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  11018. 2005-11-08 Peter Dennis Bartok <[email protected]>
  11019. * ThemeWin32Classic.cs:
  11020. - Draw the outside focus rectangle around buttons
  11021. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  11022. doesn't use end caps for every dash of a line anymore. This
  11023. workaround ignores the forecolor.
  11024. 2005-11-08 Kornél Pál <[email protected]>
  11025. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  11026. endian safe.
  11027. 2005-11-07 Jackson Harper <[email protected]>
  11028. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  11029. 2005-11-07 Jackson Harper <[email protected]>
  11030. * ScrollableControl.cs: Calculate the maximum and change vars
  11031. (more) correctly so that scrollbars appear as a sensible size.
  11032. 2005-11-04 Jackson Harper <[email protected]>
  11033. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  11034. collection.
  11035. * TreeView.cs: When the tree is sorted null out the top_node so
  11036. that it is recalculated.
  11037. - Use dotted lines instead of dashed lines to match MS better.
  11038. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  11039. * ListView.cs:
  11040. - Implements key search for items. Useful when browsing files with FileDialog
  11041. - When changing view mode or when clear the items reset scrollbar positions
  11042. 2005-11-04 Jackson Harper <[email protected]>
  11043. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  11044. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  11045. as to what the method may do as there is no real way of creating a
  11046. derived CurrencyManager and calling the method.
  11047. 2005-11-03 Jackson Harper <[email protected]>
  11048. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  11049. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  11050. method which seems to just be used internally to refresh the tabs.
  11051. 2005-11-03 Jackson Harper <[email protected]>
  11052. * TabControl.cs: Implement the remove method. Fix some broken
  11053. comments.
  11054. 2005-11-03 Peter Dennis Bartok <[email protected]>
  11055. * DateTimePicker.cs:
  11056. - Added missing DateTimePickerAccessibleObject class
  11057. - Added missing events
  11058. - Added OnFontChanged method
  11059. * Form.cs: Added missing attributes
  11060. * TreeView.cs: Added missing attributes
  11061. 2005-11-03 Peter Dennis Bartok <[email protected]>
  11062. * GridItemCollection.cs: Fix signatures
  11063. 2005-11-03 Peter Dennis Bartok <[email protected]>
  11064. * XplatUI.cs: Updated build rev/date
  11065. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  11066. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  11067. * Application.cs: Trigger context-specific ExitThread events
  11068. 2005-11-03 Jackson Harper <[email protected]>
  11069. * Menu.cs:
  11070. * MainMenu.cs:
  11071. * GridTableStylesCollection.cs:
  11072. * Timer.cs:
  11073. * TabPage.cs:
  11074. * HelpProvider.cs:
  11075. * StatusBar.cs:
  11076. * MonthCalendar.cs: Signature fixes
  11077. 2005-11-03 Jackson Harper <[email protected]>
  11078. * TreeNodeCollection.cs: Remove should not be virtual.
  11079. * TreeView.cs: Implement the last of the missing methods.
  11080. 2005-11-03 Jackson Harper <[email protected]>
  11081. * TreeNodeConverter.cs: Implement to get off my class-status back.
  11082. 2005-11-03 Jackson Harper <[email protected]>
  11083. * TreeView.cs: Hookup the bits for drag and drop.
  11084. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  11085. that nodes can be moved from tree to tree easily this just causes
  11086. all sorts of problems.
  11087. * TreeNodeCollection: Don't need to give treenodes an index and
  11088. treeview anymore when they are added, these are computed on the
  11089. fly. Also make sure to remove a node before its added.
  11090. 2005-11-03 Peter Dennis Bartok <[email protected]>
  11091. * TextControl.cs:
  11092. - Added CaretSelection enum
  11093. - Added comparison methods to Marker struct, makes selection code
  11094. more readable
  11095. - Added SelectionStart and SelectionEnd as 'moveable' location for
  11096. the CaretDirection enum and handler
  11097. - Added selection_prev variable to track optimized invalidation for
  11098. word and line selection
  11099. - Added SelectionVisible property (returns true if there is a valid
  11100. selection)
  11101. - Switched CaretHasFocus to only display the caret if there is no
  11102. visible selection
  11103. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  11104. using the direct character index; should be much faster
  11105. - Added various conditional debug statements
  11106. - Fixed invalidation calculation for selection ranges
  11107. - Added ExpandSelection() method to support word and line selection
  11108. - Switched SetSelectionToCaret to use new Marker compare overloads
  11109. - Added central IsWordSeparator() method to determine word
  11110. separators/whitespace and FindWordSeparator() to streamline common
  11111. usage of IsWordSeparator()
  11112. * TextBoxBase.cs:
  11113. - Removed unneeded grabbed variable, it was just mirroring
  11114. Control.Capture
  11115. - No longer firing OnTextChanged event when Text setter is called,
  11116. since the base will fire the event for us
  11117. - Added handling of Ctrl-Up/Down selection
  11118. - Added handling of Shift-Cursorkey selection
  11119. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  11120. words
  11121. - Added handling of Shift and Ctrl-Shift-Home/End selection
  11122. - Removed some debug output
  11123. - Added handling for single/double/tripple-click to place caret/
  11124. select word/select line respectively (Fixes bug #76031)
  11125. - Added support for drag expansion of word/line selection
  11126. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  11127. current selection
  11128. 2005-11-02 Jackson Harper <[email protected]>
  11129. * X11Dnd.cs: If the drag is going to and from a MWF window just
  11130. copy the data instead of sending it out through the X Selection
  11131. mechanism.
  11132. 2005-11-02 Jackson Harper <[email protected]>
  11133. * X11Dnd.cs:
  11134. * XplatUIX11.cs: When in a drag we don't want motion notify
  11135. messages to get passed on to the other controls. This prevents
  11136. mouse move messages from showing up in the drag source.
  11137. 2005-11-02 Jackson Harper <[email protected]>
  11138. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  11139. the correct button is release to end a drag.
  11140. * XplatUIX11.cs: Make the button state internal so the drag system
  11141. can access it. Dragging needs to know about all button releases,
  11142. not just left button.
  11143. 2005-11-02 Miguel de Icaza <[email protected]>
  11144. * Form.cs (Icon): If the icon is null, reset the icon to the
  11145. default value.
  11146. * Cursor.cs: When writing the AND-mask bitmap do not include the
  11147. number of colors, but hardcode those to two (black and white),
  11148. fixes the loading of color cursors (Paint Dot Net).
  11149. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  11150. turn off autoscaling.
  11151. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  11152. 2005-11-02 Jackson Harper <[email protected]>
  11153. * X11Dnd.cs: Make sure to send a status message if the pointer
  11154. enters a control that can not accept a drop, otherwise the cursor
  11155. isn't updated correctly. Also tried to compress the lines of code
  11156. a bit.
  11157. 2005-11-02 Jackson Harper <[email protected]>
  11158. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  11159. set actions correctly. This isn't perfect as XDND and win32 have
  11160. some differences on how you allow actions. I'll clear this up by
  11161. adding a path for drag from MWF to MWF windows.
  11162. * XplatUIX11.cs: Hook into the dnd system.
  11163. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  11164. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  11165. previously shown but they are no longer need it. Very obvious when
  11166. browsing files with FileDialog.
  11167. 2005-11-01 Peter Dennis Bartok <[email protected]>
  11168. * Control.cs: We always need to call OnPaintBackground. We pretty much
  11169. ignore AllPaintingInWmPaint and always do the painting there, whether
  11170. it's set or not, since we always ignore the WM_ERASEBKGND message
  11171. (which we don't generate on X11). This fixes #76616.
  11172. * Panel.cs: Removed unneeded background painting. This happens properly
  11173. in Control.cs already
  11174. 2005-10-31 Mike Kestner <[email protected]>
  11175. * Menu.cs: Add items to collection before setting their index.
  11176. * MenuItem.cs : add range checking with ArgumentException like MS.
  11177. [Fixes #76510]
  11178. 2005-10-31 Jackson Harper <[email protected]>
  11179. * ListBox.cs: Invalidate if the area is visible at all not just
  11180. contained in the visible rect. Fixes unselection of semi visible
  11181. items.
  11182. 2005-10-31 Jackson Harper <[email protected]>
  11183. * Control.cs: Consistently name the dnd methods. Make them
  11184. internal so we can override them to match some MS behavoir
  11185. internally.
  11186. * Win32DnD.cs: Use the new consistent names.
  11187. 2005-10-31 Jackson Harper <[email protected]>
  11188. * TreeView.cs: Don't draw the selected node when we lose focus.
  11189. 2005-10-31 Jackson Harper <[email protected]>
  11190. * X11Dnd.cs: We still need to reset the state even though a full
  11191. reset isn't being done, otherwise status's still get sent all over
  11192. the place.
  11193. 2005-10-31 Jackson Harper <[email protected]>
  11194. * Control.cs: Make the dnd_aware flag internal so the dnd
  11195. subsystem can check it. Catch exceptions thrown in dnd handlers to
  11196. match MS behavoir.
  11197. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  11198. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  11199. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  11200. flags to reduce the number of dnd enters/status's sent.
  11201. 2005-10-31 Jackson Harper <[email protected]>
  11202. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  11203. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  11204. * PictureBox.cs: Fixes 76512
  11205. 2005-10-28 Jackson Harper <[email protected]>
  11206. * X11Dnd.cs: Early implementation to support winforms being a drag
  11207. source for data on X11. Also restructured the converters so they
  11208. can go both ways now.
  11209. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  11210. 2005-10-27 Peter Dennis Bartok <[email protected]>
  11211. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  11212. clipboard requests
  11213. 2005-10-27 Jackson Harper <[email protected]>
  11214. * TreeNode.cs: Implement serialization so my DnD examples will work.
  11215. 2005-10-24 Kornél Pál <[email protected]>
  11216. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  11217. TreeView.cs: Don't dispose objects that are not owned.
  11218. 2005-10-24 Peter Dennis Bartok <[email protected]>
  11219. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  11220. should retrieve the current cursor and report that, but XplatUI
  11221. doesn't (yet) have an interface for that (and I'm not sure I even
  11222. can, on X11)
  11223. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  11224. until any message loop processing is done (and the WM_SETCURSOR
  11225. replaces the cursor to the proper one)
  11226. * XplatUIX11.cs:
  11227. - Fixed override behaviour, we can't set the cursor globally on X11,
  11228. just for our windows.
  11229. - Invalidating the System.Drawing X11 display handle when we are
  11230. shutting down
  11231. * Control.cs: Fix to make csc happy
  11232. 2005-10-23 Peter Dennis Bartok <[email protected]>
  11233. * TextBoxBase.cs:
  11234. - get_Text: Add last line (without trailing newline) to returned
  11235. value (Fixes 76212)
  11236. - get_TextLength: Count last line in returned length
  11237. - ToString: Call Text property instead of duplicating code
  11238. 2005-10-23 Kornél Pál <[email protected]>
  11239. * ImageList.cs: Dispose ImageAttributes objects.
  11240. 2005-10-22 Kornél Pál <[email protected]>
  11241. * ImageList.cs: Use attribute constructors with less arguments where
  11242. possible.
  11243. 2005-10-22 Kornél Pál <[email protected]>
  11244. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  11245. Use typeof instead of strings when assembly is referenced. Added
  11246. some more comments.
  11247. 2005-10-21 Jackson Harper <[email protected]>
  11248. * ListView.cs: Raise a double click event. Also tried to somewhat
  11249. fix when the selectedindexchanged event is raised. Its still
  11250. broken though.
  11251. 2005-10-21 Jackson Harper <[email protected]>
  11252. * TreeView.cs: New method to invalidate the plus minus area of a
  11253. node without invalidating the whole node (maybe this can be used
  11254. in some more places).
  11255. * TreeNodeCollection.cs: When adding to an empty node we need to
  11256. invalidate its plus minus area so the little block shows up.
  11257. 2005-10-21 Jackson Harper <[email protected]>
  11258. * TreeView.cs: Make sure that when we invalidate a node the bounds
  11259. are big enough to cover the selected box and the focus
  11260. rectangle. Use a different colour for the lines connecting nodes
  11261. so they show up with all themes.
  11262. 2005-10-21 Peter Dennis Bartok <[email protected]>
  11263. * NativeWindow.cs: Don't call anything that could call into the driver,
  11264. we might be on a different thread.
  11265. 2005-10-21 Peter Dennis Bartok <[email protected]>
  11266. * Control.cs(Dispose): Since Dispose might run on a different thread,
  11267. make sure that we call methods that could call into the driver via
  11268. invoke, to avoid thread issues
  11269. 2005-10-21 Peter Dennis Bartok <[email protected]>
  11270. * XplatUI.cs: Removed finalizer
  11271. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  11272. not allowing to be called on the finalizer thread.
  11273. 2005-10-21 Kornél Pál <[email protected]>
  11274. * ImageList.cs:
  11275. - Reverted r51889 and r51891.
  11276. - Added ImageListItem class that stores unmodified image items and image
  11277. properties required to create list images until handle is created.
  11278. - Added AddItem and moved image creation logic to AddItemInternal.
  11279. - Added CreateHandle method that creates images based on unmodified items.
  11280. - Added DestroyHandle that changes state to store unmodified items.
  11281. - Add and AddStrip methods no more create handle.
  11282. - ReduceColorDepth has no return value.
  11283. - Dispose destroys handle.
  11284. - Modified other methods to reflect the above changes.
  11285. - Implemented key support.
  11286. - Added profile 2.0 members and attributes.
  11287. - Added private Reset and ShouldSerialize methods that provide the same
  11288. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  11289. them as they are private.
  11290. - Added some more comments about implementation details.
  11291. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  11292. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  11293. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  11294. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  11295. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  11296. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  11297. * DataGridColumnStyle.cs: Remove debug message
  11298. 2005-10-20 Jackson Harper <[email protected]>
  11299. * TreeView.cs: We can always get input keys regardless of whether
  11300. or not editing is enabled. They are used for navigation.
  11301. 2005-10-20 Jackson Harper <[email protected]>
  11302. * TreeNode.cs: Use the viewport rect for determining if a node
  11303. needs to be moved for visibility. Don't use Begin/End edit. This
  11304. calls a full refresh when its done.
  11305. * TreeView.cs: New SetBottom works correctly. Make the viewport
  11306. rect property internal so the treenodes can see it. When clicking
  11307. on a node we need to ensure that its visible because it might just
  11308. be partly visible when clicked.
  11309. 2005-10-20 Jackson Harper <[email protected]>
  11310. * TreeNodeCollection.cs: Remove debug code.
  11311. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  11312. * Datagrid.cs: Implements column sorting in Datagrid
  11313. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  11314. 2005-10-20 Jackson Harper <[email protected]>
  11315. * TreeNodeCollection.cs: Remove items properly. Update the correct
  11316. area after removing them.
  11317. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  11318. * Datagrid.cs: Should not call base.OnPaintBackground
  11319. 2005-10-20 Peter Dennis Bartok <[email protected]>
  11320. * XplatUIX11.cs (GetMessage):
  11321. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  11322. window instead of client window
  11323. - Now properly calculates NC_xBUTTONUP message coordinates
  11324. - ScreenToMenu now properly calculates it's coordinates of whole
  11325. window, since menus are in the whole window, not in the client
  11326. window
  11327. - Added WholeToScreen coordinate translation method
  11328. 2005-10-20 Peter Dennis Bartok <[email protected]>
  11329. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  11330. want to return a message, loop back to the beginning of the function
  11331. and grab the next real message to process instead.
  11332. 2005-10-20 Peter Dennis Bartok <[email protected]>
  11333. * Splitter.cs: Properly set limits if no filler control is used
  11334. 2005-10-19 Jackson Harper <[email protected]>
  11335. * ColorDialog.cs: Don't show the help button if it is not enabled
  11336. instead of disabling it (this is what MS does). Don't create the
  11337. panel until the dialog is run, otherwise the vars (such as
  11338. ShowHelp) are not set yet.
  11339. 2005-10-19 Jackson Harper <[email protected]>
  11340. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  11341. are reduced when adding nodes.
  11342. * TreeNode.cs:
  11343. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  11344. tree.
  11345. 2005-10-19 Jackson Harper <[email protected]>
  11346. * FolderBrowserDialog.cs: End editing our treeview so the window
  11347. actually gets refreshed.
  11348. 2005-10-18 Peter Dennis Bartok <[email protected]>
  11349. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  11350. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  11351. inside of WM_PAINT
  11352. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  11353. * MenuAPI.cs: Returns after Hidding window
  11354. * XplatUIX11.cs: Added TODO found while debugging menu issues
  11355. 2005-10-18 Peter Dennis Bartok <[email protected]>
  11356. * XplatUIX11.cs: Do not re-map the whole window when it's size
  11357. becomes non-zero unless it's supposed to be actually visible
  11358. 2005-10-18 Jackson Harper <[email protected]>
  11359. * TreeView.cs: We don't need to keep a count anymore.
  11360. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  11361. use the Grow method.
  11362. 2005-10-18 Jackson Harper <[email protected]>
  11363. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  11364. implement it manually here.
  11365. 2005-10-18 Jackson Harper <[email protected]>
  11366. * ImageList.cs: Dont kill the list when the colour depth is
  11367. changed, just change the colour depth of all the images.
  11368. - Same goes for setting the image size. Just resize them all
  11369. instead of killing the list softly.
  11370. 2005-10-18 Jackson Harper <[email protected]>
  11371. * Control.cs: Don't invalidate empty rectangles.
  11372. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  11373. * ListViewItem.cs:
  11374. - Adds checked item to the Checked/Item lists (where empty before)
  11375. - Do not add items to the Selected lists if they are already present
  11376. * ListView.cs:
  11377. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  11378. - When deleting items make sure that we delete them for the Selected
  11379. and Checked list also.
  11380. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  11381. * Label.cs: Dispose objects no longer used
  11382. * ThemeWin32Classic.cs: Dispose objects no longer used
  11383. 2005-10-18 Jackson Harper <[email protected]>
  11384. * TabControl.cs: Don't refresh the whole control when the tabs are
  11385. scrolled, we just need to refresh the tab area.
  11386. 2005-10-17 Jackson Harper <[email protected]>
  11387. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  11388. after handle when we need it.
  11389. 2005-10-17 Peter Dennis Bartok <[email protected]>
  11390. * Control.cs: When the parent size changes, recalculate anchor
  11391. positions. Partial fix for #76462
  11392. 2005-10-17 Peter Dennis Bartok <[email protected]>
  11393. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  11394. drawn. Fixes #76462
  11395. 2005-10-17 Jackson Harper <[email protected]>
  11396. * MonthCalendar.cs: Don't create the numeric up down until our
  11397. handle is created. Otherwise our handle is created in the
  11398. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  11399. yet.
  11400. 2005-10-17 Jackson Harper <[email protected]>
  11401. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  11402. correctly.
  11403. 2005-10-17 Rafael Teixeira <[email protected]>
  11404. * TreeNode.cs : small logical fix (was using local var instead of field)
  11405. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  11406. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  11407. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  11408. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  11409. 2005-10-16 Peter Dennis Bartok <[email protected]>
  11410. * Control.cs:
  11411. - Re-implemented anchoring code. My first version was really broken.
  11412. This fixes bug #76033. Unlike the previous implementation we will
  11413. no longer have round errors since all numbers are calculated from
  11414. scratch every time. Removed various anchor-related obsolete vars.
  11415. - InitLayout no longer causes layout event firing and layout to be
  11416. performed
  11417. 2005-10-16 Jackson Harper <[email protected]>
  11418. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  11419. which was broken).
  11420. 2005-10-16 Jackson Harper <[email protected]>
  11421. * TabControl.cs: Remove debug code.
  11422. 2005-10-16 Jackson Harper <[email protected]>
  11423. * XEventQueue.cs: Increase the default queue size (very simple
  11424. apps needed to grow the queue).
  11425. * Hwnd.cs: No finalizer so we don't need to suppress
  11426. finalization. Compute the invalid area manually so a new rectangle
  11427. does not newto be created.
  11428. * ScrollableControl.cs: Don't set any params (otherwise visibility
  11429. isn't set correctly).
  11430. * MdiChildContext.cs: New constructor takes the mdi parent so it
  11431. doesn't have to be computed and avoids a crash on windows. Draw
  11432. the window icon properly, and allow the text to be seen.
  11433. * Form.cs: Use new MdiChildContext constructor. Make sure the
  11434. child context isn't null in wndproc.
  11435. * TabControl.cs: Don't set focus, this is muddling keyboard
  11436. behavoir. Expand the tab rows when a window size increase will
  11437. allow extra tabs to be seen. Don't allow tabs smaller than the
  11438. width of a window to be scrolled out of view.
  11439. * TreeNode.cs:
  11440. * TreeView.cs: Use measure string to calculate a nodes width, the
  11441. width is cached and only updated when the text or the font is
  11442. changed. Don't check for expand/collapse clicks on the first level
  11443. nodes if root lines are disabled.
  11444. 2005-10-16 Ritvik Mayank <[email protected]>
  11445. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  11446. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  11447. * DataGridBoolColumn.cs: fixes warning
  11448. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  11449. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  11450. to match more to match more precisely the MS Net behavior
  11451. 2005-10-13 Peter Dennis Bartok <[email protected]>
  11452. * Hwnd.cs: Added field to track if window is mapped
  11453. * XplatUIX11.cs:
  11454. - Unmap windows if they become 0-size, re-map when
  11455. they are >0 again; fixes #76035
  11456. - Re-set our error handler after initializing X11Desktop
  11457. to override any error handlers Gtk or whatever was called
  11458. may have set.
  11459. 2005-10-13 Peter Dennis Bartok <[email protected]>
  11460. * CheckedListBox.cs: Removed unused vars
  11461. * ListView.cs: Fixed signatures
  11462. * RichTextBox.cs: Removed unused vars
  11463. * TextBoxBase.cs: Removed unused vars
  11464. * XplatUIWin32.cs: Removed unused vars
  11465. * XplatUIX11.cs: Removed unused vars
  11466. * XplatUI.cs: Updated version and date to latest published
  11467. 2005-10-13 Peter Dennis Bartok <[email protected]>
  11468. * Cursor.cs: Added private .ctor to work around a bug in
  11469. resourceset (Thanks to Geoff Norton for the help on this)
  11470. * SplitterEventArgs.cs: Made fields accessible so we don't
  11471. waste boatloads of objects and can reuse the same one
  11472. in Splitter
  11473. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  11474. any captions and borders when generating screen coordinates
  11475. * Splitter.cs: Reimplemented control, now fully complete, uses
  11476. rubberband drawing, supports and obeys all properties, has
  11477. proper cursors
  11478. 2005-10-13 Miguel de Icaza <[email protected]>
  11479. * Form.cs (Form): Setup default values for autoscale and
  11480. autoscale_base_size; Make these instance variables, not static
  11481. variables.
  11482. (OnLoad): on the first load, adjust the size of the form.
  11483. 2005-10-13 Peter Dennis Bartok <[email protected]>
  11484. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  11485. width argument to DrawReversibleRectangle()
  11486. * XplatUIWin32.cs, XplatUIX11.cs:
  11487. - Implemented width for DrawReversibleRectangle()
  11488. - Added logic to DrawReversibleRectangle that recognizes a zero
  11489. width or height and only draws a line in that situation
  11490. 2005-10-12 Peter Dennis Bartok <[email protected]>
  11491. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  11492. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  11493. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  11494. method (it uses our FosterParent window to get a graphics context)
  11495. 2005-10-12 Peter Dennis Bartok <[email protected]>
  11496. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  11497. and SetWindowBackground methods
  11498. * Control.cs:
  11499. - Setting proper ControlStyles
  11500. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  11501. EraseWindowBackground, instead we draw the window background
  11502. ourselves in PaintControlBackground. This behaviour is
  11503. required to match MS, where, when OnPaintBackground is not
  11504. called, the background is not drawn.
  11505. - Removed unneeded Refresh() in set_Text
  11506. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  11507. * XplatUIX11.cs:
  11508. - Created DeriveStyles method to translate from CreateParams to
  11509. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  11510. matches FormBorderStyle enum values)
  11511. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  11512. style calculations into single DeriveStyles method
  11513. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  11514. from redrawing the whole window on any resize or expose.
  11515. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  11516. all styles were applied to our whole/client window appropriately
  11517. - Removed EraseWindowBackground() and SetWindowBackground() methods
  11518. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  11519. no longer clear/redraw the background through X
  11520. - Removed handling of erase_pending bit, we have no use for it (or
  11521. so it seems)
  11522. * XplatUIOSX.cs:
  11523. - Removed generation and handling of WM_ERASEBKGND message
  11524. - Removed EraseWindowBackground() and SetWindowBackground() methods
  11525. - Removed handling of hwnd.ErasePending flag
  11526. * XplatUIWin32.cs:
  11527. - Removed EraseWindowBackground() and SetWindowBackground() methods
  11528. - We no longer call EraseWindowBackground on PaintEventStart, we
  11529. ignore the fErase flag, erasing is handled in Control in the
  11530. background handler
  11531. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  11532. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  11533. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  11534. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  11535. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  11536. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  11537. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  11538. 2005-10-12 Jonathan Chambers <[email protected]>
  11539. * PropertyGrids.cs: Get sub properties
  11540. * PropertyGridView.cs: Fix drawing code
  11541. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  11542. * ListBox.cs: Fixes 76383
  11543. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  11544. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  11545. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  11546. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  11547. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  11548. * ComboBox.cs: Fixes border drawing
  11549. 2005-10-10 Miguel de Icaza <[email protected]>
  11550. * MimeIcon.cs: Ignore errors if the file can not be read.
  11551. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  11552. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  11553. - Fixed border calculations
  11554. - Fixed horizontal scrolling in single column listboxes
  11555. - Fixed drawing issues
  11556. 2005-10-10 Peter Dennis Bartok <[email protected]>
  11557. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  11558. FormBorderStyle enum
  11559. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  11560. code to determine FormBorderStyles from CreateParams
  11561. * Form.cs:
  11562. - Fixed bug where we'd set the wrong window styles if we were
  11563. not creating an MDI window
  11564. - Added call to XplatUI.SetBorderStyle when form borders are set
  11565. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  11566. * Hwnd.cs:
  11567. - Removed obsolete edge style
  11568. - Switched from BorderStyle to FormBorderStyle
  11569. 2005-10-10 Jackson Harper <[email protected]>
  11570. * Form.cs: Use the property to get the window handle instead of
  11571. accessing it directly. Prevents a null reference exception.
  11572. 2005-10-10 Jackson Harper <[email protected]>
  11573. * TreeView.cs: Don't adjust the rect given to DrawString now that
  11574. our libgdiplus draws correctly.
  11575. 2005-10-08 Jackson Harper <[email protected]>
  11576. * TreeView.cs: Don't try to find the clicked on node if there are
  11577. no nodes in the tree.
  11578. 2005-10-08 Alexander Olk <[email protected]>
  11579. * RichTextBox.cs:
  11580. restore
  11581. 2005-10-08 Alexander Olk <[email protected]>
  11582. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  11583. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  11584. ErrorProvider.cs:
  11585. Use ResPool for brushes and dispose System.Drawing objects that
  11586. are not used anymore.
  11587. 2005-10-07 Jackson Harper <[email protected]>
  11588. * MdiChildContext.cs: Use the new borders instead of drawing them
  11589. ourselves.
  11590. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  11591. * Calling UpdateBounds after changing the window's BorderStyle
  11592. since the style can change the ClientSize
  11593. 2005-10-06 Peter Dennis Bartok <[email protected]>
  11594. * Control.cs: Made PaintControlBackground virtual
  11595. * Panel.cs: Overriding PaintControlBackground instead of using paint
  11596. event; paint event method was interfering with 'real' users of the
  11597. event.
  11598. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  11599. * ThemeWin32Classic.cs: remove border drawing since it is handled
  11600. by the base control class now and was causing double border drawing.
  11601. 2005-10-06 Peter Dennis Bartok <[email protected]>
  11602. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  11603. but it does seem to match MS behaviour. This fixes bug #75324
  11604. 2005-10-06 Peter Dennis Bartok <[email protected]>
  11605. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  11606. somewhat hackish looking
  11607. 2005-10-06 Peter Dennis Bartok <[email protected]>
  11608. * TextBoxBase.cs:
  11609. - We now accept Enter even if AcceptEnter is false, if the containing
  11610. form does not have an AcceptButton configured (fixes bug #76355)
  11611. - Calculations are now fixed to no longer use Width/Height, but
  11612. ClientSize.Width/Height, since we now support borders (this was
  11613. a result of fixing borders and therefore bug #76166)
  11614. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  11615. true (fixes bug #76354)
  11616. 2005-10-06 Peter Dennis Bartok <[email protected]>
  11617. * Control.cs:
  11618. - Defaulting BorderStyle and setting it in XplatUI when our window
  11619. is created
  11620. - Added enum check to InternalBorderStyle setter
  11621. * XplatUIX11.cs:
  11622. - Added drawing of window borders
  11623. - Now properly calculates WM decorations offset for toplevel
  11624. windows (fixes bug #74763)
  11625. * XplatUIWin32.cs:
  11626. - Implemented BorderStyles for windows (we're letting win32 draw
  11627. the border for us)
  11628. - Fixed the signature for SetWindowLong
  11629. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  11630. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  11631. setting borders
  11632. * UpDownBase.cs: Remove drawing of borders, this is handled by
  11633. the driver, outside the client area
  11634. * ListView.cs: Removed bogus border calculations. The control should
  11635. be oblivious to borders, since those are not part of the client
  11636. area.
  11637. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  11638. * ThemeWin32Classic.cs: Removed border calculations from ListView
  11639. drawing code
  11640. 2005-10-06 Jackson Harper <[email protected]>
  11641. * MdiChildContext.cs: Clear out the old virtual position remove
  11642. all the unneeded calls to CreateGraphics.
  11643. 2005-10-06 Peter Dennis Bartok <[email protected]>
  11644. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  11645. 2005-10-06 Peter Dennis Bartok <[email protected]>
  11646. * Form.cs:
  11647. - Added loading and setting of our new default icon
  11648. - Only set icon if window is already created
  11649. 2005-10-06 Peter Dennis Bartok <[email protected]>
  11650. * Label.cs:
  11651. - Do not explicitly set the foreground and background colors, to
  11652. allow inheriting from parents (fixes #76302)
  11653. - Use Control's InternalBorderStyle property to deal with borders
  11654. 2005-10-06 Jackson Harper <[email protected]>
  11655. * MdiChildContext.cs: Use the new xplatui function to draw a
  11656. reversible rect.
  11657. 2005-10-06 Jackson Harper <[email protected]>
  11658. * Form.cs: Add the parent before creating the child context cause
  11659. we need the parent when setting up the child.
  11660. 2005-10-06 Jackson Harper <[email protected]>
  11661. * FolderBrowserDialog.cs: redo the tree population code so a
  11662. second thread isn't used. Should be a lot faster and more stable
  11663. now.
  11664. 2005-10-05 Jackson Harper <[email protected]>
  11665. * TreeView.cs: There are no expand/collapse boxes if the node has
  11666. no children.
  11667. 2005-10-05 Jackson Harper <[email protected]>
  11668. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  11669. 2005-10-05 Alexander Olk <[email protected]>
  11670. * FileDialog.cs: Fix InitialDirectory
  11671. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  11672. * ComboBox.cs:
  11673. - Fixes changing between styles
  11674. - Fixes simple mode
  11675. - Fixes last item crashing when navigating with keyboard
  11676. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  11677. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  11678. 2005-10-05 Jackson Harper <[email protected]>
  11679. * TreeView.cs: If updating the root node do a full refresh.
  11680. * TreeNode.cs: The root node should be expanded by default. Also
  11681. added a utility prop to tell if we are the root node.
  11682. * TreeNodeCollection.cs: Only refresh if the node we are being
  11683. added to is expanded. Also added a comment on a potential
  11684. optimization.
  11685. 2005-10-04 Peter Dennis Bartok <[email protected]>
  11686. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  11687. in dispose method. Fixes #76330
  11688. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  11689. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  11690. - Implements vertical and horizontal scrolling using XplatUI
  11691. - Fixes keyboard navagation
  11692. - Fixes EnsureVisible
  11693. - Drawing fixes
  11694. - Handles and draws focus properly
  11695. 2005-10-04 Kornél Pál <[email protected]>
  11696. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  11697. Create handle. NET_2_0: Destroy handle when value is null.
  11698. 2005-10-03 Jackson Harper <[email protected]>
  11699. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  11700. revert and a new patch to prevent the thumb from refreshing so
  11701. much.
  11702. 2005-10-02 Jackson Harper <[email protected]>
  11703. * ScrollBar.cs: Don't update position if it hasn't actually
  11704. changed. This occurs when you hold down the increment/decrement
  11705. buttons and the thumb gets to the max/min.
  11706. 2005-10-01 Jackson Harper <[email protected]>
  11707. * Form.cs:
  11708. * MdiChildContext.cs:
  11709. * MdiClient.cs: Implement ActiveMdiChild in Form.
  11710. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  11711. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  11712. 2005-10-01 Peter Dennis Bartok <[email protected]>
  11713. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  11714. be found
  11715. 2005-09-30 Jackson Harper <[email protected]>
  11716. * ListBox.cs: Don't do a full refresh unless some data has
  11717. actually changed.
  11718. 2005-09-30 Jackson Harper <[email protected]>
  11719. * TreeView.cs: Make sure that the checkboxes size is factored in
  11720. even when not visible.
  11721. 2005-09-30 Peter Dennis Bartok <[email protected]>
  11722. * FileDialog.cs: Fix Jordi's build break
  11723. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  11724. * FileDialog.cs:
  11725. - Use standard the Windows colours for the combobox as espected
  11726. - Dispose objects that use resouces when no longer need them
  11727. 2005-09-30 Peter Dennis Bartok <[email protected]>
  11728. * X11DesktopColors.cs: Initial incomplete implementation
  11729. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  11730. 2005-09-30 Peter Dennis Bartok <[email protected]>
  11731. * Theme.cs:
  11732. - Switched Theme color names to match the names defined in
  11733. System.Drawing.KnownColors. Life's hard enough, no need to make
  11734. it harder.
  11735. - Added setters to all theme color properties so themes can set
  11736. their color schemes. The setters also propagate the color changes
  11737. to System.Drawing.KnownColors via reflection
  11738. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  11739. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  11740. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  11741. use the new, more logical theme color names
  11742. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  11743. post-NT colors
  11744. * ThemeWin32Classic.cs:
  11745. - Removed code to set the old classic Windows colors. Instead it
  11746. now relies on the colors returned by System.Drawing.KnownColors
  11747. which will be either modern static colors (Unix) or colors
  11748. read from the user's configuration (Win32)
  11749. - Updated to use the new, more logical theme color names
  11750. - Switched DataGrid drawing code to use only Theme colors instead of
  11751. a mix of System.Drawing.KnownColors and Theme colors
  11752. - DrawFrameControl(): Removed code that fills the button area, the
  11753. fill would overwrite any previous fill done by a control. This
  11754. fixes bug #75338
  11755. - Added DrawReversibleRectangle() stub
  11756. * ScrollableControl.cs: Set visible state to false when scrollbars
  11757. are removed (pdn fix)
  11758. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  11759. DrawReversibleRectangle() method to allow drawing primitive
  11760. 'rubber bands'
  11761. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  11762. 2005-09-30 Kornél Pál <[email protected]>
  11763. * ImageList.cs: Add(Icon): Create handle.
  11764. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  11765. * ListView.cs:
  11766. * ThemeWin32Classic.cs:
  11767. - Fixes detail mode
  11768. - Sets clippings
  11769. - Issues with drawing
  11770. 2005-09-30 Kornél Pál <[email protected]>
  11771. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  11772. source has to be the ImageList.
  11773. 2005-09-30 Kornél Pál <[email protected]>
  11774. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  11775. 2005-09-30 Kornél Pál <[email protected]>
  11776. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  11777. 2005-09-30 Kornél Pál <[email protected]>
  11778. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  11779. 2005-09-29 Jonathan Chambers <[email protected]>
  11780. * GridItem.cs: Fixed TODOs
  11781. * GridItemCollection.cs: Added ICollection interface
  11782. 2005-09-30 Kornél Pál <[email protected]>
  11783. * ImageList.cs: Resize icons when needed.
  11784. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  11785. * ListViewItem.cs
  11786. - Fixes GetBounds and returns on screen rects
  11787. * ListView.cs:
  11788. - Fixes vertical and horzintal scrolling of items
  11789. * ThemeWin32Classic.cs:
  11790. - Fixes drawing
  11791. 2005-09-29 Raja R Harinath <[email protected]>
  11792. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  11793. 2005-09-29 Kornél Pál <[email protected]>
  11794. * ImageList.cs: Added comments about handle creation. Moved Handle,
  11795. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  11796. Handle is created in Add methods.
  11797. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  11798. * DataGridDrawingLogic.cs:
  11799. - Takes rows into account on Colum calculations
  11800. - Returns the column when clickig
  11801. * DataGrid.cs:
  11802. - Fixes default HitTestInfo values
  11803. - Fixes HitTestInfo.ToString
  11804. - Fixes ResetBackColor
  11805. 2005-09-28 Jackson Harper <[email protected]>
  11806. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  11807. sizing or cursor changes). Also added some temp code to draw the
  11808. titlebars text (Makes dev a little easier).
  11809. 2005-09-28 Kornél Pál <[email protected]>
  11810. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  11811. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  11812. * ListBox.cs: Fixes bug 76253
  11813. 2005-09-28 Kornél Pál <[email protected]>
  11814. * ImageList.cs: Added comments about the current implementation. Added
  11815. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  11816. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  11817. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  11818. with Bitmap.LockBits for better performance. Revised the whole file to
  11819. match MS.NET behaviour and provide better performance. Non-public
  11820. interface members are calling public members even when they throw
  11821. NotSupportedException for better maintainability. Moved ColorDepth,
  11822. ImageSize, ImageStream and TransparentColor implementations to
  11823. ImageCollection for better performance as these properties are not used
  11824. by ImageList.
  11825. * ImageListStreamer.cs: Added a new internal constructor that takes an
  11826. ImageList.ImageCollection and serializes Images based on
  11827. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  11828. match ImageList property name.
  11829. 2005-09-28 Kazuki Oikawa <[email protected]>
  11830. * ListBox.cs: Fixes IndexFromPoint for last item
  11831. 2005-09-27 Jackson Harper <[email protected]>
  11832. * Form.cs: Set the position of new mdi children correctly.
  11833. 2005-09-27 Jackson Harper <[email protected]>
  11834. * MdiClient.cs: New mdi children need to be added to the back of
  11835. the controls collection so the zorder is set correctly. Also add a
  11836. count of all the child windows that have been created.
  11837. 2005-09-27 Jackson Harper <[email protected]>
  11838. * Form.cs (CreateParams): Setup MDI forms correctly.
  11839. 2005-09-27 Jackson Harper <[email protected]>
  11840. * MdiChildContext.cs:
  11841. * MonthCalendar.cs:
  11842. * UpDownBase.cs:
  11843. * ListBox.cs:
  11844. * ListView.cs:
  11845. * TextBoxBase.cs:
  11846. * TreeView.cs:
  11847. * ScrollableControl.cs:
  11848. * ComboBox.cs: Add implicit controls using the new implict control
  11849. functionality in ControlCollection. Also try to block multiple
  11850. control add in a suspend/resume layout to save some cycles.
  11851. 2005-09-27 Jackson Harper <[email protected]>
  11852. * Control.cs: Add functionality to the controls collection to add
  11853. 'implicit controls' these are controls that are created by the
  11854. containing control but should not be exposed to the user. Such as
  11855. scrollbars in the treeview.
  11856. * Form.cs: The list var of the ControlsCollection is no longer
  11857. available because of the potential of implicit controls getting
  11858. ignored by someone accessing the list directly.
  11859. 2005-09-26 Peter Dennis Bartok <[email protected]>
  11860. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  11861. loose it's parent. (Fixed bug introduced in r49103 when we added
  11862. setting the child parent to null on Remove)
  11863. 2005-09-26 Gert Driesen <[email protected]>
  11864. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  11865. * Splitter.cs: Added missing attributes for BorderStyle property.
  11866. * TextBoxBase.cs: Marked Calculate* methods internal.
  11867. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  11868. MS.NET.
  11869. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  11870. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  11871. 2005-09-25 Jackson Harper <[email protected]>
  11872. * TreeView.cs: Update the node bounds correctly regardless of
  11873. whether the node is visible.
  11874. 2005-09-25 Jackson Harper <[email protected]>
  11875. * ImageList.cs: Don't dispose the image after it is added to the
  11876. image list. Only reformat images that need to be resized.
  11877. 2005-09-25 Jackson Harper <[email protected]>
  11878. * ImageList.cs: Don't set the format when changing the image.
  11879. 2005-09-25 Jackson Harper <[email protected]>
  11880. * TreeView.cs: We can't just assume the node has a font. Use the
  11881. treeviews font if no node font is available.
  11882. 2005-09-25 Jackson Harper <[email protected]>
  11883. * TreeView.cs: Allow the scrollbars to be reset with negative
  11884. values.
  11885. - Don't add scrollbars to negative sized windows.
  11886. 2005-09-23 Jackson Harper <[email protected]>
  11887. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  11888. old Mono.Posix. Also remove some stray code that shouldn't have
  11889. been committed.
  11890. 2005-09-23 Jackson Harper <[email protected]>
  11891. * TreeView.cs: Attempt at proper sizing of the horizontal
  11892. scrollbar. Also don't resize the scrollbars unless they are
  11893. visible.
  11894. 2005-09-23 Jackson Harper <[email protected]>
  11895. * TreeView.cs: We don't need to expand the invalid area when the
  11896. selection changes, as this is all drawn in the node's bounding
  11897. box. The area needs to be expanded (previous typo was contracting
  11898. it) when the focus rect moves.
  11899. 2005-09-23 Jackson Harper <[email protected]>
  11900. * TreeView.cs: Display the selection box under the correct
  11901. circumstances. We were rendering white text with no selection box
  11902. before.
  11903. 2005-09-23 Peter Dennis Bartok <[email protected]>
  11904. * TextControl.cs(Split): Now updates selection start/end if it points
  11905. into a line that's being split. Fixes a FIXME and bug #75258
  11906. 2005-09-23 Jackson Harper <[email protected]>
  11907. * Binding.cs:
  11908. * ListControl.cs: Don't use the path when retrieving binding
  11909. managers from the binding context. My bat sense tells me that the
  11910. path is only used on insertion.
  11911. 2005-09-22 Jackson Harper <[email protected]>
  11912. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  11913. 2005-09-22 Jackson Harper <[email protected]>
  11914. * Splitter.cs: There are special cursors used for splitting.
  11915. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  11916. 2005-09-22 Jackson Harper <[email protected]>
  11917. * Splitter.cs: Change the cursor appropriately when the splitter
  11918. is moused over, so the user actually knows there is a splitter
  11919. there.
  11920. 2005-09-22 Hisham Mardam Bey <[email protected]>
  11921. * Label.cs : Fix ToString method to give same output as MS.NET
  11922. 2005-09-22 Jackson Harper <[email protected]>
  11923. * TreeView.cs: Create the scrollbars when the handle is created
  11924. and add them right away, just make them invisble. Also account for
  11925. the window being shrunk vertically to the point that the vert
  11926. scrollbar needs to be added.
  11927. - Remove some 0.5 adjustments to get around anti aliasing issues.
  11928. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  11929. * MainMenu.cs: Fixes default value
  11930. * MenuItem.cs: Fixes default value
  11931. 2005-09-22 Kazuki Oikawa <[email protected]>
  11932. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  11933. 2005-09-21 Jackson Harper <[email protected]>
  11934. * Control.cs: Don't try to set the border style on the window if
  11935. it hasn't been created. When the window is created the border
  11936. style will be used.
  11937. 2005-09-21 Peter Dennis Bartok <[email protected]>
  11938. * Control.cs (Update): Don't call XplatUI if we don't have a
  11939. window handle yet
  11940. 2005-09-21 Peter Dennis Bartok <[email protected]>
  11941. * ContainerControl.cs: Instead of throwing an exception, print
  11942. a one-time warning about Validate not being implemented
  11943. * XplatUIWin32.cs: Removed debug output
  11944. 2005-09-21 Peter Dennis Bartok <[email protected]>
  11945. * Control.cs: Only set XplatUI background if we expect the windowing
  11946. system to handle the background. This stops controls that draw their
  11947. own background from flickering
  11948. * XplatUIX11.cs: Support custom visuals and colormaps for window
  11949. creation. This allows, amongst other things, using MWF X11 windows
  11950. with OpenGL.
  11951. 2005-09-21 Peter Dennis Bartok <[email protected]>
  11952. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  11953. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  11954. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  11955. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  11956. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  11957. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  11958. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  11959. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  11960. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  11961. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  11962. GridColumnStylesCollection.cs,
  11963. IDataGridColumnStyleEditingNotificationService.cs,
  11964. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  11965. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  11966. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  11967. TreeNodeCollection.cs, AmbientProperties.cs,
  11968. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  11969. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  11970. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  11971. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  11972. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  11973. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  11974. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  11975. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  11976. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  11977. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  11978. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  11979. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  11980. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  11981. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  11982. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  11983. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  11984. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  11985. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  11986. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  11987. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  11988. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  11989. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  11990. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  11991. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  11992. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  11993. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  11994. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  11995. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  11996. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  11997. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  11998. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  11999. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  12000. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  12001. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  12002. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  12003. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  12004. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  12005. 2005-09-21 Jackson Harper <[email protected]>
  12006. * TreeNode.cs: Call Before/After Expand not Collapse when
  12007. expanding.
  12008. 2005-09-20 Jackson Harper <[email protected]>
  12009. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  12010. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  12011. * ListViewItem.cs:
  12012. - Fixes bug 76120
  12013. - Fixes proper storing of subitems
  12014. - Fixes not updated items
  12015. 2005-09-20 Peter Dennis Bartok <[email protected]>
  12016. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  12017. things if our window handle isn't created yet. Also disabled
  12018. debug for TextBoxBase
  12019. 2005-09-20 Peter Dennis Bartok <[email protected]>
  12020. * MenuAPI.cs: Remove filtering of events to allow menu usage
  12021. 2005-09-20 Miguel de Icaza <[email protected]>
  12022. * Cursor.cs: Allow null to be passed to Cursor.Current.
  12023. 2005-09-20 Alexander Olk <[email protected]>
  12024. * ThemeWin32Classic.cs:
  12025. - Change some private methods/fields to protected virtual so that
  12026. they can be accessed and overriden in derived classes
  12027. - First refactoring of some methods. Derived themes now don't
  12028. need to duplicate the complete code from ThemeWin32Classic
  12029. * ThemeNice.cs:
  12030. - Added nice StatusBar
  12031. - Derive from ThemeWin32Classic and not Theme
  12032. - Removed duplicate ThemeWin32Classic code
  12033. 2005-09-20 Miguel de Icaza <[email protected]>
  12034. * Control.cs (ControlCollection.Add): If the value null is passed
  12035. the control is ignored.
  12036. Optimize this loop.
  12037. 2005-09-19 Peter Dennis Bartok <[email protected]>
  12038. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  12039. PostQuitMessage state.
  12040. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  12041. 2005-09-19 Peter Dennis Bartok <[email protected]>
  12042. * Application.cs: Our constructor will never get called, move
  12043. initialization to fields; fixes bug #75933
  12044. 2005-09-19 Hisham Mardam Bey <[email protected]>
  12045. * FileDialog.cs :
  12046. - Allow files to be selected properly using file name
  12047. combo box.
  12048. - Add ability to change diretory (absolute / relative)
  12049. using file name combo box.
  12050. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  12051. * ListBox.cs:
  12052. - Fixes Multicolumn listboxes item wrong calculations
  12053. - Allows to click when only one item is in the listbox
  12054. - Fixes crash when no items using keyboard navigation
  12055. 2005-09-16 Alexander Olk <[email protected]>
  12056. * ComboBox.cs: Reverted almost everything from the latest patch which
  12057. broke ComboBox
  12058. 2005-09-16 Kazuki Oikawa <[email protected]>
  12059. * ToolTip.cs:
  12060. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  12061. * ComboBox.cs:
  12062. - When DropDownStyle is Simple, it does not show scrollbar
  12063. to the last item of the list.
  12064. - When DropDownStyle is Simple, it crashed when the list was
  12065. scrolled down with the down cursor key.
  12066. - Fixed a bug that when DropDownStyle is DropDownList, the
  12067. selected item was not shown.
  12068. - The position of the selected item was not preserved when
  12069. the next dropdown happened.
  12070. * ThemeWin32Classic.cs:
  12071. - Items were wrapped at the right end.
  12072. * CheckedListBox.cs:
  12073. - Fixed Add method
  12074. * ListBox.cs:
  12075. - Items should be fully shown.
  12076. - When resizing and vertical scrollbar disappeared, the item
  12077. of index 0 should be on the top of the list.
  12078. - GetItemRectangle should consider the size of ver. scrollbar
  12079. * StatusBar.cs:
  12080. - SizingGrip area should not be allocated when it is not
  12081. displayed.
  12082. - Now it reflects MinWidth of the containing panel and
  12083. fixed a crash that happens when its width becomes so small.
  12084. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  12085. * CheckedListBox.cs: Fixes bug 76028
  12086. * ListBox.cs: Fixes bug 76028
  12087. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  12088. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  12089. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  12090. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  12091. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  12092. 2005-09-09 Jonathan Chambers <[email protected]>
  12093. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  12094. 2005-09-09 Jonathan Chambers <[email protected]>
  12095. * IRootGridEntry.cs: Added
  12096. * PropertyGridCommands.cs: Added
  12097. * PropertiesTab.cs: Added missing methods and property
  12098. * PropertyGridView.cs: Made class internal
  12099. * PropertyGridTextBox.cs: Made class internal
  12100. 2005-09-09 Alexander Olk <[email protected]>
  12101. * MimeIcon.cs: Try to check some other environment variables
  12102. if "DESKTOP_SESSION" returns "default"
  12103. 2005-09-09 Alexander Olk <[email protected]>
  12104. * ThemeNice.cs: Corrected background colors (e.g. menus)
  12105. * ColorDialog.cs: Use correct background colors for controls
  12106. 2005-09-09 Alexander Olk <[email protected]>
  12107. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  12108. 2005-09-08 Peter Dennis Bartok <[email protected]>
  12109. * RichTextBox.cs: Added initial implementation
  12110. * lang.cs: Removed. Was accidentally checked in long time ago
  12111. * TODO: Removed. Contents were obsolete
  12112. 2005-09-06 Jonathan Chambers <[email protected]>
  12113. * PropertiesTab.cs : Added
  12114. 2005-09-06 Jonathan Chambers <[email protected]>
  12115. * PropertyGrid.cs : Update
  12116. * PropertyGridView.cs : Update
  12117. * System.Windows.Forms.resx : Added images and strings
  12118. 2005-09-06 Peter Dennis Bartok <[email protected]>
  12119. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  12120. 2005-09-06 Peter Dennis Bartok <[email protected]>
  12121. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  12122. a busy loop right after the Ungrab the X11 display is otherwise
  12123. blocked
  12124. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  12125. * ThemeWin32Classic.cs: Optimise the use of clipping
  12126. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  12127. * DataGrid.cs: fixes recursion bug
  12128. 2005-09-03 Alexander Olk <[email protected]>
  12129. * ThemeNice.cs:
  12130. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  12131. - Cleanup
  12132. 2005-09-02 Alexander Olk <[email protected]>
  12133. * ThemeNice.cs: Draw nice ProgressBars
  12134. 2005-09-01 Miguel de Icaza <[email protected]>
  12135. * VScrollBar.cs: Another buglet found by Aaron's tool.
  12136. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  12137. bug finder.
  12138. 2005-08-30 Alexander Olk <[email protected]>
  12139. * ThemeNice.cs:
  12140. - Added nicer menu drawing
  12141. - Updated DrawTab
  12142. - some refactoring
  12143. 2005-08-30 Peter Dennis Bartok <[email protected]>
  12144. * CreateParams.cs (ToString): Made output match MS
  12145. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  12146. handle is already created (to avoid forcing window creation)
  12147. * XplatUIX11.cs: Set window text to caption after creating window,
  12148. in case Text was set before window was created
  12149. * Form.cs: Use this.Text instead of a static string as caption
  12150. 2005-08-30 Peter Dennis Bartok <[email protected]>
  12151. * NotifyIcon.cs: Don't set the window to visible; this screws
  12152. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  12153. OnPaint without a bitmap)
  12154. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  12155. happen very often anyway; we could add the check to the WM_PAINT
  12156. event generation code
  12157. 2005-08-30 Peter Dennis Bartok <[email protected]>
  12158. * NotifyIcon.cs: Fill the icon area with a background color, to
  12159. avoid 'residue' when transparent icons are drawn
  12160. * XplatUIX11.cs:
  12161. - Handle whole_window == client_window when destroying windows
  12162. - SystrayAdd(): Set client_window to whole_window value to
  12163. get mouse and other events passed to NotifyIcon
  12164. 2005-08-30 Peter Dennis Bartok <[email protected]>
  12165. * Form.cs: Set proper default for Opacity property
  12166. * NotifyIcon.cs:
  12167. - ShowSystray(): Don't bother creating telling the OS
  12168. about the systray item if no icon is provided
  12169. - Now handles WM_NCPAINT message to deal with whole/client window
  12170. split
  12171. - Create window as visible to not get caught by Expose optimization
  12172. * Hwnd.cs: Removed debug message
  12173. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  12174. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  12175. PaintEventStart/End to use new client argument
  12176. * TextBoxBase.cs:
  12177. - Commented out debug messages
  12178. - Switched PaintEventStart/End to use new client argument
  12179. * XplatUI.cs: Added client window bool to PaintEventStart()/
  12180. PaintEventEnd() calls, to support drawing in non-client areas
  12181. * XplatUIDriver.cs:
  12182. - Added client window bool to PaintEventStart()/PaintEventEnd()
  12183. calls, to support drawing in non-client areas
  12184. - Added conditional compile to allow using MWF BeginInvoke
  12185. on MS runtime
  12186. * XplatUIX11.cs:
  12187. - Added some conditional debug output
  12188. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  12189. whole/client window split
  12190. - Implemented handling of client argument to PaintEventStart()/End()
  12191. * Control.cs:
  12192. - Throw exception if BeginInvoke() is called and the window handle
  12193. or one of the window's parent handles is not created
  12194. - Added conditional compile to allow using MWF BeginInvoke on
  12195. MS runtime
  12196. - get_Parent(): Only sets parent if handle is created. This avoids
  12197. forcing window handle creation when parent is set.
  12198. - Now fires Layout and Parent changed events in proper order
  12199. - Switched to use Handle instead of window.Handle for Z-Order setting,
  12200. the get_Parent() patch above causes us to possibly get null for 'window'
  12201. - Implemented handling of client argument to PaintEventStart()/End()
  12202. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  12203. default handling)
  12204. - Now sends a Refresh() to all child windows when Refresh() is called
  12205. 2005-08-29 Peter Dennis Bartok <[email protected]>
  12206. * Form.cs: Added (non-functional) Opacity property
  12207. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  12208. 2005-08-29 Alexander Olk <[email protected]>
  12209. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  12210. use export MONO_THEME=nice to activate it.
  12211. Currently supported controls:
  12212. - Button
  12213. - ComboBox
  12214. - ScrollBar
  12215. - TabControl (TabAlignment.Top only, other will follow)
  12216. * ThemeEngine.cs: Add theme nice
  12217. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  12218. if enabled
  12219. 2005-08-25 Jonathan Chambers <[email protected]>
  12220. * Splitter.cs: Resize docked control and its neighbor.
  12221. 2005-08-24 Rafael Teixeira <[email protected]>
  12222. -- Making Windows with Menus layout correctly --
  12223. * Form.cs : The first leg of the fix
  12224. Menu setter - adjust Client Size as needed to make space for the menu
  12225. SetClientSizeCore - doesn't call base version to be able to pass the
  12226. menu handle to XplatUI.CalculateWindowRect
  12227. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  12228. * XplatUIX11.cs: The critical second leg of the fix
  12229. GetWindowPos needs to use a recalculated client_rect
  12230. so that resizing the window doesn't break layout of child controls.
  12231. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  12232. Lots of \t\n killed
  12233. 2005-08-23 Peter Dennis Bartok <[email protected]>
  12234. * Label.cs: Now properly recalculates width and height on Font and Text
  12235. changes if AutoSize is set
  12236. 2005-08-19 Rafael Teixeira <[email protected]>
  12237. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  12238. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  12239. * ImageList.cs: Makes ToString method compatible with MS
  12240. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  12241. * MenuAPI.cs: fixes bug 75716
  12242. 2005-08-11 Umadevi S <[email protected]>
  12243. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  12244. 2005-08-11 Umadevi S <[email protected]>
  12245. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  12246. 2005-08-10 Umadevi S <[email protected]>
  12247. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  12248. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  12249. * Menu.cs: fixes bug 75700
  12250. * MenuAPI.cs: fixes navigation issues
  12251. 2005-08-09 Umadevi S <[email protected]>
  12252. * CheckedListBox.cs - simple fix for GetItemChecked.
  12253. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  12254. * ComboBox.cs: Serveral fixes
  12255. * ListBox.cs: Serveral fixes
  12256. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  12257. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  12258. * ListBox.cs: Fixes FindString methods
  12259. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  12260. * DataGrid.cs: fixes bugs exposed by new tests
  12261. 2005-08-04 Peter Dennis Bartok <[email protected]>
  12262. * Mime.cs: Compile Mono assembly references only if compiling
  12263. with Mono (Allows to build with VS.Net again)
  12264. 2005-07-28 Marek Safar <[email protected]>
  12265. * Control.cs (PaintControlBackground): Draw background image
  12266. corrrectly.
  12267. (CheckForIllegalCrossThreadCalls): Stubbed.
  12268. * Form.cs (OnCreateControl): Center when should be centered.
  12269. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  12270. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  12271. * Binding.cs: Binding to properties should be case unsensitive
  12272. 2005-07-18 [email protected]
  12273. * DataGrid.cs: fixes setmember order
  12274. 2005-07-07 Alexander Olk <[email protected]>
  12275. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  12276. * FileDialog.cs: FileDialog is now resizable and uses the new
  12277. MimeIconEngine
  12278. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  12279. * DataGridTextBoxColumn.cs: default value
  12280. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  12281. * GridTableStylesCollection.cs: fixes checking MappingName
  12282. * DataGridDrawingLogic.cs: fixes drawing logic issues
  12283. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  12284. * DataGrid.cs: fixes
  12285. 2005-07-06 Alexander Olk <[email protected]>
  12286. * MimeGenerated.cs: Use case sensitive comparer for
  12287. NameValueCollections
  12288. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  12289. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  12290. * ThemeWin32Classic.cs: bug fixes, code refactoring
  12291. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  12292. * DataGrid.cs: bug fixes, code refactoring
  12293. * DataGridTextBox.cs: bug fixes, code refactoring
  12294. * DataGridColumnStyle.cs: bug fixes, code refactoring
  12295. * Theme.cs: bug fixes, code refactoring
  12296. 2005-07-01 Peter Bartok <[email protected]>
  12297. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  12298. and other text box usage
  12299. 2005-07-01 Jackson Harper <[email protected]>
  12300. * TabControl.cs: Make sure the bottom of the tab covers the pages
  12301. border.
  12302. 2005-06-30 Peter Bartok <[email protected]>
  12303. * Form.cs (ShowDialog): Assign owner of the dialog
  12304. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  12305. might have been moved to a tag with different height
  12306. 2005-06-30 Jackson Harper <[email protected]>
  12307. * Form.cs: Don't create an infinite loop when setting focus
  12308. * MenuItem.cs: Don't dirty the parents if we don't have any
  12309. 2005-06-29 Ben Maurer <[email protected]>
  12310. * LibSupport.cs: Rename
  12311. 2005-06-29 Peter Bartok <[email protected]>
  12312. * TextBoxBase.cs: Re-align caret after deleting a character
  12313. * TextControl.cs:
  12314. - DeleteChars(): Ensure that tag covers the provided position
  12315. - StreamLine(): Drop reference for dropped tag
  12316. 2005-06-29 Peter Bartok <[email protected]>
  12317. * TextControl.cs:
  12318. - Selections now work properly, anchoring at the initial location
  12319. and properly extending in either direction (SetSelectionToCaret(),
  12320. SetSelectionStart() and SetSelectionEnd())
  12321. - No longer redraws the whole control on selection change, now
  12322. calculates delta between previous and new selection and only
  12323. invalidates/redraws that area
  12324. - Fixed FindPos() math off-by-one errors
  12325. - Changed DeleteChars() to verify the provided tag covers the
  12326. provided position, selections may have a tag that doesn't cover
  12327. the position if the selection is at a tag border
  12328. - Fixed off-by-one errors in DeleteChars()
  12329. - Added missing streamlining check in DeleteChars() to remove
  12330. zero-length tags
  12331. - Implemented Invalidate() method, now properly calculates exposures
  12332. between two given lines/positions
  12333. - Implemented SetSelection()
  12334. - Obsoleted and removed FixupSelection()
  12335. - Improved RecalculateDocument() logic, removing code duplication
  12336. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  12337. * LibSupport.cs: changes to match different input/output arguments.
  12338. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  12339. * LibSupport.cs: added libsupport.so init routine.
  12340. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  12341. * ControlBindingsCollection.cs
  12342. - Throws an exception on null datasource when adding
  12343. - Checks for duplicated bindings when adding
  12344. 2005-06-28 Jackson Harper <[email protected]>
  12345. * TreeView.cs (OnKeyDown): Support left and right properly
  12346. (navigates as well as expanding and collapsing.
  12347. - Add support for Multiply, this expands all the selected nodes
  12348. children.
  12349. - Fix some tabbing.
  12350. 2005-06-28 Jackson Harper <[email protected]>
  12351. * TreeView.cs: Implement keyboard navigation, currently supports,
  12352. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  12353. support for toggling checkboxes with the space bar.
  12354. 2005-06-28 Jackson Harper <[email protected]>
  12355. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  12356. tree.
  12357. 2005-06-28 Jackson Harper <[email protected]>
  12358. * TreeView.cs: Add missing event.
  12359. 2005-06-27 Peter Bartok <[email protected]>
  12360. * TextControl.cs:
  12361. - Made line ending size configurable (now allows for counting
  12362. lineendings as \n or \r\n)
  12363. - Added margin to viewport to keep caret visible on right side
  12364. - Fixed translation routines for line/pos to documentpos to consider
  12365. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  12366. - Fixed some line-endings to be unix style
  12367. - Fixed Document.FormatText to perform it's calculations 1-based
  12368. - Added descriptions for a few methods that might otherwise get
  12369. used wrong
  12370. - Added NOTE section with some basic conventions to remember at
  12371. the top of the file
  12372. - Major fixup for RichTextBox selection drawing:
  12373. * Fixed crashes when multiple tags on a single line were selected
  12374. * fixed selection box drawing not overlaying text
  12375. * fixed bogus offset calculation for tags not starting at index 1
  12376. * Switched behaviour from using multiple Substrings of a
  12377. StringBuilder.ToString() to using multiple
  12378. StringBuilder.ToString(start, length) statements, hoping this is
  12379. faster (kept original version commented out in the code, in case
  12380. original version was faster)
  12381. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  12382. alignment != Left
  12383. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  12384. call it as well
  12385. 2005-06-27 Jackson Harper <[email protected]>
  12386. * TabControl.cs: Move to the left and right with the arrow
  12387. keys. These keys don't cycle beyond first and last like
  12388. tab. Refresh all the tabs when scrolling them to the left or
  12389. right.
  12390. 2005-06-27 Jackson Harper <[email protected]>
  12391. * TabControl.cs:
  12392. - ToString: Added method
  12393. - CreateParams: Remove TODO and comment
  12394. - OnKeyDown: Cycle through bounds properly.
  12395. - SelectedIndex: Scroll to the right or left if we need to
  12396. display the newly selected tab.
  12397. 2005-06-23 Jackson Harper <[email protected]>
  12398. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  12399. set.
  12400. 2005-06-23 Jackson Harper <[email protected]>
  12401. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  12402. CTRL-SHIFT-TAB, and HOME, END are there any others?
  12403. 2005-06-23 Jackson Harper <[email protected]>
  12404. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  12405. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  12406. * DataGridTextBoxColumn.cs: fixes and enhancements
  12407. * ThemeWin32Classic.cs: fixes and enhancements
  12408. * DataGridBoolColumn.cs: fixes and enhancements
  12409. * DataGridDrawingLogic.cs: fixes and enhancements
  12410. * CurrencyManager.cs: fixes and enhancements
  12411. * DataGrid.cs: fixes and enhancements
  12412. * DataGridColumnStyle.cs: fixes and enhancements
  12413. 2005-06-22 Jackson Harper <[email protected]>
  12414. * TabControl.cs: Add some missing methods that just call into the
  12415. base. Make the TabPageCollection's IList interface behave in the
  12416. same manner as the MS implementation.
  12417. 2005-06-22 Peter Bartok <[email protected]>
  12418. * TextControl.cs: Added sanity check
  12419. * TextBoxBase.cs:
  12420. - Fixed wrapping behaviour, don't set wrap on single line controls
  12421. (this fixes the breakage of colordialog introduced in an earlier
  12422. checkin)
  12423. - Added rudimentary support for autoscrolling right-aligned controls
  12424. (still needs fixing, also, center alignment scroll is missing)
  12425. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  12426. * ScrollBar.cs: Fixes thumbpos on Maximum values
  12427. 2005-06-21 Jonathan Chambers <[email protected]>
  12428. * PropertyGridView.cs: Pass context information to UITypeEditors
  12429. 2005-06-21 Peter Bartok <[email protected]>
  12430. * TextBoxBase.cs:
  12431. - Now calling PositionCaret with absolute space coordinates
  12432. - Enabled vertical scrolling
  12433. - Better tracking of scrollbar changes, tied into WidthChange
  12434. event
  12435. - Improved cursor tracking
  12436. - Removed debug output
  12437. * TextControl.cs:
  12438. - PositionCaret coordinates are now works in absolute space, not
  12439. the canvas
  12440. - Improved tracking of document size
  12441. - Added events for width and height changes
  12442. 2005-06-21 Peter Bartok <[email protected]>
  12443. * Form.cs: Set focus to active control when form is activated
  12444. * TextControl.cs:
  12445. - Added word-wrap functionality to RecalculateLine()
  12446. - Added some short function descriptions for VS.Net to aid in
  12447. writing dependent controls
  12448. - Added Caret property, returning the current coords of the caret
  12449. - Added ViewPortWidth and ViewPortHeight properties
  12450. - Added Wrap property
  12451. - Added CaretMoved event
  12452. - Removed some old debug code
  12453. - Split() can now create soft splits
  12454. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  12455. - Added method to format existing text
  12456. - Fixed size/alignment calculations to use viewport
  12457. - RecalculateDocument now can handle changing line-numbers while
  12458. calculating lines
  12459. * TextBox.cs:
  12460. - Added some wrap logic, we don't wrap if alignment is not left
  12461. - Added casts for scrollbar var, base class switched types to
  12462. also support RichTextBoxA
  12463. - Implemented handling of scrollbar visibility flags
  12464. * TextBoxBase.cs:
  12465. - Switched scrollbars type to RichTextBoxScrollBars to support
  12466. RichTextBox
  12467. - Added tracking of canvas width/height
  12468. - Switched scrollbars to be not selectable (to keep focus on text)
  12469. - Added central CalculateDocument() method to handle all redraw
  12470. requirements
  12471. - Added ReadOnly support
  12472. - Added WordWrap support
  12473. - Fixed handling of Enter key (we now treat it as a DialogKey)
  12474. - Fixed caret positioning when h or v scroll is not zero
  12475. - Fixed placing/generation of vertical scrollbar
  12476. - Added CalculateScrollBars() method to allow updating scrollbar
  12477. limits and visibility
  12478. - Fixed handling of horizontal scroll
  12479. - Added handling of vertical scroll
  12480. - Implemented auto-'jump' when caret moves to close to a left or
  12481. right border and there is text to be scrolled into view (currently
  12482. there's the potential for a stack overflow, until a bug in
  12483. scrollbar is fixed)
  12484. 2005-06-21 Geoff Norton <[email protected]>
  12485. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  12486. 2005-06-19 Alexander Olk <[email protected]>
  12487. * Mime.cs:
  12488. - added inodes.
  12489. - return application/x-zerosize for files with size zero
  12490. (if no extension pattern matches).
  12491. - check matches collection for strings too.
  12492. - return only the first mime type if the name value
  12493. collection has more than one mime type.
  12494. 2005-06-18 Jonathan Chambers <[email protected]>
  12495. * PropertyGrid.cs: Cleaned up some TODOs
  12496. * PropertyGridView.cs: Added support for UITypeEditors
  12497. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  12498. * DataGrid.cs: clears cached value
  12499. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  12500. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  12501. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  12502. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  12503. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  12504. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  12505. * ThemeWin32Classic.cs: fixes colour
  12506. 2005-06-15 Peter Bartok <[email protected]>
  12507. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  12508. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  12509. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  12510. * Control.cs: Added some MWFCategory and MWFDescription attributes
  12511. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  12512. 2005-06-15 Alexander Olk <[email protected]>
  12513. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  12514. usage
  12515. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  12516. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  12517. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  12518. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  12519. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  12520. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  12521. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  12522. 2005-06-13 Jackson Harper <[email protected]>
  12523. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  12524. isn't printed when the user enables dropping. (X11 does accept
  12525. drops).
  12526. 2005-06-13 Jackson Harper <[email protected]>
  12527. * TreeView.cs: Remove some TODOS.
  12528. 2005-06-13 Jackson Harper <[email protected]>
  12529. * Form.cs: Hook into the mdi framework.
  12530. * MdiClient.cs: Use the base control collections add method so
  12531. parents get setup correctly. Set the default back colour and dock
  12532. style.
  12533. * MdiChildContext.cs: New class, this bad actor handles an
  12534. instance of an MDI window. Right now there is only basic
  12535. support. You can drag, close, and resize windows. Minimize and
  12536. Maximize are partially implemented.
  12537. 2005-06-13 Jackson Harper <[email protected]>
  12538. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  12539. freaky when both vals are negative. NOTE: There are probably other
  12540. places in XplatUIX11 that this needs to be done.
  12541. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  12542. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  12543. * DataGridColumnStyle.cs: fixes signature
  12544. 2005-06-12 Jackson Harper <[email protected]>
  12545. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  12546. windows.
  12547. 2005-06-11 Jackson Harper <[email protected]>
  12548. * StatusBarPanel.cs: Signature cleanups. Implement
  12549. BeginInit/EndInit.
  12550. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  12551. * DataGridTextBoxColumn.cs: Honors aligment
  12552. * GridColumnStylesCollection.cs: Contains is case unsensitive
  12553. * GridTableStylesCollection.cs: several fixes
  12554. * DataGridTableStyle.cs: default column creation
  12555. * DataGridDrawingLogic.cs: fixes
  12556. * CurrencyManager.cs: ListName property
  12557. * DataGrid.cs: multiple styles support
  12558. * DataGridColumnStyle.cs: fixes
  12559. 2005-06-10 Peter Bartok <[email protected]>
  12560. * Control.cs(Select): Moved SetFocus call to avoid potential
  12561. loops if controls change the active control when getting focus
  12562. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  12563. the up/down buttons
  12564. 2005-06-10 Matthias Felgner <[email protected]>
  12565. * ImageListConverter.cs: Implemented
  12566. 2005-06-10 John BouAntoun <[email protected]>
  12567. * MonthCalendar.cs: Wired in NumericUpDown control for year
  12568. 2005-06-10 John BouAntoun <[email protected]>
  12569. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  12570. DoubleClick events, since they are not meant to be fired.
  12571. 2005-06-09 Peter Bartok <[email protected]>
  12572. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  12573. Jonathan's standalone controls into MWF, implemented missing
  12574. events, attributes and methods; added xxxAccessible classes
  12575. * AccessibleObject.cs: Made fields internal so other classes
  12576. can change them if needed
  12577. 2005-06-09 Jonathan Gilbert <[email protected]>
  12578. * UpDownBase.cs: Complete implementation
  12579. * NumericUpDown.cs: Complete implementation
  12580. * DomainUpDown.cs: Complete implementation
  12581. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  12582. * DataGridTextBoxColumn.cs: drawing fixes
  12583. * DataGridCell.cs: fixes ToString method to match MSNet
  12584. * DataGridTableStyle.cs: fixes
  12585. * DataGridBoolColumn.cs: fixes, drawing
  12586. * DataGridDrawingLogic.cs: fixes, new methods
  12587. * DataGridTextBox.cs: Keyboard and fixes
  12588. * DataGrid.cs:
  12589. - Keyboard navigation
  12590. - Scrolling fixes
  12591. - Row selection (single, multiple, deletion, etc)
  12592. - Lots of fixes
  12593. 2005-06-07 Jackson Harper <[email protected]>
  12594. * ThemeWin32Classic.cs: Clear the background area when drawing
  12595. buttons.
  12596. 2005-06-06 Peter Bartok <[email protected]>
  12597. * ImageListStreamer.cs: Fixed signature for GetData
  12598. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  12599. * ComboBox.cs:
  12600. - Added missing ChildAccessibleObject class
  12601. - Added missing OnXXXFocus overrides, switched to using those
  12602. instead of the event handler
  12603. * Control.cs:
  12604. - Added Parent property for ControlAccessibleObject
  12605. - Fixed signatures
  12606. - Fixed attributes
  12607. - Added ResetBindings()
  12608. * ListBindingConverter.cs: Implemented some methods
  12609. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  12610. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  12611. * ContainerControl.cs: Fixed signature, now subscribing to the
  12612. ControlRemoved event instead of overriding the handler, LAMESPEC
  12613. * CurrencyManager.cs: Added missing attribute
  12614. * MonthCalendar.cs: Added missing properties
  12615. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  12616. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  12617. 2005-06-06 Gaurav Vaish and Ankit Jain
  12618. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  12619. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  12620. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  12621. * Control.cs: fixes CreateParams Width / Height.
  12622. 2005-06-05 Peter Bartok <[email protected]>
  12623. * Win32DnD.cs: Removed compilation warnings
  12624. 2005-06-05 Peter Bartok <[email protected]>
  12625. * Control.cs (CreateParams): Since we don't know if one of the
  12626. properties we use is overridden, lets make sure if we fail accessing
  12627. we continue with a backup plan
  12628. 2005-06-05 Peter Bartok <[email protected]>
  12629. * Win32DnD.cs:
  12630. - Removed debug output
  12631. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  12632. struct
  12633. - Plugged resource leak
  12634. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  12635. MS size
  12636. 2005-06-05 Peter Bartok <[email protected]>
  12637. * XplatUIWin32.cs: Removed DnD code
  12638. * Win32DnD.cs: Implemented drop source and drop target functionality
  12639. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  12640. * UpDownBase.cs: remove duplicate addition of event, enable some code
  12641. that was commented out.
  12642. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  12643. Validate input when a key is pressed. It works fine now for every
  12644. combination of Hexadecimal. Only missing some drawing love when sharing
  12645. space with other controls.
  12646. 2005-06-04 Peter Bartok <[email protected]>
  12647. * Control.cs:
  12648. - We need to pass a window for DragDrop, so enable callback events
  12649. - Added DnD callback events when being a DragSource
  12650. * XplatUI.cs (StartDrag): Added window handle argument
  12651. * XplatUIDriver.cs (StartDrag): Added window handle argument
  12652. * QueryContinueDragEventArgs: Made fields internally accessible so
  12653. drivers can set them
  12654. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  12655. can set them
  12656. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  12657. * DataGridTextBoxColumn.cs: column text editing
  12658. * DataGridTableStyle.cs: Respect columns styles created by the user
  12659. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  12660. * DataGridBoolColumn.cs: bool column editing
  12661. * DataGrid.cs: fixes to scrolling, properties, etc
  12662. * DataGridTextBox.cs: handle keyboard
  12663. * DataGridColumnStyle.cs: fixes
  12664. 2005-06-02 Jackson Harper <[email protected]>
  12665. * ImageListStreamer.cs: Somewhat broken implementation of
  12666. GetObjectData. The RLE needs some work to match MS properly.
  12667. 2005-06-02 Jackson Harper <[email protected]>
  12668. * X11Dnd.cs: Attempting to keep at least one file in MWF
  12669. monostyled.
  12670. 2005-06-02 Peter Bartok <[email protected]>
  12671. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  12672. that way
  12673. 2005-06-02 Peter Bartok <[email protected]>
  12674. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  12675. * XplatUI.cs: Added DoDragDrop() method
  12676. * XplatUIDriver.cs: Added DoDragDrop() method
  12677. 2005-06-02 Jackson Harper <[email protected]>
  12678. * Splitter.cs: Implement BorderStyle.
  12679. 2005-06-02 Jackson Harper <[email protected]>
  12680. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  12681. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  12682. X11 using XDND.
  12683. 2005-06-02 Peter Bartok <[email protected]>
  12684. * DataObject.cs:
  12685. - Added Data setter
  12686. - Fixed broken insertion code for SetData, now also
  12687. overwrites any existing entry of the same format name
  12688. * Hwnd.cs: Added list of pointers that automatically gets
  12689. freed when the window is disposed
  12690. * XplatUI.cs: Call driver initialization method when loading
  12691. a driver
  12692. * Control.cs:
  12693. - OnDragLeave takes EventArgs, not DragEventArgs
  12694. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  12695. supported
  12696. - Forces style update when drop state changes
  12697. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  12698. not perfect since we cannot (yet) call the IDataObject.GetData()
  12699. method, we keep getting 0x80004005 error, dunno why)
  12700. 2005-06-02 Peter Bartok <[email protected]>
  12701. * DragEventArgs.cs: Make fields internal so we can cache the
  12702. object and re-set the fields from XplatUI
  12703. 2005-06-02 Jackson Harper <[email protected]>
  12704. * Control.cs: Add some internal methods so the DnD subsystem can
  12705. raise DnD events. Also call into the driver when AllowDrop is set.
  12706. * XplatUI.cs:
  12707. * XplatUIDriver.cs: New method for setting whether or not a window
  12708. is allowed to accept drag and drop messages.
  12709. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  12710. * ScrollBar.cs: Make sure that values sent in Scroll events
  12711. are always between Maximum and Minimum.
  12712. 2005-06-01 Marek Safar <[email protected]>
  12713. * Menu.cs: Call MenuChanged when menuitem visibility has been
  12714. changed.
  12715. * MenuItem.cs: Rebuild menu when item is (not) visible.
  12716. * MainMenu.cs: MainMenu has special MenuChanged.
  12717. * Theme.cs: Caption and FrameBorderSize are not fixed.
  12718. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  12719. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  12720. * XplatUIX11.cs,
  12721. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  12722. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  12723. 2005-05-30 Jackson Harper <[email protected]>
  12724. * DataFormat.cs: We can't statically initialize this stuff because
  12725. it calls into the xplatui and could create a loop. So we lazy init
  12726. it.
  12727. 2005-05-28 Jackson Harper <[email protected]>
  12728. * Control.cs: Proper implementation of Product(Name/Version).
  12729. 2005-05-27 Jackson Harper <[email protected]>
  12730. * DataObject.cs: Dont crash if no data is found.
  12731. 2005-05-26 Rafael Teixeira <[email protected]>
  12732. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  12733. as per status page, guessing it should be set to true
  12734. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  12735. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  12736. * DataGridTableStyle.cs: set proper formatting text, def header text
  12737. * ThemeWin32Classic.cs: new themable paramaters
  12738. * DataGridBoolColumn.cs: paint check box, get data, fixes
  12739. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  12740. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  12741. * DataGridColumnStyle.cs: fixes
  12742. * Theme.cs: new themable paramaters
  12743. 2005-05-26 Peter Bartok <[email protected]>
  12744. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  12745. 2005-05-24 Jonathan S. Chambers <[email protected]>
  12746. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  12747. 2005-05-24 Peter Bartok <[email protected]>
  12748. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  12749. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  12750. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  12751. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  12752. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  12753. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  12754. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  12755. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  12756. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  12757. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  12758. missing attributes, etc
  12759. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  12760. 2005-05-24 Peter Bartok <[email protected]>
  12761. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  12762. when user tries to get help
  12763. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  12764. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  12765. to suppress warnings
  12766. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  12767. avoid unreachable code warning
  12768. 2005-05-20 Peter Bartok <[email protected]>
  12769. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  12770. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  12771. * DataGridTextBoxColumn.cs: Basic painting methods
  12772. * DataGridTableStyle.cs: Set table style in the column
  12773. * ThemeWin32Classic.cs: Use Theme for colors
  12774. * DataGridDrawingLogic.cs: Implement more drawing
  12775. * DataGrid.cs: drawing, theming, enhacements, fixes
  12776. * DataGridColumnStyle.cs: fixes, drawing
  12777. * Theme.cs: theming for Datagrid
  12778. 2005-05-20 Peter Bartok <[email protected]>
  12779. * Cursor.cs: Implemented GetObjectData() method
  12780. 2005-05-20 Peter Bartok <[email protected]>
  12781. * Cursors.cs: Added setting of cursor name
  12782. * Cursor.cs:
  12783. - Implemented constructors
  12784. - Implemented Draw and DrawStretched
  12785. - Implemented Current property
  12786. - Implemented == and != operators
  12787. - Implemented Dispose()
  12788. - Implemented ToString
  12789. - Added missing attributes
  12790. * XplatUIX11.cs:
  12791. - Added missing reset for OverrideCursor when DoEvents is called
  12792. - Fixed creation of cursor, logic was wrong
  12793. * XplatUIWin32.cs:
  12794. - Added missing reset for OverrideCursor when DoEvents is called
  12795. - Fixed creation of cursor, bit arrays were swapped
  12796. * Clipboard.cs: Removed obsolete MonoTODO attribute
  12797. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  12798. * ComboBox.cs: fixes OnSelectedItemChanged
  12799. * ControlBindingsCollection.cs: fixes item range check
  12800. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  12801. * UpDownBase.cs:
  12802. - Calc preferred height properly
  12803. - Implement missing properties
  12804. * NumericUpDown.cs: Implement missing events
  12805. 2005-05-19 Jackson Harper <[email protected]>
  12806. * TabControl.cs: New method that resizes the tab pages before
  12807. redrawing them. This as needed as the control is double buffered
  12808. and sizing will not be recalculated unless ResizeTabPages is
  12809. called.
  12810. * TabPage.cs: Set base.Text instead of Text in the constructor so
  12811. that UpdateOwner does not get called. Use the new Redraw method of
  12812. TabControl instead of Refresh so the sizing is recalculated.
  12813. * ThemeWin32Classic.cs: Draw the text for button tabs.
  12814. 2005-05-19 Jackson Harper <[email protected]>
  12815. * Control.cs: Paint control background images. Fix typo where
  12816. PaintControlBackground was not getting called correctly.
  12817. 2005-05-19 Peter Bartok <[email protected]>
  12818. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  12819. I can investigate, apparently I broke FileDialog
  12820. 2005-05-19 Marek Safar <[email protected]>
  12821. * AxHost.cs: Some simple properties.
  12822. * Control.cs: window must be accessible after ctor.
  12823. * Form.cs: Added TransparencyKey property.
  12824. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  12825. * XplatUIWin32.cs: SetBorderStyle implemented.
  12826. 2005-05-18 Peter Bartok <[email protected]>
  12827. * DataObject.cs: Entries are not global but particular to the
  12828. DataObject, now it behaves that way
  12829. * XplatUIWin32.cs: Implemented Clipboard methods
  12830. * Clipboard.cs: Implemented
  12831. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  12832. * XplatUIOSX.cs: Updated to final clipboard prototypes
  12833. * XplatUIX11.cs: Implemented Clipboard methods
  12834. * XplatUIDriver.cs: Updated to final clipboard prototypes
  12835. * XplatUIStructs.cs:
  12836. - Added BITMAPINFOHEADER struct
  12837. - Added ClipboardFormats enum
  12838. * X11Structs.cs:
  12839. - Added ClipboardStruct
  12840. - Added Atom enum items for clipboard types
  12841. - Fixed atom types for Selection event structures
  12842. * DataFormats.cs:
  12843. - Added internal properties and methods for drivers to enumerate
  12844. all known formats
  12845. - Switched initialization method to allow drivers to assign their
  12846. own IDs even for the MS predefined clipboard IDs
  12847. * XplatUI.cs: Updated to final clipboard interface
  12848. 2005-05-18 Jonathan S. Chambers <[email protected]>
  12849. * PropertyGridView.cs: Fixed compiler warnings.
  12850. 2005-05-18 Jonathan S. Chambers <[email protected]>
  12851. * PropertyGrid.cs: Added some event calls
  12852. * PropertyGridView.cs: Change drawing code to use double buffering
  12853. * PropertyGridTextBox.cs: Changed Text property name
  12854. * GridItem.cs: Added Bounds property.
  12855. * GridEntry.cs: Added Bounds property.
  12856. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  12857. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  12858. since GetType() may not return the correct type if the object is
  12859. a remoting proxy.
  12860. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  12861. * TreeNodeCollection.cs: fixes get/set item ranges
  12862. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  12863. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  12864. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  12865. * ComboBox.cs: Fix item range comparation
  12866. * ListView.cs: Fix item range comparation
  12867. 2005-05-03 Alexander Olk <[email protected]>
  12868. * FontDialog.cs:
  12869. - Clear example panel when OnPaint is called
  12870. - Better solution for displaying the example panel text
  12871. - Select default indexes in the ListBoxes
  12872. 2005-05-11 Geoff Norton <[email protected]>
  12873. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  12874. 2005-05-11 Peter Bartok <[email protected]>
  12875. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  12876. * SelectionRangeConverter.cs: Implemented
  12877. * PropertyGrid.cs: Fixed attribute value
  12878. * Control.cs:
  12879. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  12880. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  12881. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  12882. that's common to all drivers. First methods to go there are
  12883. Sebastien Pouliot's CAS Stack Propagation helper methods
  12884. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  12885. Sebastien Pouliot for CAS Stack Propagation
  12886. 2005-05-11 Geoff Norton <[email protected]>
  12887. * OSXStructs.cs:
  12888. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  12889. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  12890. * DataGridTextBoxColumn.cs: fixed some members
  12891. * GridColumnStylesCollection.cs: indexed column is case insensitive
  12892. * DataGridTableStyle.cs: fixes
  12893. * ThemeWin32Classic.cs: add new theme parameter
  12894. * Theme.cs: add new theme parameter
  12895. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  12896. * DataGrid.cs: fixes, new internal properties, etc.
  12897. * DataGridColumnStyle.cs: allows to set grid value
  12898. *
  12899. 2005-05-10 Peter Bartok <[email protected]>
  12900. * AccessibleObject.cs:
  12901. - Removed MonoTODO attribute on help, method is correct
  12902. - Fixed Bounds property
  12903. * AxHost.cs: Moved MonoTODO
  12904. * ButtonBase.cs: Now setting AccessibleObject properties
  12905. * RadioButton.cs: Setting proper AccessibleObject role
  12906. * CheckBox.cs: Setting proper AccessibleObject role
  12907. * ControlBindingsCollection.cs: Added properties, methods and attributes
  12908. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  12909. userdefined DataFormats.Format items as well
  12910. * ListControl.cs: Removed data_member from the public eye
  12911. * OpenFileDialog.cs:
  12912. - Made class sealed
  12913. - Added missing attributes
  12914. * SaveFileDialog.cs: Added missing attributes
  12915. * ImageListStreamer.cs: Fixed code that caused warnings
  12916. * LinkLabel.cs: Removed unreachable code
  12917. * TreeView.cs: Fixed code that caused warnings
  12918. * PropertyGridView.cs: Fixed code that caused warnings
  12919. * GridColumnStylesCollection.cs: Added missing attributes
  12920. * GridTableStylesCollection: Added missing attribute
  12921. * PropertyManager: Added .ctor
  12922. * SecurityIDType: Added
  12923. * DataObject.cs: Implemented class
  12924. * LinkArea.cs: Added missing attribute
  12925. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  12926. * RadioButton.cs: call base method to allow to fire OnClick event
  12927. * UpDownBase.cs: OnMouseUp call base method
  12928. * CheckedListBox.cs: call base method before returning
  12929. * TrackBar.cs: call base method before returning
  12930. 2005-05-10 Peter Bartok <[email protected]>
  12931. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  12932. for messages
  12933. 2005-05-10 Peter Bartok <[email protected]>
  12934. * DataFormats.cs: Implemented
  12935. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  12936. XplatUIX11.cs: Added Clipboard APIs
  12937. * XplatUIWin32.cs: Implemented Clipboard APIs
  12938. * FolderBrowserDialog.cs: Added missing event, attributes
  12939. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  12940. * CheckBox.cs: call base method to allow to fire OnClick event
  12941. 2005-05-09 Sebastien Pouliot <[email protected]>
  12942. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  12943. 2005-05-06 Peter Bartok <[email protected]>
  12944. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  12945. * Screen.cs: Implemented
  12946. * HelpNavigator.cs: Added
  12947. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  12948. property
  12949. * HelpProvider.cs: Implemented all we can do until we have a CHM
  12950. help library (which means that "What's This" does work now)
  12951. 2005-05-06 Jackson Harper <[email protected]>
  12952. * XplatUIX11.cs: Fix waking up the main loop.
  12953. 2005-05-05 Peter Bartok <[email protected]>
  12954. * XplatUI.cs: Updated revision
  12955. * Form.cs: Removed enless loop
  12956. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  12957. * Label.cs (OnPaint): Added call to base.OnPaint()
  12958. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  12959. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  12960. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  12961. * AxHost.cs: Added
  12962. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  12963. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  12964. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  12965. reuse of ToolTipWindow by other controls
  12966. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  12967. * XplatUIX11.cs: Now clipping drawing area (experimental)
  12968. * PictureBox.cs: Moved base.OnPaint() call to end of method
  12969. * Theme.cs: Fixed ToolTip abstracts to match new format
  12970. * ErrorProvider.cs: Implemented
  12971. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  12972. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  12973. * LinkLabel.cs:
  12974. - Adds cursors
  12975. - Handles focus
  12976. - Implements LinkBehavior
  12977. - Fixes many issues
  12978. 2005-05-03 Jackson Harper <[email protected]>
  12979. * ListView.cs: Calculate the scrollbar positioning on resize and
  12980. paint, so they get put in the correct place.
  12981. 2005-05-03 Alexander Olk <[email protected]>
  12982. * ColorDialogs.cs: The small color panels are now handled by
  12983. SmallColorControl. This fixes drawing of the focus rectangle
  12984. and adds a 3D border.
  12985. 2005-05-03 Peter Bartok <[email protected]>
  12986. * Control.cs: Modified version of Jonathan Chamber's fix for
  12987. double-buffering
  12988. 2005-05-03 Jackson Harper <[email protected]>
  12989. * ListView.cs: Remove redraw variable. Control now handles whether
  12990. or not a redraw needs to be done, and will only raise the paint
  12991. event if redrawing is needed.
  12992. 2005-05-03 Jackson Harper <[email protected]>
  12993. * Splitter.cs: No decorations for the splitter form. Cache the
  12994. hatch brush.
  12995. 2005-05-03 Jackson Harper <[email protected]>
  12996. * TreeView.cs: Use dashed lines to connect nodes. Use the
  12997. ControlPaint method for drawing the focus rect instead of doing
  12998. that in treeview.
  12999. 2005-05-02 Peter Bartok <[email protected]>
  13000. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  13001. 2005-04-29 Jackson Harper <[email protected]>
  13002. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  13003. entire image buffer. Just clear the clipping rectangle.
  13004. 2005-04-29 Jackson Harper <[email protected]>
  13005. * ThemeWin32Classic.cs: Don't draw list view items that are
  13006. outside the clipping rectangle.
  13007. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  13008. * ListBox.cs: added horizontal item scroll
  13009. 2005-04-29 Jackson Harper <[email protected]>
  13010. * ThemeWin32Classic.cs: Remove some old debug code that was
  13011. causing flicker with the new double buffering code.
  13012. 2005-04-29 John BouAntoun <[email protected]>
  13013. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  13014. behave like combobox and comboboxlist (still not sure if this is
  13015. correct though).
  13016. 2005-04-28 Jackson Harper <[email protected]>
  13017. * ThemeWin32Classic.cs: Don't fill the middle of progress
  13018. bars. This fills areas outside of the clip bounds that don't need
  13019. to be filled.
  13020. 2005-04-28 Jackson Harper <[email protected]>
  13021. * Control.cs: Don't expose functionality to touch the image buffers.
  13022. * ProgressBar.cs:
  13023. * ListView.cs: We do not need to (and no longer can) manipulate
  13024. the image buffers directly. All of this is handled by Control.
  13025. 2005-04-28 Peter Bartok <[email protected]>
  13026. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  13027. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  13028. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  13029. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  13030. * Combobox:
  13031. - Adjust control's height for non-simple comboboxes (bug fix)
  13032. - Remove dead code
  13033. * MenuAPI.cs: remove unused var
  13034. * ScrollBar.cs: remove unsed var
  13035. * ListBox.cs: unselect items when clearing
  13036. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  13037. * ListControl.cs: honors OnPositionChanged and default Selected Item
  13038. * ListBox.cs: unselect items when clearing
  13039. 2005-04-27 Jackson Harper <[email protected]>
  13040. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  13041. if a "correct" keyboard is not found. This will make us not crash,
  13042. but might give some users bad keyboard layouts...seems to be the
  13043. same thing rewind does.
  13044. 2005-04-27 Jackson Harper <[email protected]>
  13045. * BindingManagerBase.cs: Attach the current/position changed
  13046. handlers to their respective events.
  13047. 2005-04-27 Jackson Harper <[email protected]>
  13048. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  13049. not just a blit.
  13050. * ThemeWin32Classic.cs: Don't fill the background for picture
  13051. boxes. This could overright user drawing.
  13052. * ComboBox.cs: Just fill the clipping rect not the entire client
  13053. rect when drawing the background. This prevents pieces of the
  13054. image buffer from getting overwritten and is theoretically faster.
  13055. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  13056. * ComboBox.cs: Databinding support fixes, fire missing events
  13057. * ListControl.cs: implement missing methods and properties, fixes
  13058. * ThemeWin32Classic.cs: Databiding support on Drawing
  13059. * CheckedListBox.cs: Databinding support fixes, fire missing events
  13060. * ListBox.cs: Databinding support fixes, fire missing events
  13061. 2005-04-25 Peter Bartok <[email protected]>
  13062. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  13063. 2005-04-25 Jackson Harper <[email protected]>
  13064. * TreeView.cs: Use the horizontal scrollbars height not width when
  13065. determining how much of the client area is available.
  13066. 2005-04-25 Jackson Harper <[email protected]>
  13067. * Control.cs: Double buffering is handled differently now. As per
  13068. the spec, the extra buffer is created in the WM_PAINT message and
  13069. passed down to the control's drawing code.
  13070. * GroupBox.cs:
  13071. * Label.cs:
  13072. * CheckBox.cs:
  13073. * ProgressBar.cs:
  13074. * RadioButton.cs:
  13075. * ColorDialog.cs:
  13076. * ComboBox.cs:
  13077. * PropertyGridView.cs:
  13078. * UpDownBase.cs:
  13079. * MessageBox.cs:
  13080. * MenuAPI.cs:
  13081. * ListView.cs:
  13082. * ButtonBase.cs:
  13083. * SizeGrip.cs:
  13084. * ScrollBar.cs:
  13085. * ListBox.cs:
  13086. * TrackBar.cs:
  13087. * ToolBar.cs:
  13088. * PictureBox.cs:
  13089. * DateTimePicker.cs:
  13090. * StatusBar.cs:
  13091. * TreeView.cs: Update to new double buffering system.
  13092. * MonthCalendar.cs: Uncomment block, as Capture is now
  13093. working. Update to new double buffering
  13094. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  13095. * PaintEventArgs.cs: New internal method allows us to set the
  13096. graphics object. This is used for double buffering.
  13097. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  13098. rectangle. The internal paint_area var has been removed from
  13099. StatusBar. The clipping rect should be used instead.
  13100. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  13101. * TabPage.cs: The RefreshTabs method was removed, so just call the
  13102. tab controls Refresh method now.
  13103. * TabControl.cs: Update to new double buffering. Make sure the
  13104. handle is created before sizing the tab pages, otherwise we will
  13105. get stuck in a loop.
  13106. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  13107. * LinkLabel.cs: Fix typo, bug #74719; patch
  13108. from Borja Sanchez Zamorano
  13109. 2005-04-22 Jackson Harper <[email protected]>
  13110. * TreeNode.cs: Implement Handle stuff.
  13111. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  13112. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  13113. * DataGridTextBoxColumn.cs: call base constructors, fixes
  13114. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  13115. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  13116. * DataGridTableStyle.cs: implements create default column styles
  13117. * DataGridBoolColumn.cs: which types can handle
  13118. * DataGrid.cs: missing methods, fixes, new functionality
  13119. * DataGridColumnStyle.cs: fixes
  13120. 2005-04-20 Alexander Olk <[email protected]>
  13121. * FolderBrowserDialog.cs:
  13122. - Use a thread to fill the TreeView
  13123. - Adjusted some sizes
  13124. 2005-04-19 Peter Bartok <[email protected]>
  13125. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  13126. property. Fixes #74360.
  13127. 2005-04-19 Jackson Harper <[email protected]>
  13128. * XEventQueue.cs: Lock when getting the lockqueue size.
  13129. * PictureBox.cs: Call base OnPaint
  13130. 2005-04-19 Peter Bartok <[email protected]>
  13131. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  13132. messages were no longer being processed (this broke BeginInvoke)
  13133. 2005-04-18 Jackson Harper <[email protected]>
  13134. * TreeView.cs: buglet that caused node images to get drawn
  13135. regardless of whether or not they were in the clipping rectangle.
  13136. 2005-04-18 Jackson Harper <[email protected]>
  13137. * CurrencyManager.cs: There are four rules for GetItemProperties:
  13138. - If the type is an array use the element type of the array
  13139. - If the type is a typed list, use the type
  13140. - If the list contains an Item property that is not an object, use
  13141. that property
  13142. - use the first element of the list if there are any elements in
  13143. the list.
  13144. 2005-04-17 Jackson Harper <[email protected]>
  13145. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  13146. click. This handles offsets for scrolling properly and reduces
  13147. memory. Also fixed GetNode to not offset now that TopNode works
  13148. properly.
  13149. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  13150. 2005-04-17 Jackson Harper <[email protected]>
  13151. * CursorConverter.cs: Initial implementation.
  13152. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  13153. * ListControl.cs: work towards complex data binding support on ListControl
  13154. * CurrencyManager.cs: work towards complex data binding support on ListControl
  13155. * ListBox.cs: work towards complex data binding support on ListControl
  13156. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  13157. * GridTableStylesCollection.cs: fixes name and constructor
  13158. * DataGridTableStyle.cs: fixes
  13159. * DataGridBoolColumn.cs: fixes names and constructors
  13160. * DataGrid.cs: define methods and properties. Some init implementations
  13161. * DataGridCell.cs: define methods and properties. Some init implementations
  13162. * GridTablesFactory.cs: Define methods and properties
  13163. 2005-04-15 Geoff Norton <[email protected]>
  13164. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  13165. graphics port changes. We still want the coordinates in global screen
  13166. coordinates.
  13167. 2005-04-14 Jackson Harper <[email protected]>
  13168. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  13169. check plus minus or checkbox clicks unless those features are enabled.
  13170. 2005-04-14 Jackson Harper <[email protected]>
  13171. * TreeView.cs: Add methods for setting the top and bottom visible
  13172. nodes. TreeNode::EnsureVisible uses these methods.
  13173. * TreeNode.cs: Implement EnsureVisible
  13174. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  13175. * Form.cs: Pospone menu assignation if the window has not been created yet
  13176. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  13177. size and position
  13178. 2005-04-12 Jackson Harper <[email protected]>
  13179. * TreeView.cs: Set the TopNode properly when scrolling
  13180. occurs. This has the added benifit of reducing the amount of
  13181. walking that needs to be done when drawing. Also removed an old
  13182. misleading TODO.
  13183. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  13184. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  13185. * Timer.cs: fixes interval setting when the timer is already enabled
  13186. 2005-04-10 Alexander Olk <[email protected]>
  13187. * FolderBrowserDialog.cs: First approach
  13188. 2005-04-09 Peter Bartok <[email protected]>
  13189. * FolderBrowserDialog: Added
  13190. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  13191. * LinkLabel.cs: move drawing code into the theme
  13192. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  13193. * Theme.cs: define DrawLinkLabel method
  13194. 2005-04-05 Jackson Harper <[email protected]>
  13195. * BindingContext.cs: Use weak references so these bad actors don't
  13196. stay alive longer then they need to.
  13197. 2005-04-05 Jackson Harper <[email protected]>
  13198. * ListControl.cs: Basic implementation of complex databinding.
  13199. * ComboBox.cs:
  13200. * ListBox.cs: Add calls to ListControl databinding methods.
  13201. 2005-04-05 Alexander Olk <[email protected]>
  13202. * FileDialog.cs:
  13203. - Don't change PopupButtonState to Normal when the
  13204. PopupButton gets pressed several times.
  13205. - Renamed ButtonPanel to PopupButtonPanel
  13206. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  13207. * ColorDialog.cs: Use cached objects instead of creating them
  13208. * LinkLabel.cs: Use cached objects instead of creating them
  13209. * Splitter.cs: Use cached objects instead of creating them
  13210. * FontDialog.cs: Use cached objects instead of creating them
  13211. * PropertyGridView.cs: Use cached objects instead of creating them
  13212. * MessageBox.cs: Use cached objects instead of creating them
  13213. * FileDialog.cs: Use cached objects instead of creating them
  13214. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  13215. * TreeView.cs: Use cached objects instead of creating them
  13216. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  13217. * Control.cs: use Equals to compare the font since no == op
  13218. * ScrollBar.cs: use Equals to compare the font since no == op
  13219. 2005-04-04 Alexander Olk <[email protected]>
  13220. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  13221. 2005-04-01 Jackson Harper <[email protected]>
  13222. * Binding.cs: Implement IsBinding.
  13223. * BindingManagerBase.cs:
  13224. * PropertyManager.cs:
  13225. * CurrencyManager.cs: Add IsSuspended property.
  13226. 2005-04-01 Jackson Harper <[email protected]>
  13227. * Binding.cs: Had some IsAssignableFrom calls backwards.
  13228. 2005-04-01 Jackson Harper <[email protected]>
  13229. * Binding.cs: Handle null data members when pulling data.
  13230. * PropertyManager.cs: Handle the data member being a property that
  13231. does not exist.
  13232. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  13233. * DataGridTextBoxColumn.cs: fixes signature
  13234. * DataGrid.cs: calls right constructor
  13235. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  13236. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  13237. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  13238. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  13239. * DataGridTableStyle.cs: implements DataGridTableStyle
  13240. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  13241. * DataGridTextBox.cs: implements DataGridTextBox
  13242. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  13243. 2005-03-31 Alexander Olk <[email protected]>
  13244. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  13245. 2005-03-29 Peter Bartok <[email protected]>
  13246. * Application.cs:
  13247. - Properly implemented CompanyName property
  13248. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  13249. returns a path that includes CompanyName, ProductName and
  13250. Version (fixes bug #70330)
  13251. 2005-03-29 Stefan Buehler <[email protected]>
  13252. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  13253. fixes bug #72588.
  13254. 2005-03-28 Alexander Olk <[email protected]>
  13255. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  13256. - Added ReadOnly CheckBox
  13257. - Further refactoring: moved some code from Open-/SaveFileDialog
  13258. to FileDialog
  13259. 2005-03-28 Alexander Olk <[email protected]>
  13260. * OpenFileDialog.cs: Fixed CheckFileExists
  13261. * FileDialog.cs:
  13262. Moved FileView and DirComboBox outside FileDialog class.
  13263. They can now be used outside FileDialog
  13264. 2005-03-27 Alexander Olk <[email protected]>
  13265. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  13266. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  13267. 2005-03-27 Alexander Olk <[email protected]>
  13268. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  13269. - Added missing CreatePrompt property in SaveDialog
  13270. - Overall SaveDialog handling should be better now
  13271. - Added non standard ShowHiddenFiles property
  13272. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  13273. - Added InitialDirectory and RestoreDirectory support
  13274. 2005-03-26 Alexander Olk <[email protected]>
  13275. * FileDialog.cs: Made dirComboBox usable
  13276. 2005-03-24 Alexander Olk <[email protected]>
  13277. * FileDialog.cs: Added Filter support (case sensitiv)
  13278. 2005-03-24 Jackson Harper <[email protected]>
  13279. * TabControl.cs: Need a couple more pixels for the lines.
  13280. 2005-03-23 Jackson Harper <[email protected]>
  13281. * TabControl.cs: Give the tab page focus when it is selected.
  13282. 2005-03-23 Jackson Harper <[email protected]>
  13283. * TabControl.cs: Account for the drawing of tabs borders when
  13284. invalidating. If the slider was clicked dont do click detection on
  13285. the tabs.
  13286. 2005-03-23 Jackson Harper <[email protected]>
  13287. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  13288. 2005-03-22 Jonathan Chambers <[email protected]>
  13289. * CategoryGridEntry.cs: Added
  13290. * GridItem.cs: Added helper properties
  13291. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  13292. * GridEntry.cs: Updated code for collection
  13293. * PropertyGrid.cs: Cleaned up some formatting
  13294. * PropertyGridView.cs: Added drop down functionality for enums.
  13295. * GridItemCollection.cs: Added enumerator logic
  13296. * PropertyGridEntry.cs: Added
  13297. 2005-03-19 Alexander Olk <[email protected]>
  13298. * FileDialog.cs:
  13299. - Removed unnecessary commented code
  13300. - Fixed handling for entering the filename manually in the combobox
  13301. 2005-03-19 Alexander Olk <[email protected]>
  13302. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  13303. 2005-03-18 Peter Bartok <[email protected]>
  13304. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  13305. them being touching the border
  13306. 2005-03-18 Peter Bartok <[email protected]>
  13307. * TextControl.cs: Quick hack to center text better
  13308. 2005-03-18 Peter Bartok <[email protected]>
  13309. * ControlPaint.cs:
  13310. - Don't throw NotImplemented exceptions, just print a notice once
  13311. instead (requested by Miguel). This makes running existing SWF
  13312. apps a bit easier
  13313. * Control.cs:
  13314. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  13315. - Added context menu trigger on right click
  13316. * Panel.cs: Trigger invalidate on resize
  13317. * StatusBar.cs:
  13318. - Removed old double-buffer drawing
  13319. - Added ResizeRedraw style to force proper update of statusbar
  13320. * ListView.cs:
  13321. - Removed debug output
  13322. * ThemeWin32Classic.cs:
  13323. - Fixed drawing of status bar, now draws Text property if there
  13324. are no defined panels
  13325. 2005-03-18 Jackson Harper <[email protected]>
  13326. * ImageList.cs: When the image stream is set pull all the images
  13327. from it.
  13328. * ImageListStreamer.cs: Implement reading image list streams.
  13329. 2005-03-18 Peter Bartok <[email protected]>
  13330. * ThemeWin32Classic.cs (DrawPictureBox):
  13331. - Fixed calculations for centered drawing
  13332. - Fixed drawing for normal mode, not scaling the image on normal
  13333. 2005-03-18 Peter Bartok <[email protected]>
  13334. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  13335. textbox
  13336. * FileDialog.cs:
  13337. - Made Open/Save button the accept button for FileDialog
  13338. - Tied the cancel button to the IButtonControl cancel button
  13339. - Save/Open now properly builds the pathname
  13340. - Now handles user-entered text
  13341. - Preventing crash on right-click if no item is selected
  13342. - Fixed Text property, now uses contents of textbox
  13343. - Fixed SelectedText property, now just returns the text part that
  13344. is selected in the text box
  13345. 2005-03-18 Jackson Harper <[email protected]>
  13346. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  13347. rect, make sure to de-adjust the interior rect after drawing the
  13348. tab text.
  13349. 2005-03-18 Peter Bartok <[email protected]>
  13350. * MenuAPI.cs: Remove menu *before* executing selected action to
  13351. prevent the menu from 'hanging around'
  13352. 2005-03-17 Geoff Norton <[email protected]>
  13353. * XplatUIOSX.cs: Implemented WorkingArea property
  13354. 2005-03-17 Peter Bartok <[email protected]>
  13355. * XplatUIX11.cs: Fixed menu coord calculations
  13356. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  13357. for calculating offsets
  13358. 2005-03-17 Peter Bartok <[email protected]>
  13359. * Hwnd.cs: Do not consider menu presence for default client
  13360. rectangle location/size
  13361. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  13362. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  13363. translation functions
  13364. * FileDialog.cs: Fixed (what I presume is a) typo
  13365. 2005-03-17 Jonathan Gilbert <[email protected]>
  13366. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  13367. X access (avoids X-Async errors)
  13368. 2005-03-16 Jackson Harper <[email protected]>
  13369. * TabControl.cs: Raise the SelectedIndexChanged event.
  13370. 2005-03-16 Alexander Olk <[email protected]>
  13371. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  13372. - Removed vertical ToolBar and replaced it with a custom panel
  13373. (desktop and home button already work)
  13374. - Added Help button (some controls get resized or relocated then)
  13375. - Draw correct text depending on Open or Save.
  13376. - Fixed some typos...
  13377. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  13378. * ScrollBar.cs:
  13379. - Only change Maximum and Minimum when need it (bug fix)
  13380. 2005-03-15 Peter Bartok <[email protected]>
  13381. * Form.cs: Use Handle for icon, to trigger creation if
  13382. the window does not yet exist
  13383. * Control.cs:
  13384. - CanSelect: Slight performance improvement
  13385. - Focus(): Preventing possible recursion
  13386. - Invalidate(): Removed ControlStyle based clear flag setting
  13387. - WM_PAINT: fixed logic for calling OnPaintBackground
  13388. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  13389. EraseWindowBackground if the control doesn't paint background
  13390. * XplatUIWin32.cs:
  13391. - Moved EraseWindowBackground() method to internal methods
  13392. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  13393. is sent via SendMessage on BeginPaint call on Win32
  13394. * XplatUIX11.cs:
  13395. - Added EraseWindowBackground() method
  13396. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  13397. PaintEventStart, which more closely matches Win32 behaviour
  13398. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  13399. - Fixed SetFocus() to properly deal with client and whole windows
  13400. * Hwnd.cs: Added ErasePending property
  13401. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  13402. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  13403. 2005-03-12 Geoff Norton <[email protected]>
  13404. * XplatUIOSX.cs:
  13405. - Fix hard loop when timers exist.
  13406. - Fix bugs with middle and right click for 3 button mice.
  13407. 2005-03-11 Peter Bartok <[email protected]>
  13408. * XplatUIX11.cs:
  13409. - get_WorkingArea: Need to call X directly, GetWindowPos only
  13410. returns cached data now
  13411. - Added sanity check to GetWindowPos hwnd usage
  13412. 2005-03-11 Jackson Harper <[email protected]>
  13413. * BindingManagerBase.cs: This method isn't used anymore as
  13414. PullData now updates the data in the control.
  13415. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  13416. * Form.cs: fixes menu drawing on X11
  13417. * MenuAPI.cs: fixes menu drawing on X11
  13418. 2005-03-11 Peter Bartok <[email protected]>
  13419. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  13420. from Jonathan Gilbert; should fix bug #73606
  13421. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  13422. in Screen coordinates. Thanks, Jordi.
  13423. * Form.cs: Added missing attribute
  13424. 2005-03-11 Peter Bartok <[email protected]>
  13425. * Form.cs:
  13426. - Rudimentary Mdi support
  13427. - Removed outdated FormParent code
  13428. - Implemented lots of missing properties and methods, still missing
  13429. transparency support
  13430. - Added missing attributes
  13431. - Implemented support for MaximumBounds
  13432. - Added firing of various events
  13433. * XplatUI.cs: Added SetIcon() method
  13434. * XplatUIDriver.cs: Added SetIcon() abstract
  13435. * XplatUIOSX.cs: Stubbed out SetIcon() method
  13436. * XplatUIX11.cs:
  13437. - Implemented SetIcon() support
  13438. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  13439. - Switched to unix line endings
  13440. * XplatUIWin32.cs:
  13441. - Made POINT internal so for can access it as part of MINMAX
  13442. - Implemented SetIcon() support
  13443. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  13444. native Mdi support again, might have to go managed)
  13445. * Control.cs: Now fires the StyleChanged event
  13446. * MdiClient.cs: Added; still mostly empty
  13447. 2005-03-10 Peter Bartok <[email protected]>
  13448. * SaveFileDialog.cs: Added emtpy file
  13449. 2005-03-08 Peter Bartok <[email protected]>
  13450. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  13451. in turn triggers OnCreateContro) when creating a handle for the
  13452. first time.
  13453. * TextControl.cs: Fixed endless loop in certain cases when
  13454. replacing the current selection
  13455. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  13456. * ScrollBar.cs:
  13457. - Honors NewValue changes in Scroll events allowing apps to change it
  13458. - Adds First and Last Scroll events
  13459. - Fixes Thumb events
  13460. 2005-03-07 Peter Bartok <[email protected]>
  13461. * Hwnd.cs: Added DefaultClientRectangle property
  13462. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  13463. more detailed debug information
  13464. * XplatUIX11.cs:
  13465. - Fixed size-change feedback loop, where we would pull an old size
  13466. off the queue and mistakenly change our window's size to an
  13467. earlier value
  13468. - Now compressing ConfigureNotify events, to reduce looping and
  13469. redraw issues
  13470. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  13471. is called
  13472. 2005-03-07 Jackson Harper <[email protected]>
  13473. * Binding.cs: Push data pushes from data -> property. Check if the
  13474. property is readonly when attempting to set it.
  13475. 2005-03-07 Jackson Harper <[email protected]>
  13476. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  13477. instead of IsSubclassOf. Pulling data now sets the value on the
  13478. control.
  13479. * PropertyManager.cs:
  13480. * CurrencyManager.cs: Just need to pull data when updating now,
  13481. because PullData will set the value on the control.
  13482. 2005-03-04 Jackson Harper <[email protected]>
  13483. * Binding.cs: Implement data type parsing and converting on pulled
  13484. data. TODO: Are there more ways the data can be converted?
  13485. 2005-03-04 Jackson Harper <[email protected]>
  13486. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  13487. controls Validating method so we can repull the data when the
  13488. control loses focus.
  13489. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  13490. * ColumnHeader.cs:
  13491. - Fixes null string format
  13492. * ListView.cs:
  13493. - Adds enum type checks
  13494. - Fixes redrawing and recalc need after changing some properties
  13495. - Fixes on focus_item set after the event
  13496. - Fixes adding columns after the control has been created
  13497. * ThemeWin32Classic.cs:
  13498. - Fixes CheckBox focus rectangle
  13499. - Fixes ColumnHeader drawing
  13500. 2005-03-03 Jackson Harper <[email protected]>
  13501. * Binding.cs: Bind to <Property>Changed events so we can detect
  13502. when properties are changed and update the data.
  13503. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  13504. * ImageList.cs:
  13505. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  13506. - Fixes ImageList constructor with ImageList container
  13507. - Fixes image scaling (wrong parameters at DrawImage)
  13508. 2005-02-02 Jackson Harper <[email protected]>
  13509. * Binding.cs: Make property searches case-insensitive. Eliminate
  13510. some duplicated code.
  13511. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  13512. * ComboBox.cs:
  13513. - Handle focus event
  13514. - Fix scrollbar events
  13515. - Discard highlighted item if remove it
  13516. - Fixes SelectedItem with strings
  13517. 2005-03-01 Peter Bartok <[email protected]>
  13518. * Control.cs:
  13519. - Fixed Visible property, now follows (once again) parent chain
  13520. to return false if any control in the chain is visible=false
  13521. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  13522. - Fixed several places where is_visible instead of Visible was used
  13523. - Implemented FIXME related to focus selection when setting focused
  13524. control to be invisible
  13525. * XplatUIWin32.cs: Now using proper method to find out if window is
  13526. visible. Thanks to Jordi for pointing it out
  13527. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  13528. * ComboBox.cs: show/hide scrollbar instead of creating it
  13529. 2005-02-27 Jackson Harper <[email protected]>
  13530. * CurrencyManager.cs: Add PositionChanged stuff.
  13531. 2005-02-27 Peter Bartok <[email protected]>
  13532. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  13533. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  13534. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  13535. * XplatUIX11.cs:
  13536. - Implemented GetMenuDC()
  13537. - Implemented GetMenuOrigin()
  13538. - Implemented ReleaseMenuDC()
  13539. - Implemented generation of WM_NCPAINT message
  13540. - Implemented generation and handling of WM_NCCALCSIZE message
  13541. * Form.cs: Added debug helper message for Jordi's menu work
  13542. * Hwnd.cs:
  13543. - Modified ClientRect property; added setter, fixed getter to handle
  13544. setting of ClientRect
  13545. - Added MenuOrigin property
  13546. 2005-02-26 Peter Bartok <[email protected]>
  13547. * XplatUIX11.cs:
  13548. - Destroys the caret if a window that's being destroyed contains it
  13549. - Ignores expose events coming from the X11 queue for windows that
  13550. already are destroyed
  13551. - Now uses the proper variable for handling DestroyNotify, before we
  13552. marked the wrong window as destroyed
  13553. - Improved/added some debug output
  13554. 2005-02-26 Peter Bartok <[email protected]>
  13555. * X11Keyboard.cs: Fixes to work on 64bit systems
  13556. 2005-02-26 Peter Bartok <[email protected]>
  13557. * Control.cs:
  13558. - Now calling OnHandleDestroyed from DestroyHandle()
  13559. instead of Dispose()
  13560. - Removed bogus call to controls.Remove() from DestroyHandle()
  13561. 2005-02-26 Peter Bartok <[email protected]>
  13562. * Control.cs: Properly destroy child windows when our handle is
  13563. destroyed
  13564. 2005-02-25 Peter Bartok <[email protected]>
  13565. * XplatUI.cs:
  13566. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  13567. - Alphabetized Static Methods and Subclasses
  13568. * XplatUIX11.cs:
  13569. - Added XException class to allow custom handling of X11 exceptions
  13570. - Created custom X11 error handler, tied into XException class
  13571. - Added support for MONO_XEXCEPTIONS env var to allow the user
  13572. to either throw an exception on X errors or continue running
  13573. after displaying the error
  13574. - Added handling of DestroyNotify message
  13575. - Added handler for CreateNotify message (still disabled)
  13576. - Improved (tried to at least) Where method to provide file and lineno
  13577. * X11Structs.cs:
  13578. - Added XErrorHandler delegate
  13579. - Added XRequest enumeration (to suppor translation of errors)
  13580. 2005-02-25 Jackson Harper <[email protected]>
  13581. * PropertyManager.cs: Implement editing features
  13582. * CurrencyManager.cs:
  13583. * Binding.cs: First attempt at UpdateIsBinding
  13584. * BindingManagerBase.cs: Call UpdateIsBinding before
  13585. pushing/pulling data.
  13586. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  13587. * MenuAPI.cs: Respect disabled items
  13588. * ThemeWin32Classic.cs
  13589. - Caches ImageAttributes creation for DrawImageDisabled
  13590. - Fixes vertical menu line drawing
  13591. - Draws disabled arrows in disable menu items
  13592. 2005-02-24 Peter Bartok <[email protected]>
  13593. * Hwnd.cs:
  13594. - Added UserData property to allow associating arbitrary objects
  13595. with the handle
  13596. - Fixed leak; now removing Hwnd references from static windows array
  13597. * XplatUIWin32.cs:
  13598. - Fixed Graphics leak in PaintEventEnd
  13599. - Removed usage of HandleData, switched over to Hwnd class
  13600. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  13601. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  13602. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  13603. * ScrollBar.cs: Fixes bug
  13604. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  13605. keyboard navigation enhancements
  13606. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  13607. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  13608. * GroupBox.cs: Add control styles
  13609. * Label.cs: Add control styles
  13610. * UpDownBase.cs: Add control styles
  13611. * ListBox.cs: Add control styles
  13612. * XplatUIWin32.cs: Fixes wrong parameter order
  13613. 2005-02-23 Chris Bacon <[email protected]>
  13614. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  13615. 2005-02-23 Jackson Harper <[email protected]>
  13616. * PropertyManager.cs: Implement property binding. This doesn't
  13617. seem to work yet though as (I think) there are some bugs in
  13618. System.ComponentModel.PropertyDescriptor.
  13619. * BindingContext.cs: Use new PropertyManager constructor.
  13620. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  13621. * ProgressBar.cs: use clip region in ProgressBar
  13622. * ThemeWin32Classic.cs: use clip region in ProgressBar
  13623. 2004-02-22 Jackson Harper <[email protected]>
  13624. * BindingsCollection.cs: Remove some debug code.
  13625. 2005-02-22 Jackson Harper <[email protected]>
  13626. * BindingContext.cs:
  13627. * ControlBindingsCollection.cs:
  13628. * CurrencyManager.cs:
  13629. * Binding.cs:
  13630. * BindingManagerBase.cs: Initial implementation
  13631. * BindingsCollection.cs: Add an internal contains method that the
  13632. BindingManagerBase uses to ensure bindings aren't added twice to
  13633. the collection.
  13634. * PropertyManager.cs: Stubbed out.
  13635. * Control.cs:
  13636. * ContainerControl.cs: Hook up databinding
  13637. 2005-02-22 Geoff Norton <[email protected]>
  13638. * XplatUIOSX.cs:
  13639. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  13640. Fixed Invalidate/Update chain.
  13641. Fixed tons of other minor bugs (this is almost a complete rewrite).
  13642. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  13643. * ComboBox.cs: do subcontrol creation when the control is created
  13644. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  13645. * Label.cs: fixes image drawing (image and imagelist)
  13646. * ThemeWin32Classic.cs: cache brushes
  13647. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  13648. * Form.cs: Move menu drawing code to Theme class
  13649. * ComboBox.cs: Move ComboBox drawing code to Theme class
  13650. * MenuItem.cs: Move menu drawing code to Theme class
  13651. * MenuAPI.cs: Move menu drawing code to Theme class
  13652. * ThemeWin32Classic.cs: New methods
  13653. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  13654. * ListBox.cs: Move Listbox drawing code to Theme class
  13655. * Theme.cs: New methods
  13656. 2005-02-20 Peter Bartok <[email protected]>
  13657. * Control.cs:
  13658. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  13659. only process mnemonics on those)
  13660. - Fixed event sequence for key handling; first calling
  13661. ProcessKeyEventArgs now
  13662. * TextBoxBase.cs:
  13663. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  13664. for processing non-character keys
  13665. - Fixed WM_CHAR to generate proper event sequence before processing
  13666. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  13667. generation
  13668. 2005-02-19 Peter Bartok <[email protected]>
  13669. * UserControl.cs: Added TextChanged event; added attributes
  13670. * SizeGrip.cs: Implemented resizing and optional display of grip
  13671. * Form.cs: Fixed attribute
  13672. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  13673. Changed meaning of ScrollWindow bool argument; instead of the
  13674. clear attribute (which will be true usually anyway), it gives the
  13675. option of moving child controls as well.
  13676. * XplatUIX11.cs:
  13677. - Changed to match new ScrollWindow argument
  13678. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  13679. now handles the implicit parent window a WM puts around us
  13680. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  13681. to work)
  13682. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  13683. * TreeView.cs: Adjusted to new ScrollWindow arguments
  13684. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  13685. * Form.cs: Menu integration with non-client area
  13686. * MenuItem.cs: Menu integration with non-client area
  13687. * MenuAPI.cs: Menu integration with non-client area
  13688. 2005-02-18 Peter Bartok <[email protected]>
  13689. * MethodInvoker.cs: Added
  13690. * MdiLayout.cs: Added
  13691. * SendKeys.cs: Started implementation
  13692. * ErrorIconAlignment.cs: Added
  13693. 2005-02-18 Peter Bartok <[email protected]>
  13694. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  13695. * Form.cs: Added handling for Menu-related Non-client messages
  13696. 2005-02-17 Peter Bartok <[email protected]>
  13697. * UpDownBase.cs: Fixed typo, compilation errors
  13698. * DomainUpDown.cs: Fixed attribute value
  13699. 2005-02-16 Miguel de Icaza <[email protected]>
  13700. * UpDownBase.cs: Attach entry events.
  13701. Propagate events.
  13702. Add ForeColor property, Focused, InterceptArrowKeys (interception
  13703. does not work yet).
  13704. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  13705. * Form.cs:
  13706. - Redraw non client are on Setmenu
  13707. - Calc proper menu starting point
  13708. 2005-02-17 Peter Bartok <[email protected]>
  13709. * Application.cs: Fixed message_filter check
  13710. 2005-02-17 Peter Bartok <[email protected]>
  13711. * Application.cs: Now calls registered message filters
  13712. * DockStyle.cs: Fixed attribute
  13713. * Form.cs: Fixed attribute
  13714. * Menu.cs: Fixed attribute
  13715. * ToolTip.cs: Fixed attribute
  13716. * TreeNode.cs: Added missing attributes and arranged in regions
  13717. * PropertyGrid.cs: Fixed signatures
  13718. * TreeNodeCollection.cs: Added attributes
  13719. * Splitter.cs: Added missing attributes; arranged into regions
  13720. * TabPage.cs: Added missing attributes; arranged into regions
  13721. * TextBoxBase.cs: Added missing attributes
  13722. * TextBox.cs: Added missing attributes
  13723. * ArrangeDirection.cs: Added missing attributes
  13724. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  13725. * ToolBarButton.cs: Fixed attributes
  13726. * AnchorStyles.cs: Fixed attribute
  13727. * TrackBar.cs: Fixed attributes
  13728. * TabControl.cs: Added missing attributes and arranged into regions
  13729. * ToolBar.cs: Fixed attribute
  13730. * StatusBar.cs: Fixed signature, organized into regions and added
  13731. attributes
  13732. * StatusBarPanel.cs: Fixed attributes
  13733. * ContentsResizedEventArgs.cs: Implemented
  13734. * ContentsResizedEventHandler.cs: Implemented
  13735. * DateBoldEventArgs.cs: Implemented
  13736. * DateBoldEventHandler.cs: Implemented
  13737. * UpDownEventArgs.cs: Implemented
  13738. * UpDownEventHandler.cs: Implemented
  13739. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  13740. * Form.cs: first Menu NC refactoring
  13741. * MenuAPI.cs: first Menu NC refactoring
  13742. 2005-02-16 Peter Bartok <[email protected]>
  13743. * ImeMode.cs: Added missing attributes
  13744. * Menu.cs: Fixed attribute
  13745. * GroupBox.cs: Fixed attribute
  13746. * Label.cs: Fixed attribute
  13747. * ColorDialog.cs (RunDialog): Removed TODO attribute
  13748. * ComboBox.cs: Fixed attributes
  13749. * ListControl.cs: Added missing attributes
  13750. * PropertyGrid.cs: Fixed attributes
  13751. * Control.cs: Fixed attributes
  13752. * ListViewItem.cs: Added TypeConverter attribute
  13753. * NotifyIcon.cs: Fixed attributes
  13754. * ListView.cs: Fixed attributes
  13755. * ButtonBase.cs: Fixed attribute
  13756. * ImageList.cs: Added missing attributes
  13757. * ContainerControl.cs: Fixed signature
  13758. * CheckedListBox.cs: Fixed attribute; added missing attributes
  13759. * Panel.cs: Fixed attributes
  13760. * PropertyTabChangedEventArgs.cs: Added missing attribute
  13761. * PropertyValueChangedEventArgs.cs: Added missing attribute
  13762. * Binding.cs: Fixed attribute
  13763. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  13764. * ListBox.cs: Fixed attribute; added missing attributes;
  13765. * ScrollableControl.cs: Added missing attributes
  13766. * PictureBox.cs: Added missing attributes; implemented missing property
  13767. * DateTimePicker.cs: Added missing attributes
  13768. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  13769. * MonthCalendar.cs: Fixed attributes
  13770. * StatusBarPanel.cs: Added missing attributes
  13771. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  13772. 2005-02-16 Peter Bartok <[email protected]>
  13773. * TextBoxBase.cs: The previous method to enforce height yet remember
  13774. the requested high was less than ideal, this is an attempt to do
  13775. it better.
  13776. * Control.cs: Added comment about possible problem
  13777. * Copyright: Updated format
  13778. * GridItemType.cs: Fixed swapped values
  13779. 2005-02-15 Jackson Harper <[email protected]>
  13780. * BaseCollection.cs: Use property so we never access an
  13781. uninitialized list. Also initialize the list in the property.
  13782. 2005-02-15 Peter Bartok <[email protected]>
  13783. * GroupBox.cs (ProcessMnemonic): Implemented
  13784. * Label.cs (ProcessMnemonic): Implemented
  13785. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  13786. hotkeys
  13787. 2005-02-15 Peter Bartok <[email protected]>
  13788. * RadioButton.cs (ProcessMnemonic): Implemented
  13789. * CheckBox.cs (ProcessMnemonic): Implemented
  13790. * Control.cs:
  13791. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  13792. handling
  13793. - Added internal method to allow calling ProcessMnemonic from other
  13794. controls
  13795. * ContainerControl.cs:
  13796. - Started support for handling validation chain handling
  13797. - Implemented ProcessMnemonic support
  13798. - Added Select() call to Active, to make sure the active control
  13799. receives focus
  13800. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  13801. FormParent rewrite)
  13802. * ThemeWin32Classic.cs:
  13803. - DrawCheckBox(): Fixed stringformat to show hotkeys
  13804. - DrawRadioButton(): Fixed stringformat to show hotkeys
  13805. * CommonDialog.cs: Removed WndProc override, not needed
  13806. 2005-02-14 Peter Bartok <[email protected]>
  13807. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  13808. missed those in the rewrite
  13809. 2005-02-14 Miguel de Icaza <[email protected]>
  13810. * NumericUpDown.cs (Increment, ToString): Add.
  13811. (DecimalPlaces): implement.
  13812. Add attributes.
  13813. * UpDownBase.cs: Add the designer attributes.
  13814. 2005-02-13 Peter Bartok <[email protected]>
  13815. * Panel.cs: Removed border_style, now in Control
  13816. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  13817. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  13818. 2005-02-13 Peter Bartok <[email protected]>
  13819. * MouseButtons.cs: Added missing attributes
  13820. * XplatUIStructs.cs: Added enumeration for title styles
  13821. * LeftRightAlignment.cs: Added missing attributes
  13822. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  13823. it compatible with Graphics.FromHwnd()
  13824. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  13825. * Keys.cs: Added missing attributes
  13826. * SelectionRange.cs: Added missing attributes
  13827. * SelectionRangeConverter.cs: Added
  13828. * XplatUI.cs:
  13829. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  13830. ReleaseMenuDC methods
  13831. - Renamed ReleaseWindow to UngrabWindow
  13832. - Added proper startup notice to allow version identification
  13833. * Form.cs:
  13834. - Added missing attributes
  13835. - Removed FormParent concept
  13836. * Label.cs: Removed border_style field, now in Control
  13837. * RadioButton.cs: Now properly selects RadioButton when focus is
  13838. received
  13839. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  13840. * Control.cs:
  13841. - Added missing attributes
  13842. - Added borderstyle handling
  13843. - Removed FormParent concept support
  13844. - Fixed calls to XplatUI to match changed APIs
  13845. - Fixed bug that would case us to use disposed Graphics objects
  13846. - Removed unneeded internal methods
  13847. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  13848. - SelectNextControl(): Fixed to properly check common parents
  13849. * TextBoxBase.cs: Removed border_style field (now in Control)
  13850. * MessageBox.cs:
  13851. - Patch by Robert Thompson ([email protected]): Added icon support,
  13852. fixed calculations for form size
  13853. - Added support for localized strings and icons
  13854. - Improved form size calculations, added border
  13855. * ListView.cs: Removed border_style field (now in Control)
  13856. * X11Structs.cs: Moved several structs from X11 driver here
  13857. * X11Keyboard.cs: Changed debug message
  13858. * Application.cs: Removed FormParent concept support
  13859. * CommonDialog.cs:
  13860. - Resetting end_modal flag
  13861. - Removed FormParent concept support
  13862. * NativeWindow.cs: Removed FormParent concept support
  13863. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  13864. Client area and Non-Client whole window to allow support for WM_NC
  13865. messages
  13866. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  13867. prevent using it until it supports Hwnd as per Geoff Norton's request
  13868. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  13869. * PictureBox.cs: Removed border_style field, now in Control
  13870. * XplatUIWin32.cs: Added new driver methods
  13871. 2005-02-12 Peter Bartok <[email protected]>
  13872. * OpacityConverter.cs: Implemented
  13873. * Hwnd.cs: Internal class to support drivers that need to emulate
  13874. client area/non-client area window behaviour
  13875. 2005-02-11 Peter Bartok <[email protected]>
  13876. * KeysConverter.cs: Implemented
  13877. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  13878. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  13879. * LinkLabel: Added missing attributes
  13880. * MainMenu.cs: fixes ToString
  13881. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  13882. * ListBox.cs: fixes event position
  13883. * TrackBar.cs: adds missing attributes and events
  13884. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  13885. * MenuItem.cs: Use SystemInformation and bug fixes
  13886. * MenuAPI.cs: Use SystemInformation and bug fixes
  13887. 2005-02-09 Jackson Harper <[email protected]>
  13888. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  13889. their keystate otherwise things like VK_MENU get stuck "on".
  13890. 2005-02-09 Kazuki Oikawa <[email protected]>
  13891. * ListBox.cs: Fixes AddRange bug
  13892. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  13893. * ProgressBar.cs
  13894. - Add missing attributes
  13895. - Add missing method
  13896. * CheckedListBox.cs: Added missing attributes
  13897. - Add missing attributes
  13898. - Remove extra method
  13899. * ComboBox.cs: Added missing attributes
  13900. * VScrollBar.cs: Added missing attributes
  13901. * ScrollBar.cs: Added missing attributes
  13902. * ListBox.cs: Fixes signature, add missing consts
  13903. * LinkArea.cs: Added missing attributes
  13904. 2005-02-08 Peter Bartok <[email protected]>
  13905. * Menu.cs: Added missing attributes
  13906. * MainMenu.cs: Added missing attributes
  13907. * GroupBox.cs: Added missing attributes
  13908. * Label.cs: Added missing attributes
  13909. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  13910. * ColorDialog.cs:
  13911. - Added Instance and Options properties
  13912. - Added missing attributes
  13913. * Cursor.cs: Made Serializable
  13914. * NotifyIcon: Added missing attributes
  13915. * MenuItem.cs: Added missing attributes
  13916. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  13917. * Panel.cs: Added Missing attributes
  13918. * MonthCalendar.cs: Fixed CreateParams
  13919. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  13920. * LinkLabel.cs:
  13921. - Fixes signature
  13922. - Fixes issues with links
  13923. - Adds the class attributes
  13924. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  13925. * ComboBox.cs:
  13926. - Fixes button when no items available in dropdown
  13927. - Fixes repainting problems
  13928. - Adds the class attributes
  13929. 2005-02-07 Geoff Norton <[email protected]>
  13930. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  13931. the current theme. Cache these on startup.
  13932. 2005-02-07 Jackson Harper <[email protected]>
  13933. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  13934. the scrollbar buttons when they are depressed.
  13935. 2005-02-07 Geoff Norton <[email protected]>
  13936. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  13937. Get the display size from the main displayid. We currently dont
  13938. support multiple display configurations.
  13939. 2005-02-07 Geoff Norton <[email protected]>
  13940. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  13941. 2005-02-07 Miguel de Icaza <[email protected]>
  13942. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  13943. 2005-02-05 Jonathan Chambers <[email protected]>
  13944. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  13945. 2005-02-04 Jackson Harper <[email protected]>
  13946. * ThemeWin32Classic.cs: Respect the clipping rect when
  13947. drawing. Only fill the intersection of clips and rects so there
  13948. isn't a lot of large fills.
  13949. * ScrollBar.cs: Pass the correct clipping rect to the theme
  13950. engine. Remove some debug code.
  13951. 2005-02-05 John BouAntoun <[email protected]>
  13952. * DateTimePicker.cs:
  13953. - Fixed crash on DateTime.Parse, use Constructor instead
  13954. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  13955. * MenuItem.cs:
  13956. * MenuAPI.cs:
  13957. - Owner draw support (MeasureItem and DrawItem)
  13958. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  13959. * Menu.cs:
  13960. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  13961. - Fixes MenuItems.Add range
  13962. * MenuItem.cs:
  13963. - MergeMenu and Clone and CloneMenu functions
  13964. 2005-02-03 Jackson Harper <[email protected]>
  13965. * ScrollBar.cs: Make abstract
  13966. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  13967. is abstract.
  13968. 2005-02-03 Jackson Harper <[email protected]>
  13969. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  13970. all the unneeded refreshes and uses invalidates with properly
  13971. computed rects.
  13972. 2005-02-03 Peter Bartok <[email protected]>
  13973. * ComponentModel.cs: Added
  13974. * IDataGridEditingService.cs: Added
  13975. * Timer.cs: Added missing attributes
  13976. * ToolTip.cs: Added missing attributes
  13977. 2005-02-03 Jonathan Chambers <[email protected]>
  13978. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  13979. 2005-02-03 Peter Bartok <[email protected]>
  13980. * ListBox.cs: Added missing attributes
  13981. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  13982. * ListBox.cs:
  13983. - Fixes font height after font change
  13984. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  13985. 2005-02-02 Peter Bartok <[email protected]>
  13986. * HandleData.cs: Introduced static methods to allow class
  13987. to be more self-contained and track it's own HandleData objects
  13988. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  13989. HandleData to use new static methods
  13990. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  13991. * Combobox.cs:
  13992. - Fixes default size and PreferredHeight
  13993. - Missing events
  13994. - ObjectCollection.Insert implementation
  13995. * ListControl.cs
  13996. - Fixes signature
  13997. * ListBox.cs:
  13998. - Several fixes
  13999. - ObjectCollection.Insert implementation
  14000. - No selection after clean
  14001. - Small fixes
  14002. 2005-01-31 John BouAntoun <[email protected]>
  14003. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  14004. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  14005. * Combobox.cs:
  14006. - Caches ItemHeight calculation for OwnerDrawVariable
  14007. - Handles dropdown properly
  14008. - Fixes several minor bugs
  14009. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  14010. * ListBox.cs:
  14011. - Fixes 71946 and 71950
  14012. - Fixes changing Multicolumn on the fly
  14013. - Fixes keyboard navigation on Multicolumn listboxes
  14014. 2005-01-31 Geoff Norton <[email protected]>
  14015. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  14016. crash reporter log.
  14017. 2005-01-31 Geoff Norton <[email protected]>
  14018. * XplatUIOSX.cs: Allow applications to actually exit.
  14019. 2005-01-31 Geoff Norton <[email protected]>
  14020. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  14021. their parent at creation time rather than lazily later. Fixes a major
  14022. regression we were experiencing.
  14023. 2005-01-31 John BouAntoun <[email protected]>
  14024. * ThemeWin32Classic.cs: more date time picker painting fixes
  14025. * DateTimePicker.cs: more monthcalendar drop down fixes
  14026. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  14027. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  14028. * ScrollBar.cs:
  14029. - When moving the thumb going outside the control should stop the moving
  14030. - Adds the firing of missing events
  14031. - Fixes no button show if Size is not specified
  14032. - End / Home keys for keyboard navigation
  14033. 2005-01-30 Peter Bartok <[email protected]>
  14034. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  14035. sanity check to prevent theoretical loop
  14036. * XplatUIWin32.cs (SetVisible): Removed debug output
  14037. * XplatUIX11.cs (SystrayChange): Added sanity check
  14038. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  14039. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  14040. behaviour, valid until the X11 client window rewrite is done
  14041. * TextBox.cs (ctor): Setting proper default foreground and background
  14042. colors
  14043. 2005-01-30 John BouAntoun <[email protected]>
  14044. * Theme: Added DrawDateTimePicker to interface
  14045. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  14046. * DateTimePicker.cs: Created (still needs keys and painting code)
  14047. * DateTimePickerFormat.cs: added
  14048. * MonthCalendar.cs: fixed CreateParams for popup window mode
  14049. 2005-01-29 Peter Bartok <[email protected]>
  14050. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  14051. this should also the calculations for ligher/darker
  14052. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  14053. 2005-01-29 Peter Bartok <[email protected]>
  14054. * ArrangeDirection.cs: Added
  14055. * ArrangeStartingPositon.cs: Added
  14056. * SystemInformation.cs: Implemented
  14057. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  14058. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  14059. used by SystemInformation class
  14060. * X11Strucs.cs: Added XSizeHints structure
  14061. * MenuAPI.cs:
  14062. - Fixed CreateParams to make sure the menu window is always visible
  14063. - TrackPopupMenu: Added check to make sure we don't draw the
  14064. menu offscreen
  14065. 2005-01-29 Peter Bartok <[email protected]>
  14066. * HandleData.cs: Added method for altering invalid area
  14067. * TextBoxBase.cs: Implemented TextLength
  14068. 2005-01-28 Peter Bartok <[email protected]>
  14069. * XplatUIX11.cs: Improvement over last patch, not sending
  14070. the WM_PAINT directly anymore, instead we scroll any pending
  14071. exposed areas and let the system pick out the WM_PAINT later
  14072. 2005-01-28 Peter Bartok <[email protected]>
  14073. * SWF.csproj: Deleted, no longer used. Instead,
  14074. Managed.Windows.Forms/SWF.csproj should be used
  14075. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  14076. directly, to avoid a potential race condition with the next
  14077. scroll
  14078. 2005-01-28 Peter Bartok <[email protected]>
  14079. * XplatUI.cs: Made class internal
  14080. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  14081. * CheckedListBox.cs:
  14082. - Draw focus
  14083. - Fixed Drawing
  14084. - Missing methods and events
  14085. 2005-01-27 Peter Bartok <[email protected]>
  14086. * Application.cs (Run): Don't use form if we don't have one
  14087. 2005-01-27 Peter Bartok <[email protected]>
  14088. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  14089. 2005-01-27 Peter Bartok <[email protected]>
  14090. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  14091. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  14092. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  14093. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  14094. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  14095. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  14096. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  14097. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  14098. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  14099. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  14100. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  14101. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  14102. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  14103. * Combobox.cs:
  14104. - Draw focus on Simple Combobox
  14105. - Fixes drawing issues
  14106. - fixes 71834
  14107. 2005-01-27 Peter Bartok <[email protected]>
  14108. * Form.cs:
  14109. - Place window in default location, instead of hardcoded 0/0
  14110. - Send initial LocationChanged event
  14111. * Control.cs:
  14112. - UpdateBounds after creation to find out where the WM placed us
  14113. - Make sure that if the ParentForm changes location the Form
  14114. is notified
  14115. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  14116. to the root, but to whatever the WM placed around us.
  14117. Translate to root coordinates before returning toplevel
  14118. coordinates
  14119. * XplatUIWin32.cs: Removed debug output
  14120. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  14121. flag to GetWindowPos, to allow translation of coordinates on X11
  14122. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  14123. * ListBox.cs: connect LostFocus Event
  14124. 2005-01-27 Peter Bartok <[email protected]>
  14125. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  14126. XplatUIX11.cs: Extended the Systray API
  14127. * Form.cs: Removed debug output
  14128. * Application.cs: Fixed focus assignment, always need to call
  14129. XplatUI.Activate() since Form.Activate() has rules that may
  14130. prevent activation
  14131. * NotifyIcon.cs: Should be complete now
  14132. * ToolTip.cs: Worked around possible timer bug
  14133. 2005-01-27 Jackson Harper <[email protected]>
  14134. * TabControl.cs:
  14135. - Only invalidate the effected tabs when the
  14136. selected index changes. This reduces drawing and gets rid of some
  14137. flicker.
  14138. - Only refresh if the tabs need to be shifted, otherwise only
  14139. invalidate the slider button.
  14140. - On windows the tabs are not filled to right if the slider is
  14141. visible.
  14142. 2005-01-27 Jackson Harper <[email protected]>
  14143. * TabControl.cs: Only refresh on mouseup if we are showing the
  14144. slider. Also only invalidate the button whose state has changed.
  14145. 2005-01-26 Peter Bartok <[email protected]>
  14146. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  14147. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  14148. and SystrayRemove() methods
  14149. * XplatUIOSX.cs: Stubbed Systray methods
  14150. * XplatUIX11.cs:
  14151. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  14152. methods
  14153. - Fixed broken XChangeProperty calls (marshalling messed up things)
  14154. * X11Structs.cs: Added enums and structs required for Size hinting
  14155. * NotifyIcon.cs: Added & implemented
  14156. 2005-01-26 Jackson Harper <[email protected]>
  14157. * TabControl.cs: Space vertically layed out tabs properly.
  14158. 2005-01-26 Peter Bartok <[email protected]>
  14159. * Form.cs (CreateClientParams): Always set the location to 0,0
  14160. since we're a child window.
  14161. * Control.cs (SetVisibleCore): Always explicitly setting the location
  14162. of a toplevel window, apparently X11 doesn't like to move windows
  14163. while they're not mapped.
  14164. 2005-01-26 Jackson Harper <[email protected]>
  14165. * TabControl.cs: Implement FillToRight size mode with vertically
  14166. rendered tabs.
  14167. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  14168. * ControlPaint.cs, ThemeWin32Classic.cs
  14169. - Fixes DrawFocusRectangle
  14170. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  14171. * MenuAPI.cs:
  14172. - MenuBar tracking only starts when item is first clicked
  14173. - Fixes menu hidding for multiple subitems
  14174. - Unselect item in MenuBar when item Executed
  14175. - Fixes bug 71495
  14176. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  14177. * ListControl.cs:
  14178. - IsInputKey for ListBox
  14179. * ListBox.cs:
  14180. - Focus item
  14181. - Shift and Control item selection
  14182. - Implement SelectionMode.MultiExtended
  14183. - Fixes RightToLeft
  14184. * ComboBox.cs:
  14185. - IsInputKey implemented
  14186. - Do not generate OnTextChangedEdit on internal txt changes
  14187. 2005-01-23 Peter Bartok <[email protected]>
  14188. * AccessibleObject.cs: Partially implemented Select()
  14189. * MonthCalendar.cs: Added missing attributes and events
  14190. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  14191. form can properly override CreateParams.
  14192. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  14193. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  14194. Control performs Invalidate & Update
  14195. * NativeWindow (CreateHandle): Added special handling for Form
  14196. and Form.FormParent classes to allow overriding of From.CreateParams
  14197. * Control.cs:
  14198. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  14199. name 'owner'
  14200. - ControlNativeWindow: Added Owner property
  14201. - Removed usage of Refresh() on property changes, changed into
  14202. Invalidate(), we need to wait until the queue is processed for
  14203. updates, direct calls might cause problems if not all vars for
  14204. Paint are initialized
  14205. - Added call to UpdateStyles() when creating the window, to set any
  14206. styles that CreateWindow might have ignored.
  14207. - Added support for Form CreateParent overrides to UpdateStyles()
  14208. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  14209. CreateParams are now properly overridable
  14210. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  14211. CreateParams are now properly overridable
  14212. 2005-01-23 Miguel de Icaza <[email protected]>
  14213. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  14214. OnTextBoxChanged.
  14215. Capture LostFocus and OnTextBoxChanged. The later introduces a
  14216. recursive invocation that I have not figured out yet.
  14217. Reset the timer when not using (it was accumulating).
  14218. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  14219. user has made changes that require validation.
  14220. Reset changing to avoid loops.
  14221. 2005-01-22 Miguel de Icaza <[email protected]>
  14222. * NumericUpDown.cs: Display value at startup.
  14223. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  14224. ValidateEditText.
  14225. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  14226. filled in. Added some basic parsing of text.
  14227. Still missing the OnXXX method overrides, and figuring out the
  14228. events that must be emitted.
  14229. * UpDownBase.cs: Handle UserEdit on the Text property.
  14230. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  14231. * ComboBox.cs:
  14232. - Fixes IntegralHeight
  14233. - ToString method
  14234. 2005-01-21 Jackson Harper <[email protected]>
  14235. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  14236. is set so that the page visibility is updated and the tabs are
  14237. sized correctly.
  14238. 2005-01-21 Jackson Harper <[email protected]>
  14239. * TabControl.cs: Use cliping rectangle for blitting. Give the
  14240. theme the clipping rect so we can do clipping while
  14241. drawing. Remove some debug code.
  14242. 2005-01-21 Jackson Harper <[email protected]>
  14243. * TabPage.cs: Add a new method so tab pages can force the tab
  14244. control to recalculate the tab page sizes.
  14245. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  14246. sizes.
  14247. 2005-01-20 Jackson Harper <[email protected]>
  14248. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  14249. 2005-01-20 Jackson Harper <[email protected]>
  14250. * TreeView.cs: Set the bounds for nodes properly. They were
  14251. getting screwed up when checkboxes were not enabled, but images
  14252. were.
  14253. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  14254. * ListBox.cs:
  14255. - Owner draw support
  14256. - Fixes
  14257. 2005-01-20 Jackson Harper <[email protected]>
  14258. * XplatUIStructs.cs: More misc keys
  14259. * X11Keyboard.cs: Ignore some control keys.
  14260. 2005-01-20 Jackson Harper <[email protected]>
  14261. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  14262. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  14263. 2005-01-19 Peter Bartok <[email protected]>
  14264. * Control.cs: Un-selecting the control when it is loosing focus
  14265. 2005-01-19 Jackson Harper <[email protected]>
  14266. * TreeView.cs: Hook up to the text controls leave event so we can
  14267. end editing when the users clicks outside the text box.
  14268. 2005-01-19 Jackson Harper <[email protected]>
  14269. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  14270. get set in the conversion array.
  14271. 2005-01-19 Peter Bartok <[email protected]>
  14272. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  14273. focus is properly set
  14274. * Button.cs:
  14275. - Added missing attributes
  14276. - removed styles, those are already set in the base class
  14277. * ButtonBase.cs:
  14278. - Added missing attributes
  14279. - Added clip window styles
  14280. * CheckBox.cs: Added missing attributes
  14281. * CommonDialog.cs:
  14282. - FormParentWindow.CreateParams: Added required clip styles
  14283. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  14284. also filters modifier keys
  14285. * MessageBox.cs:
  14286. - Added assignment of Accept and Cancel button to enable Enter
  14287. and Esc keys in MessageBox dialogs
  14288. - FormParentWindow.CreateParams: Added required clip styles
  14289. * RadioButton.cs: Added missing attributes
  14290. * TextControl.cs: No longer draws selection if control does not
  14291. have focus
  14292. * TextBoxBase.cs:
  14293. - Now draws simple rectangle around test area to make it obvious
  14294. there's a control. This is a hack until we properly support borders
  14295. - A few simple fixes to support selections better, now erases selected
  14296. text when typing, and resets selection when using movement keys
  14297. 2005-01-19 Miguel de Icaza <[email protected]>
  14298. * UpDownBase.cs: Added some new properties.
  14299. * DomainUpDown.cs: Implement a lot to get my test working.
  14300. 2005-01-19 Geoff Norton <[email protected]>
  14301. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  14302. 2005-01-19 Geoff Norton <[email protected]>
  14303. * OSXStructs (WindowAttributes): Fixed csc complaints
  14304. 2005-01-19 Geoff Norton <[email protected]>
  14305. * XplayUIOSX.cs:
  14306. OSXStructs.cs: Initial refactor to move enums and consts into
  14307. OSXStructs and use them in the driver for greater readability.
  14308. 2005-01-19 Geoff Norton <[email protected]>
  14309. * XplatUIOSX.cs: Initial support for Standard Cursors.
  14310. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  14311. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  14312. * ComboBox.cs: ability to change style when the ctrl is already
  14313. created, missing methods and events, bug fixes, signature fixes
  14314. 2005-01-19 Peter Bartok <[email protected]>
  14315. * Cursors.cs (ctor): Added ctor to fix signature
  14316. 2005-01-18 Peter Bartok <[email protected]>
  14317. * Button.cs: Implemented DoubleClick event
  14318. * ButtonBase.cs:
  14319. - Fixed keyboard handling to behave like MS, where the press of
  14320. Spacebar is equivalent to a mousedown, and the key release is
  14321. equivalent to mouseup. Now a spacebar push will give the same
  14322. visual feedback like a mouse click.
  14323. - Added missing attributes
  14324. - Added ImeModeChanged event
  14325. - Added support for generating DoubleClick event for derived classes
  14326. * CheckBox.cs:
  14327. - Implemented DoubleClick event
  14328. - Added missing attributes
  14329. * CommonDialog.cs: Added missing attribute
  14330. * ContextMenu.cs: Added missing attributes
  14331. * RadioButton.cs:
  14332. - AutoChecked buttons do not allow to be unselected when clicked
  14333. (otherwise we might end up with no selected buttons in a group)
  14334. - Added missing attributes
  14335. - Implemented DoubleClickEvent
  14336. * ThreadExceptionDialog.cs: Enabled TextBox code
  14337. 2005-01-18 Peter Bartok <[email protected]>
  14338. * Form.cs: Removed debug output
  14339. * Button.cs: Added support for DoubleClick method
  14340. 2005-01-18 Peter Bartok <[email protected]>
  14341. * Form.cs:
  14342. - Added method to parent window that allows triggering size
  14343. calculations when a menu is added/removed
  14344. - set_Menu: Cleaned up mess from early days of Form and Control,
  14345. now properly triggers a recalc when a menu is added/removed
  14346. - Added case to select form itself as focused form if no child
  14347. controls exist
  14348. - Added PerformLayout call when showing dialog, to ensure properly
  14349. placed controls
  14350. * Control.cs:
  14351. - Select(): Made internal so Form can access it
  14352. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  14353. status
  14354. * Application.cs (Run): Removed hack and calls PerformLayout instead
  14355. to trigger calculation when Form becomes visible
  14356. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  14357. * ComboBox.cs: fixes for ownerdraw
  14358. 2005-01-18 Peter Bartok <[email protected]>
  14359. * TextControl.cs:
  14360. - Sentinel is no longer static, each Document gets it's own, this
  14361. avoids locking or alternatively overwrite problems when more
  14362. than one text control is used simultaneously.
  14363. - Switched to use Hilight and HilightText brushes for text selection
  14364. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  14365. 2005-01-18 Peter Bartok <[email protected]>
  14366. * Control.cs:
  14367. - Hooked up the following events:
  14368. o ControlAdded
  14369. o ControlRemoved
  14370. o HandleDestroyed
  14371. o ImeModeChanged
  14372. o ParentChanged
  14373. o TabStopChanged
  14374. o Invalidated
  14375. o SystemColorsChanged
  14376. o ParentFontChanged
  14377. o Move
  14378. - Removed debug output
  14379. - Added a call to the current theme's ResetDefaults when a color change
  14380. is detected
  14381. * Form.cs: Now setting the proper ImeMode
  14382. * Theme.cs: Defined a method to force recreation of cached resources
  14383. and rereading of system defaults (ResetDefaults())
  14384. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  14385. 2005-01-17 Peter Bartok <[email protected]>
  14386. * Control.cs: Added missing attributes
  14387. 2005-01-17 Jackson Harper <[email protected]>
  14388. * TreeNode.cs: Implement editing. Add missing properties selected
  14389. and visible.
  14390. * TreeView.cs: Implement node editing. Also some fixes to use
  14391. Invalidate (invalid area) instead of Refresh when selecting.
  14392. 2005-01-17 Peter Bartok <[email protected]>
  14393. * Control.cs:
  14394. - Implemented InvokeGotFocus() method
  14395. - Implemented InvokeLostFocus() method
  14396. - Implemented InvokePaint() method
  14397. - Implemented InvokePaintBackground() method
  14398. - Implemented InvokeClick() method
  14399. - Implemented FindForm() method
  14400. - Implemented RectangleToClient() method
  14401. - Implemented ClientToRectangle() method
  14402. - Implemented ResetBackColor() method
  14403. - Implemented ResetCursor() method
  14404. - Implemented ResetFont() method
  14405. - Implemented ResteForeColor() method
  14406. - Implemented ResetImeMode() method
  14407. - Implemented ResetLeftToRight() method
  14408. - Implemented ResetText() method
  14409. - Implemented Scale() methods
  14410. - Implemented ScaleCore() method
  14411. - Implemented Update() method
  14412. - Removed unused variables
  14413. - Stubbed AccessibilityNotifyClients and
  14414. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  14415. with those yet)
  14416. - Now setting proper default for RightToLeft property
  14417. - Fixed bug in SetClientSizeCore that would cause windows to get
  14418. really big
  14419. - Now sending Click/DoubleClick events
  14420. - Now selecting controls when left mouse button is clicked on
  14421. selectable control
  14422. * AccessibleEvents.cs: Added
  14423. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  14424. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  14425. * XplatUIWin32.cs: Implemented UpdateWindow() method
  14426. * XplatUIX11.cs: Implemented UpdateWindow() method
  14427. * Form.cs: Removed stray semicolon causing CS0162 warning
  14428. * ThemeWin32Classic.cs: Fixed unused variable warnings
  14429. * ScrollableControl.cs: Now calls base method for ScaleCore
  14430. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  14431. style to avoid interference with internal click handler (which is
  14432. different than standard Control click handling)
  14433. * RadioButton.cs:
  14434. - Now unchecks all sibling radio buttons when control is
  14435. selected (Fixes #68756)
  14436. - Removed internal tabstop variable, using the one inherited from
  14437. Control
  14438. 2005-01-17 Jackson Harper <[email protected]>
  14439. * NavigateEventArgs.cs: Fix base type.
  14440. * LinkLabel.cs: Sig fix
  14441. 2005-01-17 Jackson Harper <[email protected]>
  14442. * TreeView.cs: Only invalidate the effected nodes bounds when
  14443. selecting nodes.
  14444. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  14445. * XplatUIWin32.cs: fixes Win32 marshaling
  14446. * XplatUIX11.cs: fixes method signature
  14447. 2005-01-17 Peter Bartok <[email protected]>
  14448. * XplatUIX11.cs: Clean up resources when we no longer need them
  14449. 2005-01-17 Peter Bartok <[email protected]>
  14450. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  14451. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  14452. and DestroyCursor() methods.
  14453. * Cursor.cs: Partially implemented, now supports standard cursors;
  14454. still contains some debug code
  14455. * Cursors.cs: Implemented class
  14456. * Control.cs:
  14457. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  14458. appropriate cursor
  14459. - Implemented Cursor property
  14460. - Replaced break; with return; more straightforwar and possibly
  14461. faster
  14462. - Now properly setting the result for WM_HELP
  14463. * X11Structs.cs: Added CursorFontShape enum
  14464. * XplatUIStructs.cs:
  14465. - Added StdCursor enum (to support DefineStdCursor() method)
  14466. - Added HitTest enum (to support sending WM_SETCURSOR message)
  14467. * XplatUIX11.cs:
  14468. - Now sends the WM_SETCURSOR message
  14469. - Implemented new cursor methods
  14470. * XplatUIOSX.cs: Stubbed new cursor methods
  14471. * XplatUIWin32.cs:
  14472. - Implemented new cursor methods
  14473. - Added GetSystemMetrics function and associated enumeration
  14474. 2005-01-15 Peter Bartok <[email protected]>
  14475. * Control.cs:
  14476. - WndProc(): Now handles EnableNotifyMessage
  14477. - SelectNextControl(): Fixed bug where if no child or sibling
  14478. controls exist we looped endlessly
  14479. 2005-01-14 Jackson Harper <[email protected]>
  14480. * TreeView.cs: Recalculate the tab pages when a new one is added
  14481. so that the proper bounding rects are created.
  14482. 2005-01-14 Jackson Harper <[email protected]>
  14483. * TreeView.cs: Draw a gray box instead of a grip in the lower
  14484. right hand corner when there are both horizontal and vertical
  14485. scroll bars.
  14486. 2005-01-14 Jackson Harper <[email protected]>
  14487. * Control.cs: When erasing backgrounds use FromHwnd instead of
  14488. FromHdc when there is a NULL wparam. This occurs on the X driver.
  14489. * XplatUIX11.cs: Set the wparam to NULL.
  14490. 2005-01-13 Jackson Harper <[email protected]>
  14491. * PictureBox.cs: Implement missing methods (except ToString, need
  14492. to test that on windows) and events. When visibility is changed we
  14493. need to redraw the image because the buffers are killed. When size
  14494. is changed refresh if the sizemode needs it.
  14495. 2005-01-13 Peter Bartok <[email protected]>
  14496. * Control.cs (SelectNextControl): Was using wrong method to select
  14497. a control
  14498. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  14499. * ComboBox.cs: fixes dropstyle
  14500. 2005-01-13 Peter Bartok <[email protected]>
  14501. * Form.cs:
  14502. - Implemented Select() override
  14503. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  14504. - Now sets keyboard focus on startup
  14505. * Control.cs (SelectNextControl): Now properly handles directed=true
  14506. * TextBoxBase.cs:
  14507. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  14508. - Added (really bad) focus rectangle (mostly for testing)
  14509. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  14510. to enforce redraw on focus changes
  14511. * ContainerControl.cs:
  14512. - Fixed detection of Shift-Tab key presses
  14513. - Fixed traversal with arrow keys
  14514. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  14515. gonna keep this or if it's complete yet
  14516. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  14517. * ComboBox.cs: missing properties, fixes
  14518. 2005-01-13 Peter Bartok <[email protected]>
  14519. * Panel.cs (ctor): Setting Selectable window style to off
  14520. * Splitter.cs (ctor): Setting Selectable window style to off
  14521. * GroupBox.cs (ctor): Setting Selectable window style to off
  14522. * Label.cs (ctor): Setting Selectable window style to off
  14523. 2005-01-12 Miguel de Icaza <[email protected]>
  14524. * UpDownBase.cs (InitTimer): If the timer has been already
  14525. created, enable it.
  14526. Use a TextBox instead of a Label.
  14527. 2005-01-12 Jackson Harper <[email protected]>
  14528. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  14529. draw the connecting node lines (when ShowLines is true).
  14530. * TreeNode.cs: The nodes index can now be updated. This is used
  14531. when a node collection is sorted.
  14532. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  14533. insert or an existing unsorted node collection can be sorted.
  14534. 2005-01-12 Peter Bartok <[email protected]>
  14535. * ContainerControl.cs: Implemented ProcessDialogKeys()
  14536. 2005-01-12 Peter Bartok <[email protected]>
  14537. * Control.cs:
  14538. - Implemented SelectNextControl() method
  14539. - Several focus related bug fixes
  14540. - Fixed Docking calculations to match MS documentation and
  14541. behaviour
  14542. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  14543. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  14544. bug fixes
  14545. 2005-01-12 Peter Bartok <[email protected]>
  14546. * Control.cs:
  14547. - Fixed broken Contains() method
  14548. - Implemented GetNextControl() method. Finally. This is the pre-
  14549. requisite for focus handling.
  14550. 2005-01-12 Peter Bartok <[email protected]>
  14551. * OSXStrucs.cs: Added
  14552. 2005-01-12 Peter Bartok <[email protected]>
  14553. * XplatUIWin32.cs:
  14554. - Removed PeekMessageFlags
  14555. - Implemented SetWindowStyle() method
  14556. * XplatUIStructs.cs: Added PeekMessageFlags
  14557. * X11Structs: Added missing border_width field to XWindowChanges struct
  14558. * XplatUIX11.cs:
  14559. - PeekMessage: Now throws exception if flags which are not yet
  14560. supported are passed
  14561. - Implemented SetWindowStyle() method
  14562. - Fixed SetZOrder to handle AfterHwnd properly
  14563. * XplatUI.cs: Added SetWindowStyle() method
  14564. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  14565. * Control.cs:
  14566. - Implemented UpdateStyles() method
  14567. - Implemented UpdateZOrder() method
  14568. * XplatUIOSX.cs: Added SetWindowStyle() stub
  14569. 2005-01-12 Geoff Norton <[email protected]>
  14570. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  14571. button mouse).
  14572. 2005-01-11 Jackson Harper <[email protected]>
  14573. * TreeView.cs: Still need to draw lines to siblings even if out of
  14574. the current node is out of the clip.
  14575. 2005-01-11 Jackson Harper <[email protected]>
  14576. * TreeView.cs: When setting the hbar/vbar/grip position use
  14577. SetBounds so that perform layout is only called once. Also suspend
  14578. and resume layout so layout is only done once for all controls.
  14579. - Removed some debug fluff
  14580. * SizeGrip.cs: Call base implmentation in overriding methods.
  14581. - When visibility is changed the drawing buffers are killed so we
  14582. need to redraw.
  14583. 2005-01-11 Jackson Harper <[email protected]>
  14584. * TreeView.cs: Calculate the open node count while drawing. This
  14585. saves us an entire tree traversal for every paint operation. Use
  14586. a member var for the open node count so less vars are passed around.
  14587. 2005-01-11 John BouAntoun <[email protected]>
  14588. * MonthCalendar.cs:
  14589. - fixed selection to use mousemove, not mouse polling on timer
  14590. * ThemeWin32Classic.cs
  14591. - removed redundant unused variable "no_more_content"
  14592. 2005-01-11 Peter Bartok <[email protected]>
  14593. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  14594. are pending, so it now calls PeekMessage instead of GetMessage;
  14595. implemented a incomplete version of PeekMessage
  14596. 2005-01-11 Peter Bartok <[email protected]>
  14597. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  14598. I18n issues
  14599. * TextBoxBase.cs: Added sending of TextChanged event
  14600. 2005-01-10 Jackson Harper <[email protected]>
  14601. * TreeView.cs: Try not to draw outside the clipping rectangle on
  14602. each node element.
  14603. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  14604. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  14605. 2005-01-10 Jackson Harper <[email protected]>
  14606. * TreeView.cs:
  14607. - Implement fast scrolling. Now only the newly
  14608. exposed nodes are drawn and the old image is moved using the
  14609. XplatUI::ScrollWindow method.
  14610. - Factor in height of nodes when calculating whether or not the
  14611. node is in the clipping rect.
  14612. 2005-01-10 Jackson Harper <[email protected]>
  14613. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  14614. 2005-01-10 Peter Bartok <[email protected]>
  14615. * Application.cs: Added temporary hack to resolve all our resize
  14616. required issues on startup. This will get fixed properly at
  14617. some point in the future
  14618. 2005-01-10 Jackson Harper <[email protected]>
  14619. * SizeGrip.cs: New internal class that is used as a sizing
  14620. grip control...hence the name.
  14621. 2005-01-10 Peter Bartok <[email protected]>
  14622. * Control.cs: Implemented proper TabIndex handling, now assigning
  14623. a tabindex when a control is added to a container
  14624. * GroupBox.cs (ctor): Now sets the Container style bit, required
  14625. for Control.GetNextControl()
  14626. 2005-01-09 Jackson Harper <[email protected]>
  14627. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  14628. 2005-01-09 Peter Bartok <[email protected]>
  14629. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  14630. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  14631. an overload for ScrollWindow to allow only scrolling a rectangle
  14632. 2005-01-09 Peter Bartok <[email protected]>
  14633. * Form.cs:
  14634. - Implemented SetDesktopBounds method
  14635. - Implemented SetDesktopLocation method
  14636. 2005-01-08 Jackson Harper <[email protected]>
  14637. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  14638. the node count has changed, this removes to VScroll::Refresh calls
  14639. when drawing.
  14640. 2005-01-08 Geoff Norton <[email protected]>
  14641. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  14642. 2005-01-07 Jackson Harper <[email protected]>
  14643. * TreeNode.cs: Just update the single node when it is
  14644. checked. Don't refresh after toggling, the Expand/Collapse already
  14645. handles this.
  14646. * TreeView.cs: Respect clipping a little more when drawing. Try
  14647. not to redraw things that don't need to be redrawn. Just hide the
  14648. scrollbars when they are no longer needed instead of removing
  14649. them, so they don't have to be created again and again.
  14650. 2005-01-07 Geoff Norton <[email protected]>
  14651. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  14652. coordinates to window space to place the caret properly, FIXED.
  14653. Implement GetWindowState & SetWindowState
  14654. 2005-01-06 Peter Bartok <[email protected]>
  14655. * Form.cs:
  14656. - Implemented ClientSize property
  14657. - Implemented DesktopBounds property
  14658. - Implemented DesktopLocation property
  14659. - Implemented IsRestrictedWindow property
  14660. - Implemented Size property
  14661. - Implemented TopLevel property
  14662. - Implemented FormWindowState property
  14663. * Control.cs:
  14664. - Implemented GetTopLevel() method
  14665. - Implemented SetTopLevel() method
  14666. * X11Structs.cs (Atom):
  14667. - Added AnyPropertyType definition
  14668. - Added MapState definiton and updated XWindowAttribute struct
  14669. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  14670. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  14671. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  14672. * XplatUIWin32.cs:
  14673. - Implemented GetWindowState() and SetWindowState() methods
  14674. - Fixed Win32GetWindowLong return type
  14675. * XplatUIX11.cs:
  14676. - Introduced central function for sending NET_WM messages
  14677. - Implemented GetWindowState() and SetWindowState() methods
  14678. * TextBoxBase.cs (set_Lines):
  14679. - Now uses Foreground color for text added via Text property (Duh!)
  14680. - Added code to remember programmatically requested size (fixes
  14681. behaviour when Multiline is set after Size)
  14682. - Added AutoSize logic
  14683. 2005-01-06 Jackson Harper <[email protected]>
  14684. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  14685. 2005-01-06 Jackson Harper <[email protected]>
  14686. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  14687. set to less then 0.
  14688. 2005-01-06 Jackson Harper <[email protected]>
  14689. * ScrollableControl.cs: Lazy init the scrollbars.
  14690. 2005-01-06 Jackson Harper <[email protected]>
  14691. * Theme.cs: Speed up getting pens and solid brushes, by using
  14692. their ARGB as a hash instead of tostring and not calling Contains.
  14693. 2005-01-06 Peter Bartok <[email protected]>
  14694. * Form.cs:
  14695. - Implemented OnActivated and OnDeactivate event trigger
  14696. - Implemented Activate() method
  14697. - Fixed ShowDialog() to activate the form that was active before
  14698. the dialog was shown
  14699. * XplatUIX11.cs:
  14700. - Added global active_window var that tracks the currently active
  14701. X11 window
  14702. - Now always grabs Property changes from the root window to always
  14703. catch changes on the active window property
  14704. - Added code to PropertyNotify handler to send Active/Inactive
  14705. messages when state changes. This puts X11 and Win32 en par on
  14706. WM_ACTIVATE notifications (except for double notifications when
  14707. the user clicks away from our modal window to another one of our
  14708. windows)
  14709. 2005-01-05 Jackson Harper <[email protected]>
  14710. * ImageList.cs: Implment ctor
  14711. 2005-01-05 Geoff Norton <[email protected]>
  14712. * XplatUIOSX.cs: Implement Activate/SetTopmost
  14713. 2005-01-05 Geoff Norton <[email protected]>
  14714. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  14715. 2005-01-05 Geoff Norton <[email protected]>
  14716. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  14717. 2005-01-05 Peter Bartok <[email protected]>
  14718. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  14719. XplatUIOSX.cs: Added GetActive method to return the currently
  14720. active window for the application (or null, if none is active)
  14721. * Form.cs:
  14722. - Implemented ActiveForm
  14723. - Commented out owner assignment for modal dialogs (causes problems
  14724. on Win32, since the owner will be disabled)
  14725. - Reworked some Active/Focus handling (still incomplete)
  14726. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  14727. (causes problems on Win32, since the owner will be disabled)
  14728. * IWin32Window: Added ComVisible attribute
  14729. 2005-01-05 Peter Bartok <[email protected]>
  14730. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  14731. required XplatUI functions.
  14732. 2005-01-05 Peter Bartok <[email protected]>
  14733. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  14734. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  14735. to implement focus and activation handling; still incomplete and
  14736. with debug output
  14737. 2005-01-04 Peter Bartok <[email protected]>
  14738. * TextBoxBase.cs: Changed access level for Document property to
  14739. match switch to internal for TextControl
  14740. 2005-01-04 Peter Bartok <[email protected]>
  14741. * AccessibleObject: Added ComVisible attribute
  14742. 2005-01-04 Jackson Harper <[email protected]>
  14743. * X11Keyboard.cs: Remove unneeded var.
  14744. 2005-01-04 Jackson Harper <[email protected]>
  14745. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  14746. but PAINT.
  14747. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  14748. ClientMessage. This makes apps exit cleanly (more often).
  14749. 2005-01-04 Jackson Harper <[email protected]>
  14750. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  14751. handling focus, return correct colors and fonts,
  14752. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  14753. handle selection, horizontal scrolling, and mouse interaction.
  14754. 2005-01-04 Peter Bartok <[email protected]>
  14755. * ICommandExecutor.cs: Added
  14756. * IDataGridColumnStyleEditingNotificationService.cs: Added
  14757. * IFeatureSupport.cs: Added
  14758. * IFileReaderService.cs: Added
  14759. * IDataObject.cs: Added ComVisible attribute
  14760. * AmbientProperties.cs: Added
  14761. * BaseCollection.cs: Added missing attributes
  14762. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  14763. * BaseCollection.cs: Added missing attributes
  14764. * Binding.cs: Added TypeConverter attribute
  14765. * BindingContext.cs: Added DefaultEvent attribute
  14766. * BindingsCollection.cs: Added DefaultEvent attribute
  14767. * Button.cs: Added DefaultValue attribute
  14768. * DragEventArgs.cs: Added ComVisible attribute
  14769. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  14770. * KeyEventArgs.cs: Added ComVisible attribute
  14771. * KeyPressEventArgs.cs: Added ComVisible attribute
  14772. * MouseEventArgs.cs: Added ComVisible attribute
  14773. * NavigateEventArgs.cs: Added
  14774. * NavigateEventHandler.cs: Added
  14775. * FeatureSupport.cs: Added
  14776. * OSFeature.cs: Added
  14777. * Theme.cs: Added abstract Version property to support OSFeature
  14778. * ThemeWin32Classic.cs: Added Version property to
  14779. support OSFeature.Themes
  14780. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  14781. the proper styles to avoid background drawing are set, also doesn't
  14782. match MS signature
  14783. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  14784. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  14785. * ScrollEventArgs.cs: Added ComVisible attribute
  14786. * SplitterEventArgs.cs: Added ComVisible attribute
  14787. * AccessibleSelection.cs: Added Flags attribute
  14788. * Appearance.cs: Added ComVisible attribute
  14789. * Border3DSide.cs: Added ComVisible attribute
  14790. * Border3DStyle.cs: Added ComVisible attribute
  14791. * BorderStyle.cs: Added ComVisible attribute
  14792. * DragAction.cs: Added ComVisible attribute
  14793. * ErrorBlinkStyle.cs: Added
  14794. * ScrollEventType.cs: Added ComVisible attribute
  14795. * AnchorStyles.cs: Added Editor attribute
  14796. * DockStyle.cs: Added Editor attribute
  14797. * HorizontalAlignment.cs: Added ComVisible attribute
  14798. * HelpEventArgs.cs: Added ComVisible attribute
  14799. * PaintEventArgs.cs: Added IDisposable
  14800. 2005-01-04 Peter Bartok <[email protected]>
  14801. * TextControl.cs: Switched Line, LineTag and Document classes to
  14802. internal
  14803. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  14804. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  14805. Simple mode, fixes, IntegralHeight, etc.
  14806. 2005-01-04 Peter Bartok <[email protected]>
  14807. * TextBoxBase.cs: Using proper font variable now
  14808. 2005-01-04 Peter Bartok <[email protected]>
  14809. * Form.cs (ShowDialog): Set parent to owner, if provided
  14810. * GroupBox.cs: Removed unused vars
  14811. * TextControl.cs:
  14812. - Added GetHashCode() for Document and LineTag classes
  14813. - Removed unused variables
  14814. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  14815. to allow translation between continuous char position and line/pos
  14816. * CheckBox.cs: Removed vars that are provided by base class
  14817. * RadioButton.cs: Removed vars that are provided by base class, added
  14818. new keyword where required
  14819. * LinkLabel.cs: Added new keyword where required
  14820. * Control.cs (WndProc): Removed unused variable
  14821. * TextBoxBase.cs:
  14822. - Finished SelectionLength property
  14823. - Implemented SelectionStart property
  14824. - Implemented Text property
  14825. - Removed unused vars
  14826. * MessageBox.cs: Added new keyword where required
  14827. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  14828. WndProc signature
  14829. * MenuAPI.cs: Added new keyword where required
  14830. * ButtonBase.cs: Removed vars that are provided by base class, added
  14831. new keyword where required
  14832. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  14833. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  14834. into this)
  14835. * Application.cs (Run): Now triggers the ThreadExit event
  14836. * CommonDialog.cs: Added new keyword where required; now properly sets
  14837. parent (owner) for dialog
  14838. * XplatUIX11.cs: Commented out unused vars
  14839. * StatusBar.cs: Fixed signature for Text property
  14840. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  14841. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  14842. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  14843. TrackBar.cs, MonthCalendar.cs: remove unused vars
  14844. 2005-01-03 Jackson Harper <[email protected]>
  14845. * ThemeWin32Classic.cs:
  14846. * X11Keyboard.cs: Remove unused vars.
  14847. 2005-01-03 Peter Bartok <[email protected]>
  14848. * TextBox.cs:
  14849. - set_Text: Tied into TextControl
  14850. - set_TextAlignment: Tied into TextControl
  14851. * TextControl.cs:
  14852. - Added alignment properties and implemented alignment handling
  14853. and drawing (still has a bug, not generating proper expose events)
  14854. - Added new Line() constructor to allow passing the line alignment
  14855. - Fixed selection setting, properly handling end<start now
  14856. - Added aligment considerations to RecalculateDocument()
  14857. * TextBoxBase.cs:
  14858. - Now properly enforces control height for single line controls
  14859. - Added support for CharacterCasing
  14860. - Added IsInputKey override
  14861. - Fixed Keys.Enter logic
  14862. - Added SetBoundsCore override
  14863. - Fixed mouse selection handling
  14864. 2005-01-03 Jackson Harper <[email protected]>
  14865. * TreeView.cs:
  14866. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  14867. - Checkboxes are always aligned to the bottom of the node,
  14868. regardless of item height.
  14869. - Use the node bounds to draw the text so we can center it when
  14870. the item height is greater then the font height.
  14871. - Node::Bounds are only the text part of the node.
  14872. * TreeNode.cs: New method to combine collapsing and unchecking all
  14873. nodes recursively.
  14874. 2005-01-02 Jackson Harper <[email protected]>
  14875. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  14876. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  14877. tree when a check is changed. TODO: Only refresh the checked node.
  14878. 2004-12-30 Jackson Harper <[email protected]>
  14879. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  14880. * TreeNode.cs: When collapsing make sure to never collapse the
  14881. root node.
  14882. 2004-12-29 Jackson Harper <[email protected]>
  14883. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  14884. 2004-12-28 Zoltan Varga <[email protected]>
  14885. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  14886. 2004-12-28 Peter Bartok <[email protected]>
  14887. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  14888. not yet assigned
  14889. 2004-12-28 Peter Bartok <[email protected]>
  14890. * Control.cs (WndProc): Added WM_HELP handler, now generates
  14891. HelpRequested event
  14892. * Form.cs: Added HelpButton property and required support code
  14893. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  14894. 2004-12-28 Peter Bartok <[email protected]>
  14895. * CommonDialog.cs:
  14896. - Made DialogForm.owner variable internal
  14897. - Added check to ensure owner form is set before setting
  14898. owner properties in CreateParams
  14899. 2004-12-28 Geoff Norton <[email protected]>
  14900. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  14901. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  14902. GetCursorPos. Fix major visibility issues. Rework the windowing
  14903. system to support borderless/titleless windows (implements menus).
  14904. Fix GetWindowPos. Implement initial background color support for
  14905. views.
  14906. 2004-12-28 Peter Bartok <[email protected]>
  14907. * Form.cs (get_CreateParams): Make sure we have an owner before using
  14908. the owner variable. Implement proper default if no owner exists
  14909. 2004-12-28 Peter Bartok <[email protected]>
  14910. * In preparation for making Managed.Windows.Forms the default build target
  14911. for System.Windows.Forms, the following stubbed files were added.
  14912. Dialogs are currently being implemented by contributors and are only
  14913. short-term place holders.
  14914. * ColorDialog.cs: Initial check-in (minmal stub)
  14915. * DataGrid.cs: Initial check-in (minimal stub)
  14916. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  14917. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  14918. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  14919. * FontDialog.cs: Initial check-in (minimal stub)
  14920. * FileDialog.cs: Initial check-in (minimal stub)
  14921. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  14922. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  14923. * OpenFileDialog: Initial check-in (minimal stub)
  14924. * IComponentEditorPageSite.cs: Initial check-in
  14925. * Splitter.cs: Initial check-in (for Jackson)
  14926. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  14927. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  14928. * TextBox.cs: Initial check-in; still needs some wiring to
  14929. TextControl backend
  14930. * Form.cs: Implemented ControlBox property
  14931. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  14932. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  14933. * TextControl.cs: Added selection functionality; added todo header
  14934. * TextBoxBase.cs:
  14935. - Implemented Lines property
  14936. - Implemented TextHeight property
  14937. - Implemented SelectedText property
  14938. - Implemented SelectionLength property
  14939. - Implemented SelectAll method
  14940. - Implemented ToString method
  14941. - Removed and cleaned up some debug code
  14942. - Implemented (still buggy) mouse text selection
  14943. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  14944. * ComboBox.cs: Complete DropDownList implementation, fixes.
  14945. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  14946. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  14947. * ComboBoxStyle.cs: ComboBoxStyle enum
  14948. * ComboBox.cs: Initial work on ComboBox control
  14949. 2004-12-21 Peter Bartok <[email protected]>
  14950. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  14951. forward so that anything that creates a window gets the default,
  14952. also no longer uses Visible property in CreateParams to avoid
  14953. walking up the parent chain and possibly get the wrong visible
  14954. status. Fixed IsVisible to no longer walk up to the parent.
  14955. 2004-12-21 Peter Bartok <[email protected]>
  14956. * Form.cs (ShowDialog): Unset modality for the proper window
  14957. 2004-12-20 Peter Bartok <[email protected]>
  14958. * CommonDialog.cs: Initial check-in
  14959. 2004-12-20 Peter Bartok <[email protected]>
  14960. * Control.cs (Visible): Now uses the parent window instead of the
  14961. client area window for the property
  14962. * Form.cs
  14963. - ShowDialog(): Now uses the proper window for modality
  14964. - The default visibility state for the form parent is now false. This
  14965. will prevent the user from seeing all the changes to the form and
  14966. its controls before the application hits Application.Run()
  14967. - Removed some stale commented out code
  14968. * NativeWindow.cs:
  14969. - Added FindWindow() method to have a method to check for existence
  14970. of a window handle
  14971. - Added ability to override default exception handling (for example
  14972. when debugging with VS.Net; to do this the ExternalExceptionHandler
  14973. define must be set
  14974. - Removed some useless debug output
  14975. * XplatUIX11.cs:
  14976. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  14977. not working as expected
  14978. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  14979. property to allow switching back to the modal window if focus is
  14980. given to another one of our windows (Application Modal)
  14981. - Now only sets override_redirect if we create a window
  14982. without WS_CAPTION
  14983. - Moved EventMask selection before mapping of newly created window
  14984. so we can catch the map event as well
  14985. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  14986. - Added various Atom related DllImports
  14987. - Implemented Exit() method
  14988. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  14989. in the CreateParams
  14990. * MessageBox.cs: Now properly deals with the FormParent window by
  14991. providing an override the FormParent CreateParams property to
  14992. set as POPUP instead of OVERLAPPED window.
  14993. 2004-12-19 Geoff Norton <[email protected]>
  14994. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  14995. Minor code cleanup.
  14996. 2004-12-19 Geoff Norton <[email protected]>
  14997. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  14998. 2004-12-18 Peter Bartok <[email protected]>
  14999. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  15000. implementing SetModal() method
  15001. 2004-12-18 Peter Bartok <[email protected]>
  15002. * X11Structs.cs (XGCValues): Fixed type of function element
  15003. * XplatUI.cs: Added ScrollWindow() method
  15004. * XplatUIDriver.cs: Added ScrollWindow() abstract
  15005. * XplatUIWin32.cs: Implemented ScrollWindow() method
  15006. * XplatUIX11.cs: Implemented ScrollWindow() method
  15007. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  15008. 2004-12-17 Geoff Norton <[email protected]>
  15009. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  15010. Some more keyboard support (INCOMPLETE)
  15011. 2004-12-17 Peter Bartok <[email protected]>
  15012. * TextControl.cs:
  15013. - Added color attribute to line tags.
  15014. - Added color argument to all functions dealing with tags
  15015. - Added color argument support to various functions
  15016. - Fixed miss-calculation of baseline/shift in certain circumstances
  15017. * TextBoxBase.cs: Added new color option to test code
  15018. 2004-12-17 Jackson Harper <[email protected]>
  15019. * TreeNode.cs:
  15020. * MonthCalendar.cs: Signature fixes
  15021. 2004-12-17 Geoff Norton <[email protected]>
  15022. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  15023. keyboard event moved it. Create a new graphics context for each paint resolves this
  15024. 2004-12-17 Geoff Norton <[email protected]>
  15025. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  15026. Make caret exist and go blink blink. Initial keyboard support.
  15027. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  15028. works.
  15029. 2004-12-17 Jackson Harper <[email protected]>
  15030. * XplatUIStructs.cs: Updated set of virtual keycodes.
  15031. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  15032. 2004-12-17 Jackson Harper <[email protected]>
  15033. * XplatUIX11.cs: Prune old keyboard code.
  15034. 2004-12-17 Jackson Harper <[email protected]>
  15035. * XplatUIX11.cs: When generating mouse wparams get the modifier
  15036. keys from the ModifierKeys property.
  15037. 2004-12-17 Jackson Harper <[email protected]>
  15038. * X11Keyboard.cs: Send up/down input when generating
  15039. messages. Remove some unused vars.
  15040. 2004-12-17 Jackson Harper <[email protected]>
  15041. * TabControl.cs:
  15042. * TreeView.cs: get rid of warnings.
  15043. 2004-12-17 Jackson Harper <[email protected]>
  15044. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  15045. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  15046. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  15047. CheckedListBox.cs: Implementation
  15048. 2004-12-17 Peter Bartok <[email protected]>
  15049. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  15050. 2004-12-16 Peter Bartok <[email protected]>
  15051. * TextControl.cs:
  15052. - InsertCharAtCaret(): Fixed start pos fixup
  15053. - CaretLine_get: No longer derives the line from the tag, the tag
  15054. could be stale if lines in the document have been added or deleted
  15055. - RebalanceAfterDelete(): Fixed bug in balancing code
  15056. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  15057. - Line.Streamline(): Now can also elminate leading empty tags
  15058. - DumpTree(): Added a few more tests and prevented exception on
  15059. uninitialized data
  15060. - Added Debug section for Combining lines
  15061. - Delete(): Now copies all remaining properties of a line
  15062. * TextBoxBase.cs:
  15063. - Left mousebutton now sets the caret (and middle button still acts
  15064. as formatting tester, which must go away soon)
  15065. - Added Debug section for Deleting/Combining lines
  15066. - Fixed calculations for UpdateView after Combining lines
  15067. 2004-12-16 Peter Bartok <[email protected]>
  15068. * TextControl.cs: Now properly aligns text on a baseline, using the
  15069. new XplatUI.GetFontMetrics() method. Simplified several calculations
  15070. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  15071. defined
  15072. 2004-12-16 Peter Bartok <[email protected]>
  15073. * XplatUI.cs: Added GetFontMetrics() method
  15074. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  15075. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  15076. into libgdiplus, our private GetFontMetrics function
  15077. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  15078. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  15079. 2004-12-16 Jackson Harper <[email protected]>
  15080. * XplatUIStruct.cs: Add enum for dead keys
  15081. * X11Keyboard.cs: Map and unmap dead keys.
  15082. 2004-12-16 Jackson Harper <[email protected]>
  15083. * X11Keyboard.cs: Detect and use the num lock mask.
  15084. 2004-12-16 Peter Bartok <[email protected]>
  15085. * Control.cs (CreateGraphics): Added check to make sure the
  15086. handle of the window exists before calling Graphics.FromHwnd()
  15087. 2004-12-16 Peter Bartok <[email protected]>
  15088. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  15089. contains a lot of code that's not supposed to be there for the
  15090. real thing, but required for developing/testing the textbox
  15091. backend.
  15092. 2004-12-16 Peter Bartok <[email protected]>
  15093. * TextControl.cs:
  15094. - Fixed Streamline method
  15095. - Added FindTag method to Line
  15096. - Added DumpTree method for debugging
  15097. - Added DecrementLines() method for deleting lines
  15098. - Fixed UpdateView to update the cursor to end-of-line on single-line
  15099. updates
  15100. - Added PositionCaret() method
  15101. - Fixed MoveCaret(LineDown) to move into the last line, too
  15102. - Added InsertChar overload
  15103. - Fixed InsertChar tag offset calculations
  15104. - Added DeleteChar() method
  15105. - Added Combine() method for folding lines
  15106. - Fixed Delete() method, no longer allocates wasted Line object and
  15107. now copies all properties when swapping nodes
  15108. - Delete() method now updates document line counter
  15109. 2004-12-15 Jackson Harper <[email protected]>
  15110. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  15111. * X11Keyboard.cs: Expose the currently selected modifier keys
  15112. through a property.
  15113. 2004-12-15 Peter Bartok <[email protected]>
  15114. * TextControl.cs: Initial check-in. Still incomplete
  15115. 2004-12-15 Jackson Harper <[email protected]>
  15116. * TreeNode.cs:
  15117. * TreeView.cs: Fix build on csc (second time today ;-))
  15118. 2004-12-15 Jackson Harper <[email protected]>
  15119. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  15120. is calculated and use this for click testing.
  15121. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  15122. 2004-12-15 Jackson Harper <[email protected]>
  15123. * TreeView.cs: Pass the nodes image index to the image list when
  15124. drawing that image.
  15125. 2004-12-15 Jackson Harper <[email protected]>
  15126. * X11Keyboard.cs: Set messages hwnd.
  15127. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  15128. post_message calls.
  15129. 2004-12-15 Jackson Harper <[email protected]>
  15130. * X11Keyboard.cs: Fix to compile with csc.
  15131. 2004-12-15 Jackson Harper <[email protected]>
  15132. * X11Structs.cs: Add key mask values
  15133. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  15134. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  15135. down/up foo into WM_CHAR foo
  15136. * KeyboardLayouts.cs: Common keyboard layouts
  15137. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  15138. post messages into the main queue.
  15139. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  15140. * Button.cs: implement ProcessMnemonic
  15141. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  15142. brushes everytime
  15143. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  15144. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  15145. 2004-12-12 John BouAntoun <[email protected]>
  15146. * MonthCalendar.cs: Implemented click-hold for next/previous month
  15147. and date selection
  15148. 2004-12-11 Peter Bartok <[email protected]>
  15149. * X11Structs.cs:
  15150. - Added XKeyboardState (moved from XplatUIX11.cs)
  15151. - Added XCreateGC related enums and structures
  15152. - Added GXFunction for XSetFunction
  15153. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  15154. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  15155. CaretVisible() calls
  15156. * ToolTip.cs: Added code to prevent stealing focus from app windows
  15157. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  15158. DestroyCaret, SetCaretPos and CaretVisible)
  15159. * XplatUIX11.cs:
  15160. - Added implementation for caret functions
  15161. - Moved hover variables into a struct, to make it a bit easier
  15162. on the eyes and to debug
  15163. - Removed XKeyboardState (moved to XplatUIX11.cs)
  15164. - Moved Keyboard properties into the properties region
  15165. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  15166. call to get a graphics context for our control
  15167. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  15168. * TreeView.cs: Fixed bug. No matter what color was set it would always
  15169. return SystemColors.Window
  15170. * XplatUIWin32.cs: Implemented caret overrides
  15171. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  15172. * ListBox.cs: fire events, implement missing methods and properties,
  15173. sorting.
  15174. 2004-12-10 John BouAntoun <[email protected]>
  15175. * MonthCalendar.cs: invalidation bug fixing
  15176. * ThemeWin32Classic.cs: paint fixing
  15177. 2004-12-09 Geoff Norton <[email protected]>
  15178. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  15179. prepare the CGContextRef there now.
  15180. 2004-12-09 John BouAntoun <[email protected]>
  15181. * MonthCalendar.cs:
  15182. - optimisationL only invalidate areas that have changed
  15183. * ThemeWin32Classic.cs:
  15184. - only paint parts that intersect with clip_area
  15185. 2004-12-09 Peter Bartok <[email protected]>
  15186. * Application.cs: Undid changes from r37004 which cause problems
  15187. on X11
  15188. 2004-12-09 Ravindra <[email protected]>
  15189. * ToolBar.cs: Added support for displaying ContextMenu
  15190. attached to a button on ToolBar.
  15191. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  15192. property.
  15193. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  15194. * Label.cs: autosize works in text change and removes unnecessary
  15195. invalidate
  15196. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  15197. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  15198. remove warnings
  15199. 2004-12-08 Geoff Norton <[email protected]>
  15200. * XplatUIOSX.cs: Added mouse move/click/grab support
  15201. Remove some debugging WriteLines not needed anymore.
  15202. Add window resizing/positioning.
  15203. Fix visibility on reparenting.
  15204. 2004-12-08 Peter Bartok <[email protected]>
  15205. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  15206. 2004-12-07 Geoff Norton <[email protected]>
  15207. * XplatUIOSX.cs: Initial checkin
  15208. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  15209. 2004-12-03 Ravindra <[email protected]>
  15210. * ListView.cs: Added some keybindings and fixed scrolling.
  15211. ScrollBars listen to ValueChanged event instead of Scroll
  15212. Event. This would let us take care of all changes being
  15213. done in the scrollbars' values programmatically or manually.
  15214. * ListView.cs (CanMultiselect): Added a check for shift key.
  15215. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  15216. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  15217. of ListViewSubItemCollection as well.
  15218. 2004-12-06 Peter Bartok <[email protected]>
  15219. * Control.cs (Parent): Added check and exception to prevent
  15220. circular parenting
  15221. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  15222. * ListBox.cs: implemented clipping, selection single and multiple,
  15223. bug fixing
  15224. 2004-12-03 Ravindra <[email protected]>
  15225. * ListView.cs (ListView_KeyDown):
  15226. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  15227. when CTRL key is pressed.
  15228. * ListViewItem.cs (Selected): Fixed setting the property.
  15229. 2004-12-03 Marek Safar <[email protected]>
  15230. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  15231. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  15232. MinimizeBox, ShowInTaskbar, TopMost properties.
  15233. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  15234. will be implemented).
  15235. 2004-12-03 Marek Safar <[email protected]>
  15236. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  15237. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  15238. tests.
  15239. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  15240. * TreeView.cs: BackColor is Colors.Window.
  15241. 2004-12-01 Jackson Harper <[email protected]>
  15242. * TreeView.cs: When resizing the tree if the user is making it
  15243. smaller we don't get expose events, so we need to handle adding
  15244. the horizontal scrollbar in the size changed handler as well as
  15245. the expose handler.
  15246. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  15247. * DrawItemState.cs: fixes wrong enum values
  15248. 2004-12-01 Jackson Harper <[email protected]>
  15249. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  15250. 2004-12-01 Jackson Harper <[email protected]>
  15251. * NodeLabelEditEventArgs.cs:
  15252. * NodeLabelEditEventHandler.cs:
  15253. * OpenTreeNodeEnumerator.cs:
  15254. * TreeNode.cs:
  15255. * TreeNodeCollection.cs:
  15256. * TreeView.cs:
  15257. * TreeViewAction.cs:
  15258. * TreeViewCancelEventArgs.cs:
  15259. * TreeViewCancelEventHandler.cs:
  15260. * TreeViewEventArgs.cs:
  15261. * TreeViewEventHandler.cs: Initial implementation.
  15262. 2004-12-01 Ravindra <[email protected]>
  15263. * ListView.cs (CalculateListView): Fixed scrolling related
  15264. calculations. Also, removed some debug statements from other
  15265. places.
  15266. * ListViewItem.cs: Changed access to 'selected' instance variable
  15267. from private to internal.
  15268. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  15269. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  15270. * ThemeWin32Classic.cs: remove cache of brush and pens for
  15271. specific controls and use the global system, fixes scrollbutton
  15272. bugs (for small sizes, disabled, etc)
  15273. * ScrollBar.cs: does not show the thumb for very small controls
  15274. (as MS) and allow smaller buttons that the regular size
  15275. 2004-12-01 Miguel de Icaza <[email protected]>
  15276. * UpDownBase.cs: Add abstract methods for the interface.
  15277. Add new virtual methods (need to be hooked up to TextEntry when it
  15278. exists).
  15279. Add override methods for most features.
  15280. Computes the size, forces the height of the text entry.
  15281. * NumericUpDown.cs: Put here the current testing code.
  15282. * Set eol-style property on all files that do not have mixed line
  15283. endings, to minimize the future problems. There are still a few
  15284. files with mixed endings, and someone should choose whether they
  15285. want to move it or not.
  15286. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  15287. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  15288. System.Colors
  15289. 2004-11-30 Ravindra <[email protected]>
  15290. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  15291. drawing and replaced use of SystemColors by theme colors.
  15292. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  15293. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  15294. same ListViewItem is being added more than once.
  15295. 2004-11-30 John BouAntoun <[email protected]>
  15296. * MonthCalendar.cs:
  15297. - ControlStyles love to make the control not flicker
  15298. 2004-11-30 Peter Bartok <[email protected]>
  15299. * CharacterCasing.cs: Added
  15300. 2004-11-29 Peter Bartok <[email protected]>
  15301. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  15302. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  15303. I am removing these files as they conflict with already completed
  15304. work. While it is fantastic to get contributions to MWF, I
  15305. respectfully ask that everyone please coordinate their contributions
  15306. through mono-winforms-list or #mono-winforms at this time. We're
  15307. explicitly avoiding stubbing and don't want controls that don't have
  15308. their basic functionality implemented in svn. Please also see
  15309. http://www.mono-project.com/contributing/winforms.html
  15310. 2004-11-29 Marek Safar <[email protected]>
  15311. * Application.cs (ModalRun): Don't hang after exit.
  15312. * Theme.cs: New TreeViewDefaultSize property.
  15313. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  15314. with less hardcoded SystemColors constant.
  15315. Implemented TreeViewDefaultSize.
  15316. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  15317. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  15318. 2004-11-29 John BouAntoun <[email protected]>
  15319. * MonthCalendar.cs:
  15320. - Fix NextMonthDate and PrevMonthDate click moving calendar
  15321. 2004-11-26 John BouAntoun <[email protected]>
  15322. * MonthCalendar.cs:
  15323. - Fix usage of ScrollChange Property when scrolling months
  15324. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  15325. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  15326. - Fixes menu destroying
  15327. - Support adding and removing items on already created menus
  15328. 2004-11-26 John BouAntoun <[email protected]>
  15329. * MonthCalendar.cs:
  15330. - Re-worked all bolded dates handling to match win32
  15331. * ThemeWin32Classic.cs:
  15332. - Fixed rendering with bolded dates
  15333. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  15334. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  15335. - Horizontal scroolbar
  15336. - Multicolumn
  15337. - Fixes
  15338. 2004-11-25 John BouAntoun <[email protected]>
  15339. * MonthCalendar.cs:
  15340. - Fix Usage of MaxSelectionCount from SelectionRange
  15341. - Fixed Shift + Cursor Selection
  15342. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  15343. - Fixed normal cursor selection to be compat with win32
  15344. - Fixed Shift + Mouse Click selection
  15345. 2004-11-24 Peter Bartok <[email protected]>
  15346. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  15347. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  15348. * XplatUIX11.cs:
  15349. - CreatedKeyBoardMsg now updates keystate with Alt key
  15350. - Added workaround for timer crash to CheckTimers, Jackson will
  15351. develop a proper fix and check in later
  15352. - Implemented DispatchMessage
  15353. - Removed calling the native window proc from GetMessage (call
  15354. now moved to DispatchMessage)
  15355. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  15356. the keydata (Fixes bug #69831)
  15357. * XplatUIWin32.cs:
  15358. - (DispatchMessage): Switched to return IntPtr
  15359. - Added DllImport for SetFocus
  15360. 2004-11-24 Ravindra <[email protected]>
  15361. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  15362. background drawing.
  15363. * ListViewItem.cs: Fixed various properties, calculations
  15364. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  15365. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  15366. and some internal properties. Fixed MouseDown handler and Paint
  15367. method.
  15368. 2004-11-24 John BouAntoun <[email protected]>
  15369. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  15370. 2004-11-24 John BouAntoun <[email protected]>
  15371. * ContainerControl.cs: correct accidental check in of local changes
  15372. 2004-11-24 John BouAntoun <[email protected]>
  15373. * ThemeWin32Classic.cs:
  15374. - Fixed Drawing Last month in grid (sometimes not showing)
  15375. * MonthCalendar.cs:
  15376. - Fixed title width calculation bug (makeing title small)
  15377. 2004-11-23 Peter Bartok <[email protected]>
  15378. * XplatUIX11.cs:
  15379. - Added generation of WM_MOUSEHOVER event
  15380. - Added missing assignment of async_method atom
  15381. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  15382. 2004-11-23 John BouAntoun <[email protected]>
  15383. * ThemeWin32Classic.cs:
  15384. - Fixed Drawing of today circle when showtodaycircle not set
  15385. - fixed drawing of first and last month in the grid (gay dates)
  15386. * MonthCalendar.cs:
  15387. - Fixed Drawing of today circle
  15388. - Fixed drawing of grady dates
  15389. - Fixed HitTest for today link when ShowToday set to false
  15390. - Fixed DefaultSize to obey ShowToday
  15391. 2004-11-23 John BouAntoun <[email protected]>
  15392. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  15393. * System.Windows.Forms/Theme.cs
  15394. * MonthCalendar.cs: added for MonthCalendar
  15395. * SelectionRange.cs: added for MonthCalendar
  15396. * Day.cs: added for MonthCalendar: added for MonthCalendar
  15397. * DateRangeEventArgs.cs: added for MonthCalendar
  15398. * DateRangeEventHandler.cs: added for MonthCalendar
  15399. 2004-11-22 Ravindra <[email protected]>
  15400. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  15401. property.
  15402. 2004-11-22 Miguel de Icaza <[email protected]>
  15403. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  15404. event handler.
  15405. * NumericUpDown.cs: Added new implementation.
  15406. * UpDownBase.cs: Added new implementation.
  15407. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  15408. implementations.
  15409. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  15410. implementations.
  15411. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  15412. methods.
  15413. 2004-11-21 Miguel de Icaza <[email protected]>
  15414. * Timer.cs (Dispose): Should call the base dispose when
  15415. overriding.
  15416. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  15417. * ScrollBar.cs: updates thumb position when max, min or increment
  15418. is changed
  15419. 2004-11-21 Ravindra <[email protected]>
  15420. * ListView.cs: Implemented item selection, activation and
  15421. column header style. Fixed properties to do a redraw, if
  15422. required. Added support for MouseHover, DoubleClick, KeyDown
  15423. and KeyUp event handling and some minor fixes.
  15424. * ListViewItem.cs: Fixed constructor.
  15425. * ThemeWin32Classic.cs: Improved drawing for ListView.
  15426. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  15427. * ThemeWin32Classic.cs: initial listbox drawing code
  15428. * DrawMode.cs: new enumerator
  15429. * ListControl.cs: stubbed class
  15430. * ListBox.cs: initial implementation
  15431. * Theme.cs: new methods definitions
  15432. * SelectionMode.cs: new enumerator
  15433. 2004-11-17 Peter Bartok <[email protected]>
  15434. * XplatUIWin32.cs: Added double-click events to the class style
  15435. * Control.cs (WndProc):
  15436. - Added handling of click-count to MouseDown/ MouseUp events.
  15437. - Added handling of middle and right mouse buttons
  15438. - Removed old debug code
  15439. 2004-11-17 Jackson Harper <[email protected]>
  15440. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  15441. 2004-11-17 Ravindra <[email protected]>
  15442. * ListView.cs: Added event handling for MouseMove/Up/Down.
  15443. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  15444. * ThemeWin32Classic.cs: We need to clear the graphics context and
  15445. draw column header in a proper state.
  15446. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  15447. * Menu.cs: fixes signature
  15448. 2004-11-16 Peter Bartok <[email protected]>
  15449. * XplatUIX11.cs (GetMessage): Implemented generation of
  15450. double click mouse messages
  15451. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  15452. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  15453. not by menu
  15454. 2004-11-11 Peter Bartok <[email protected]>
  15455. * HandleData.cs: Added Visible property
  15456. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  15457. HandleData
  15458. * XplatUIX11.cs: Removed old debug leftovers
  15459. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  15460. * Control.cs (WndProc): Removed old debug leftovers,
  15461. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  15462. needed WM_SIZE handling
  15463. 2004-11-11 Jackson Harper <[email protected]>
  15464. * OwnerDrawPropertyBag.cs:
  15465. * TreeViewImageIndexConverter.cs: Initial implementation
  15466. 2004-11-10 Jackson Harper <[email protected]>
  15467. * ThemeWin32Classic.cs:
  15468. * TabControl.cs: instead of moving tabs by the slider pos just
  15469. start drawing at the tab that is offset by the slider. This way
  15470. scrolling always moves by exactly one tab.
  15471. 2004-11-10 Jackson Harper <[email protected]>
  15472. * TabControl.cs: You can only scroll left when the slider has
  15473. already ben moved right.
  15474. 2004-11-10 Jackson Harper <[email protected]>
  15475. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  15476. the clip area.
  15477. 2004-11-10 Jackson Harper <[email protected]>
  15478. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  15479. clip area.
  15480. 2004-11-09 Jackson Harper <[email protected]>
  15481. * TabControl.cs (CalcXPos): New helper method so we can determine
  15482. the proper place to start drawing vertical tabs.
  15483. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  15484. 2004-11-09 Jackson Harper <[email protected]>
  15485. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  15486. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  15487. and Bottom, left and right are illegal values for this and
  15488. multiline is enabled when the alignment is set to left or right.
  15489. (DrawTab): Each alignment block should draw the text itself now
  15490. because Left requires special love. Also add rendering for Left
  15491. aligned tabs.
  15492. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  15493. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  15494. does not destroy the windows, removes debugging messages
  15495. 2004-11-09 jba <[email protected]>
  15496. * ThemeWin32Classic.cs
  15497. (DrawButtonBase): Fix verticle text rect clipping in windows
  15498. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  15499. rendering and incorrect text rect clipping
  15500. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  15501. rendering and incorrect text rect clipping
  15502. 2004-11-08 Jackson Harper <[email protected]>
  15503. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  15504. bottom when they are bottom aligned so the bottoms of the tabs get
  15505. displayed.
  15506. * TabControl.cs (DropRow): Move rows up instead of down when the
  15507. tab control is bottom aligned.
  15508. 2004-11-08 13:59 pbartok
  15509. * XplatUIX11.cs:
  15510. - Added handling for various window styles
  15511. - Added handling for popup windows
  15512. - Added SetTopmost handling
  15513. 2004-11-08 13:55 pbartok
  15514. * XplatUIWin32.cs:
  15515. - Added argument to SetTopmost method
  15516. - Fixed broken ClientToScreen function
  15517. 2004-11-08 13:53 pbartok
  15518. * XplatUIStructs.cs:
  15519. - Added missing WS_EX styles
  15520. 2004-11-08 13:53 pbartok
  15521. * XplatUI.cs, XplatUIDriver.cs:
  15522. - Added argument to SetTopmost
  15523. 2004-11-08 13:52 pbartok
  15524. * X11Structs.cs:
  15525. - Added XSetWindowAttributes structure
  15526. - Improved XWindowAttributes structure
  15527. - Added SetWindowValuemask enum
  15528. - Added window creation arguments enum
  15529. - Added gravity enum
  15530. - Added Motif hints structure
  15531. - Added various Motif flags and enums
  15532. - Added PropertyMode enum for property functions
  15533. 2004-11-08 13:50 pbartok
  15534. * Form.cs:
  15535. - Fixed arguments for updated SetTopmost method
  15536. 2004-11-08 13:49 pbartok
  15537. * ToolTip.cs:
  15538. - Fixed arguments for updated SetTopmost function
  15539. - Fixed usage of PointToClient
  15540. 2004-11-08 13:44 pbartok
  15541. * MenuAPI.cs:
  15542. - Added Clipping of children and siblings
  15543. 2004-11-08 13:41 pbartok
  15544. * MainMenu.cs:
  15545. - Removed SetMenuBarWindow call. We do this in Form.cs
  15546. 2004-11-08 13:40 jackson
  15547. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  15548. scrolling jimmi in the correct location with bottom aligned tabs
  15549. 2004-11-08 13:36 pbartok
  15550. * ContainerControl.cs:
  15551. - Implemented BindingContext
  15552. - Implemented ParentForm
  15553. 2004-11-08 12:46 jackson
  15554. * TabControl.cs: Put bottom rendered tabs in the right location
  15555. 2004-11-08 07:15 jordi
  15556. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  15557. removes dead code
  15558. 2004-11-05 17:30 jackson
  15559. * TabControl.cs: When selected tabs are expanded make sure they
  15560. don't go beyond the edges of the tab control
  15561. 2004-11-05 14:57 jackson
  15562. * TabControl.cs: Reset show_slider so if the control is resized to
  15563. a size where it is no longer needed it's not displayed anymore
  15564. 2004-11-05 13:16 jackson
  15565. * TabControl.cs: Make tab pages non visible when added to the
  15566. control
  15567. 2004-11-05 12:42 jackson
  15568. * TabControl.cs: Implement SizeMode.FillToRight
  15569. 2004-11-05 12:16 jackson
  15570. * Control.cs: Do not call CreateHandle if the handle is already
  15571. created
  15572. 2004-11-05 11:46 jackson
  15573. * TabControl.cs: Remove superflous call to CalcTabRows
  15574. 2004-11-05 09:07 jackson
  15575. * XplatUIX11.cs: Update for Mono.Posix changes
  15576. 2004-11-05 07:00 ravindra
  15577. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  15578. scrolling.
  15579. 2004-11-04 22:47 jba
  15580. * ThemeWin32Classic.cs:
  15581. - Fix Button rendering for FlatStyle = Flat or Popup
  15582. - Fix RadioButton and CheckBox rendering when Appearance = Button
  15583. (normal and flatstyle).
  15584. - Correct outer rectangle color when drawing focus rectangle
  15585. - Adjust button bounds to be 1 px smaller when focused
  15586. - Make button not draw sunken 3d border when pushed (windows compat)
  15587. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  15588. - Offset the text in RadioButton and Checkbox when being rendered as
  15589. a button.
  15590. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  15591. radiobuttons
  15592. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  15593. - Fixed disabled text rendering for normally rendered radiobuttons
  15594. 2004-11-04 10:26 jackson
  15595. * TabControl.cs: Recalculate tab rows when resizing
  15596. 2004-11-04 07:47 jordi
  15597. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  15598. collection completion, drawing issues, missing features
  15599. 2004-11-04 05:03 ravindra
  15600. * ScrollBar.cs:
  15601. - We need to recalculate the Thumb area when
  15602. LargeChange/maximum/minimum values are changed.
  15603. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  15604. than minimum. This is required to handle the case if large_change is
  15605. more than max, and use LargeChange property instead of large_change
  15606. variable.
  15607. - We return max+1 when large_change is more than max, like MS does.
  15608. 2004-11-04 04:29 ravindra
  15609. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  15610. - Changed default value signatures (prefixed all with ListView).
  15611. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  15612. ListView.
  15613. - Fixed calculations for ListViewItem and implemented Clone()
  15614. method.
  15615. 2004-11-04 04:26 ravindra
  15616. * Theme.cs, ThemeWin32Classic.cs:
  15617. - Changed default ListView values signatures (prefixed all with
  15618. ListView).
  15619. - Fixed default size values for VScrollBar and HScrollBar.
  15620. - Fixed DrawListViewItem method.
  15621. 2004-11-04 04:05 ravindra
  15622. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  15623. 2004-11-04 04:04 ravindra
  15624. * ImageList.cs: Implemented the missing overload for Draw method.
  15625. 2004-11-03 19:29 jackson
  15626. * TabControl.cs: Handle dropping rows on selection properly
  15627. 2004-11-03 11:59 jackson
  15628. * TabControl.cs: remove debug code
  15629. 2004-11-03 11:52 jackson
  15630. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  15631. the scrolly widgerywoo
  15632. 2004-11-02 13:52 jackson
  15633. * TabControl.cs: Resize the tab pages and tabs when the tab control
  15634. is resized
  15635. 2004-11-02 13:40 jackson
  15636. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  15637. selected tab to the bottom
  15638. 2004-11-02 13:39 jackson
  15639. * TabPage.cs: Store the tab pages row
  15640. 2004-11-02 12:33 jordi
  15641. * MenuItem.cs: fixes handle creation
  15642. 2004-11-02 11:42 jackson
  15643. * TabControl.cs: signature fix
  15644. 2004-11-02 08:56 jackson
  15645. * TabControl.cs: Calculate whether the tab is on an edge properly.
  15646. Remove top secret debugging code
  15647. 2004-11-01 19:57 jackson
  15648. * TabControl.cs: Add click handling, and proper sizing
  15649. 2004-11-01 19:47 jackson
  15650. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  15651. tab controls
  15652. 2004-11-01 19:39 jackson
  15653. * TabPage.cs: add internal property to store the bounds of a tab
  15654. page
  15655. 2004-10-30 04:23 ravindra
  15656. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  15657. values.
  15658. 2004-10-30 04:21 ravindra
  15659. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  15660. fixed calculations.
  15661. 2004-10-30 03:06 pbartok
  15662. * XplatUIX11.cs:
  15663. - Removed extension of DllImported libs
  15664. 2004-10-29 09:55 jordi
  15665. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  15666. navigation, itemcollection completion, menu fixes
  15667. 2004-10-27 22:58 pbartok
  15668. * XplatUIX11.cs:
  15669. - Now throws a nice error message when no X display could be opened
  15670. 2004-10-26 13:51 jordi
  15671. * ListView.cs: removes warning
  15672. 2004-10-26 03:55 ravindra
  15673. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  15674. ThemeWin32Classic.cs: Some formatting for my last checkins.
  15675. 2004-10-26 03:36 ravindra
  15676. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  15677. control and default values.
  15678. 2004-10-26 03:35 ravindra
  15679. * Theme.cs: Added some default values for ListView control.
  15680. 2004-10-26 03:33 ravindra
  15681. * ToolBar.cs: ToolBar should use the user specified button size, if
  15682. there is any. Added a size_specified flag for the same.
  15683. 2004-10-26 03:33 ravindra
  15684. * ColumnHeader.cs: Added some internal members and calculations for
  15685. ColumnHeader.
  15686. 2004-10-26 03:32 ravindra
  15687. * ListViewItem.cs: Calculations for ListViewItem.
  15688. 2004-10-26 03:31 ravindra
  15689. * ListView.cs: Added some internal members and calculations for
  15690. ListView.
  15691. 2004-10-22 13:31 jordi
  15692. * MenuAPI.cs: speedup menus drawing
  15693. 2004-10-22 13:16 jackson
  15694. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  15695. expose event
  15696. 2004-10-22 11:49 jackson
  15697. * Control.cs: oops
  15698. 2004-10-22 11:41 jackson
  15699. * Control.cs: Check to see if the window should have its background
  15700. repainted by X when drawing.
  15701. 2004-10-22 11:31 jackson
  15702. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  15703. clear is true, this way we do not get flicker from X repainting the
  15704. background
  15705. 2004-10-22 11:28 jackson
  15706. * XEventQueue.cs: Queue properly
  15707. 2004-10-21 09:38 jackson
  15708. * XEventQueue.cs: Fix access modifier
  15709. 2004-10-21 09:36 jackson
  15710. * XEventQueue.cs: Don't loose messages
  15711. 2004-10-21 09:22 jackson
  15712. * XEventQueue.cs: Don't loose messages
  15713. 2004-10-20 04:15 jordi
  15714. * BootMode.cs: enum need it by SystemInfo
  15715. 2004-10-19 21:58 pbartok
  15716. * XplatUIWin32.cs:
  15717. - Small sanity check
  15718. 2004-10-19 21:56 pbartok
  15719. * Form.cs:
  15720. - Added private FormParentWindow class which acts as the container
  15721. for our form and as the non-client area where menus are drawn
  15722. - Added/Moved required tie-ins to Jordi's menus
  15723. - Fixed/Implemented the FormStartPosition functionality
  15724. 2004-10-19 21:52 pbartok
  15725. * Control.cs:
  15726. - Removed unneeded locals
  15727. - Added code to all size and location properties to understand and
  15728. deal with the parent container of Form
  15729. 2004-10-19 21:33 pbartok
  15730. * Application.cs:
  15731. - Fixed to deal with new Form subclasses for menus
  15732. 2004-10-19 17:48 jackson
  15733. * XEventQueue.cs: commit correct version of file
  15734. 2004-10-19 16:50 jackson
  15735. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  15736. 2004-10-19 16:15 jordi
  15737. * MenuAPI.cs: MenuBarCalcSize returns the height
  15738. 2004-10-19 08:31 pbartok
  15739. * Control.cs:
  15740. - Added missing call to PreProcessMessage before calling OnXXXKey
  15741. methods
  15742. 2004-10-19 00:04 ravindra
  15743. * ToolTip.cs: Fixed constructor.
  15744. 2004-10-18 09:31 jordi
  15745. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  15746. 2004-10-18 09:26 jordi
  15747. * MenuItem.cs: fixes MenuItem class signature
  15748. 2004-10-18 08:56 jordi
  15749. * MenuAPI.cs: prevents windows from showing in the taskbar
  15750. 2004-10-18 00:28 ravindra
  15751. * ToolTip.cs: Suppressed a warning message.
  15752. 2004-10-18 00:27 ravindra
  15753. * Control.cs: Default value of visible property must be true.
  15754. 2004-10-17 23:19 pbartok
  15755. * ToolTip.cs:
  15756. - Complete implementation
  15757. 2004-10-17 23:19 pbartok
  15758. * XplatUIX11.cs:
  15759. - Added EnableWindow method
  15760. - Added SetModal stub
  15761. - Added generation of WM_ACTIVATE message (still needs testing)
  15762. - Added SetTopMost stub
  15763. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  15764. 2004-10-17 23:17 pbartok
  15765. * XplatUIWin32.cs:
  15766. - Removed VirtualKeys to XplatUIStructs
  15767. - Implemented SetTopMost method
  15768. - Implemented EnableWindow method
  15769. - Bugfix in ScreenToClient()
  15770. - Bugfixes in ClientToScreen()
  15771. 2004-10-17 22:51 pbartok
  15772. * XplatUIStructs.cs:
  15773. - Added WS_EX styles to WindowStyles enumeration
  15774. 2004-10-17 22:50 pbartok
  15775. * XplatUI.cs, XplatUIDriver.cs:
  15776. - Added method for enabling/disabling windows
  15777. - Added method for setting window modality
  15778. - Added method for setting topmost window
  15779. 2004-10-17 22:49 pbartok
  15780. * ThemeWin32Classic.cs:
  15781. - Added ToolTip drawing code
  15782. 2004-10-17 22:49 pbartok
  15783. * Theme.cs:
  15784. - Added ToolTip abstracts
  15785. 2004-10-17 22:47 pbartok
  15786. * Form.cs:
  15787. - Fixed Form.ControlCollection to handle owner relations
  15788. - Added Owner/OwnedForms handling
  15789. - Implemented Z-Ordering for owned forms
  15790. - Removed unneeded private overload of ShowDialog
  15791. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  15792. so I hope)
  15793. - Fixed Close(), had wrong default
  15794. - Added firing of OnLoad event
  15795. - Added some commented out debug code for Ownership handling
  15796. 2004-10-17 22:16 pbartok
  15797. * Control.cs:
  15798. - Fixed/implemented flat list of controls
  15799. 2004-10-17 22:14 pbartok
  15800. * Application.cs:
  15801. - Added code to simulate modal dialogs on Win32
  15802. 2004-10-17 16:11 jordi
  15803. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  15804. mouse event
  15805. 2004-10-17 13:39 jordi
  15806. * MenuAPI.cs: menu drawing fixes
  15807. 2004-10-15 09:10 ravindra
  15808. * StructFormat.cs: General Enum.
  15809. 2004-10-15 09:09 ravindra
  15810. * SizeGripStyle.cs: Enum for Form.
  15811. 2004-10-15 09:08 ravindra
  15812. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  15813. in Theme for ListView.
  15814. 2004-10-15 09:06 ravindra
  15815. * ColumnHeader.cs: Flushing some formatting changes.
  15816. 2004-10-15 09:05 ravindra
  15817. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  15818. style.
  15819. 2004-10-15 09:03 ravindra
  15820. * ListView.cs: Implemented Paint method and fixed coding style.
  15821. 2004-10-15 07:34 jordi
  15822. * MenuAPI.cs: fix for X11
  15823. 2004-10-15 07:32 ravindra
  15824. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  15825. - Renamed Paint() method to Draw() for clarity. Also, moved
  15826. DrawImage() to OnPaint().
  15827. 2004-10-15 07:25 ravindra
  15828. * CheckBox.cs, RadioButton.cs:
  15829. - Removed Redraw (), we get it from ButtonBase.
  15830. - Implemented Paint (), to do class specific painting.
  15831. 2004-10-15 07:16 ravindra
  15832. * ButtonBase.cs:
  15833. - Redraw () is not virtual now.
  15834. - Added an internal virtual method Paint (), so that
  15835. derived classes can do their painting on their own.
  15836. - Modified OnPaint () to call Paint ().
  15837. 2004-10-15 06:43 jordi
  15838. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  15839. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  15840. 2004-10-15 00:30 ravindra
  15841. * MessageBox.cs:
  15842. - MessageBox on windows does not have min/max buttons.
  15843. This change in CreateParams fixes this on Windows. We
  15844. still need to implement this windowstyle behavior in
  15845. our X11 driver.
  15846. 2004-10-14 05:14 ravindra
  15847. * ToolBar.cs:
  15848. - Changed Redraw () to do a Refresh () always.
  15849. - Fixed the MouseMove event handling when mouse is pressed,
  15850. ie drag event handling.
  15851. - Replaced the usage of ToolBarButton.Pressed property to
  15852. ToolBarButton.pressed internal variable.
  15853. 2004-10-14 05:10 ravindra
  15854. * ToolBarButton.cs:
  15855. - Added an internal member 'inside' to handle mouse move
  15856. with mouse pressed ie mouse drag event.
  15857. - Changed 'Pressed' property to return true only when
  15858. 'inside' and 'pressed' are both true.
  15859. - Some coding style love.
  15860. 2004-10-14 00:17 ravindra
  15861. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  15862. public method.
  15863. 2004-10-14 00:15 ravindra
  15864. * ButtonBase.cs: Redraw () related improvements.
  15865. 2004-10-14 00:14 ravindra
  15866. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  15867. removed unnecessary calls to Button.Show () method.
  15868. 2004-10-13 17:50 pbartok
  15869. * XplatUIX11.cs:
  15870. - Formatting fix
  15871. - Removed destroying of window until we solve the problem of X
  15872. destroying the window before us on shutdown
  15873. 2004-10-13 16:32 pbartok
  15874. * ButtonBase.cs:
  15875. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  15876. 2004-10-13 14:18 pbartok
  15877. * XplatUIX11.cs:
  15878. - Added code to destroy the X window
  15879. 2004-10-13 14:18 pbartok
  15880. * XplatUIWin32.cs:
  15881. - Added code to destroy a window
  15882. 2004-10-13 14:12 pbartok
  15883. * ButtonBase.cs:
  15884. - Added the Redraw on Resize that got dropped in the last rev
  15885. 2004-10-13 09:06 pbartok
  15886. * ThemeWin32Classic.cs:
  15887. - Path from John BouAntoun:
  15888. * Fix check rendering (centre correctly for normal style, offset
  15889. correctly for FlatStyle).
  15890. * Fix border color usage (use backcolor) for FlatStyle.Popup
  15891. * Use checkbox.Capture instead of checkbox.is_pressed when
  15892. rendering flatstyle states.
  15893. 2004-10-12 21:48 pbartok
  15894. * ThemeWin32Classic.cs:
  15895. - Removed all occurences of SystemColors and replaced them with the
  15896. matching theme color
  15897. 2004-10-12 21:41 pbartok
  15898. * ThemeWin32Classic.cs:
  15899. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  15900. him using the function for flatstyle drawing
  15901. - Changed functions to use the new version of CPDrawBorder3D
  15902. 2004-10-12 21:15 pbartok
  15903. * ControlPaint.cs:
  15904. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  15905. match MS documentation. They need to return defined colors if the
  15906. passed color matches the configured control color. Thanks to John
  15907. BouAntoun for pointing this out.
  15908. 2004-10-12 20:57 pbartok
  15909. * Control.cs:
  15910. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  15911. color is changed
  15912. 2004-10-12 20:46 pbartok
  15913. * CheckBox.cs:
  15914. - Fix from John BouAntoun: Now properly sets the Appearance property
  15915. 2004-10-12 20:45 pbartok
  15916. * ThemeWin32Classic.cs:
  15917. - Fixes from John BouAntoun: now handles forecolors and backcolors
  15918. for flatstyle rendered controls much better; It also fixes normal
  15919. checkbox rendering when pushed or disabled.
  15920. 2004-10-08 02:50 jordi
  15921. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  15922. work
  15923. 2004-10-07 08:56 jordi
  15924. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  15925. 2004-10-06 03:59 jordi
  15926. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  15927. XplatUIWin32.cs: removes warnings from compilation
  15928. 2004-10-05 12:23 jackson
  15929. * RadioButton.cs: Fix ctor
  15930. 2004-10-05 11:10 pbartok
  15931. * MessageBox.cs:
  15932. - Partial implementation by Benjamin Dasnois
  15933. 2004-10-05 10:15 jackson
  15934. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  15935. by John BouAntoun
  15936. 2004-10-05 03:07 ravindra
  15937. * ToolBar.cs:
  15938. - Removed a private method, Draw ().
  15939. - Fixed the ButtonDropDown event handling.
  15940. - Fixed MouseMove event handling.
  15941. 2004-10-05 03:04 ravindra
  15942. * ThemeWin32Classic.cs:
  15943. - Added DrawListView method and ListViewDefaultSize property.
  15944. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  15945. - Changed DOS style CRLF to Unix format (dos2unix).
  15946. 2004-10-05 03:03 ravindra
  15947. * Theme.cs:
  15948. - Added DrawListView method and ListViewDefaultSize property.
  15949. 2004-10-05 02:42 ravindra
  15950. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  15951. clicks on DropDown arrow.
  15952. 2004-10-04 22:56 jackson
  15953. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  15954. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  15955. Control handle the buffers, derived classes should not have to
  15956. CreateBuffers themselves.
  15957. 2004-10-04 21:20 jackson
  15958. * StatusBar.cs: The control handles resizing the buffers now.
  15959. 2004-10-04 21:18 jackson
  15960. * Control.cs: When resizing the buffers should be invalidated. This
  15961. should be handled in Control not in derived classes.
  15962. 2004-10-04 14:45 jackson
  15963. * TabPage.cs: oops
  15964. 2004-10-04 02:14 pbartok
  15965. * LeftRightAlignment.cs:
  15966. - Initial check-in
  15967. 2004-10-04 01:09 jordi
  15968. * ThemeWin32Classic.cs: fixes right button position causing right
  15969. button not showing on horizontal scrollbars
  15970. 2004-10-02 13:12 pbartok
  15971. * XplatUIX11.cs:
  15972. - Simplified the Invalidate method by using an X call instead of
  15973. generating the expose ourselves
  15974. - Added an expose when the window background is changed
  15975. - Implemented ClientToScreen method
  15976. 2004-10-02 13:08 pbartok
  15977. * XplatUIWin32.cs:
  15978. - Added Win32EnableWindow method (test for implementing modal
  15979. dialogs)
  15980. - Added ClientToScreen method and imports
  15981. 2004-10-02 13:07 pbartok
  15982. * XplatUI.cs, XplatUIDriver.cs:
  15983. - Added ClientToScreen coordinate translation method
  15984. 2004-10-02 13:06 pbartok
  15985. * KeyPressEventArgs.cs:
  15986. - Fixed access level for constructor
  15987. 2004-10-02 13:06 pbartok
  15988. * NativeWindow.cs:
  15989. - Changed access level for the window_collection hash table
  15990. 2004-10-02 13:05 pbartok
  15991. * Form.cs:
  15992. - Added KeyPreview property
  15993. - Added Menu property (still incomplete, pending Jordi's menu work)
  15994. - Implemented ProcessCmdKey
  15995. - Implemented ProcessDialogKey
  15996. - Implemented ProcessKeyPreview
  15997. 2004-10-02 13:02 pbartok
  15998. * Control.cs:
  15999. - Added private method to get the Control object from the window
  16000. handle
  16001. - Implemented ContextMenu property
  16002. - Implemented PointToScreen
  16003. - Implemented PreProcessMessage
  16004. - Implemented IsInputChar
  16005. - Implemented IsInputKey
  16006. - Implemented ProcessCmdKey
  16007. - Completed ProcessKeyEventArgs
  16008. - Fixed message loop to call the proper chain of functions on key
  16009. events
  16010. - Implemented ProcessDialogChar
  16011. - Implemented ProcessDialogKey
  16012. - Implemented ProcessKeyMessage
  16013. - Implemented ProcessKeyPreview
  16014. - Added RaiseDragEvent stub (MS internal method)
  16015. - Added RaiseKeyEvent stub (MS internal method)
  16016. - Added RaiseMouseEvent stub (MS Internal method)
  16017. - Added RaisePaintEvent stub (MS Internal method)
  16018. - Added ResetMouseEventArgs stub (MS Internal method)
  16019. - Implemented RtlTranslateAlignment
  16020. - Implemented RtlTranslateContent
  16021. - Implemented RtlTranslateHorizontal
  16022. - Implemented RtlTranslateLeftRight
  16023. - Added generation of KeyPress event
  16024. 2004-10-02 05:57 ravindra
  16025. * ListViewItem.cs: Added attributes.
  16026. 2004-10-02 05:32 ravindra
  16027. * ListView.cs: Added attributes.
  16028. 2004-10-01 11:53 jackson
  16029. * Form.cs: Implement the Close method so work on MessageBox can
  16030. continue.
  16031. 2004-09-30 14:06 pbartok
  16032. * XplatUIX11.cs:
  16033. - Bug fixes
  16034. 2004-09-30 11:34 jackson
  16035. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  16036. 2004-09-30 07:26 ravindra
  16037. * ListViewItemConverter.cs: Converter for ListViewItem.
  16038. 2004-09-30 07:26 ravindra
  16039. * SortOrder.cs: Enum for ListView control.
  16040. 2004-09-30 07:25 ravindra
  16041. * ColumnHeader.cs: Supporting class for ListView control.
  16042. 2004-09-30 07:24 ravindra
  16043. * ListView.cs, ListViewItem.cs: Initial implementation.
  16044. 2004-09-30 07:20 ravindra
  16045. * ItemActivation.cs: Enum for ListView Control.
  16046. 2004-09-29 20:29 pbartok
  16047. * XplatUIX11.cs:
  16048. - Added lookup of pixel value for background color; tries to get a
  16049. color 'close' to the requested color, it avoids having to create a
  16050. colormap. Depending on the display this could mean the used color
  16051. is slightly off the desired color. Might have to change it to a more
  16052. resource intensive colormap approach, but it will work as a
  16053. workaround to avoid red screens.
  16054. 2004-09-29 14:27 jackson
  16055. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  16056. 2004-09-28 12:44 pbartok
  16057. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  16058. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  16059. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  16060. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  16061. TrackBar.cs, VScrollBar.cs:
  16062. - Streamlined Theme interfaces:
  16063. * Each DrawXXX method for a control now is passed the object for
  16064. the control to be drawn in order to allow accessing any state the
  16065. theme might require
  16066. * ControlPaint methods for the theme now have a CP prefix to avoid
  16067. name clashes with the Draw methods for controls
  16068. * Every control now retrieves it's DefaultSize from the current
  16069. theme
  16070. 2004-09-28 12:17 jackson
  16071. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  16072. drawing
  16073. 2004-09-24 14:57 jackson
  16074. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  16075. Gives us a nice little performance boost.
  16076. 2004-09-24 12:02 jackson
  16077. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  16078. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  16079. Control and supporting classes. Initial checkin
  16080. 2004-09-23 13:08 jackson
  16081. * Form.cs: Temp build fixage
  16082. 2004-09-23 01:39 ravindra
  16083. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  16084. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  16085. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  16086. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  16087. EventHandlers needed by ListView Control.
  16088. 2004-09-22 14:12 pbartok
  16089. * ScrollableControl.cs:
  16090. - Implemented DockPadding property
  16091. - Implemented AutoScroll property
  16092. - Implemented AutoScrollMargin property
  16093. - Implemented AutoScrollMinSize property
  16094. - Implemented AutoScrollPosition property
  16095. - Implemented DisplayRectangle property (still incomplete)
  16096. - Implemented CreateParams property
  16097. - Implemented HScroll property
  16098. - Implemented VScroll property
  16099. - Implemented OnVisibleChanged property
  16100. 2004-09-22 14:09 pbartok
  16101. * Form.cs:
  16102. - Added Form.ControllCollection class
  16103. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  16104. RemoveOwnedForm (still incomplete, missing on-top and common
  16105. minimize/maximize behaviour)
  16106. - Added StartPosition property (still incomplete, does not use when
  16107. creating the form)
  16108. - Added ShowDialog() methods (still incomplete, missing forcing the
  16109. dialog modal)
  16110. 2004-09-22 14:05 pbartok
  16111. * Application.cs:
  16112. - Added message loop for modal dialogs
  16113. 2004-09-22 14:02 pbartok
  16114. * GroupBox.cs:
  16115. - Fixed wrong types for events
  16116. 2004-09-22 14:00 pbartok
  16117. * Shortcut.cs, FormWindowState.cs:
  16118. - Fixed wrong values
  16119. 2004-09-22 12:01 jackson
  16120. * Control.cs: Text is never null
  16121. 2004-09-20 22:14 pbartok
  16122. * XplatUIWin32.cs:
  16123. - Fixed accessibility level for Idle handler
  16124. 2004-09-20 18:54 jackson
  16125. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  16126. XplatUIX11.cs: New message loop that uses poll so we don't get a
  16127. busy loop
  16128. 2004-09-17 10:43 pbartok
  16129. * ScrollBar.cs:
  16130. - Fixed behaviour of arrow buttons. Now properly behaves like
  16131. Buttons (and like Microsoft's scrollbar arrow buttons)
  16132. 2004-09-17 10:14 pbartok
  16133. * ScrollBar.cs:
  16134. - Added missing release of keyboard/mouse capture
  16135. 2004-09-17 06:18 jordi
  16136. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  16137. Theme.cs: Very early menu support
  16138. 2004-09-16 17:45 pbartok
  16139. * XplatUIWin32.cs:
  16140. - Fixed sending a window to the front
  16141. - Added overload for SetWindowPos to avoid casting
  16142. 2004-09-16 17:44 pbartok
  16143. * Control.cs:
  16144. - Added SendToBack and BringToFront methods
  16145. 2004-09-16 07:00 ravindra
  16146. * Copyright: Added Novell URL.
  16147. 2004-09-16 07:00 ravindra
  16148. * ToolBar.cs: Invalidate should be done before redrawing.
  16149. 2004-09-15 21:19 ravindra
  16150. * ColumnHeaderStyle.cs: Enum for ListView Control.
  16151. 2004-09-15 21:18 ravindra
  16152. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  16153. ListView Control.
  16154. 2004-09-13 18:26 jackson
  16155. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  16156. properly
  16157. 2004-09-13 18:13 jackson
  16158. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  16159. a second thread and post messages into the main threads message
  16160. queue. This makes timing much more consistent. Both win2K and XP
  16161. have a minimum timer value of 15 milliseconds, so we now do this
  16162. too.
  16163. 2004-09-13 15:18 pbartok
  16164. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  16165. XplatUIX11.cs:
  16166. - Added Z-Ordering methods
  16167. 2004-09-13 10:56 pbartok
  16168. * Form.cs:
  16169. - Fixed #region names
  16170. - Moved properties and methods into their proper #regions
  16171. 2004-09-13 10:51 pbartok
  16172. * Form.cs:
  16173. - Added Accept and CancelButton properties
  16174. - Added ProcessDialogKey() method
  16175. 2004-09-13 08:18 pbartok
  16176. * IWindowTarget.cs:
  16177. - Initial check-in
  16178. 2004-09-10 21:50 pbartok
  16179. * Control.cs:
  16180. - Added DoDragDrop() [incomplete]
  16181. - Properly implemented 'Visible' handling
  16182. - Added SetVisibleCore()
  16183. - Implemented FindChildAtPoint()
  16184. - Implemented GetContainerControl()
  16185. - Implemented Hide()
  16186. 2004-09-10 19:28 pbartok
  16187. * Control.cs:
  16188. - Moved methods into their appropriate #regions
  16189. - Reordered methods within regions alphabetically
  16190. 2004-09-10 18:57 pbartok
  16191. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  16192. - Added method to retrieve text from window
  16193. 2004-09-10 18:56 pbartok
  16194. * Control.cs:
  16195. - Moved some internal functions into the internal region
  16196. - Implemented FontHeight
  16197. - Implemented RenderRightToLeft
  16198. - Implemented ResizeRedraw
  16199. - Implemented ShowFocusCues
  16200. - Implemented ShowKeyboardCues
  16201. - Implemented FromChildHandle
  16202. - Implemented FromHandle
  16203. - Implemented IsMnemonic
  16204. - Implemented ReflectMessage
  16205. - All public and protected Static Methods are now complete
  16206. 2004-09-10 16:54 pbartok
  16207. * Control.cs:
  16208. - Implemented remaining missing public instance properties
  16209. - Alphabetized some out of order properties
  16210. 2004-09-10 05:51 ravindra
  16211. * PictureBox.cs: Added a check for null image.
  16212. 2004-09-10 00:59 jordi
  16213. * GroupBox.cs: remove cvs tag
  16214. 2004-09-09 05:25 ravindra
  16215. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  16216. 2004-09-09 05:23 ravindra
  16217. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  16218. parent redraw.
  16219. 2004-09-09 02:28 pbartok
  16220. * ThemeWin32Classic.cs:
  16221. - Improve disabled string look
  16222. 2004-09-09 01:15 jordi
  16223. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  16224. args and handler
  16225. 2004-09-08 23:56 ravindra
  16226. * ItemBoundsPortion.cs: It's enum, not a class!
  16227. 2004-09-08 23:47 ravindra
  16228. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  16229. Enums for Form.
  16230. 2004-09-08 21:13 ravindra
  16231. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  16232. ListView control.
  16233. 2004-09-08 21:03 ravindra
  16234. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  16235. avoid crash.
  16236. 2004-09-08 21:01 ravindra
  16237. * ScrollableControl.cs: Removed unreachable code.
  16238. 2004-09-08 06:45 jordi
  16239. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  16240. 2004-09-08 01:00 jackson
  16241. * XplatUIX11.cs: Only run the timers when updating the message
  16242. queue. This effectively gives X messages a higher priority then
  16243. timer messages. Timers still need love though
  16244. 2004-09-07 14:01 jackson
  16245. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  16246. this for us and the handle is no longer valid.
  16247. 2004-09-07 13:59 jackson
  16248. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  16249. loop that manages to not crash. TODO: Add poll and cleanup timers
  16250. 2004-09-07 11:12 jordi
  16251. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  16252. 2004-09-07 03:40 jordi
  16253. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  16254. fixes, methods, multiple links
  16255. 2004-09-06 06:55 jordi
  16256. * Control.cs: Caches ClientRectangle rectangle value
  16257. 2004-09-05 02:03 jordi
  16258. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  16259. certain situations
  16260. 2004-09-04 11:10 jordi
  16261. * Label.cs: Refresh when font changed
  16262. 2004-09-02 16:24 pbartok
  16263. * Control.cs:
  16264. - Added sanity check to creation of double buffer bitmap
  16265. 2004-09-02 16:24 pbartok
  16266. * ButtonBase.cs:
  16267. - Fixed selection of text color
  16268. - Fixed handling of resize event; now properly recreates double
  16269. buffering bitmap
  16270. - Added missing assignment of TextAlignment
  16271. - Added proper default for TextAlignment
  16272. 2004-09-02 14:26 pbartok
  16273. * RadioButton.cs:
  16274. - Added missing RadioButton.RadioButtonAccessibleObject class
  16275. 2004-09-02 14:26 pbartok
  16276. * Control.cs:
  16277. - Added missing Control.ControlAccessibleObject class
  16278. - Started to implement Select()ion mechanisms, still very incomplete
  16279. 2004-09-02 14:25 pbartok
  16280. * AccessibleObject.cs:
  16281. - Added missing methods
  16282. 2004-09-02 14:23 pbartok
  16283. * AccessibleNavigation.cs, AccessibleSelection.cs:
  16284. - Initial check-in
  16285. 2004-09-02 10:32 jordi
  16286. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  16287. pool for pens, brushes, and hatchbruses
  16288. 2004-09-01 15:30 jackson
  16289. * StatusBar.cs: Fix typo
  16290. 2004-09-01 14:44 pbartok
  16291. * RadioButton.cs:
  16292. - Fixed state
  16293. 2004-09-01 14:39 pbartok
  16294. * Button.cs, RadioButton.cs:
  16295. - Functional initial check-in
  16296. 2004-09-01 14:01 pbartok
  16297. * CheckBox.cs:
  16298. - Added missing default
  16299. - Added missing region mark
  16300. 2004-09-01 09:10 jordi
  16301. * Label.cs: fixes method signatures, new methods, events, fixes
  16302. autosize
  16303. 2004-09-01 07:19 jordi
  16304. * Control.cs: Init string variables with an empty object
  16305. 2004-09-01 04:20 jordi
  16306. * Control.cs: fires OnFontChanged event
  16307. 2004-08-31 20:07 pbartok
  16308. * ButtonBase.cs:
  16309. - Enabled display of strings
  16310. 2004-08-31 20:05 pbartok
  16311. * Form.cs:
  16312. - Added (partial) implementation of DialogResult; rest needs to be
  16313. implemented when the modal loop code is done
  16314. 2004-08-31 19:55 pbartok
  16315. * CheckBox.cs:
  16316. - Fixed to match the removal of the needs_redraw concept
  16317. 2004-08-31 19:55 pbartok
  16318. * ButtonBase.cs:
  16319. - Removed the rather odd split between 'needs redraw' and redrawing
  16320. - Now handles the events that require regeneration (ambient
  16321. properties and size)
  16322. 2004-08-31 19:41 pbartok
  16323. * Control.cs:
  16324. - Added firing of BackColorChanged event
  16325. - Added TopLevelControl property
  16326. - Fixed handling of WM_ERASEBKGRND message
  16327. 2004-08-31 12:49 pbartok
  16328. * ButtonBase.cs:
  16329. - Removed debug
  16330. - Minor fixes
  16331. 2004-08-31 12:48 pbartok
  16332. * CheckBox.cs:
  16333. - Finished (famous last words)
  16334. 2004-08-31 04:35 jordi
  16335. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  16336. scrolling bugs, adds new methods
  16337. 2004-08-30 14:42 pbartok
  16338. * CheckBox.cs:
  16339. - Implemented CheckBox drawing code
  16340. 2004-08-30 14:42 pbartok
  16341. * ButtonBase.cs:
  16342. - Made Redraw() and CheckRedraw() virtual
  16343. - Improved mouse up/down/move logic to properly track buttons
  16344. 2004-08-30 09:44 pbartok
  16345. * CheckBox.cs:
  16346. - Updated to fix broken build. Not complete yet.
  16347. 2004-08-30 09:28 pbartok
  16348. * CheckState.cs:
  16349. - Initial checkin
  16350. 2004-08-30 09:17 pbartok
  16351. * Appearance.cs:
  16352. - Initial check-in
  16353. 2004-08-27 16:12 ravindra
  16354. * ToolBarButton.cs: Added TypeConverter attribute.
  16355. 2004-08-27 16:07 ravindra
  16356. * ImageIndexConverter.cs: Implemented.
  16357. 2004-08-27 14:17 pbartok
  16358. * Control.cs:
  16359. - Removed unneeded stack vars
  16360. - First attempt to fix sizing issues when layout is suspended
  16361. 2004-08-25 15:35 jordi
  16362. * ScrollBar.cs: more fixes to scrollbar
  16363. 2004-08-25 14:04 ravindra
  16364. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  16365. Added the missing divider code and grip for ToolBar Control.
  16366. 2004-08-25 13:20 pbartok
  16367. * Control.cs:
  16368. - Control now properly passes the ambient background color to child
  16369. controls
  16370. 2004-08-25 13:20 jordi
  16371. * ScrollBar.cs: small bug fix regarding bar position
  16372. 2004-08-25 12:33 pbartok
  16373. * Timer.cs:
  16374. - Now only calls SetTimer or KillTimer if the enabled state has
  16375. changed
  16376. 2004-08-25 12:33 pbartok
  16377. * XplatUIWin32.cs:
  16378. - Fixed timer handling, now seems to work
  16379. - Improved error message for window creation
  16380. 2004-08-25 12:32 pbartok
  16381. * Control.cs:
  16382. - Fixed generation of MouseUp message
  16383. 2004-08-25 12:29 jordi
  16384. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  16385. and fixes for progressbar
  16386. 2004-08-24 18:43 ravindra
  16387. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  16388. in ToolBar control.
  16389. 2004-08-24 17:15 pbartok
  16390. * Panel.cs:
  16391. - Added #region
  16392. - Added missing events
  16393. - Alphabetized
  16394. 2004-08-24 17:14 pbartok
  16395. * StatusBar.cs, PictureBox.cs:
  16396. - Now uses Control's CreateParams
  16397. 2004-08-24 16:36 pbartok
  16398. * XplatUIX11.cs:
  16399. - Fixed background color handling
  16400. - Fixed sending of enter/leave events on a grab
  16401. 2004-08-24 16:35 pbartok
  16402. * X11Structs.cs:
  16403. - Refined definitions for CrossingEvent
  16404. 2004-08-24 12:37 jordi
  16405. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  16406. formmating, methods signature, and adds missing events
  16407. 2004-08-24 12:24 jordi
  16408. * Control.cs: fire OnEnabledChanged event
  16409. 2004-08-24 11:17 pbartok
  16410. * XplatUIWin32.cs:
  16411. - Implemented SetTimer() and KillTimer()
  16412. 2004-08-24 11:16 pbartok
  16413. * XplatUIX11.cs:
  16414. - Now uses Remove instead of Add to kill the timer
  16415. 2004-08-24 10:16 jackson
  16416. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  16417. picture boxes in the theme now. Draw picture box borders and obey
  16418. sizing modes
  16419. 2004-08-24 05:49 jackson
  16420. * Timer.cs: Remove top secret debugging code
  16421. 2004-08-24 05:34 jackson
  16422. * PictureBox.cs: Temp hack to make picture boxes draw their full
  16423. image
  16424. 2004-08-24 05:29 jackson
  16425. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  16426. XplatUIX11.cs: Move timers to the driver level. On X they are
  16427. queued by the driver and checked on idle.
  16428. 2004-08-24 01:07 jackson
  16429. * XplatUIX11.cs: Use a queue for async messages instead of passing
  16430. them as ClientMessages since that was totally broken. Also simply
  16431. check for events and return an idle message if none are found. This
  16432. gives us an idle handler, and prevents deadlocking when no messages
  16433. are in the queue.
  16434. 2004-08-23 18:19 ravindra
  16435. * XplatUIWin32.cs: Removed the unwanted destructor.
  16436. 2004-08-23 17:27 pbartok
  16437. * ButtonBase.cs:
  16438. - Finishing touches. Works now, just needs some optimizations.
  16439. 2004-08-23 16:53 jordi
  16440. * ScrollBar.cs: small fix
  16441. 2004-08-23 16:45 pbartok
  16442. * Application.cs:
  16443. - Removed debug output
  16444. - Simplifications
  16445. 2004-08-23 16:43 jordi
  16446. * ScrollBar.cs: [no log message]
  16447. 2004-08-23 16:10 pbartok
  16448. * Form.cs:
  16449. - Fixed handling of WM_CLOSE message
  16450. - Removed debug output
  16451. 2004-08-23 16:09 pbartok
  16452. * Application.cs:
  16453. - Added handling of Idle event
  16454. - Added handling of form closing
  16455. - Fixed reporting of MessageLoop property
  16456. - Removed some unneeded code, should provide a bit of a speedup
  16457. 2004-08-23 15:22 pbartok
  16458. * Control.cs:
  16459. - Added InitLayout() method
  16460. - Added code to properly perform layout when Anchor or Dock property
  16461. is changed
  16462. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  16463. LAMESPEC, tried to do it in a way that makes sense
  16464. 2004-08-23 14:10 jordi
  16465. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  16466. properties and methods
  16467. 2004-08-23 13:55 pbartok
  16468. * Control.cs:
  16469. - Properly fixed Jordi's last fix
  16470. - Now uses Cursor's Position property instead of calling XplatUI
  16471. directly
  16472. 2004-08-23 13:44 jordi
  16473. * PaintEventHandler.cs: Adding missing attribute
  16474. 2004-08-23 13:39 pbartok
  16475. * Cursor.cs:
  16476. - Implemented Position property
  16477. 2004-08-23 13:39 pbartok
  16478. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  16479. - Added method to move mouse cursor
  16480. 2004-08-23 13:39 pbartok
  16481. * XplatUIX11.cs:
  16482. - Fixed setting of background color
  16483. - Added method to move mouse cursor
  16484. 2004-08-23 13:16 jordi
  16485. * Control.cs: avoids null exception
  16486. 2004-08-22 17:46 jackson
  16487. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  16488. PictureBox
  16489. 2004-08-22 17:40 jackson
  16490. * XplatUIX11.cs: Add some missing locks
  16491. 2004-08-22 15:10 pbartok
  16492. * Control.cs, Form.cs:
  16493. - Removed OverlappedWindow style from Control, instead it's default
  16494. now is child
  16495. - Made form windows OverlappedWindow by default
  16496. 2004-08-22 13:34 jackson
  16497. * ScrollBar.cs: Update the position through the Value property so
  16498. the OnValueChanged event is raised.
  16499. 2004-08-22 12:04 pbartok
  16500. * SWF.csproj:
  16501. - Added Cursor.cs and UserControl.cs
  16502. 2004-08-22 12:03 pbartok
  16503. * Cursor.cs:
  16504. - Started implementation, not usable yet
  16505. 2004-08-22 12:00 pbartok
  16506. * UserControl.cs:
  16507. - Implemented UserControl (complete)
  16508. 2004-08-21 19:20 ravindra
  16509. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  16510. 2004-08-21 18:49 ravindra
  16511. * ToolBar.cs: Probably this completes the missing attributes in
  16512. toolbar control.
  16513. 2004-08-21 18:03 ravindra
  16514. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  16515. Fixed toolbar control signatures.
  16516. 2004-08-21 16:32 pbartok
  16517. * LinkLabel.cs:
  16518. - Signature Fixes
  16519. 2004-08-21 16:30 pbartok
  16520. * Label.cs:
  16521. - Signature fixes
  16522. 2004-08-21 16:19 pbartok
  16523. * Control.cs, Label.cs:
  16524. - Signature fixes
  16525. 2004-08-21 15:57 pbartok
  16526. * ButtonBase.cs:
  16527. - Added loads of debug output for development
  16528. - Fixed typo in method name
  16529. 2004-08-21 15:52 pbartok
  16530. * ToolBarButtonClickEventArgs.cs:
  16531. - Added missing base class
  16532. 2004-08-21 14:53 pbartok
  16533. * Control.cs:
  16534. - Updated to match new GrabWindow signature
  16535. 2004-08-21 14:51 pbartok
  16536. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  16537. - Added method to get default display size
  16538. 2004-08-21 14:23 pbartok
  16539. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  16540. - Added method to query current grab state
  16541. - Added argument to allow confining a grab to a window
  16542. 2004-08-21 14:22 pbartok
  16543. * Keys.cs:
  16544. - Added [Flags] attribute so that modifiers can be used in bitwise
  16545. ops
  16546. 2004-08-21 14:21 pbartok
  16547. * TrackBar.cs, ScrollBar.cs:
  16548. - Replaced direct XplatUI calls with their Control counterpart
  16549. 2004-08-21 13:32 pbartok
  16550. * Control.cs:
  16551. - Implemented Created property
  16552. 2004-08-21 13:28 pbartok
  16553. * Control.cs:
  16554. - Implemented ContainsFocus
  16555. 2004-08-21 13:26 pbartok
  16556. * Control.cs:
  16557. - Implemented CausesValidation
  16558. 2004-08-21 13:21 pbartok
  16559. * Control.cs:
  16560. - Implemented CanFocus
  16561. - Implemented CanSelect
  16562. - Implemented Capture
  16563. 2004-08-21 12:35 pbartok
  16564. * XplatUIWin32.cs:
  16565. - Fixed bug with Async message handling
  16566. - Implemented getting the ModifierKeys
  16567. 2004-08-21 12:32 jackson
  16568. * AsyncMethodResult.cs: Make sure we have the mutex before we
  16569. release it. Fixes BeginInvoke on windows
  16570. 2004-08-21 11:31 pbartok
  16571. * XplatUIWin32.cs, XplatUIX11.cs:
  16572. - Drivers now return proper mouse state
  16573. 2004-08-21 10:54 jackson
  16574. * Control.cs: Implement EndInvoke
  16575. 2004-08-21 10:48 jackson
  16576. * Timer.cs: Remove unneeded finalizer
  16577. 2004-08-20 19:52 ravindra
  16578. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  16579. in mouse event handling in the ToolBar control.
  16580. 2004-08-20 19:50 ravindra
  16581. * ImageList.cs: Changed draw method to use the arguments passed in
  16582. to draw the image.
  16583. 2004-08-20 18:58 pbartok
  16584. * XplatUIStructs.cs:
  16585. - Added private message for async communication
  16586. 2004-08-20 17:38 ravindra
  16587. * Control.cs: Made RightToLeft property virtual and removed a
  16588. Console.WriteLine.
  16589. 2004-08-20 14:39 jordi
  16590. * ThemeGtk.cs: use style_attach
  16591. 2004-08-20 14:39 pbartok
  16592. * XplatUIWin32.cs:
  16593. - Added jackson's Async code from X11 to Win32
  16594. 2004-08-20 14:09 pbartok
  16595. * SWF.csproj:
  16596. - Added all new files
  16597. 2004-08-20 14:09 pbartok
  16598. * Control.cs:
  16599. - Added call to set window background color
  16600. 2004-08-20 14:03 pbartok
  16601. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  16602. - Added method for setting the window background
  16603. 2004-08-20 14:02 pbartok
  16604. * XplatUIWin32.cs:
  16605. - Added method for setting the background color
  16606. - Added handling for erasing the window background
  16607. 2004-08-20 13:45 jordi
  16608. * TrackBar.cs: fixes timer, new properties and methods
  16609. 2004-08-20 13:34 jackson
  16610. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  16611. correct thread
  16612. 2004-08-20 13:22 jackson
  16613. * Timer.cs: Timer Tick events are now handed through Controls Async
  16614. mechanism so the callbacks are executed in the same thread as X
  16615. 2004-08-20 13:19 jackson
  16616. * XplatUIDriver.cs: Expose functionality to send async messages
  16617. through the driver
  16618. 2004-08-20 13:18 jackson
  16619. * Control.cs: Implement Begininvoke
  16620. 2004-08-20 13:14 jackson
  16621. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  16622. messages through the driver
  16623. 2004-08-20 13:12 jackson
  16624. * XplatUIX11.cs: Lock before all X operations. Also added Async
  16625. method functionality through XSendEvent
  16626. 2004-08-20 13:11 jackson
  16627. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  16628. This will screw up on 64 bit systems)
  16629. 2004-08-20 13:10 jackson
  16630. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  16631. Async messages through X/Win32
  16632. 2004-08-19 19:39 pbartok
  16633. * XplatUIX11.cs:
  16634. - Updated code to match new HandleData.DeviceContext type
  16635. 2004-08-19 19:38 pbartok
  16636. * HandleData.cs:
  16637. - Made DeviceContext a generic object to allow usage from various
  16638. drivers
  16639. - Added support for queueing Windows messages
  16640. 2004-08-19 19:37 pbartok
  16641. * XplatUIWin32.cs:
  16642. - Added generation of MouseEnter, MouseLeave and MouseHover events
  16643. - Added cleanup on EndPaint
  16644. 2004-08-19 19:17 pbartok
  16645. * Control.cs:
  16646. - Added handling of WM_MOUSEHOVER
  16647. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  16648. code
  16649. 2004-08-19 18:55 jordi
  16650. * ThemeGtk.cs: fixes button order
  16651. 2004-08-19 18:12 jordi
  16652. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  16653. 2004-08-19 17:09 pbartok
  16654. * Control.cs:
  16655. - Added Right property
  16656. - Added RightToLeft property
  16657. 2004-08-19 16:27 jordi
  16658. * ThemeGtk.cs: experimental GTK theme support
  16659. 2004-08-19 16:26 jordi
  16660. * ITheme.cs, Theme.cs: move themes from an interface to a class
  16661. 2004-08-19 16:25 jordi
  16662. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  16663. theme enhancaments
  16664. 2004-08-19 16:04 pbartok
  16665. * XplatUIX11.cs:
  16666. - Added colormap basics
  16667. - Added a way to re-initialize with a different display handle
  16668. - Fixed setting of the window background color
  16669. - Added various X11 imports related to colors and colormaps
  16670. 2004-08-19 15:51 pbartok
  16671. * X11Structs.cs:
  16672. - Removed packing hints (Paolo suggested this a while back)
  16673. - fixed colormap type
  16674. - Added default Atom types
  16675. - Added Screen and color structs and enums
  16676. 2004-08-19 15:39 pbartok
  16677. * ImageList.cs:
  16678. - Added missing Draw() method
  16679. - Added missing RecreateHandle event
  16680. 2004-08-19 15:30 pbartok
  16681. * Form.cs:
  16682. - Added handling of WM_CLOSE
  16683. 2004-08-18 13:16 jordi
  16684. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  16685. a table
  16686. 2004-08-18 09:56 jordi
  16687. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  16688. 2004-08-17 15:31 ravindra
  16689. * SWF.csproj: Updated project.
  16690. 2004-08-17 15:25 pbartok
  16691. * Control.cs:
  16692. - Drawing improvement; don't call UpdateBounds if we are not visible
  16693. (or have been minimized)
  16694. 2004-08-17 15:24 pbartok
  16695. * XplatUIWin32.cs:
  16696. - Finished IsVisible
  16697. - Added Win32GetWindowPlacement
  16698. 2004-08-17 15:08 jackson
  16699. * Panel.cs: Initial checkin of the Panel
  16700. 2004-08-17 14:25 pbartok
  16701. * Control.cs:
  16702. - Fixed broken handling of default window sizes
  16703. 2004-08-17 13:29 jackson
  16704. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  16705. has a large startup time.
  16706. 2004-08-17 10:25 jackson
  16707. * HandleData.cs: union areas properly
  16708. 2004-08-17 10:12 jackson
  16709. * HandleData.cs: union areas properly
  16710. 2004-08-16 20:00 ravindra
  16711. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  16712. 2004-08-16 18:48 ravindra
  16713. * ToolBar.cs: Added attributes.
  16714. 2004-08-16 17:17 ravindra
  16715. * SWF.csproj: Updated project.
  16716. 2004-08-16 17:16 jackson
  16717. * XplatUIX11.cs: Check for more expose events before sending a
  16718. WM_PAINT so they can all be grouped together. This makes dragging a
  16719. window across another window redraw in a sane way.
  16720. 2004-08-16 15:47 pbartok
  16721. * Control.cs:
  16722. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  16723. support OnMouseEnter/Leave()
  16724. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  16725. exposure handling
  16726. 2004-08-16 15:46 pbartok
  16727. * XplatUIStructs.cs, XplatUIX11.cs:
  16728. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  16729. OnMouseEnter/Leave()
  16730. 2004-08-16 15:34 jackson
  16731. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  16732. sure messages get the message field set to WM_NULL if they are not
  16733. handled.
  16734. 2004-08-16 15:24 jackson
  16735. * HandleData.cs: HandleData is used for storing message information
  16736. for window handles
  16737. 2004-08-15 17:23 ravindra
  16738. * ColorDepth.cs: Added attribute.
  16739. 2004-08-15 17:23 ravindra
  16740. * SWF.csproj: Updated project for ToolBar Control.
  16741. 2004-08-15 17:20 ravindra
  16742. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  16743. control and also dos2unix format.
  16744. 2004-08-15 17:13 ravindra
  16745. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  16746. ToolBarButtonClickEventArgs.cs,
  16747. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  16748. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  16749. 2004-08-15 15:31 pbartok
  16750. * ButtonBase.cs:
  16751. - First (mostly) working version
  16752. 2004-08-13 16:15 pbartok
  16753. * Control.cs:
  16754. - Fixed Anchor default
  16755. 2004-08-13 15:43 pbartok
  16756. * Control.cs:
  16757. - Changed GetCursorPos signature
  16758. 2004-08-13 15:42 pbartok
  16759. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  16760. - Changed signature for GetCursorPos
  16761. 2004-08-13 15:25 pbartok
  16762. * XplatUIX11.cs:
  16763. - Cleanup
  16764. - Fixed resizing/exposure handling
  16765. 2004-08-13 15:22 jordi
  16766. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  16767. with tickposition
  16768. 2004-08-13 14:55 jordi
  16769. * TrackBar.cs: change from wndproc to events
  16770. 2004-08-13 13:00 jordi
  16771. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  16772. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  16773. 2004-08-13 12:53 pbartok
  16774. * XplatUIWin32.cs:
  16775. - Changed GetWindowPos to also provide client area size
  16776. - Fixed broken prototypes for several win32 functions
  16777. 2004-08-13 12:53 pbartok
  16778. * XplatUI.cs, XplatUIDriver.cs:
  16779. - Changed GetWindowPos to also provide client area size
  16780. 2004-08-13 12:52 pbartok
  16781. * XplatUIX11.cs:
  16782. - Added generation of WM_POSCHANGED
  16783. - Changed GetWindowPos to also provide client area size
  16784. 2004-08-13 12:52 pbartok
  16785. * Control.cs:
  16786. - Added Dispose() and destructor
  16787. - Fixed resizing and bounds calculation
  16788. - Fixed Layout
  16789. - Added memory savings for invisible windows
  16790. 2004-08-13 12:46 jordi
  16791. * TrackBar.cs: adds timer and grap window
  16792. 2004-08-13 10:25 jackson
  16793. * Timer.cs: SWF Timer
  16794. 2004-08-12 16:59 pbartok
  16795. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  16796. - Implemented method to get current mouse position
  16797. 2004-08-12 14:29 jordi
  16798. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  16799. enhancement, fix mouse problems, highli thumb, etc
  16800. 2004-08-12 13:31 pbartok
  16801. * Control.cs:
  16802. - Fixed Anchoring bugs
  16803. 2004-08-12 13:01 jackson
  16804. * StatusBar.cs: Don't forget things
  16805. 2004-08-12 12:54 jackson
  16806. * ThemeWin32Classic.cs: Handle owner draw status bars
  16807. 2004-08-12 12:54 jackson
  16808. * StatusBar.cs: Implement missing properties, events, and methods.
  16809. Handle mouse clicking
  16810. 2004-08-12 10:19 jackson
  16811. * StatusBarPanelClickEventArgs.cs,
  16812. StatusBarPanelClickEventHandler.cs: Classes for handling status
  16813. bar panel click events
  16814. 2004-08-12 10:10 jackson
  16815. * Control.cs: Add missing properties
  16816. 2004-08-12 09:46 pbartok
  16817. * BindingsManagerBase.cs:
  16818. - Name changed to BindingManagerBase.cs
  16819. 2004-08-12 09:25 jordi
  16820. * ScrollableControl.cs: calls ctrlbase instead of exeception
  16821. 2004-08-11 16:28 pbartok
  16822. * InputLanguageChangingEventArgs.cs:
  16823. - Never check in before compiling. Fixes the last check-in
  16824. 2004-08-11 16:26 pbartok
  16825. * InputLanguageChangingEventArgs.cs:
  16826. - More signature fixes
  16827. 2004-08-11 16:20 pbartok
  16828. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  16829. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  16830. ImageListStreamer.cs, InputLanguage.cs,
  16831. InputLanguageChangedEventArgs.cs,
  16832. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  16833. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  16834. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  16835. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  16836. - Signature fixes
  16837. 2004-08-11 16:16 pbartok
  16838. * Application.cs:
  16839. - Fixed Signature
  16840. - Added .Net 1.1 method
  16841. 2004-08-11 15:25 pbartok
  16842. * SWF.csproj:
  16843. - Fixed BindingManagerBase.cs filename
  16844. 2004-08-11 15:22 pbartok
  16845. * BindingManagerBase.cs:
  16846. - Was checked in with wrong filename
  16847. 2004-08-11 14:50 pbartok
  16848. * SWF.csproj:
  16849. - Updated
  16850. 2004-08-11 13:41 jordi
  16851. * XplatUIWin32.cs: Fixes ClientRect
  16852. 2004-08-11 13:19 pbartok
  16853. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  16854. XplatUIX11.cs:
  16855. - We had SetWindowPos and MoveWindow to set window positions and
  16856. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  16857. keep SetWindowPos as matching counterpart
  16858. - Added some X11 sanity checking
  16859. 2004-08-11 12:59 pbartok
  16860. * Control.cs:
  16861. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  16862. (It seems that SetBounds is just a front for SetBoundsCore and
  16863. SetBoundsCore updates the underlying window system and
  16864. UpdateBounds is responsible for updating the variables associated
  16865. with the Control and sending the events)
  16866. - Major cleanup of Size handling; we now have two sizes, client_size
  16867. and bounds. Bounds defines the window with decorations, client_size
  16868. without them.
  16869. 2004-08-11 12:55 pbartok
  16870. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  16871. - Added method to calculate difference between decorated window and
  16872. raw client area
  16873. 2004-08-11 12:54 pbartok
  16874. * Label.cs:
  16875. - Forcing redraw on resize
  16876. 2004-08-11 11:43 pbartok
  16877. * ImageList.cs:
  16878. - Removed disposing of the actual images when the list is disposed
  16879. 2004-08-11 09:13 pbartok
  16880. * Control.cs:
  16881. - Now properly reparents windows
  16882. 2004-08-11 08:37 pbartok
  16883. * Control.cs:
  16884. - Duh!
  16885. 2004-08-11 07:47 pbartok
  16886. * Control.cs:
  16887. - Rewrote the collection stuff. Might not be as fast now, not
  16888. keeping the number of children around and accessible directly, but
  16889. it's more straightforward
  16890. 2004-08-11 07:44 pbartok
  16891. * AccessibleObject.cs:
  16892. - Fixed to match ControlCollection rewrite
  16893. 2004-08-11 07:43 pbartok
  16894. * ImageList.cs:
  16895. - Added missing creation of the collection list
  16896. 2004-08-10 20:08 jackson
  16897. * StatusBar.cs: Get the paint message from WndProc
  16898. 2004-08-10 19:31 jackson
  16899. * ThemeWin32Classic.cs: Create Brushes as little as possible
  16900. 2004-08-10 19:20 jackson
  16901. * UICues.cs: Add Flags attribute
  16902. 2004-08-10 19:19 jackson
  16903. * StatusBarPanel.cs: Signature cleanup
  16904. 2004-08-10 19:10 jackson
  16905. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  16906. Initial implementation of status bar item drawing
  16907. 2004-08-10 17:27 jordi
  16908. * TrackBar.cs: add missing methods, properties, and restructure to
  16909. hide extra ones
  16910. 2004-08-10 16:24 jackson
  16911. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  16912. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  16913. attribute
  16914. 2004-08-10 13:21 jordi
  16915. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  16916. enhancements and standarize on win colors defaults
  16917. 2004-08-10 12:52 jackson
  16918. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  16919. ThemeWin32Classic.cs: Implement DrawItem functionality
  16920. 2004-08-10 12:47 jordi
  16921. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  16922. 2004-08-10 12:32 jordi
  16923. * Control.cs: throw ontextchange event
  16924. 2004-08-10 11:43 pbartok
  16925. * Control.cs:
  16926. - Added more to the still unfinished Dock/Anchor layout code
  16927. 2004-08-10 11:39 pbartok
  16928. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  16929. - Added GetWindowPos method
  16930. 2004-08-10 11:36 pbartok
  16931. * XplatUIWin32.cs:
  16932. - Implemented several methods
  16933. 2004-08-10 09:47 jackson
  16934. * TrackBar.cs: Allow control to handle buffering
  16935. 2004-08-10 09:41 jackson
  16936. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  16937. 2004-08-10 09:24 jackson
  16938. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  16939. 2004-08-10 09:09 jackson
  16940. * StatusBar.cs: Let Control handle all the buffering.
  16941. 2004-08-10 09:08 jackson
  16942. * Control.cs: Control will now handle the buffering code, so each
  16943. control does not have to implement this.
  16944. 2004-08-10 08:34 jackson
  16945. * XplatUIDriver.cs: Use default colors from the theme
  16946. 2004-08-09 17:12 pbartok
  16947. * ImageList.cs:
  16948. - Fixed several bugs Ravindra pointed out
  16949. 2004-08-09 16:11 pbartok
  16950. * Control.cs:
  16951. - Added incomplete dock layout code
  16952. - Added support for mouse wheel
  16953. 2004-08-09 16:09 pbartok
  16954. * XplatUIX11.cs:
  16955. - Added handling for middle and right mousebutton
  16956. - Added handling for mouse wheel
  16957. - Added handling for key state and mouse state and position
  16958. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  16959. messages
  16960. 2004-08-09 15:40 jackson
  16961. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  16962. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  16963. checkin
  16964. 2004-08-09 15:37 jackson
  16965. * StatusBar.cs: Initial implementation of StatusBar
  16966. 2004-08-09 15:36 jackson
  16967. * ITheme.cs: Add support for drawing status bar and getting status
  16968. bar item sizes
  16969. 2004-08-09 15:35 pbartok
  16970. * MouseButtons.cs:
  16971. - Fixed values
  16972. 2004-08-09 15:34 jackson
  16973. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  16974. status bar item sizes
  16975. 2004-08-09 15:21 jackson
  16976. * ThemeWin32Classic.cs: Use known colors for default control
  16977. colours
  16978. 2004-08-09 15:12 jackson
  16979. * ThemeWin32Classic.cs: Make the default font static, it is static
  16980. in control so this doesn't change functionality and creating fonts
  16981. is sloooooow.
  16982. 2004-08-09 14:56 pbartok
  16983. * X11Structs.cs:
  16984. - Added GrabMode enum
  16985. 2004-08-09 14:55 pbartok
  16986. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  16987. - Removed Run method, was only required for initial development
  16988. 2004-08-09 14:51 pbartok
  16989. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  16990. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  16991. capture
  16992. 2004-08-09 13:48 pbartok
  16993. * XplatUIX11.cs:
  16994. - Fixed default sizing for child windows
  16995. 2004-08-09 12:56 pbartok
  16996. * XplatUIX11.cs:
  16997. - Added generation of WM_DESTROY message
  16998. - Added handling of window manager induced shutdown
  16999. 2004-08-09 11:31 jackson
  17000. * ThemeWin32Classic.cs: New names for control properties
  17001. 2004-08-09 11:25 jackson
  17002. * Control.cs: Use new color names
  17003. 2004-08-09 11:02 jackson
  17004. * XplatUI.cs: Get default window properties from the theme
  17005. 2004-08-09 11:01 jackson
  17006. * ITheme.cs: The theme engine now controls default window
  17007. properties
  17008. 2004-08-09 11:00 jackson
  17009. * ThemeWin32Classic.cs: Add default window color properties
  17010. 2004-08-09 10:17 jackson
  17011. * ThemeWin32Classic.cs: Use correct default back color
  17012. 2004-08-09 10:05 jackson
  17013. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  17014. the theme now.
  17015. 2004-08-09 09:56 jackson
  17016. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  17017. 2004-08-09 09:54 jackson
  17018. * Control.cs: Get default properties from the theme.
  17019. 2004-08-09 09:53 jackson
  17020. * ITheme.cs: Themes now handle default control properties
  17021. 2004-08-09 09:53 jackson
  17022. * ThemeWin32Classic.cs: Themes now handle default control
  17023. properties so coloring will be consistent
  17024. 2004-08-08 16:54 jordi
  17025. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  17026. 2004-08-08 15:08 jordi
  17027. * XplatUIX11.cs: fixes keyboard crash
  17028. 2004-08-08 13:47 jordi
  17029. * Label.cs: add cvs header info
  17030. 2004-08-08 12:09 jackson
  17031. * ThemeWin32Classic.cs: Add pen_buttonface
  17032. 2004-08-08 11:52 jordi
  17033. * Label.cs, LinkLabel.cs: [no log message]
  17034. 2004-08-08 11:34 jordi
  17035. * ThemeWin32Classic.cs: Use Windows Standard Colours
  17036. 2004-08-07 17:32 jordi
  17037. * TrackBar.cs: throw exceptions of invalid enums values
  17038. 2004-08-07 17:31 jordi
  17039. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  17040. draw method name
  17041. 2004-08-07 16:56 jackson
  17042. * HorizontalAlignment.cs: Initial checkin
  17043. 2004-08-07 13:16 jordi
  17044. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  17045. methods
  17046. 2004-08-07 13:05 jordi
  17047. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  17048. GetSysColor defines
  17049. 2004-08-06 18:01 pbartok
  17050. * ThemeWin32Classic.cs:
  17051. - Fixed some rounding issues with float/int
  17052. 2004-08-06 18:00 jackson
  17053. * DockStyle.cs, AnchorStyles.cs:
  17054. Add flags and serializable attributes.
  17055. 2004-08-06 17:46 pbartok
  17056. * XplatUIX11.cs:
  17057. - Implemented GetParent
  17058. 2004-08-06 17:18 pbartok
  17059. * TrackBar.cs:
  17060. - Fixed some rounding issues with float/int
  17061. 2004-08-06 17:17 pbartok
  17062. * X11Structs.cs, XplatUIX11.cs:
  17063. - Fixed Refresh and Invalidate
  17064. 2004-08-06 15:30 pbartok
  17065. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  17066. - Fixed recursive loop when resizing
  17067. - Improved/fixed redrawing on expose messages
  17068. 2004-08-06 09:53 jordi
  17069. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  17070. keyboard navigation
  17071. 2004-08-06 08:02 pbartok
  17072. * X11Structs.cs, XplatUIX11.cs:
  17073. - Fixed reparenting
  17074. - Fixed window border creation
  17075. 2004-08-05 15:38 pbartok
  17076. * XplatUIX11.cs:
  17077. - Attempted fix for reparenting problems
  17078. 2004-08-04 15:14 pbartok
  17079. * Control.cs:
  17080. - Fixed Invalidation bug (calculated wrong client area)
  17081. - Added ClientSize setter
  17082. 2004-08-04 15:13 pbartok
  17083. * Form.cs:
  17084. - Added AutoScale properties
  17085. 2004-08-04 15:13 pbartok
  17086. * SWF.csproj:
  17087. - Added latest files
  17088. 2004-08-04 14:11 pbartok
  17089. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  17090. XplatUIX11.cs:
  17091. - Added Invalidate handling
  17092. 2004-08-03 17:09 jordi
  17093. * XplatUIDriver.cs: fixes spelling mistake
  17094. 2004-07-27 09:53 jordi
  17095. * TrackBar.cs: fixes trackbar events, def classname, methods
  17096. signature
  17097. 2004-07-27 09:29 jordi
  17098. * ScrollBar.cs: fixes scrollbar events
  17099. 2004-07-27 04:38 jordi
  17100. * Control.cs: changes to be able to run winforms samples
  17101. 2004-07-26 11:42 jordi
  17102. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  17103. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  17104. 2004-07-26 05:41 jordi
  17105. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  17106. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  17107. implementation
  17108. 2004-07-22 09:22 jordi
  17109. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  17110. check link overlapping, implement events, and fixes
  17111. 2004-07-21 10:28 jordi
  17112. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  17113. 2004-07-21 10:19 jordi
  17114. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  17115. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  17116. LinkLabelLinkClickedEventArgs.cs,
  17117. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  17118. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  17119. implementation
  17120. 2004-07-19 13:09 jordi
  17121. * Control.cs, Label.cs: label control re-written: added missing
  17122. functionlity, events, and properties
  17123. 2004-07-19 10:49 jordi
  17124. * Control.cs: fixes SetBounds logic
  17125. 2004-07-19 01:29 jordi
  17126. * Control.cs: Call RefreshWindow only if the window has created
  17127. 2004-07-15 14:05 pbartok
  17128. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  17129. - Implemented ImageList and ImageList.ImageCollection classes
  17130. - Added ColorDepth enumeration
  17131. - Updated SWF VS.Net project
  17132. 2004-07-15 11:06 jordi
  17133. * XplatUIStructs.cs: added MsgButons enum
  17134. 2004-07-15 11:03 jordi
  17135. * Control.cs: added basic mouse handeling events
  17136. 2004-07-15 03:38 jordi
  17137. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  17138. Vertical TrackBar control implementation
  17139. 2004-07-13 09:33 jordi
  17140. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  17141. 2004-07-13 09:31 jordi
  17142. * Control.cs, Form.cs: commit: new properties and fixes form size
  17143. problems
  17144. 2004-07-09 14:13 miguel
  17145. * ProgressBar.cs: Spelling
  17146. 2004-07-09 11:25 pbartok
  17147. * ProgressBar.cs:
  17148. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  17149. faster
  17150. 2004-07-09 11:17 miguel
  17151. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  17152. * ProgressBar.cs: Fixed spelling for `block'
  17153. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  17154. style guidelines.
  17155. Avoid using the += on rect.X, that exposed a bug in the compiler.
  17156. 2004-07-08 23:21 pbartok
  17157. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  17158. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  17159. BaseCollection.cs, Binding.cs, BindingContext.cs,
  17160. BindingMemberInfo.cs, BindingsCollection.cs,
  17161. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  17162. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  17163. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  17164. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  17165. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  17166. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  17167. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  17168. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  17169. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  17170. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  17171. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  17172. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  17173. InputLanguageChangedEventArgs.cs,
  17174. InputLanguageChangedEventHandler.cs,
  17175. InputLanguageChangingEventArgs.cs,
  17176. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  17177. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  17178. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  17179. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  17180. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  17181. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  17182. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  17183. QueryAccessibilityHelpEventArgs.cs,
  17184. QueryAccessibilityHelpEventHandler.cs,
  17185. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  17186. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  17187. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  17188. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  17189. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  17190. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  17191. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  17192. XplatUIX11.cs, lang.cs:
  17193. - Initial check-in