ChangeLog 950 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951
  1. 2007-05-23 Jonathan Pobst <[email protected]>
  2. * Control.cs: Apply patch from George to call parent.PerformLayout
  3. when Visible is changed. [Fixes bugs #81118, 81718]
  4. 2007-05-23 Everaldo Canuto <[email protected]>
  5. * MainMenu.cs, MenuAPI.cs: Implement Collapse event for MainMenu (2.0).
  6. 2007-05-23 Everaldo Canuto <[email protected]>
  7. * ContextMenu.cs: Implement ProcessCmdKey with control parameter.
  8. 2007-05-23 Everaldo Canuto <[email protected]>
  9. * ContextMenu.cs: Implement Collapse.
  10. 2007-05-23 Rolf Bjarne Kvinge <[email protected]>
  11. * ToolBarButton.cs: Implement Name.
  12. 2007-05-22 Everaldo Canuto <[email protected]>
  13. * ToolBar.cs: Fix OnButtonDropDown to save item used in dropdown instead of
  14. use current_item, it prevents some NRE. Fixes #81675.
  15. 2007-05-22 Andreia Gaita <[email protected]>
  16. * NumericUpDown.cs: Fix PieChart by not returning from UpdateEditText
  17. without updating the text.
  18. 2007-05-22 Jonathan Pobst <[email protected]>
  19. * XplatUIWin32.cs: Plug a GDI leak caused by calling Font.ToHfont ()
  20. without calling DeleteObject. [Should fix bug #81709]
  21. 2007-05-22 Jackson Harper <[email protected]>
  22. * RichTextBox.cs: Set the line endings correctly, when flushing
  23. RTF text.
  24. 2007-05-22 Gert Driesen <[email protected]>
  25. * XplatUIX11.cs: MinimumWindowSize on X11 is actually
  26. {Width=0,Height=0}.
  27. 2007-05-22 Jackson Harper <[email protected]>
  28. * TreeView.cs: Setting top with a null node should set to the very
  29. top.
  30. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  31. * Form.cs: ShowDialog: destroy the handle when message loop is
  32. finished, matches MS behaviour. Refactor parts of WmClose into
  33. RaiseCloseEvents, that only raises events if they haven't already
  34. been raised. Fixes #81688 and #81521.
  35. * Application.cs: Don't call close on the form when exiting a modal
  36. loop, it will raise all the (Form)Closed/Closing events again if
  37. WM_CLOSE has been sent earlier on, instead call RaiseCloseEvent,
  38. which doesn'r raise any events it they have been raised before.
  39. 2007-05-22 Jonathan Pobst <[email protected]>
  40. * Control.cs: Add OnPrint.
  41. * ToolStrip.cs: Add GetChildAtPoint.
  42. * ToolStripContainer.cs: Add OnRightToLeftChanged.
  43. * ToolStripRenderer.cs: Make CreateMirrorImage internal.
  44. 2007-05-22 Everaldo Canuto <[email protected]>
  45. * MenuAPI.cs: Prevent context menu to be typed as MainMenu. Fixes #81509.
  46. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  47. * InternalWindowManager.cs: ToolTipShow: Don't show tooltip if the form
  48. isn't visible anymore. Fixes #81651.
  49. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  50. * Control.cs: WmShowWindow: Update children's z-order after setting
  51. their parent. SetParent may show the window, thereby corrupting
  52. z-order, since the window will be shown on top.
  53. * XplatUIWin32.cs: SetParent: don't call SetVisible on forms. Prevents
  54. multiple (and redundant) WM_SHOWWINDOW messages.
  55. * MdiWindowManager.cs: RaiseDeactivate: only raise after an Activate
  56. event has already been raised.
  57. * Form.cs: Change is_changing_visible_state to a counter, since
  58. SetVisibleCore can be called recursively. CreateHandle: when
  59. creating mdi children, send (De)Activated events.
  60. * MdiClient.cs: Update use of is_changing_visible_state.
  61. * Application.cs: OnThreadException: Surround exception handling with
  62. try/finally to ensure we always reset the error-handling state
  63. before leaving.
  64. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  65. * ThemeWin32Classic.cs: DrawProgressBar: Avoid a DivideByZero exception
  66. (#81704).
  67. 2007-05-21 Carlos Alberto Cortez <[email protected]>
  68. * ListView.cs: Use Theme.ListViewHorizontalSpacing for List and
  69. SmallIcon views, now that we have a standarized horizontal spacing.
  70. * ThemeWin32Classic.cs: ListViewHorizontalSpacing now has a value of
  71. 4, just like the other views (Match .Net).
  72. 2007-05-21 Jonathan Pobst <[email protected]>
  73. * Control.cs: Delay calculating anchor distances until we actually layout.
  74. Always query the WM for the actual size and location it put us at instead of
  75. only when we send negative values.
  76. [Fixes bugs #81694, 81695]
  77. 2007-05-21 Rolf Bjarne Kvinge <[email protected]>
  78. * Application.cs: Avoid a possible stack overflow when trying to exit
  79. the application.
  80. 2007-05-19 Marek Safar <[email protected]>
  81. * Theme.cs (GetHatchBrush): A key uses internal value instead of formated
  82. enum value.
  83. 2007-05-19 Andreia Gaita <[email protected]>
  84. * NumericUpDown.cs: Added 2.0 methods (spin acceleration)
  85. * NumericUpDownAcceleration.cs,
  86. NumericUpDownAccelerationCollection.cs: Added 2.0
  87. implementation.
  88. 2007-05-19 Gert Driesen <[email protected]>
  89. * RichTextBox.cs: Recalculate the document after the ScrollBars
  90. property is changed. Fixes bug #81681.
  91. 2007-05-18 Jonathan Pobst <[email protected]>
  92. * DataObject.cs: Implement 2.0 methods.
  93. 2007-05-18 Carlos Alberto Cortez <[email protected]>
  94. * ThemeWin32Classic.cs: Draw the check marks in ListViewItems
  95. in the center of the checkbox, not in the left-top corner.
  96. Fixes #80037.
  97. 2007-05-18 Jackson Harper <[email protected]>
  98. * RichTextBox.cs: Recalculate the document after the scrollbars
  99. property is changed.
  100. * TextBoxBase.cs: ScrollBars is not a flags enum...This fixes
  101. 81486.
  102. 2007-05-18 Rolf Bjarne Kvinge <[email protected]>
  103. * CreateParams.cs: Make HasWindowManager marginally faster.
  104. * XplatUIX11.cs, Hwnd.cs: CreateWindow: Move the default location code
  105. into Hwnd so that other drivers can use it as well.
  106. * XplatUIWin32.cs: CreateWindow: If the window has a window manager get
  107. the default location from Hwnd. Fixes MDI client windows always
  108. showing up at (0,0) in Windows (Win32 won't set the default
  109. location since the window styles aren't correct).
  110. 2007-05-18 Gert Driesen <[email protected]>
  111. * TreeView.cs: Modified DoubleBuffered to just use the base
  112. implementation.
  113. 2007-05-18 Jackson Harper <[email protected]>
  114. * TreeView.cs: Set the top node to the last child node when
  115. expanding all
  116. - When we get focus, if there is no selected node, use the top
  117. node.
  118. 2007-05-18 Jonathan Pobst <[email protected]>
  119. * KeysConverter.cs: Add CanConvertTo.
  120. * LinkLabel.cs: Add some 2.0 constructors and properties to LinkLabel.Link.
  121. * LinkConverter.cs: Added.
  122. 2007-05-18 Everaldo Canuto <[email protected]>
  123. * Cursor.cs: Apply Sebastien patch from #81669 to open file in read mode,
  124. it prevents error when file dont have write access. Fixes #81669 and #81667.
  125. 2007-05-18 Everaldo Canuto <[email protected]>
  126. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw toolbar
  127. button text. Fixes #79640.
  128. 2007-05-18 Everaldo Canuto <[email protected]>
  129. * Control.cs: According to MSDN controls created in the designer theres
  130. keyboard accelerators visible by default. So included check for design
  131. in ShowKeyboardCuesInternal.
  132. 2007-05-18 Everaldo Canuto <[email protected]>
  133. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw combobox
  134. text. Fixes #81621.
  135. 2007-05-18 Everaldo Canuto <[email protected]>
  136. * Control.cs: ShowKeyboardCuesInternal add to expose ShowKeyboardCues
  137. for 1.0, becuse ShowKeyboardCues is protected on 1.0.
  138. 2007-05-17 Everaldo Canuto <[email protected]>
  139. * Control.cs: Finish implementation of UI State using WmChangeUIState
  140. to send WM_UPDATEUISTATE to all child controls. Some hack will be needed
  141. in some controls to check for show_keyboard_cues to draw accell keys "_".
  142. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  143. * ListBox.cs: When calculating the horizontal scrollbar
  144. in single column mode, don't use values less than 0 for
  145. Maximum. Fixes #81474.
  146. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  147. * ListBox.cs: Throw the some missing exceptions in
  148. ListBox.ObjectCollection methods.
  149. 2007-05-17 Jackson Harper <[email protected]>
  150. * TextBoxBase.cs: Recalculate the document when the word wrap
  151. value has changed. This fixes 81488.
  152. 2007-05-17 Jonathan Pobst <[email protected]>
  153. * Clipboard.cs: Implement missing GetText overload.
  154. 2007-05-17 Chris Toshok <[email protected]>
  155. * Control.cs (CheckDataBindings): remove the binding_context arg
  156. to binding.Check.
  157. * CurrencyManager.cs (OnItemChanged): fix this now that
  158. BindingManagerBase is fixed. also remove the comment telling where
  159. the fix should go. We set transfering_data to true/false around
  160. the call to PushData to keep UpdateIsBinding from being called.
  161. (ListChangedHandler): remove the extra OnMetaDataChanged call for
  162. PropertyDescriptorAdded in the 1.1 case. The extra call is
  163. actually generated by System.Data generating 2 metadata changed
  164. events of its own per column add. The fix should go there. Add a
  165. comment to that affect in our test's Assert.Ignore.
  166. * BindingManagerBase.cs: Rework PullData and PushData slightly.
  167. we keep a boolean flag (transfering_data) that keeps us from
  168. calling UpdateIsBinding multiple times if we re-enter either of
  169. them.
  170. * ControlBindingsCollection.cs (AddCore): remove the
  171. binding_context arg to binding.Check.
  172. * Binding.cs (IsBinding): don't check if we're binding here, just
  173. return our cached value. we update it in UpdateIsBinding.
  174. (Check): don't take the binding_context arg, we'll just use our
  175. control's. Also, for some reason MS doesn't use the data member
  176. field when getting the bindingmanager for this binding. it just
  177. uses the datasource. Make this method callable multiple times,
  178. and only do the is_null_desc stuff if manager.Position != -1 (so
  179. we don't get an exception accessing manager.Current).
  180. (UpdateIsBinding): move the code from IsBinding here.
  181. (PositionChangedHandler): call Check here to we can initialize
  182. things that require a non- -1 position.
  183. 2007-05-17 Everaldo Canuto <[email protected]>
  184. * Form.cs: When alt keys is pressed send WM_CHANGEUISTATE to top level
  185. control.
  186. 2007-05-17 Andreia Gaita <[email protected]>
  187. * TabControl.cs: Add 2.0 methods and events, including
  188. OnEnter / OnLeave and raises it for tabpages (fixes #79869)
  189. * TabPage.cs: Add 2.0 methods
  190. 2007-05-17 Everaldo Canuto <[email protected]>
  191. * Control.cs: Implement WmUpdateUIState, show_focus_cues and
  192. keyboard_cues is properly handled by message method.
  193. 2007-05-17 Jonathan Pobst <[email protected]>
  194. * TreeViewImageIndexConverter.cs: Add 2.0 methods.
  195. 2007-05-17 Jonathan Pobst <[email protected]>
  196. * ToolStripTextBox.cs: Wire up new 2.0 Textbox methods/properties.
  197. 2007-05-16 Everaldo Canuto <[email protected]>
  198. * Control.cs:
  199. - WmUpdateUIState added to handle state changes, it make call to
  200. OnChangeUICues event.
  201. - Fixed ShowKeyboardCues to check for MenuAccessKeysUnderlined in
  202. SystemInformation.
  203. 2007-05-16 Jonathan Pobst <[email protected]>
  204. * ImageKeyConverter.cs: Added.
  205. * TreeViewImageKeyConverter.cs: Added.
  206. 2007-05-16 Carlos Alberto Cortez <[email protected]>
  207. * ToolTips.cs: Update Text if SetToolTip is called for a control
  208. already showing the tooltip, as well as restarting its timer; show
  209. tooltip if we are inside the control bounds by the time of calling
  210. SetToolTip. Inside ShowTooltip remove the check to not show the
  211. tooltip again for the active control (it is allowed by .Net to
  212. show the tooltip on the same control multiple times).
  213. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  214. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  215. 2007-05-16 Andreia Gaita <[email protected]>
  216. * ContainerControl.cs: only process tab key if there are no
  217. modifier keys present, otherwise the control does the
  218. tab processing, if it needs to. Fixes #81622
  219. * TabControl.cs: Fixes calculation for which tab to select on
  220. shift+ctrl+tab.
  221. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  222. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  223. 2007-05-15 Jonathan Pobst <[email protected]>
  224. * Control.cs: Make IsInputCharInternal to allow controls to
  225. override it and still match MS API.
  226. * TextBoxBase.cs: Override IsInputCharInternal and always
  227. return true.
  228. [Fixes bug #81616]
  229. 2007-05-15 Jackson Harper <[email protected]>
  230. * TextBox.cs: Disable some of the menu options when using a
  231. readonly textbox.
  232. 2007-05-15 Jackson Harper <[email protected]>
  233. * TextBox.cs:
  234. * TextBoxBase.cs:
  235. * RichTextBox.cs: Some new 2.0 methods
  236. 2007-05-15 Gert Driesen <[email protected]>
  237. * FileDialog.cs: On 1.0 profile, do not support multidotted
  238. extensions.
  239. 2007-05-14 Jackson Harper <[email protected]>
  240. * TextBoxBase.cs: Implement some of the new 2.0 methods.
  241. * RichTextBox.cs: We need to override these methods on 2.0.
  242. * MaskedTextBox.cs: These are implemented now
  243. * TextControl.cs: This was off by one.
  244. 2007-05-14 Jackson Harper <[email protected]>
  245. * TextControl.cs: Because the line endings are including in the
  246. text, we don't need to add them in anymore.
  247. 2007-05-11 Everaldo Canuto <[email protected]>
  248. * ToolBar.cs: Fix autosize and get it working only after hadle is created,
  249. also prevent redraw in set_autosize if handle is not created. Fixes #81523.
  250. 2007-05-11 Everaldo Canuto <[email protected]>
  251. * ToolBar.cs: Adjust size to default size when button theres no text and
  252. image, it fixes remaining issues from #81524.
  253. 2007-05-11 Everaldo Canuto <[email protected]>
  254. * ToolBar.cs:
  255. - When not flat call redraw to recalculate sizes on creare handle to match
  256. win32 behavior.
  257. - Revert 77220 because it causes some regressions in toobar
  258. button.
  259. 2007-05-11 Rolf Bjarne Kvinge <[email protected]>
  260. * MaskedTextBox.cs: Update the base text whenever the text changes. MTB
  261. now actually enters a usable state.
  262. 2007-05-11 Everaldo Canuto <[email protected]>
  263. * ToolBar.cs: Check for handle created in redraw to prevent unneeded size
  264. calculations, it reduces the size cauculation from 7 to 3 on a toolbar with
  265. 3 buttons.
  266. 2007-05-11 Everaldo Canuto <[email protected]>
  267. * ToolBar.cs: Save default_size on create handle to use later for buttons
  268. without text, needed to mimic win32 behavior.
  269. 2007-05-11 Everaldo Canuto <[email protected]>
  270. * ToolBar.cs: Fix button layour to best fit width or height according to
  271. vertical or not. Fixes #81524.
  272. 2007-05-10 Everaldo Canuto <[email protected]>
  273. * ToolBarButton.cs: When change style call ToolBar.Redraw to update
  274. toolbar size info because different styles theres different sizes.
  275. Fixes #81522.
  276. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  277. * ThemeWinClassic.cs: For .Net 2.0 don't draw any image
  278. if we are using checkboxes, checked is true, and we have less
  279. than two images in StateImageList; for the 1.1 in the same scenario
  280. draw the first image if we have at least one image in StateImageList.
  281. Fixes part of #81191.
  282. 2007-05-10 Jonathan Pobst <[email protected]>
  283. * ToolStrip.cs, ToolStripManager.cs: We need to remove items from
  284. the owner's Items collection on merge.
  285. 2007-05-10 Jonathan Pobst <[email protected]>
  286. * ToolStrip.cs: Use new internal ToolStripItemCollection constructor.
  287. * ToolStripItemCollection.cs: Lots of fixes to when events get called
  288. and parent/owner gets changed based on gert's unit tests.
  289. 2007-05-10 Rolf Bjarne Kvinge <[email protected]>
  290. * MaskedTextBox.cs: Started implementing parts of it.
  291. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  292. * ListView.cs: When clicking the checkbox on the items
  293. take into account the double clicks even if we have only
  294. one image in StateImageList (only for 1.0/1.1). Also
  295. generate an extra change of checked state when we receive
  296. the second click on checkbox (match .Net behaviour).
  297. Fixes part of #81191.
  298. 2007-05-10 Everaldo Canuto <[email protected]>
  299. * ThemeWin32Classic.cs: Fix text rectangles in Tooltips.
  300. 2007-05-10 Jonathan Pobst <[email protected]>
  301. * Form.cs: Move some of OnLoad to OnLoadInternal so it gets called
  302. even if OnLoad is overriden and base.OnLoad is not called.
  303. [Fixes bug #81582]
  304. 2007-05-10 Andreia Gaita <[email protected]>
  305. * TableLayoutSettings.cs: A big doh! fix and bowing down of head in
  306. shame. (I blame my ever-persisting and annoying cold)
  307. 2007-05-09 Jonathan Pobst <[email protected]>
  308. * ListView.cs: Don't eat navigation keys. Let them flow through to
  309. KeyDown/KeyPress routines. [Fixes bug #81569]
  310. 2007-05-09 Jonathan Pobst <[email protected]>
  311. * ListView.cs: When handling keys for selecting the item based off
  312. keyboard input, do not consider keys pressed with Alt or Control. Also,
  313. correctly handle keys when the Shift key is down. [Fixes bug #81578]
  314. 2007-05-09 Jonathan Pobst <[email protected]>
  315. * Control.cs: When using UseWaitCursor, we have to store the requested
  316. Cursor to use when UseWaitCursor is turned off.
  317. 2007-05-09 Jonathan Pobst <[email protected]>
  318. * Control.cs: Implement PreProcessControlMessage. Default IsInputChar
  319. to false.
  320. * Application.cs: Use PreProcessControlMessage instead of
  321. PreProcessMessage.
  322. * PreProcessControlMessage.cs: Make internal for 1.1.
  323. 2007-05-08 Carlos Alberto Cortez <[email protected]>
  324. * Control.cs: Add InternalContains focus property, which hast the same
  325. functionality of ContainsFocus, but also including implicit controls.
  326. * ListViewItem.cs: Use InternalContainsFocus instead of ContainsFocus,
  327. since we need to know if the focus is contained in our implicit
  328. ItemControl when calculating Layout. Fixes part of #80888.
  329. 2007-05-08 Everaldo Canuto <[email protected]>
  330. * ToolTip.cs: Remove center form string alignment as it must be align to
  331. left.
  332. 2007-05-08 Jonathan Pobst <[email protected]>
  333. * ToolStripItemCollection.cs: Set the new item's parent and owner
  334. in Insert like we do in Add. [Fixes bug #81568]
  335. 2007-05-08 Jackson Harper <[email protected]>
  336. * TreeView.cs: GotFocus differences between 1.1 and 2.0.
  337. - Off by one error in SetTop
  338. - Disable DoubeBuffering
  339. 2007-05-08 Rolf Bjarne Kvinge <[email protected]>
  340. * ScrollableControl.cs: ScrollIControlntoView: we now only move the
  341. control as much as necessary in order to make it entirely visible,
  342. instead of centering the control in the container (matches MS
  343. behaviour). CalculateCanvasSize: we need to take the current scroll
  344. position into account when calculating the maximum canvas,
  345. otherwise the following scenario will fail: resize so that the
  346. scrollbars appear, use the scrollbars to scroll, resize again
  347. smaller, and now the canvas size is too small. Recalculate: when
  348. showing scrollbars make sure they start off at 0, and try to scroll
  349. the active control into view. Fixes #79540. HandleScrollBar: don't
  350. scroll anywhere if the scrollbar isn't visible.
  351. 2007-05-07 Carlos Alberto Cortez <[email protected]>
  352. * ListView.cs: When focus changed, call Layout/Invalidate
  353. in the focused item to update the selected state (should show
  354. entire label when ListView is focused, and a part of it if is not).
  355. * ListViewItem.cs: When doing layout for LargeIcon, take into account
  356. for displaying the entire label not only the Focused state of the
  357. item, but also the Focused state of the ListView (match .Net
  358. behaviour).
  359. 2007-05-07 Jonathan Pobst <[email protected]>
  360. * Control.cs: Stub CanRaiseEvents, IsMirrored, and NotifyClients.
  361. Implement UseWaitCursor.
  362. 2007-05-07 Jonathan Pobst <[email protected]>
  363. Applying contributed patch from Sergey Volk.
  364. * Clipboard.cs: Implement SetDataObject retry logic and new overload
  365. of SetDataObject.
  366. * XplatUIWin32.cs: Throw an ExternalException if the clipboard set fails.
  367. 2007-05-07 Jonathan Pobst <[email protected]>
  368. * Control.cs: Implement DrawToBitmap.
  369. 2007-05-07 Jonathan Pobst <[email protected]>
  370. Applying contributed patch from Stefan Noack.
  371. * Control.cs: Add [Get|Set]AutoSizeMode.
  372. 2007-05-07 Jonathan Pobst <[email protected]>
  373. * MdiClient.cs: Unmerge menus when the last child is closed.
  374. 2007-05-07 Jonathan Pobst <[email protected]>
  375. * ToolStrip.cs: Do not call BeginMerge on DropDowns.
  376. * ToolStripManager.cs: Call Merge on DropDowns.
  377. [Fixes bug #81477]
  378. 2007-05-07 Rolf Bjarne Kvinge <[email protected]>
  379. * XplatUIWin32.cs: Changed Win32CreateWindow to take enums instead of
  380. uints.
  381. * Form.cs: CreateParams: don't set WS_VISIBLE if we're changing
  382. visibility. We can't create forms visible, since we have to set the
  383. owner before making the form visible (otherwise Win32 will do
  384. strange things with task bar icons). The problem is that we set the
  385. internal is_visible to true before creating the control, so
  386. is_changing_visible_state is the only way of determining if we're
  387. in the process of creating the form due to setting Visible=true -
  388. this works because SetVisibleCore explicitly makes the form
  389. visibile afterwards anyways. Fixes #80775.
  390. 2007-05-04 Carlos Alberto Cortez <[email protected]>
  391. * ThemeWin32Classic.cs: When drawing ListViewItems,
  392. use StringTrimming.EllipsisCharacter if the view is Tile, Details,
  393. or LargeIcon _and_ item is not focused (match .Net behaviour).
  394. 2007-05-04 Jonathan Pobst <[email protected]>
  395. * Control.cs, Form.cs: Fix some obsolete method warnings.
  396. 2007-05-04 Jonathan Pobst <[email protected]>
  397. * Control.cs: Implement GetChildAtPoint and OnParentCursorChanged.
  398. * GetChildAtPointSkip.cs: Make internal for 1.1 profile.
  399. 2007-05-04 Andreia Gaita <[email protected]>
  400. * ContainerControl.cs: Fix active_control attribution when going
  401. up the parent chain so that the first parent container gets the control
  402. and the rest of the parent containers get the child containers (skips
  403. non-containers). Fixes #80729
  404. 2007-05-04 Randolph Chung <[email protected]>
  405. * FileDialog.cs: Implement the SupportMultiDottedExtensions property.
  406. [Fixes bug #81499]
  407. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  408. * XplatUIX11.cs: Add a TranslateWindowSizeToXWindowSize overload that
  409. takes a size parameter, since the CreateParam's size isn't true for
  410. minimized forms. Fixes #81518,
  411. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  412. * Form.cs: Add OnDeactivateInternal.
  413. * MdiClient.cs: Raise Deactivate event. Fixes #81409.
  414. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  415. * DateTimePicker.cs: CalculateDropDownLocation: do a null check before
  416. accessing the parent. Fixes #81508.
  417. 2007-05-03 Chris Toshok <[email protected]>
  418. * CurrencyManager.cs (CurrencyManager.ListChangeHandler): in the
  419. 2.0 block, pass listposition + 1 to ChangeRecordState when a row
  420. was added before the current listposition. Fixes the
  421. TestInsertRowBeforeCurrent unit test.
  422. 2007-05-03 Jonathan Pobst <[email protected]>
  423. * Application.cs: Add RaiseIdle.
  424. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  425. XplatUIX11.cs: Implement RaiseIdle.
  426. 2007-05-02 Jonathan Pobst <[email protected]>
  427. corcompare work: N - Z
  428. * NotifyIcon.cs
  429. * ProgressBar.cs
  430. * RadionButton.cs
  431. * ScrollableControl.cs
  432. * SplitContainer.cs
  433. * SplitterPanel.cs
  434. * StatusBar.cs
  435. * SystemInformation.cs
  436. * TabControl.cs
  437. * TableLayoutControlCollection.cs
  438. * TableLayoutPanel.cs
  439. * TabPage.cs
  440. * ToolBar.cs
  441. * ToolBarButton.cs
  442. * ToolStrip.cs
  443. * ToolStripComboBox.cs
  444. * ToolStripContainer.cs
  445. * ToolStripContentPanel.cs
  446. * ToolStripDropDown.cs
  447. * ToolStripDropDownItem.cs
  448. * ToolStripDropDownMenu.cs
  449. * ToolStripItem.cs
  450. * ToolStripItemCollection.cs
  451. * ToolStripMenuItem.cs
  452. * ToolStripPanel.cs
  453. * ToolStripSplitButton.cs
  454. * ToolTip.cs
  455. * TreeNode.cs
  456. * TreeNodeCollection.cs
  457. * TreeNodeMouseHoverEventArgs.cs
  458. * TreeView.cs
  459. 2007-05-01 Everaldo Canuto <[email protected]>
  460. * ContextMenu.cs: Add public method Show with alignment property to 2.0
  461. stuff. Thanks aatdark for the patch.
  462. 2007-05-01 Jonathan Pobst <[email protected]>
  463. * GridItem.cs: Implement 2.0 Tag property.
  464. 2007-05-01 Frederik Carlier <[email protected]>
  465. * TreeNodeCollection.cs: Fix ContainsKey and IndexOfKey methods to use
  466. count instead of Nodes.Length. [Fixes bug #81448]
  467. 2007-05-01 Jonathan Pobst <[email protected]>
  468. * ComboBox.cs: Fix paramName sent to ArgumentOutOfRangeException's.
  469. [Fixes bug #81506]
  470. 2007-05-01 Jonathan Pobst <[email protected]>
  471. corcompare work: A - M
  472. * BindingNavigator.cs
  473. * Button.cs
  474. * ButtonBase.cs
  475. * CheckBox.cs
  476. * Control.cs
  477. * FlowLayoutPanel.cs
  478. * Form.cs
  479. * Label.cs
  480. * LinkLabel.cs
  481. * ListView.cs
  482. 2007-05-01 Jonathan Pobst <[email protected]>
  483. * Application.cs: Give toolstrips a chance to process mnemonics.
  484. * ToolStrip.cs, ToolStripDropDownButton.cs, ToolStripItem.cs,
  485. ToolStripItemTextRenderEventArgs.cs, ToolStripLabel.cs,
  486. ToolStripMenuItem.cs, ToolStripSplitButton.cs: Implement keyboard mnemonics.
  487. 2007-05-01 Jackson Harper <[email protected]>
  488. * TextBoxBase.cs: Better preferred height, FixedSingle gets the
  489. wider area too.
  490. - Don't set the BoundsSpecified
  491. 2007-04-30 Jonathan Pobst <[email protected]>
  492. * Application.cs: When using the toolstrip shortcut mechanism, allow the
  493. message to pass through to a regular control if it hosted by a toolstrip.
  494. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  495. ToolStripManager.cs: Enable keyboard navigation for ToolStrips.
  496. 2007-04-30 Jonathan Pobst <[email protected]>
  497. * TextRenderer.cs: Use the flags argument when using the MeasureString
  498. fallback algorithm.
  499. 2007-04-30 Jonathan Pobst <[email protected]>
  500. * MenuStrip.cs: Don't let multiple ToolStripSeparators get added to
  501. the MDI menu item. [Fixes bug #81483]
  502. 2007-04-30 Gert Driesen <[email protected]>
  503. * DataGridViewColumn.cs: Initialize value of headercell to zero-length
  504. string. When setting Name to null, use zero-length string instead.
  505. 2007-04-29 Andreia Gaita <[email protected]>
  506. * TabControl.cs: Implement missing 2.0 methods (SelectTab,
  507. DeselectTab). Implement missing 2.0 TabPageCollection methods
  508. (Add, ContainsKey, RemoveByKey, IndexOfKey)
  509. 2007-04-29 Pedro Martínez Juliá <[email protected]>
  510. * DataGridViewColumn.cs: Make HeaderText take preference over Name.
  511. 2007-04-29 Gert Driesen <[email protected]>
  512. * RichTextBox.cs: In LoadFile, use StreamReader to read plain text.
  513. Fixes bug #81479. Include details of exception when LoadFile fails.
  514. 2007-04-28 Alan McGovern <[email protected]>
  515. * DrawListViewSubItemEventArgs.cs: Added missing setter
  516. 2007-04-27 Andreia Gaita <[email protected]>
  517. * ToolTip.cs: Add missing 2.0 properties. Implement 2.0 Show and
  518. Hide methods (not complete). Implement missing 2.0 OnPopup event.
  519. 2007-04-27 Carlos Alberto Cortez <[email protected]>
  520. * ListView.cs: In ItemControl.OnMouseDown restore a pair of braces I
  521. removed in ly last commit (it was breaking the Label edit feature).
  522. * ThemeWin32Classic.cs: When drawing a ListViewItem use
  523. StringAlignment.Near for LineAlignment (match .Net).
  524. 2007-04-27 Andreia Gaita <[email protected]>
  525. * TabControl.cs: Change SetTab so it adds the tabpage to the list
  526. of controls if it isn't already there - was blowing up when doing
  527. tabcontrol.TabPages[i]=new TabPage().
  528. SetTab now does a replace by removing the page at the index.
  529. Add a new InsertTab method that inserts a page in a given index
  530. instead of replacing.
  531. Implements TabPageCollection.Insert(int, TabPage).
  532. 2007-04-27 Chris Toshok <[email protected]>
  533. * BindingManagerBase.cs: fill in CurrentItemChanged (and have an
  534. internal handler that can be invoked from our subclasses.) Also,
  535. add a comment to PushData about how we need to fix it.
  536. * CurrencyManager.cs: tons of changes here. trying to get things
  537. matching the behavior of .net wrt event orders (ItemChanged,
  538. CurrentChanged, PositionChanged.) I've implemented a private .net
  539. symbol (ChangeRecordState) that appears in stack traces because
  540. it's actually easier to do this than to effective inline all its
  541. various behaviors at every call site.
  542. * RelatedPropertyManager.cs: guard against an exception here by
  543. not using parent.Current if the position is set to -1 (if the
  544. parent datasource is cleared, for instance).
  545. * Binding.cs: don't parse data in PushData (this might be wrong,
  546. but it jives with MS's behavior.) Also, don't call PushData when
  547. we get a CurrentChanged event.
  548. 2007-04-27 Andreia Gaita <[email protected]>
  549. * WebBrowser.cs,
  550. WebBrowserBase.cs,
  551. WebBrowserSiteBase.cs,
  552. HtmlDocument.cs: Added stubbed out classes, no real implementations
  553. yet.
  554. 2007-04-27 Everaldo Canuto <[email protected]>
  555. * MainMenu.cs: In draw method without parameters call draw method with
  556. PaintEvent, another one (just rect) adjust rectangle and we dont need it
  557. as Rect property is already adjusted. Fixes #80694.
  558. 2007-04-27 Jonathan Pobst <[email protected]>
  559. * Application.cs: Need to handle keyboard menu deselection here.
  560. * Control.cs: Use WM_SYSKEYUP instead of WM_SYSCOMMAND to start menu keyboard
  561. navigation, allowing keyboard to work on X11.
  562. * ToolStrip.cs: Don't worry about handling the Menu key here anymore.
  563. 2007-04-27 Everaldo Canuto <[email protected]>
  564. * MenuAPI.cs: When deactivate menu verify if hotkey (_) is active and redraw
  565. menu bar. It fixes some drawing issues in menu bar.
  566. 2007-04-27 Everaldo Canuto <[email protected]>
  567. * MenuAPI.cs: Remove unneeded "keynav_state = KeyNavState.Idle" before
  568. Deactivate calls, Deactivate method already do it. Also ser ActiveTracker
  569. when <alt> key is pressed.
  570. 2007-04-26 Everaldo Canuto <[email protected]>
  571. * XplatUIX11.cs: Simplify SystrayRemove to be like other libraries, Gtk as
  572. example just set visible to false and make this prevent from other problems.
  573. In SystrayAdd always remove pending expose. Fixes #81072.
  574. 2007-04-26 Marek Safar <[email protected]>
  575. * TextBoxBase.cs (CaretMoved): Consider scroll maximum when scroll
  576. value is set.
  577. 2007-04-26 Alan McGovern <[email protected]>
  578. * ListView.cs: Added three missing 2.0 events and corresponding
  579. EventHandlers. Added the OwnerDraw property.
  580. * DrawListViewColumnHeaderEventHandler.cs: fixed typo
  581. 2007-04-26 Alan McGovern <[email protected]>
  582. * DrawListViewItemEventArgs.cs
  583. * DrawListViewSubItemEventArgs.cs: Brought classes up to 2.0 status.
  584. 2007-04-26 Alan McGovern <[email protected]>
  585. * TextControl.cs: Fixed typo in constructor
  586. 2007-04-26 Jonathan Pobst <[email protected]>
  587. * Application.cs: Create a shortcut path so that currently selected
  588. MenuStrips can intercept keyboard events without having focus.
  589. * Control.cs: Handle WM_SYSCOMMAND message to activate MenuStrips.
  590. * MenuStrip.cs, ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownItem.cs,
  591. ToolStripItem.cs, ToolStripManager.cs, ToolStripMenuItem.cs: Support
  592. keyboard navigation (arrows, tab, enter, esc) on Windows. Still need to
  593. generate WM_SYSCOMMAND message in X11 for other platforms.
  594. * ToolStripProfessionalRenderer.cs: ToolStripMenuItems need to be painted
  595. in OnRenderMenuItemBackground instead of OnRenderButtonBackground.
  596. * ToolStripSplitButton.cs: Add DefaultItem property.
  597. 2007-04-26 Everaldo Canuto <[email protected]>
  598. * MainMenu.cs: In OnMenuChanged pass PaintEventArgs to Draw method, it
  599. fixes some menu draw problem on Windows with border diferent from default
  600. it also fixes #81403.
  601. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  602. * Form.cs: Refactor WndProc into separate methods, just like Control is
  603. doing it.
  604. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  605. * Control.cs: set_Text: move the call to the driver into a seperate
  606. virtual method so that Form can override it.
  607. * MaskedTextBox.cs: Corcompare fixes.
  608. * Form.cs: Override UpdateWindowText and only update the styles if the
  609. form has been shown (fixes #81405).
  610. 2007-04-25 Jonathan Pobst <[email protected]>
  611. * Control.cs, Form.cs: Use the better supported WM_?BUTTONDOWN and
  612. WM_ACTIVATE messages instead of WM_MOUSEACTIVATE and
  613. WM_ACTIVATEAPP. This fixes menus not disappearing on X11 when
  614. the form lost focus or another control was clicked.
  615. 2007-04-25 Gert Driesen <[email protected]>
  616. * DataGrid.cs: Uncomment MakeTransparent calls since bug #80151 is
  617. fixed.
  618. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  619. * DrawListViewColumnHeaderEventHandler.cs, DrawToolTipEventArgs.cs,
  620. DrawListViewItemEventHandler.cs,
  621. DrawListViewSubItemEventHandler.cs, DrawToolTipEventHandler.cs:
  622. Added.
  623. * X11Structs.cs: More ToString implementation.
  624. 2007-04-25 Jonathan Pobst <[email protected]>
  625. * ToolStripDropDownItem.cs: Don't lazy create a DropDown in Dispose.
  626. * ToolStripOverflowButton.cs: Don't lazy create a DropDown in HasDropDownItems.
  627. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  628. * Control.cs: Only raise OnVisibleChanged if we're not recreating the
  629. handle.
  630. * FormCollection.cs: Don't add a form if it's already in the
  631. collection.
  632. * Form.cs: Change ShowDialog () to call ShowDialog (owner) with a null
  633. according to behaviour and MSDN. The ownerWin32 is the active
  634. window at the moment when we call ShowDialog, not the context's
  635. main form (the context's main form may open another form that opens
  636. a form with ShowDialog, the win32 owner is the second form). Add
  637. and remove forms to the Application.OpenForms in other places to
  638. better match MS behaviour. Add an IsActive property that raises
  639. On(de)Activated only if the active state has changed (we were
  640. raising OnDeactivated before OnActivated while creating forms).
  641. * Application.cs: Refactor Enabling/Disabling of windows for modal
  642. dialog loops out to separate methods, and restore the thread
  643. context when we quit the method. Fixes #81407.
  644. 2007-04-25 Carlos Alberto Cortez <[email protected]>
  645. * ListView.cs: In ItemControl.HandleClicks, also fire
  646. 2.0 MouseClick or MouseDoubleClick events on the parent,
  647. not only the Click/DoubleClick events.
  648. 2007-04-24 Andreia Gaita <[email protected]>
  649. * TableLayoutSettings.cs:
  650. - Added a GetControls method and a support structure to help the
  651. TypeConverter to enumerate the controls for serialization.
  652. - Added a new serialization constructor.
  653. - Added a isSerialized flag initialized to true on the
  654. serialization constructor so that the TableLayoutPanel.LayoutSettings
  655. setter does not throw the designed NotSupportedOperation exception
  656. when the object is built through deserialization.
  657. - Implemented GetObjectData
  658. * TableLayoutPanel.cs: Added check on LayoutSettings.
  659. 2007-04-24 Carlos Alberto Cortez <[email protected]>
  660. * ListView.cs: Report Click and DoubleClick events to the parent
  661. from ItemsMouseUp, instead of ItemsMouseDown. This prevents us
  662. from breaking the click count state when using dialog forms (Control
  663. reports the clicks in a similar fashion). In the previous behaviour
  664. the last WM_LBUTTONUP message in a double click was sent to the
  665. ListView's form, instead of the ListView, which was breaking the click
  666. count for it. Fixes #80387.
  667. 2007-04-24 Alan McGovern <[email protected]>
  668. * BindingNavigator.cs : fixed bugs revealed by new nunit tests
  669. 2007-04-24 Jonathan Pobst <[email protected]>
  670. * ToolStripDropDownItem.cs: Lazy initialize the DropDown. This prevents
  671. us from created dropdowns for menu items that do not have subitems.
  672. * ToolStripItem.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs:
  673. Check HasDropDownItems before calling DropDown so a dropdown will not be
  674. created if it isn't needed.
  675. 2007-04-24 Jackson Harper <[email protected]>
  676. * TreeView.cs: Set the first node to the selected node when we get
  677. focus if there is no selected node.
  678. 2007-04-24 Andreia Gaita <[email protected]>
  679. * MimeIcon.cs: remove using blocks so that image streams are
  680. not disposed of. Fixes #80151
  681. 2007-04-24 Jackson Harper <[email protected]>
  682. * TextBoxBase.cs: Fixup the height of textboxes when the control
  683. is created.
  684. 2007-04-24 Jonathan Pobst <[email protected]>
  685. * ToolStrip.cs: Fully implement GetNextItem. Call OnParentRightToLeftChanged
  686. for each ToolStripItem when the parent's RightToLeftChanged is called.
  687. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  688. * ComboBox.cs: Forward ContextMenu to the underlying textbox, if any.
  689. Fixes #80163.
  690. * Control.cs: Replace GetContextMenuInternal() with ContextMenuInternal
  691. property, so that the setter can be overriden too.
  692. * TextBox.cs: Change GetContextMenuInternal() to use
  693. ContextMenuInternal.
  694. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  695. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  696. #81406.
  697. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  698. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  699. #81406.
  700. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  701. * MaskedTextBox.cs: Commit this so nobody else starts working on it and
  702. avoid duplicate work. Mostily skeleton code, it's not working at
  703. all yet.
  704. 2007-04-20 Leszek Ciesielski <[email protected]>
  705. * NotifyIcon.cs : stub for MouseClick event
  706. * Application.cs: stub for SetUnhandledExceptionMode
  707. 2007-04-24 Alan McGovern <[email protected]>
  708. * BindingNavigator.cs : Initial (partial) implementation
  709. 2007-04-23 Jackson Harper <[email protected]>
  710. * TreeView.cs: Do not create the treeview's handle when setting
  711. the scroll position.
  712. - ExpandAll needs to compute the scrollbars so it knows which
  713. position to set the bar too.
  714. * TreeNode.cs:
  715. * TreeNodeCollection.cs: Pass new flag to UpdateScrollBars
  716. 2007-04-23 Jackson Harper <[email protected]>
  717. * TextBoxBase.cs: Non multiline textboxes shouldn't take the enter
  718. key. Fixes #81408.
  719. 2007-04-23 Jonathan Pobst <[email protected]>
  720. * ToolStripItem.cs: Make GetImageSize internal.
  721. * ToolStripMenuItem.cs: Use GetImageSize to determine the size we
  722. need to draw an item. Fixes a reported issue where images on menus
  723. that were not 16x16 were drawing incorrectly.
  724. 2007-04-21 Miguel de Icaza <[email protected]>
  725. * Padding.cs: Use the converter, fixes the resgen2 issue with
  726. XMLNotePad.
  727. 2007-04-21 Jackson Harper <[email protected]>
  728. * TreeView.cs: Dont try to unhighlight the selected node if there
  729. isn't a selected node.
  730. 2007-04-21 Jackson Harper <[email protected]>
  731. * UpDownBase.cs:
  732. * TextBoxBase.cs:
  733. * ListView.cs:
  734. * ListBox.cs:
  735. * TreeView.cs: Use the InternalBorderStyle property to set the
  736. initial border style, this forces the client rectangle to be sized
  737. correctly.
  738. 2007-04-20 Jackson Harper <[email protected]>
  739. * TreeView.cs: Simplify scrolling to the last node after expanding
  740. all.
  741. - Fix some off by ones with setting the bottom.
  742. 2007-04-20 Jonathan Pobst <[email protected]>
  743. * Control.cs: Use DefaultSize for Size, calculate ClientSize from
  744. that. We were incorrectly doing it the other way around. Also,
  745. update ClientSize if we change the BorderStyle before the control
  746. is created.
  747. 2007-04-20 Gert Driesen <[email protected]>
  748. * XplatUI.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  749. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  750. XplatUIDriver.Caption to CaptionHeight. Spaces to tabs.
  751. * XplatUIDriver.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  752. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  753. Caption to CaptionHeight.
  754. * XplatUIX11.cs: Renamed Caption to CaptionHeight.
  755. * Theme.cs: Modified Border3DSize, BorderSize, CaptionButtonSize
  756. and FixedFrameBorderSize to return value from current XplatUI driver.
  757. * XplatUIWin32.cs: Implemented Border3DSize, BorderSize,
  758. CaptionButtonSize, DragFullWindows, DoubleClickSize, DoubleClickTime
  759. and FixedFrameBorderSize using win32 API. Renamed Caption to
  760. CaptionHeight.
  761. * XplatUIOSX.cs: Renamed Caption to CaptionHeight.
  762. * SystemInformation.cs: Fixed typo in BorderSize.
  763. 2007-04-20 Gert Driesen <[email protected]>
  764. * XplatUI.cs: Added MenuAccessKeysUnderlined.
  765. * XplatUIDriver.cs: Added MenuAccessKeysUnderlined.
  766. * XplatUIX11.cs: Implemented MenuAccessKeysUnderlined by always
  767. returning false.
  768. * Theme.cs: Modified MenuAccessKeysUnderlined to return corresponding
  769. value from XplatUI driver.
  770. * XplatUIWin32.cs: Implemented MenuAccessKeysUnderlined using
  771. SystemParametersInfo.
  772. * ThemeWin32Classic.cs: Remove obsolete MenuAccessKeysUnderlined
  773. override.
  774. * XplatUIOSX.cs: Implemented MenuAccessKeysUnderlind by always
  775. returning false.
  776. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  777. * XplatUIX11.cs, Hwnd.cs: Remove warnings.
  778. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  779. * MessageBox.cs, XplatUIX11.cs, Hwnd.cs: Remove warnings.
  780. 2007-04-20 Jonathan Pobst <[email protected]>
  781. * ToolStripManager.cs: Fix a reported InvalidCastException when unmerging
  782. MenuStrips that contain ToolStripSeparators.
  783. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  784. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Add
  785. DefineStdCursorBitmap.
  786. * Cursor.cs: Add an internal constructor so that the Cursor knows if it
  787. has been created off a standard cursor. This is used to get a
  788. bitmap of the standard cursor when Draw or DrawStretched is called
  789. in order to draw the cursor.
  790. * X11Structs.cs: Added XcursorImage and XcursorImages.
  791. * XplatUIX11.cs, XplatUIWin32.cs: Add and implement
  792. DefineStdCursorBitmap.
  793. * Cursors.cs: Update all relevant creations of Cursor to use the new
  794. internal constructor.
  795. 2007-04-19 Jackson Harper <[email protected]>
  796. * TextBox.cs: Move the has_been_focused into the base control, so
  797. some of the text adding methods can manipulate it (probably time
  798. for a better name for this flag too).
  799. - Call a new version of selectall that doesn't scroll
  800. * TextBoxBase.cs: When we append text, if the document is empty,
  801. don't scroll. If the document has text already, we scroll to the
  802. end of the appended text.
  803. - When the text is changed, we reset the has_been_focused, so the
  804. next time the control gets focused, all the text is selected.
  805. 2007-04-19 Jackson Harper <[email protected]>
  806. * TextControl.cs: Move the margins to the document, add a method
  807. so the margin sizes can be updated.
  808. * TextBoxBase.cs: When the border style is changed, update the
  809. border sizes.
  810. 2007-04-19 Jonathan Pobst <[email protected]>
  811. * Control.cs: Respect DefaultPadding.
  812. * GroupBox.cs: Implement DefaultPadding, DisplayRectangle takes
  813. padding into account.
  814. * ToolStrip.cs: Remove setting padding to DefaultPadding in constructor.
  815. 2007-04-19 Jackson Harper <[email protected]>
  816. * TextControl.cs: Oops, we need to use the ClientRect not the
  817. bounds here.
  818. 2007-04-18 Carlos Alberto Cortez <[email protected]>
  819. * ListView.cs: In ItemControl.ItemsMouseDown, take into
  820. account the double clicks when CheckBoxes are used and
  821. the pointer is inside the checkbox. Fixes part of #81191.
  822. 2007-04-18 Jackson Harper <[email protected]>
  823. * TextControl.cs: Pressing the end key shouldn't move the caret
  824. past the line ending.
  825. * TextBoxBase.cs: We can still delete if we are in the line
  826. ending and the combine will just kill the existing line ending.
  827. 2007-04-18 Jackson Harper <[email protected]>
  828. * TextControl.cs: We can't move lines, then invalidate their
  829. bounds, we need to get the old bounds and combine that with the
  830. new bounds.
  831. * TextBoxBase.cs: Before combining two lines for a delete, we need
  832. to invalidate the area of the old line, since that will be moved
  833. in the combine operation.
  834. 2007-04-18 Everaldo Canuto <[email protected]>
  835. * LinkLabel.cs: In OnPaint invoke draw background to fix problems
  836. with transparent background. Fixes #80482.
  837. 2007-04-18 Jonathan Pobst <[email protected]>
  838. * PictureBox.cs: Refresh on resize when SizeMode = Zoom.
  839. * ThemeWin32Classic.cs: Implement PictureBox.SizeMode = Zoom.
  840. [Fixes bug #81391]
  841. 2007-04-18 Rolf Bjarne Kvinge <[email protected]>
  842. * CreateParams.cs: Add a couple of helper methods and do a less string
  843. concatenation in ToString.
  844. * XplatUIX11.cs: Add an TranslateClientRectangleToXClientRectangle
  845. overload that takes a Control parameter, since this method may be
  846. called before a control is assigned to the hwnd (from
  847. CreateWindow), and update CreateWindow to use the new overload. In
  848. GetMenuOrigin subtract the title bar from the y position if the
  849. form has a window manager (since we're painting it and not X).
  850. * XplatUIWin32.cs: If we can get a form in GetMenuOrigin use the form's
  851. CreateParams to calculate the origin (since border sizes may vary).
  852. In ScreenToMenu only subtract the title height if we actually have
  853. a title.
  854. * MdiWindowManager.cs: Override MenuHeight to always return 0, since
  855. mdi children never have menus of themselves.
  856. * InternalWindowManager.cs: Implement menu handling like form does.
  857. Added GetMenuOrigin to calculate the menu origin, can't use the
  858. CreateParams from the form like normally since it's lying.
  859. * Hwnd.cs: Implement GetBorderSize better (in the sense more
  860. windows-like) and add Inflate and comparison operators to the
  861. Borders type. When calculating MenuOrigin and it's a form with a
  862. window manager, use the window manager to calculate it.
  863. 2007-04-17 Chris Toshok <[email protected]>
  864. * Control.cs (CreateControl): turns out in 2.0 we don't need this
  865. OnBindingContextChanged thing here. It's only generated from
  866. ContainerControl.OnCreateControl. Fixes a newly written unit test
  867. - BindingTest.BindingContextChangedTest4.
  868. 2007-04-17 Jackson Harper <[email protected]>
  869. * ScrollBar.cs: When setting values, make sure the current
  870. position stays within the new values range.
  871. 2007-04-17 Chris Toshok <[email protected]>
  872. * Control.cs (CreateControl): talk about a bizarre corner case.
  873. Don't emit OnBindingContextChanged here if we're a parentless
  874. control (i.e. if we're a form.). Fixes
  875. BindingTest.BindingContextChangedTest2.
  876. 2007-04-17 Everaldo Canuto <[email protected]>
  877. * ButtonBase.cs: Remove TextFormatFlags.WordBreak to mimic same behavior
  878. from win32. Fixes #81255.
  879. 2007-04-17 Everaldo Canuto <[email protected]>
  880. * ThemeWin32Classic.cs: Remove text offset from DrawButtonText as it is
  881. already present in CalculateButtonTextAndImageLayout.
  882. 2007-04-17 Rolf Bjarne Kvinge <[email protected]>
  883. * XplatUIX11.cs: When setting min/max size for a window we need to
  884. translate the coordinates to x coordinates. Create an overload of
  885. SetWindowMinMax that takes a CreateParams handling this, and change
  886. SetWMStyles to call this function (can't use Control.FromHandle in
  887. the SetWindowMinMax to get the control/CreateParams from the handle
  888. because the handle might not have been assigned to the control
  889. yet). Fixes #81371.
  890. 2007-04-16 Carlos Alberto Cortez <[email protected]>
  891. * ListView.cs: In ItemControl.ItemMouseDown, don't change check state
  892. if StateImageList is non-null and it has less than two items (match MS
  893. behaviour). Also, in HandleNavKeys handle the Space key, calling
  894. the new ToggleItemsCheckState method, which tries to change the
  895. checked state of the selected items. Fixes part of #81191.
  896. 2007-04-16 Jackson Harper <[email protected]>
  897. * RichTextBox.cs: namespace cleanup.
  898. 2007-04-16 Everaldo Canuto <[email protected]>
  899. * XplatUIWin32.cs: Back last parameter to true in SetClipRegion.
  900. 2007-04-16 Everaldo Canuto <[email protected]>
  901. [Fixes #79447]
  902. * Control.cs: Call invalidate in set_Region.
  903. * XplatUIX11.cs, XplatUIWin32.cs: Remove invalidate from SetClipRegion as
  904. it dont works here.
  905. 2007-04-16 Jackson Harper <[email protected]>
  906. * TextBoxBase.cs: When enter is pressed, we need to update all
  907. lines below the current.
  908. 2007-04-16 Jonathan Pobst <[email protected]>
  909. * MdiClient.cs: Implement implicit menu merging for MDI
  910. children. When a child form is active, if it has a menustrip
  911. and the parent form has a MainMenuStrip, automatically merge
  912. the menus.
  913. 2007-04-15 Andreia Gaita <[email protected]>
  914. * TabControl.cs: Refactored sizing methods to not repeat
  915. code all over the place. Tab bounds are now calculated
  916. as if alignment is top and single line, and only when
  917. setting the bounds are the positions adjusted according
  918. to alignment. Replaced hardcoded positions, spacings and
  919. paddings by getting the values the ThemeEngine.
  920. Fixes #79619.
  921. * Theme.cs: Change TabControl properties and methods so
  922. that all start with TabControl*. Added more properties
  923. to help remove hardcoded values on tabcontrol.
  924. Add CPDrawBorder3D declaration so the Theming classes
  925. can access it.
  926. * ThemeClearlooks.cs, ThemeNice.cs: Method signature changes from Theme.
  927. * ThemeWin32Classic.cs: Rector TabControl out to the TabControlPainter
  928. on the Theming namespace, and call the appropriate methods here.
  929. Change CPDrawBorder3D to public.
  930. 2007-04-13 Carlos Alberto Cortez <[email protected]>
  931. * Control.cs: In WmRButtonUp, send the WM_CONTEXTMENU message to
  932. the control after firing the OnMouseUp event, instead of sending
  933. the message before the mentioned event. This is so we can match the
  934. MS behaviour. Fixes part of #80385.
  935. 2007-04-13 Jonathan Pobst <[email protected]>
  936. * ToolStripItem.cs: Call the RightToLeftChanged event when setting the
  937. RightToLeft property.
  938. 2007-04-13 Jonathan Pobst <[email protected]>
  939. * ToolStrip.cs: Add properties and internal methods to support merging.
  940. * ToolStripItem.cs: Add MergeAction and MergeIndex.
  941. * ToolStripItemCollection.cs: Add Insert and Remove methods that do
  942. not trigger reparenting or layouts.
  943. * ToolStripManager.cs: Add Merge and RevertMerge methods.
  944. * ToolStripOverflow.cs: Add a convenience method to find the ToolStrip that
  945. is hosting the overflow menu.
  946. 2007-04-13 Jackson Harper <[email protected]>
  947. * TextControl.cs: Set the line ending correctly for the first
  948. inserted line.
  949. 2007-04-13 Sebastien Pouliot <[email protected]>
  950. * Theme.cs: Update GetMethod to get the new definition for
  951. KnownColors.Update (and fix theme color updates).
  952. 2007-04-12 Everaldo Canuto <[email protected]>
  953. * MessageBox.cs: Fix some test and button position.
  954. 2007-04-12 Carlos Alberto Cortez <[email protected]>
  955. * Form.cs: Consider the implicit controls in
  956. GetRealChildAtPoint. We need it since this method
  957. is called on Form when handling the some messages in
  958. WndProc, and need to consider those implicit ones too.
  959. Fixes #80385.
  960. 2007-04-12 Jonathan Pobst <[email protected]>
  961. * ToolStripMenuItem.cs: Display the ShortcutKeyDisplayString even
  962. if there are no ShortcutKeys set.
  963. * ToolStripProfessionalRenderer.cs: If an item has had its BackColor
  964. set, use it when painting.
  965. 2007-04-12 Jackson Harper <[email protected]>
  966. * TextControl.cs: Fix some off-by-one issues in line duplication
  967. and insertion in the undo manager. Also, overwrite the first tag
  968. of a line on insert, if it is just a zero lengthed tag. This
  969. prevents us from getting an extra stranded tag at the beginning of
  970. the first line.
  971. 2007-04-11 Everaldo Canuto <[email protected]>
  972. * Label.cs: Remove check for handle created in CalcAutoSize, we need
  973. to calculated proper size including when handle was not created yet.
  974. 2007-04-11 Rolf Bjarne Kvinge <[email protected]>
  975. * MdiWindowManager.cs: When moving a form, allow the form to be moved
  976. when the mouse is outside of it's parent's client rectangle. Fixes
  977. #79982 (take 3, part 2).
  978. 2007-04-10 Rolf Bjarne Kvinge <[email protected]>
  979. * X11Structs.cs: Add a few ToString() overrides.
  980. * XplatUIX11.cs: Added GetTopLevelWindowLocation to try to calculate
  981. the window location in a window-manager independent way. Reworked
  982. FrameExtents, it now actually works. Reworked AddConfigureNotify
  983. and ReparentNotify handling to use GetTopLevelWindowLocation
  984. instead of the earlier, more hacky solution. Reworked SetWMStyles,
  985. hopefully for the better: we now set _NET_WM_WINDOW_TYPE* for all
  986. windows, DIALOG for modal windows, UTILITY for toolboxes and NORMAL
  987. for all other windows (fixes #81281 part 1), a toolwindow is hidden
  988. from the taskbar if it has a parent (fixes #81281 part 2 for kwin),
  989. and generally refactored to do as few calculations as possible
  990. inside the lock.
  991. 2007-04-09 Sebastien Pouliot <[email protected]>
  992. * Theme.cs: Change "reflective-contract" between MWF and SD to
  993. minimize # of calls, avoid Color serialization and avoid updating
  994. every "known colors" each time a single one is updated.
  995. 2007-04-09 Gert Driesen <[email protected]>
  996. * DataGridTextBoxColumn.cs: Only set IsInEditOrNavigateMode to false
  997. when not readonly and the text is explicitly set. Code style updates.
  998. * DataGridTableStyle.cs: Removed extra line.
  999. * DataGrid.cs: Code style updates. Removed extra whitespace.
  1000. * DataGridColumnStyle.cs: Code style updates. Removed extra
  1001. whitespace.
  1002. 2007-04-09 Rolf Bjarne Kvinge <[email protected]>
  1003. * XplatUIX11.cs: Added comment that "fixes" #80021.
  1004. 2007-04-09 Jackson Harper <[email protected]>
  1005. * TextControl.cs: We don't need this -1 on the line count anymore.
  1006. 2007-04-09 Gert Driesen <[email protected]>
  1007. * DataGridTextBoxColumn.cs: In Commit, use TypeConverter to convert
  1008. entered value to underlying type, and convert it back to a string to
  1009. apply formatting. Modified GetFormattedValue to use TypeConverter
  1010. if available.
  1011. 2007-04-08 Gert Driesen <[email protected]>
  1012. * ListViewItem.cs: Added null checks. Avoid duplicating code in ctors.
  1013. Use SubItems property when we want to ensure there's at least one
  1014. subitem. Modified SubItems property to ensure there's always at least
  1015. one subitem. Avoid using ListViewSubItemCollection.AddRange to match
  1016. the NRE's reported by MS.
  1017. 2007-04-07 Gert Driesen <[email protected]>
  1018. * ProgressBar.cs: On 2.0 profile, default forecolor is Highlight. Added
  1019. ResetForeColor override on 2.0. Fixed a few API compatibility issues.
  1020. Spaces to tabs. Removed extra tabs.
  1021. 2007-04-06 Jonathan Pobst <[email protected]>
  1022. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  1023. infinite loop. (Forgot to copy to the horizontal toolstrip case.)
  1024. 2007-04-06 Jackson Harper <[email protected]>
  1025. * TextBoxBase.cs: When a delete removes a line, recalculate all
  1026. lines below that line (they need to get offsets setup correctly)
  1027. and invalidate.
  1028. 2007-04-05 Jackson Harper <[email protected]>
  1029. * TextControl.cs: We need to invalidate across the width of the
  1030. document when we are invalidating multiple lines.
  1031. * TextBoxBase.cs: Don't delete into the line ending.
  1032. 2007-04-05 Carlos Alberto Cortez <[email protected]>
  1033. * ListView.cs: Restore the check for the MouseHover event
  1034. in ListView. It looks like the ListView fires more than one MouseHover
  1035. event when HoverSelection is true _only_ in weird-corner scenarios, but
  1036. in most of the cases it only fires one. Also, add the 2.0 ItemMouseHover
  1037. event.
  1038. 2007-04-05 Mike Kestner <[email protected]>
  1039. * ListView.cs : raise MouseDown before updating selection.
  1040. [Fixes #80373 tab 1&3]
  1041. 2007-04-05 Jonathan Pobst <[email protected]>
  1042. * ToolStripRenderer.cs: Add static method to mirror image.
  1043. * ToolStripProfessionalRenderer.cs: Support ImageTransparentColor
  1044. and RightToLeftAutoMirrorImage.
  1045. * ToolStripItem.cs: Remove MonoTODO from ImageTransparentColor.
  1046. 2007-04-05 Jonathan Pobst <[email protected]>
  1047. * ToolStripSplitStackLayout.cs: Support Alignment property.
  1048. * ToolStripItem.cs: Remove MonoTODO from the Alignment property.
  1049. 2007-04-05 Jackson Harper <[email protected]>
  1050. * TextControl.cs: Move around the line endings when crossing line
  1051. boundaries.
  1052. - When combining lines, strip the ending text off the first line.
  1053. 2007-04-05 Jackson Harper <[email protected]>
  1054. * TextControl.cs:
  1055. * TextBoxBase.cs: Try to never move the cursor into the line
  1056. ending.
  1057. 2007-04-04 Jonathan Pobst <[email protected]>
  1058. * ToolStripItem.cs: Make sure we aren't firing mouse events when
  1059. the item is disabled. Also add a few missing methods.
  1060. 2007-04-04 Carlos Alberto Cortez <[email protected]>
  1061. * ListView.cs: We don't need the MouseEnter/MouseLeave check
  1062. to fire just one MouseHover event when HoverSelection is true, since
  1063. .Net does fire more than one MouseHover event in that scenario. Also,
  1064. fix the selection in HoverSelection, by invoking UpdateMultiSelect
  1065. if MultiSelect is true, instead of only setting ListViewItem.Selected.
  1066. Finally, we need to reset the Hover logic in MouseMove, even when we
  1067. don't have a selected item.
  1068. 2007-04-04 Jonathan Pobst <[email protected]>
  1069. * ToolStrip.cs: Add several missing methods, properties, and events.
  1070. 2007-04-04 Chris Toshok <[email protected]>
  1071. * DataGridTextBoxColumn.cs: set the bounds of the text box to
  1072. (0,0,0,0) in Commit, as MS does.
  1073. * DataGrid.cs: call EndEdit() from Select() as microsoft does, and
  1074. make sure we set CurrentRow on a row header click *before* calling
  1075. Select. This moves the current cell (and the textbox) to the new
  1076. row. The call to Select then hides the textbox, giving us the
  1077. correct behavior. Fixes #80362.
  1078. * CurrencyManager.cs (UpdateIsBinding): raise ItemChanged (-1).
  1079. (ListChangedHandler): reorder the position/current changed events,
  1080. and call UpdateIsBinding in the ItemAdded case.
  1081. * GridColumnStylesCollection.cs: add some columns events, one of
  1082. which raises the CollectionChanged event.
  1083. 2007-04-04 Jackson Harper <[email protected]>
  1084. * TextControl.cs: When we delete multiple selection lines
  1085. invalidate the selection area, don't need to do that for single
  1086. lines because the final update view will handle it.
  1087. 2007-04-04 Jonathan Pobst <[email protected]>
  1088. * Control.cs: When we CreateControl, we need to also create all of the
  1089. control's children. The child's OnLoad must also fire before the parent's
  1090. OnLoad. Fixes the toolbox size in PDN.
  1091. 2007-04-04 Jackson Harper <[email protected]>
  1092. * TextBoxBase.cs: When the user presses enter, insert a line
  1093. ending into the text. (Maybe this would be a good spot for
  1094. Environment.NewLine).
  1095. * TextControl.cs: Remove undo manager hack, line endings get
  1096. inserted properly now.
  1097. 2007-04-04 Everaldo Canuto <[email protected]>
  1098. * MenuAPI.cs:
  1099. - Remove unneeded parameters in UpdateCursor.
  1100. - Fix UpdateCursor to check if menu is active.
  1101. - Call UpdateCursor when menu deactivate my click.
  1102. [Fixes remaining issues from #80410]
  1103. 2007-04-04 Everaldo Canuto <[email protected]>
  1104. * Control.cs: GetRealChildAtPoint method added, it make an
  1105. recursive child control search for the point.
  1106. * Form.cs: Makes use of GetRealChildAtPoint in mouse event after closes
  1107. menu.
  1108. * MenuAPI.cs: Makes use of GetRealChildAtPoint in UpdateCursor.
  1109. 2007-04-03 Everaldo Canuto <[email protected]>
  1110. * Form.cs: Fix mouse position when send back mouse event after closes
  1111. menu.
  1112. 2007-04-03 Everaldo Canuto <[email protected]>
  1113. * Form.cs: Simplify the BUTTONDOWN for active tracker.
  1114. 2007-04-03 Jonathan Pobst <[email protected]>
  1115. * Control.cs: Fix an issue where if a user resized a control inside
  1116. a sizing method like OnResize, we would overwrite their explicit
  1117. value. Also, only call DefaultSize once in the constructor instead
  1118. of 4 times. Also, do not call SetBoundsCore from SetBounds if
  1119. nothing actually changed.
  1120. 2007-04-03 Jackson Harper <[email protected]>
  1121. * TextControl.cs: Don't attempt to copy text for lines with no
  1122. text in them (technically this shouldn't happen, but we aren't
  1123. always inserting line endings when we should be).
  1124. 2007-04-03 Jackson Harper <[email protected]>
  1125. * TextBoxBase.cs: Calculate the scrollbars before calculating the
  1126. document, because this sets some of the document size properties
  1127. that are needed.
  1128. 2007-04-03 Jackson Harper <[email protected]>
  1129. * TextBoxBase.cs: We need to calculate maximums even if this is
  1130. not a multiline control, because the maxs are used for scrolling.
  1131. - Display the caret after doing a page up/down, we need to
  1132. manually display it because a proper CaretMoved event isn't
  1133. triggered (this is because of the way the math is done to
  1134. determine how far to scroll).
  1135. 2007-04-03 Jonathan Pobst <[email protected]>
  1136. * ToolBar.cs: Fix some breakage caused by the SetBoundsCore change.
  1137. (ToolBar was relying on SetBoundsCore to default the values sent
  1138. base off of BoundsSpecified.)
  1139. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  1140. * DateTimePicker.cs: Change Text so that when a null value or empty
  1141. string is assigned to the test we always raise ValueChanged and
  1142. TextChanged (earlier implementation would only raise ValueChanged
  1143. if the current date value was different from DateTime.Now).
  1144. 2007-04-03 Andreia Gaita <[email protected]>
  1145. * ButtonBase: Call update after invalidation, fixes #80194
  1146. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  1147. * ThemeWin32Classic.cs: Draw StatusBar using double buffering. Fixes
  1148. #79335.
  1149. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  1150. * XplatUIX11.cs: SetWMStyles: If the control is a form with
  1151. FormBorderStyle = None, don't give the window any decorations.
  1152. Fixes #81276.
  1153. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  1154. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  1155. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style
  1156. to check for is a mix of several styles (such as WS_CAPTION for
  1157. instance).
  1158. * Control.cs: Don't paint an area bigger than the client area when
  1159. painting the background colour. Add an internal GetCreateParams.
  1160. Update calls to XplatUI.CalculateWindowRect due to API change.
  1161. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole
  1162. window's size, and handle WM_NCCALCSIZE in DefWndProc to calculate
  1163. the size if it hasn't been handled by any windows. When creating
  1164. and moving windows, X wants the location of the entire window, but
  1165. the size of the client window, so add
  1166. TranslateClientRectangleToXClientRectangle,
  1167. TranslateWindowSizeToXWindowSIze and
  1168. TranslatedXWindowSizeToWindowSize to cope with this, and call them
  1169. before every window creation and move. Update CalculateWIndowRect
  1170. to use Hwnd.GetWindowRect (one step towards removing DeriveStyles).
  1171. In AddConfigureNotify don't do anything if the hwnd is a zombie
  1172. (fixes the BadWindow we were getting while running the tests),
  1173. always calculate the offsets when it's a parentless window, not
  1174. only when reparented, and translate the window size, since we're
  1175. getting the client size of the whole window, excluding entire
  1176. window.
  1177. * Theme.cs: Added BorderSizableSize.
  1178. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  1179. anymore. Update calls to XplatUI.CalculateWindowRect due to API
  1180. chang
  1181. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API
  1182. change. Fake the window styles here instead of in XplatUIWin32 so
  1183. that all back-ends get the same window styles (and it's Form that's
  1184. deciding when to use wm, not the Win32 backend anyways)
  1185. * Hwnd.cs: Completely reworked GetWindowRectangle and
  1186. GetClientRectangle - they are now passed a CreateParams and they
  1187. only use Style and ExStyle to determine the rectangles (they should
  1188. now work just like Win32AdjustWindowRectEx - though quite a few
  1189. special cases are probably missing). They should also be 100%
  1190. complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
  1191. == rect), and all numbers (borders, menu sizes) are taken from the
  1192. current theme. Added a GetBorders helper function that will return
  1193. the borders for any given CreateParams (including captions and
  1194. menus), and GetBorderSize that returns the given border size only.
  1195. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  1196. Hwnd.GetClientRectangle.
  1197. 2007-04-02 Chris Toshok <[email protected]>
  1198. * DataGridBoolColumn.cs: rewrite things a bit, and fix up the
  1199. logic between the values we present to the user and the values
  1200. which are stored in the column's property. Also, don't call
  1201. GetPreferredSize - it's virtual. Along the way, fix bug #80965.
  1202. 2007-04-02 Jackson Harper <[email protected]>
  1203. * TextBoxBase.cs: Scroll faster!
  1204. 2007-04-02 Jonathan Pobst <[email protected]>
  1205. * StatusStrip.cs: Layout fixes for PDN.
  1206. * ToolStrip.cs: Set item's available to true, and placement to main when
  1207. added.
  1208. * ToolStripItem.cs: Fix an Available issue, check that Parent is really
  1209. changing in setter before doing any work, add InternalVisible.
  1210. * ToolStripPanel.cs: Remove unused variable to fix compiler warning.
  1211. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  1212. infinite loop.
  1213. 2007-04-02 Jackson Harper <[email protected]>
  1214. * TextBox.cs: LBUTTON does not make the textbox select all of it's
  1215. text on focus.
  1216. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  1217. * XplatUIWin32.cs: Use the previous change in SetParent for forms only.
  1218. Makes ToolStripComboBoxes show up again.
  1219. 2007-04-02 Carlos Alberto Cortez <[email protected]>
  1220. * ListView.cs: Add a hover_pending field in ListView
  1221. to fire just one OnMouseHover event for each MouseEnter/MouseLeave
  1222. cycle (we are resetting the MouseHover logic in XplatUI
  1223. to handle HoverSelection). Fixes #80429.
  1224. 2007-04-02 Jackson Harper <[email protected]>
  1225. * TextControl.cs: Make sure the attributes get set on the last
  1226. tag.
  1227. - Still have to do the end tag if we have stepped all the ways to
  1228. the end.
  1229. 2007-04-02 Sebastien Pouliot <[email protected]>
  1230. * XplatUIOSX.cs, XplatUIX11.cs, XplatUIX11GTK.cs: Remove dependency
  1231. on an internal libgdiplus call when the information is already
  1232. available via the public API.
  1233. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  1234. * Control.cs: Call ContainerControl.ChildControlRemoved whenever a
  1235. control is removed from a control collecftion.
  1236. * XplatUIX11.cs: The first location for toplevel form is (22, 22).
  1237. Fixes FormPropertyTest (failed on rare occasions).
  1238. * XplatUIWin32.cs: Add a workaround in SetParent for strange behaviour
  1239. of Win32SetParent (when changing from no parent to a parent it
  1240. might add the new parent's location in screen coordinates to this
  1241. window's location).
  1242. * Form.cs: Rework ChangingParent once again, now the handle is
  1243. recreated whenever a FormWindowManager is added or removed (that is
  1244. whenever a normal form is parented or abandoned). Also change
  1245. CreateParams so that all non-toplevel windows always get the
  1246. specified sice (StartupPosition is never considered for
  1247. non-TopLevel forms).
  1248. * ContainerControl.cs: Add ChildControlRemoved, the container control
  1249. needs to be notified when a control is removed from it's
  1250. collection, in the case the removed control is the active control.
  1251. 2007-04-02 Jackson Harper <[email protected]>
  1252. * RichTextBox.cs: Use the new methods for setting the font and
  1253. color, these methods set the specified attribute without
  1254. overriding the other attributes.
  1255. 2007-04-02 Jonathan Pobst <[email protected]>
  1256. * ToolStripPanel.cs: Fixes for better layouts in PDN.
  1257. 2007-03-31 Gert Driesen <[email protected]>
  1258. * TextBox.cs: Added internal ChangeBackColor method to special-case
  1259. Color.Empty. Added check for invalid ScrollBars value.
  1260. * TextBoxBase.cs: Added internal ChangeBackColor method.
  1261. * RichTextBox.cs: Only set backcolor_set on 2.0 profile. Added
  1262. internal ChangeBackColor method to special-case Color.Empty. Added
  1263. check for invalid ScrollBars value.
  1264. 2007-03-30 Everaldo Canuto <[email protected]>
  1265. * MenuItem.cs: On invalidate prevent form to create handle. [Fixes #81272]
  1266. 2007-03-30 Jonathan Pobst <[email protected]>
  1267. * ScollableControl.cs: Add HorizontalScroll and VerticalScroll properties.
  1268. * ScrollProperties.cs, HScrollProperties.cs, VScrollProperties.cs: Added.
  1269. [Based on submitted patch from Olivier Duff.]
  1270. 2007-03-30 Jackson Harper <[email protected]>
  1271. * TextBox.cs: Only select all on initial focus if the user has not
  1272. specified a selection area.
  1273. 2007-03-30 Jonathan Pobst <[email protected]>
  1274. * UserControl.cs: Override CreateParams.
  1275. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  1276. [ Fixes #80995 ]
  1277. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  1278. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style to
  1279. check for is a mix of several styles (such as WS_CAPTION for instance).
  1280. * Control.cs: Don't paint an area bigger than the client area when painting
  1281. the background colour. Add an internal GetCreateParams. Update calls to
  1282. XplatUI.CalculateWindowRect due to API change.
  1283. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole window's
  1284. size, and handle WM_NCCALCSIZE in DefWndProc to calculate the size if it
  1285. hasn't been handled by any windows. When creating and moving windows, X
  1286. wants the location of the entire window, but the size of the client
  1287. window, so add TranslateClientRectangleToXClientRectangle,
  1288. TranslateWindowSizeToXWindowSIze and TranslatedXWindowSizeToWindowSize
  1289. to cope with this, and call them before every window creation and move.
  1290. Update CalculateWIndowRect to use Hwnd.GetWindowRect (one step towards
  1291. removing DeriveStyles). In AddConfigureNotify don't do anything if the
  1292. hwnd is a zombie (fixes the BadWindow we were getting while running the
  1293. tests), always calculate the offsets when it's a parentless window, not
  1294. only when reparented, and translate the window size, since we're getting
  1295. the client size of the whole window, excluding entire window.
  1296. * Theme.cs: Added BorderSizableSize.
  1297. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  1298. anymore. Update calls to XplatUI.CalculateWindowRect due to API change.
  1299. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API change.
  1300. Fake the window styles here instead of in XplatUIWin32 so that all
  1301. back-ends get the same window styles (and it's Form that's deciding when
  1302. to use wm, not the Win32 backend anyways)
  1303. * Hwnd.cs: Completely reworked GetWindowRectangle and GetClientRectangle -
  1304. they are now passed a CreateParams and they only use Style and ExStyle
  1305. to determine the rectangles (they should now work just like
  1306. Win32AdjustWindowRectEx - though quite a few special cases are probably
  1307. missing). They should also be 100% complimentary (i.e. GetWindowRectangle
  1308. (GetClientRectangle (rect)) == rect), and all numbers (borders, menu
  1309. sizes) are taken from the current theme. Added a GetBorders helper
  1310. function that will return the borders for any given CreateParams
  1311. (including captions and menus), and GetBorderSize that returns the given
  1312. border size only.
  1313. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  1314. Hwnd.GetClientRectangle.
  1315. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  1316. * Form.cs: Don't layout mdi children on MdiParent creation, the initial
  1317. layout of the mdi children is handled by CreateParams. Fixes
  1318. #79964,
  1319. 2007-03-29 Everaldo Canuto <[email protected]>
  1320. * MenuAPI.cs: Make OnMouseDown returns a boolean to identify if event is
  1321. processed.
  1322. * Form.cs: When active tracker mouse down is not processed, send event
  1323. back to control inside mouse position. [Fixes #81227]
  1324. 2007-03-29 Jonathan Pobst <[email protected]>
  1325. * ComboBox.cs: Override the ComboListBox's ActivateOnShow property and
  1326. remove WS_VISIBLE from CreateParams to prevent combobox dropdowns from
  1327. stealing focus from the active form on Windows. (Control will be made
  1328. visible in ShowWindow.)
  1329. 2007-03-29 Mike Kestner <[email protected]>
  1330. * ImageList.cs : add internal Changed event.
  1331. * ListView.cs : hook up to StateImageList.Changed to perform
  1332. invalidations when the the state icon list changes. [Fixes #81191]
  1333. 2007-03-29 Jonathan Pobst <[email protected]>
  1334. * ToolTip.cs: Override the ToolTipWindow's ActivateOnShow property
  1335. to prevent tooltips from stealing focus from the active form on Windows.
  1336. 2007-03-29 Everaldo Canuto <[email protected]>
  1337. * ThemeWin32Classic.cs: Small stetic fixes in notifyicon balloon.
  1338. * ThemeClearlooks.cs: Implement notifyicon balloon for clearlooks theme.
  1339. 2007-03-29 Everaldo Canuto <[email protected]>
  1340. * NotifyIcon.cs, ThemeWin32Classic.cs: Icon support added to notifyicon
  1341. balloons.
  1342. 2007-03-29 Jackson Harper <[email protected]>
  1343. * TextControl.cs: When deleting text from non multiline textboxes,
  1344. we need to update the entire document, because line offsets will
  1345. be shifting.
  1346. 2007-03-29 Everaldo Canuto <[email protected]>
  1347. * XplatUIX11.cs, ThemeWin32Classic.cs, Theme.cs: ShowBalloonWindow method
  1348. added to theme, now we can create themes that uses diferent notify engines
  1349. like notification-daemon from galago project or growl for Mac OS.
  1350. 2007-03-28 Everaldo Canuto <[email protected]>
  1351. * NotifyIcon.cs: Prevent Balloon to show in task bar.
  1352. 2007-03-28 Everaldo Canuto <[email protected]>
  1353. * XplatUIX11.cs: Prevent system to open more than one balloon.
  1354. * NotifyIcon.cs: Prevent system to open more than one balloon and remove
  1355. some compiler warning messages.
  1356. 2007-03-28 Everaldo Canuto <[email protected]>
  1357. [Fixes #79149]
  1358. * XplatUIX11.cs: Implement SystrayBalloon for X11 systems.
  1359. * ThemeWin32Classic.cs, Theme.cs: DrawBalloonWindow and BalloonWindowRect
  1360. implemented, this methods is used by NotifyIcon.BalloonWindow class.
  1361. * NotifyIcon.cs: BalloonWindow class added to support Balloon in X11
  1362. systems.
  1363. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  1364. * ListViewItem.cs: Forgot to make Invalidate internal.
  1365. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  1366. * ListView.cs: Add a InvalidateSelection method to
  1367. invalidate methods which are currently selected, and call
  1368. it when setting FullRowSelect and HideSelection, instead of
  1369. calling Redraw.
  1370. 2007-03-28 Chris Toshok <[email protected]>
  1371. * XplatUIX11.cs (UnmapWindow): reindent this block.
  1372. * DataGrid.cs (UpdateSelectionAfterCursorMove): we need to update
  1373. the selection_start if we're moving the selection (that is, not
  1374. extending it). Fixes bug #80461.
  1375. 2007-03-28 Jonathan Pobst <[email protected]>
  1376. * ProgressBar.cs: Make the default MarqueeAnimationSpeed = 100.
  1377. * ToolStripPanel.cs: Fix RowMargin, Renderer, RenderMode, and
  1378. create private ControlCollection.
  1379. 2007-03-28 Jonathan Pobst <[email protected]>
  1380. * Control.cs: We need to call OnVisibleChanged for our implicit
  1381. children as well as our normal children. Fixes scrollbars in
  1382. comboboxes not showing up.
  1383. 2007-03-28 Jonathan Pobst <[email protected]>
  1384. * Control.cs, Form.cs: Anywhere we call CreateHandle, we need to do
  1385. the check for IsHandleCreated first. The check in CreateHandle is not
  1386. good enough because CreateHandle can be overriden, and the override
  1387. should not be called if the handle is already created.
  1388. 2007-03-28 Jonathan Pobst <[email protected]>
  1389. * ToolStrip.cs: Remove MonoTODO for tooltips.
  1390. * ToolStripComboBox.cs: Fix MonoTODO for DropDownHeight and events.
  1391. * ToolStripContainer.cs: Add custom ControlCollection class.
  1392. * ToolStripContentPanel.cs: Fix Renderer setting to match MS behavior.
  1393. * ToolStripDropDown.cs: Add some missing properties/methods.
  1394. * ToolStripDropDownMenu.cs: Override OnLayout and SetDisplayedItems.
  1395. * ToolStripItem.cs: Remove MonoTODO for tooltips.
  1396. * ToolStripManager.cs: Add IsShortcutDefined.
  1397. * ToolStripOverflow.cs: Override LayoutEngine.
  1398. * ToolStripProgressBar.cs: Add MarqueeAnimationSpeed.
  1399. * ToolStripSeparator.cs: Add ImageKey.
  1400. 2007-03-28 Jackson Harper <[email protected]>
  1401. * TextControl.cs: If a char delete removes a line ending, we need
  1402. to update the ending style.
  1403. - Make sure the line ending calcs get called.
  1404. 2007-03-28 Rolf Bjarne Kvinge <[email protected]>
  1405. * XplatUIX11.cs: CreateWindow: Remove old default form location code,
  1406. it was making the new code not work. Fixed a typo in the new code
  1407. as well. Fixes #79826.
  1408. 2007-03-27 Everaldo Canuto <[email protected]>
  1409. * XplatUIWin32.cs:
  1410. - NIF_STATE and NIF_INFO added to NotifyIconFlags.
  1411. - NOTIFYICONDATA properties sizes fixed, szTip is 128, not 64.
  1412. - SystrayBalloon method implemented.
  1413. [Add support for notifyicon balloon on win32, #79149]
  1414. 2007-03-27 Mike Kestner <[email protected]>
  1415. * ThemeWin32Classic.cs : update StateImageList selection to mirror
  1416. the ms behavior when only one image is added to the list.
  1417. [Fixes #81191]
  1418. 2007-03-27 Jackson Harper <[email protected]>
  1419. * TextControl.cs: Improvements to non multiline line ending
  1420. drawing/measuing.
  1421. 2007-03-27 Everaldo Canuto <[email protected]>
  1422. * XplatUIX11.cs: Fix the time which tooltip is opened for NotifyIcon.
  1423. 2007-03-27 Everaldo Canuto <[email protected]>
  1424. * NotifyIcon.cs:
  1425. - Balloon message handling added.
  1426. - Call XplatUI.SystrayBalloon in ShowBalloonTip.
  1427. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  1428. XplatUIOSX.cs, XplatUIX11-new.cs: ShowBalloonTip method renamed
  1429. to SystrayBalloon to me like other Systray method, also a
  1430. handle parameter added.
  1431. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  1432. * ListView.cs: Show scrollbars even when items.Count == 0
  1433. but the columns Width is bigger than the ListView.Width.
  1434. Also, when columns.Count == 0 set layout_wd and layout_ht
  1435. to the ClientRectangle values, so we don't show any scrollbar
  1436. in that case.
  1437. 2007-03-27 Everaldo Canuto <[email protected]>
  1438. * XplatUIStructs.cs: Balloon (NIN_BALLOON*) constants added.
  1439. 2007-03-27 Jackson Harper <[email protected]>
  1440. * RichTextBox.cs: The RTF library decodes the text properly for us
  1441. now.
  1442. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  1443. * ListView.cs: Display HeaderControl even when columns.Count == 0.
  1444. * ThemeWin32Classic.cs: Use SystemBrushes.Control to draw the
  1445. ListView header (HeaderControl), instead of Control.BackColor.
  1446. 2007-03-27 Jonathan Pobst <[email protected]>
  1447. * Control.cs: Call OnVisibleChanged in SetVisibleCore for non-forms.
  1448. Fixes tab control issues where controls would not show up because they
  1449. never received their OnVisibleChanged call.
  1450. 2007-03-27 Everaldo Canuto <[email protected]>
  1451. * NotifyIcon.cs: Balloon events added (BalloonTipClicked, BalloonTipClosed,
  1452. BalloonTipShown).
  1453. 2007-03-27 Jonathan Pobst <[email protected]>
  1454. * Control.cs: We won't get a WM_SHOWWINDOW when we create a window that
  1455. is maximized or minimized, so move CreateControl to Control.OnVisibleChanged.
  1456. * Form.cs: After we set the form visible, send a fake WM_SHOWWINDOW if we
  1457. are max or min. Remove WS_VISIBLE from CreateParams unless we are recreating
  1458. the handle. Fix WindowState by using the internal variable until we are
  1459. sure that we've been shown.
  1460. * XplatUIX11.cs: Do not generate a WM_SHOWWINDOW message if new form is
  1461. max or min.
  1462. [Fixes bug #81198]
  1463. 2007-03-27 Rolf Bjarne Kvinge <[email protected]>
  1464. * XplatUIX11.cs: Windows without WS_CAPTION can still get decorations
  1465. (at least borders). Fixes #79386 on Linux (with a small difference
  1466. in behaviour: when trying to resize a caption-less window metacity
  1467. shows the sysmenu. Resizing is still possible though).
  1468. * XplatUIWin32.cs: When setting window styles send request an extra
  1469. WM_NCCALCSIZE when it's a form without title (due to no text and no
  1470. caption), since Win32 seems to calculate it wrong the first time we
  1471. get the message, though the second time things work as they should.
  1472. * Form.cs: Reorder a few statements in ChangingParent, otherwise the
  1473. newly reparented window might show up unparented. Update
  1474. CreateParams to exclude WS_DLGFRAME if ControlBox is false and
  1475. there's no title text. Fixes #79386.
  1476. 2007-03-27 Mike Kestner <[email protected]>
  1477. * ListBox.cs : don't perform invalidations if the handle hasn't been
  1478. created. [Fixes #80753]
  1479. 2007-03-27 Mike Kestner <[email protected]>
  1480. * ListBox.cs : don't adjust top item when SelectedIndex is set to -1.
  1481. [Fixes #80428]
  1482. 2007-03-26 Everaldo Canuto <[email protected]>
  1483. * XplatUIWin32.cs: Complete NOTIFYICONDATA structure, additional fields
  1484. needed to implement Balloon.
  1485. 2007-03-26 Carlos Alberto Cortez <[email protected]>
  1486. * ListViewItem.cs: In the constructors that take
  1487. an array of strings, don't use ListViewSubItemCollection.AddRange
  1488. method to add items, since we need to have a different behaviour (in
  1489. the constructors we add an item for each null string, opposed to
  1490. the behaviour of AddRange, which adds nothing).
  1491. 2007-03-26 Andreia Gaita <[email protected]>
  1492. * NumericUpDown.cs: Fix broken 1.1 api for ParseEditText
  1493. 2007-03-26 Jackson Harper <[email protected]>
  1494. * TextControl.cs: Draw and measure line endings when in non
  1495. multiline mode.
  1496. - When searching the text, count the end of the last line as a
  1497. word boundary.
  1498. 2007-03-26 Jackson Harper <[email protected]>
  1499. * RichTextBox.cs: The selection_start and selection_end don't
  1500. really track the correct tags for the selection. So we'll manually
  1501. compute the correct tag here.
  1502. 2007-03-26 Rolf Bjarne Kvinge <[email protected]>
  1503. * ProgressBar.cs, ThemeWin32Classic.cs: Implemented drawing of Marquee
  1504. and Continuous styles. Fixes #79469.
  1505. 2007-03-26 Jonathan Pobst <[email protected]>
  1506. * ToolStrip.cs: Implement Tooltips.
  1507. * ToolStripItem.cs: Create internal method for determining tooltip.
  1508. 2007-03-26 Jonathan Pobst <[email protected]>
  1509. * PropertyGrid.cs: Hide a EditorBrowsable attribute from 1.1 API.
  1510. 2007-03-26 Everaldo Canuto <[email protected]>
  1511. * NotifyIcon.cs: On disposing verify if icon is visible and hide it,
  1512. it prevents a problem thak keeps icon visible after application
  1513. closes on win32.
  1514. 2007-03-26 Everaldo Canuto <[email protected]>
  1515. * NotifyIcon.cs: Balloon properties and methods created.
  1516. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  1517. XplatUIOSX.cs, XplatUIX11-new.cs: Implement ShowBalloonTip method.
  1518. 2007-03-25 Jonathan Pobst <[email protected]>
  1519. * ToolStripComboBox.cs: Default the ComboBox's FlatStyle to Popup.
  1520. 2007-03-24 Jonathan Pobst <[email protected]>
  1521. * Control.cs: Make SetBoundsCore match MS better. The BoundsSpecified
  1522. parameter indicates which aspects were explicit/user-set.
  1523. * ComboBox.cs, ListBox.cs: Call SetBoundsCore correctly. (no 0 parameters).
  1524. 2007-03-24 Jonathan Pobst <[email protected]>
  1525. * ProgressBar.cs: Throw AOORE instead of AE for property Value (2.0).
  1526. * ScrollBar.cs: Throw AOORE instead of AE for properties LargeChange,
  1527. SmallChange, and Value (2.0).
  1528. * Timer.cs: Throw AOORE instead of AE for property Interval (2.0).
  1529. 2007-03-23 Carlos Alberto Cortez <[email protected]>
  1530. * ListView.cs: Always set item_control.Width in LayoutDetails
  1531. if View is Details. Setting it later in CalculateScrollBars
  1532. in a not-so-corner scenario (the sum of columns width is
  1533. not bigger than the ListView width when handle is created, and then
  1534. that sum gets bigger by increasing the width of the columns)
  1535. causes a very weird recursion path (which shouldn't be happening,
  1536. since header_control sets it in CalculateScrollBars too). This bug
  1537. appeared after Chris' fixes for handle created issues, so probably
  1538. it's related to some handle-creation time.
  1539. 2007-03-23 Chris Toshok <[email protected]>
  1540. * DataGrid.cs (GetVisibleRowCount): increase the row count in the
  1541. case where there's an add row, just so we don't end up in a case
  1542. where it's not displayed (this happens when the row is partially
  1543. obscured). Fixes bug #79574.
  1544. 2007-03-23 Jackson Harper <[email protected]>
  1545. * TextControl.cs:
  1546. * TextBoxBase.cs:
  1547. * RichTextBox.cs: Preserve line endings in the lines text buffer,
  1548. also added an enum that represents the line ending type.
  1549. 2007-03-23 Andreia Gaita <[email protected]>
  1550. * NumericUpDown.cs: Fix logic so Text and Value properties are not
  1551. messed with in every method call, but only from DownButton,
  1552. UpButton, UpdateEditText() and ValidateText. Fixes #80346
  1553. 2007-03-23 Chris Toshok <[email protected]>
  1554. * DataGridTextBoxColumn.cs (GetFormattedValue): don't try to
  1555. format objects if the format spec is "". Fixes bug #80889.
  1556. 2007-03-22 Miguel de Icaza <[email protected]>
  1557. * ToolStripPanel.cs (Join): added stubs to build PDN3
  1558. * Control.cs (AutoScrollOffset): Add.
  1559. * SystemInformation.cs (MouseWheelScrollDelta): Expose this
  1560. property, its only implemented for Win32, on X11 it defaults to
  1561. some hardcoded value.
  1562. * ToolStripItem.cs (AllowDrop): Add property
  1563. 2007-03-22 Mike Kestner <[email protected]>
  1564. * ListView.cs : in FullRowSelect Details mode, only enable box
  1565. selection if the user clicks over the "item" column outside of the
  1566. text area. Mmmmm, compatibility. [Fixes #80374 subpart 7]
  1567. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  1568. * Control.cs: ChangeParent: Call Form's ChangingParent even if the
  1569. handle is not created yet.
  1570. * Form.cs: Select: Don't call CreateHandle if the handle is already
  1571. created, avoids a stack overflow on Windows when we are recreating
  1572. controls.
  1573. * ScrollableControl.cs: Set the correct z-order for the scrollbars when
  1574. they are made visible, and override AfterTopMostControl to keep
  1575. them on top when other controls are brought to front.
  1576. CalculateCanvas: Scrollbars are only visible if auto_scroll is true
  1577. or force_*scroll_visible is true (old implementation always shows
  1578. scrollbars when needed, no matter what auto_scroll was set to).
  1579. * InternalWindowManager.cs: UpdateWindowDecorations: Add a
  1580. IsHandleCreated check.
  1581. 2007-03-22 Andreia Gaita <[email protected]>
  1582. * DataGrid.cs: Implement Column and Row auto sizing when double-clicking on
  1583. row or col separator.
  1584. * DataGridTextBoxColumn.cs: Implement GetPreferredHeight and GetPreferredSize
  1585. 2007-03-22 Everaldo Canuto <[email protected]>
  1586. * MenuAPI.cs: Remove unneeded check for grab_control in UpdateCursor.
  1587. 2007-03-22 Everaldo Canuto <[email protected]>
  1588. * MenuAPI.cs: UpdateCursor method added, it is calling in OnMotion to update
  1589. cursor for child controls. In ShowWindow and HideWindow now call SetCursor
  1590. every time. Fixes #80410.
  1591. 2007-03-22 Chris Toshok <[email protected]>
  1592. * BindingSource.cs (AddNew): partially implement.
  1593. remove a couple of NotImplementedException's
  1594. to get bug #81148 closed.
  1595. 2007-03-22 Everaldo Canuto <[email protected]>
  1596. [Fixes #80380]
  1597. * Control.cs:
  1598. - UpdateCursor method added to update the screen cursor.
  1599. - GetAvailableCursor method added to return cursor for enabled tree,
  1600. it searches for cursor on control and it's parent's for enabled control.
  1601. - Call UpdateCursor method on setter of Cursor property.
  1602. - On setter of Enabled call UpdateCursor when it is false, we need to
  1603. change cursor to normal (or to this parent cursor) because cursor
  1604. setting theres no effect to disabled controls.
  1605. - Some minor source changes to follow the coding style guidelines.
  1606. * XplatUIX11.cs: In MotionNotify only dispatch SET_CURSOR event for enabled
  1607. controls.
  1608. 2007-03-22 Chris Toshok <[email protected]>
  1609. * XplatUIX11.cs: ignore the BadPicture errors cairo+render
  1610. generates.
  1611. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  1612. * XplatUIX11.cs: Implement default locations for forms.
  1613. * Form.cs: Completely rework startup location for forms. Fixes #79964.
  1614. * Hwnd.cs: Add previous_child_startup_location (to track the current
  1615. startup location for any child forms of the current form) and
  1616. previous_main_startup_location (to track the startup location for
  1617. the current toplevel form).
  1618. 2007-03-21 Jonathan Pobst <[email protected]>
  1619. * Control.cs: Don't trigger a layout if an implicit control is added
  1620. that isn't visible. Also, don't notify the owner when an implicit control
  1621. is added. (Owners shouldn't even know about their implicit controls.)
  1622. 2007-03-21 Jonathan Pobst <[email protected]>
  1623. * ScrollableControl.cs: Add implicit controls with AddRangeImplicit
  1624. to save some re-layouts.
  1625. 2007-03-21 Everaldo Canuto <[email protected]>
  1626. * MenuAPI.cs: In ProcessKeys returns false when key is not processed.
  1627. [Fixes #81203]
  1628. 2007-03-21 Jonathan Pobst <[email protected]>
  1629. * FlowLayoutSettings.cs, ToolStrip.cs, ToolStripPanel.cs,
  1630. ToolStripPanelRow.cs: Lazy instantiate the LayoutEngine.
  1631. 2007-03-21 Mike Kestner <[email protected]>
  1632. * ListView.cs : disable selection update for non-left button clicks
  1633. with mods and over selected items. [Fixes #80524]
  1634. 2007-03-20 Jackson Harper <[email protected]>
  1635. * TextControl.cs:
  1636. * TextBoxBase.cs: Allow different types of line endings. \r, \r\n,
  1637. \r\r\n, \n.
  1638. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  1639. * ComboBox.cs: PreferredHeight seems to be ItemHeight + 6, but there is
  1640. very probably a more complicated calculation there. Update the
  1641. textbox' ForeColor and BackColor when the ComboBox' colors are
  1642. changed. Change the border change in LayoutComboBox to only affect
  1643. the textbox, not all the calculations there. Seems to fix most of
  1644. #79436.
  1645. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  1646. * ComboBox.cs: Handle Home and End keys as well as all combinations of
  1647. modifiers + navigation keys as input keys, enables advanced text
  1648. selection in the combobox (like Shift+Left Arrow for instance).
  1649. ComboTextBox now overrides Focused and returns whatever
  1650. ComboBox.Focused returns, since it really should be focused
  1651. whenever the ComboBox is. Fixes #80795. Also make the border around
  1652. the text box one pixel bigger, as mentioned in #79436.
  1653. 2007-03-20 Jackson Harper <[email protected]>
  1654. * TreeView.cs: Don't offset the images, this was causing some
  1655. artifacts when expanding/collapsing with images that were the
  1656. exact height of the treenode.
  1657. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  1658. * TrackBar.cs: Query the theme for the correct value when the mouse
  1659. moves and the thumb is pressed.
  1660. * Theme.cs: Added TrackBarValueFromMousePosition
  1661. * ThemeWin32Classic.cs: Reworked TrackBar drawing. Earlier
  1662. implementation was updating the trackbar value when drawing, now
  1663. the drawing methods only draw. Fixes #80900. Refactored the
  1664. calculations out to TrackBarValueFromMousePosition and
  1665. GetTrackBarDrawingInfo, so that TrackBar can get the correct value
  1666. according to the mouse position whenever it wants to. Changed the
  1667. light coloured pen when drawing the thumb from ControlLight to
  1668. ControlLightLight, because the ControlLight is the same colour as
  1669. the background so the 3D effect is lost.
  1670. 2007-03-20 Everaldo Canuto <[email protected]>
  1671. * Form.cs: In ShowDialog uses MainForm as transient form when no form is
  1672. defined. Fixes #80784.
  1673. 2007-03-20 Marek Habersack <[email protected]>
  1674. * ContextMenuStrip.cs: align with the change introduced in
  1675. revision 74664.
  1676. 2007-03-20 Everaldo Canuto <[email protected]>
  1677. * XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs,
  1678. XplatUI.cs, Form.cs, ToolTip.cs: Remove unneeded parameter owner
  1679. in SetTopmost.
  1680. 2007-03-19 Chris Toshok <[email protected]>
  1681. * Control.cs (WmPaint): don't make use of the Handle property
  1682. after an event is emitted, as the user could have closed the
  1683. form/destroyed the control. Store the Handle in a local variable
  1684. and make use of that. Fixes bug #80768.
  1685. 2007-03-20 Everaldo Canuto <[email protected]>
  1686. * XplatUIX11.cs: Set _NET_WM_STATE_ABOVE on SetTopmost, it fixes Topmost
  1687. behavior in X11 environments.
  1688. 2007-03-20 Everaldo Canuto <[email protected]>
  1689. * Form.cs: Call SetTopmost in CreateHandle when window is topmost, its
  1690. because on setter of topmost we dont call SetTopmost when handle is not
  1691. created.
  1692. 2007-03-20 Jackson Harper <[email protected]>
  1693. * TextControl.cs: Need to use SelectionLength () not
  1694. selection_length, since that var is reset to -1.
  1695. - Draw the caret when we don't have focus.
  1696. * TextBox.cs: The selectall actually doesn't occur until the first
  1697. focus.
  1698. * TextBoxBase.cs: Need to update the caret position after a
  1699. selectall.
  1700. 2007-03-20 Carlos Alberto Cortez <[email protected]>
  1701. * ListView.cs: Enable scrolling when using Tile view.
  1702. 2007-03-20 Everaldo Canuto <[email protected]>
  1703. [Fixes #80902]
  1704. * XplatUIDriver.cs: Abstract SetOwner method created.
  1705. * XplatUIOSX.cs: Override SetOwner to prevent compilation errors method
  1706. must be implemented and was masked as todo.
  1707. * XplatUIWin32.cs: SetOwner implemented using SetWindowLong with
  1708. GWL_HWNDPARENT.
  1709. * XplatUIX11.cs: SetOwner implemented using same code from SetTopmost but
  1710. cheking for null owner to remove transient. The SetTopmost will be change
  1711. on a decond step.
  1712. * Form.cs: In set_Owner and CreateHandle uses new SetOwner instead of
  1713. SetTopmost. Now owned forms will work properly in win32 and X11.
  1714. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  1715. * MdiWindowManager.cs: Update function name.
  1716. * Form.cs: After closing a form MdiParent is always null.
  1717. * MdiClient.cs: Rename CloseChildForm to ChildFormClosed to explain
  1718. better what it should do: necessary book-keeping when the form is
  1719. closed, it should not close the form itself.
  1720. 2007-03-19 Andreia Gaita <[email protected]>
  1721. * ListViewItem.cs: Fix back and fore color. The subitems only
  1722. use their own colors if they are set, otherwise use the listview's
  1723. colors. Don't set default colors on constructor for subitem.
  1724. Fixes #79315.
  1725. 2007-03-19 Mike Kestner <[email protected]>
  1726. * ListView.cs : make box selection for Details views with
  1727. FullRowSelect conform to MS behavior when clicking in the "item"
  1728. column and clicking outside the defined columns.
  1729. [Fixes case 5-6 of #80374]
  1730. 2007-03-19 Chris Toshok <[email protected]>
  1731. * ScrollableControl.cs: create the controls from within the ctor,
  1732. but don't actually add them until our handle is created. this
  1733. fixes a NRE possibility jpobst found (if you override OnLayout in
  1734. a subclass, it's called before your ctor). Also, add a
  1735. IsHandleCreated guard to UpdateSizeGripVisibility as well.
  1736. 2007-03-19 Jackson Harper <[email protected]>
  1737. * TextBox.cs: Reduce the amount of invalidation we do.
  1738. * TextBoxBase.cs: Make shortcuts enabled true by default, at least
  1739. some of them are true by default on MS.
  1740. - Add some functions to reduce the amount of invalidates we do.
  1741. * TextControl.cs: Less invalidation.
  1742. 2007-03-19 Chris Toshok <[email protected]>
  1743. [ Fixes #81773, and *seems* to fix #81553 as well ]
  1744. * XplatUIX11.cs: remove the assignment of hwnd.zombie = true from
  1745. AccumulateDestroyedHandles. We need to do it *after* we send
  1746. WM_DESTROY, as the user's code can access Control.Handle in
  1747. OnHandleDestroyed, and this shouldn't cause a recreation. Also,
  1748. move the WM_DESTROY/zombie handling to before the call to
  1749. XDestroyWindow. For some reason without this ordering
  1750. FormTest.RecreateHandle hangs. This ordering is semantically
  1751. equivalent, however, as XDestroyWindow is async anyway.
  1752. 2007-03-19 Gert Driesen <[email protected]>
  1753. * RichTextBox.cs: Reset backcolor_set after setting default.
  1754. 2007-03-19 Chris Toshok <[email protected]>
  1755. * ScrollableControl.cs: the scroll position should not effect the
  1756. canvas size. commit patch from [email protected], which
  1757. fixes some really bizarre behavior on resizing. Fixes bug #80778.
  1758. 2007-03-19 Chris Toshok <[email protected]>
  1759. * ScrollableControl.cs: clean this up a bit. create the
  1760. scrollbars in the ctor and just show/hide them as needed. Also,
  1761. make hscroll_visible/vscroll_visible internal to Recalculate, and
  1762. just use hscrollbar.VisibleInternal/vscrollbar.VisibleInternal
  1763. everywhere else. This seems to fix the scrollbars appearing
  1764. beneath the content for me (i have *no* idea why that is,
  1765. however.)
  1766. 2007-03-19 Jonathan Pobst <[email protected]>
  1767. * ToolStrip.cs: Don't call DoAutoSize when we change Dock. Also, remove
  1768. some redundacy for stuff in Anchor and Dock that base will take care of.
  1769. [Fixes #80762]
  1770. 2007-03-19 Mike Kestner <[email protected]>
  1771. * ListView.cs : make box selection for Details views without
  1772. FullRowSelect dependent on the text bounds, not item bounds.
  1773. * ListViewItem.cs : add an internal property to obtain the TextBounds
  1774. in Details view. [Fixes case 1-4 of #80374]
  1775. 2007-03-19 Andreia Gaita <[email protected]>
  1776. * PaintEventArgs.cs (Dispose): Only dispose of graphics object if
  1777. we're < 2.0. #78448 && #80316
  1778. 2007-03-19 Jonathan Pobst <[email protected]>
  1779. * FontDialog.cs: Don't crash when we switch to a new font that doesn't
  1780. have the same style available as the previously selected one. Also,
  1781. support FixedPitchOnly property. [Fixes bugs #80918, #80947]
  1782. 2007-03-19 Jackson Harper <[email protected]>
  1783. * TextControl.cs: Add an alignment property that all new lines
  1784. will be given.
  1785. - Make sure to use the align shift when calculating the line's X
  1786. position.
  1787. * TextBox.cs: Set the alignment on the document as well as on all
  1788. the document lines.
  1789. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  1790. * Control.cs: ControlCollection.Add: Remove a couple of duplicated casts and
  1791. throw if setting the parent of an mdichild that already has an
  1792. mdiparent. Update signature for 2.0 profile. ProductName: If there's no
  1793. AssemblyProductAttribute in the assembly, use the type's namespace (as
  1794. MS seems to do). CreateControl: don't create the handle if the control
  1795. is not visible (according to MS behaviour and spec). SetTopLevel: Only
  1796. create handle if the control is not a form. Change FocusInternal to
  1797. virtual so that it can be overriden by Form.
  1798. * TextBox.cs: Update call to FocusInternal.
  1799. * Form.cs: Always create the handle when calling Focus on a MdiChild. The
  1800. form is not a toplevel form when it's a mdi child, so update is_toplevel
  1801. accordingly. ShowIcon/TransparencyKey: avoid creating the handle if it
  1802. hasn't been created. Show (IWin32Window): Don't allow this overload for
  1803. toplevel windows. CenterToParent/CenterToScreen/Select: create the
  1804. handle as MS does. SetVisibleCore: if called on a MdiChild and the
  1805. parent isn't visible yet, save the visibility and restore it when the
  1806. parent is made visible.
  1807. * ScrollableControl.cs: Refactor out scrollbar visibility code to separate
  1808. methods, since the visibility of the scrollbars can be changed from
  1809. several places, not only from AutoScroll.
  1810. [Fixes #81179]
  1811. 2007-03-19 Jackson Harper <[email protected]>
  1812. * RichTextBox.cs: Enable shortcuts by default.
  1813. * TextBoxBase.cs: Add conditional shortcuts.
  1814. 2007-03-19 Everaldo Canuto <[email protected]>
  1815. * MenuItem.cs: Dont call OnDrawItem when OwnerDraw is false (#81182).
  1816. 2007-03-19 Chris Toshok <[email protected]>
  1817. [ Fixes bug #80604]
  1818. * XplatUIX11.cs (WaitForHwndMessage): change this to actually
  1819. swallow the message we're waiting on, instead of delivering it, as
  1820. this is only used for the WM_SHOWWINDOW raised from
  1821. MapWindow/UnmapWindow, and the message needs to be generated
  1822. (MapWindow, UnmapWindow): generate the WM_SHOWWINDOW message
  1823. before doing the Map/Unmap. Also make sure that the Hwnd is still
  1824. alive after the message has been handled.
  1825. *before* the window is shown.
  1826. * Control.cs (CreateControl): guard a few more things inside the
  1827. if (!is_created) block, as we might end up being called again -
  1828. yay .net.
  1829. (WmShowWindow): call CreateControl if we're showing the control.
  1830. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  1831. * Control.cs: Fix 2.0 signature for Invoke. Support invoking on
  1832. controls without a handle if they have any parent with a handle. In
  1833. Dispose add a check whether the handle is created or not before
  1834. calling BeginInvoke, this removes the need of the extra disposing
  1835. parameter (which was bogus anyway since it didn't prevent the
  1836. invoke from happening, it only skipped the check for an existing
  1837. handle, meaning that the invoke would call on an inexistent
  1838. handle).
  1839. 2007-03-19 Everaldo Canuto <[email protected]>
  1840. * MessageBox.cs: Remove WS_POPUP from CreateParams style, with it form
  1841. appears in taskbar.
  1842. 2007-03-18 Everaldo Canuto <[email protected]>
  1843. * MessageBox.cs:
  1844. - Fixed a problem that dont show help button for messages with 3 buttons.
  1845. - Refactory button size and position calculations, now dont use fixed
  1846. values, also fixed button sizes (#80043) and form's border space.
  1847. - AddButton method created, now all other AddButton methods call this one.
  1848. - Some other source code cosmetic changes.
  1849. 2007-03-18 Jackson Harper <[email protected]>
  1850. * RichTextBox.cs: Don't do this all fonts must match check if
  1851. there is only one char selected.
  1852. 2007-03-18 Jackson Harper <[email protected]>
  1853. * TreeView.cs: ScrollWindow works properly now, so we don't need
  1854. to screw around with the scroll area. This fixes some artifacts
  1855. when expanding and collapsing.
  1856. 2007-03-18 Jackson Harper <[email protected]>
  1857. * TextBoxBase.cs: Allow updating the selection position when the
  1858. cursor is outside the textarea, but we have a capture.
  1859. * TextControl.cs: A special case for when the cursor is outside
  1860. the bounds of the TB.
  1861. 2007-03-18 Jackson Harper <[email protected]>
  1862. * TextBoxBase.cs: Remove image pasting code for now. There is no
  1863. way to get an image on the clipboard right now anyways.
  1864. * TextControl.cs:
  1865. * RichTextBox.cs: Use the new RTF Picture class for pictures.
  1866. 2007-03-18 Everaldo Canuto <[email protected]>
  1867. * MessageBox.cs:
  1868. - Set window properties in constructor intead of on CreateParams.
  1869. - Remove topmost from Window ExStyle.
  1870. - Set ShowInTaskbar to false.
  1871. - Set form border to FixedDialog.
  1872. - Some cosmetic changes and remove unneeded comments.
  1873. - It fixes itens 2,3 and 4 of bug #80043.
  1874. 2007-03-18 Gert Driesen <[email protected]>
  1875. * TextBoxBase.cs: In setter for ReadOnly, only chance BackColor if
  1876. none was explicitly set. Fixes part of bug #79949.
  1877. 2007-03-16 George Giolfan <[email protected]>
  1878. * ToolStripComboBox.cs: Add AutoComplete*.
  1879. 2007-03-16 George Giolfan <[email protected]>
  1880. * ToolStripComboBox.cs: Add FlatStyle.
  1881. 2007-03-16 Jonathan Pobst <[email protected]>
  1882. * ToolStrip.cs, ToolStripProfessionalRenderer.cs,
  1883. ToolStripSplitStackLayout.cs: Implement some basic vertical toolbar support.
  1884. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  1885. * ButtonBase.cs, ToolStrip.cs, SendKeys.cs, TextRenderer.cs,
  1886. CheckBox.cs, RadioButton.cs, BindingSource.cs,
  1887. DataGridColumnStyle.cs: Remove warnings.
  1888. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  1889. * Menu.cs: MergeMenu: Check menu argument for null before looping over
  1890. it.
  1891. * MdiWindowManager.cs: Add IsVisiblePending to track the pending
  1892. visibility of mdi child forms. FormSizeChangedHandler: update the
  1893. maximized size if size has changed while maximized.
  1894. * MdiClient.cs: SizeScrollbars/ArrangeWindows/ActivateChild: Avoid
  1895. creating the handle.
  1896. * InternalWindowManager.cs: UpdateBorderStyle/FormSizeChangedHandler:
  1897. avoid creating the handle if not created.
  1898. * XplatUI.cs: Update debug output.
  1899. * XplatUIStructs.cs: Added ToString's for a couple of structs.
  1900. 2007-03-16 Jonathan Pobst <[email protected]>
  1901. * ContainerControl.cs: Give ToolStripManager the opportunity to handle
  1902. ProcessCmdKey().
  1903. * ToolStripDownItem.cs, ToolStripItem.cs, ToolStripItemCollection.cs,
  1904. ToolStripItemEventType.cs, ToolStripManager.cs, ToolStripMenuItem.cs:
  1905. Implement keyboard shortcuts.
  1906. 2007-03-15 Everaldo Canuto <[email protected]>
  1907. * CommonDialog.cs: Set StartPosition to CenterScreen on form's constructor.
  1908. Fixes #79560 and #80200, it also fix problem in FileDialog, SaveDialog,
  1909. ColorDialog and all derived classes.
  1910. 2007-03-15 Everaldo Canuto <[email protected]>
  1911. [ Fixes bug #79828 ]
  1912. * ToolBar.cs:
  1913. - Rename ToolBarButtonInfor to ToolBarItem.
  1914. - Add all layout and calculation stuff gtom ToolBarButton to ToolBarItem.
  1915. - Maintain an array of ToolBarItem, used instead of ToolBarButton
  1916. collection to be able add same button more than one time on a toolbar.
  1917. - Refactory all properties and methods to use ToolBarItem.
  1918. * ToolBarButton.cs:
  1919. - Remove all propeties and methods that is now in ToolBarItem.
  1920. - Rectangle propery now gets the rectangle from first ToolBarItem to
  1921. mimic win32 behavior.
  1922. - Size calculation and layout methods also removed.
  1923. * ThemeWin32Classic.cs: Change all ToolBar drawing methods to receive
  1924. ToolBarItem instead of ToolBarButton to right drawing buttons when
  1925. same button/separator was added more than one time to ToolBar.
  1926. * ThemeNice.cs: Same as above.
  1927. 2007-03-15 Andreia Gaita <[email protected]>
  1928. * XplatUIX11.cs: Fire extra MouseMove events right after
  1929. MouseDown and MouseUp, emulating win32's <censored> behaviour
  1930. for apps that rely on it.
  1931. 2007-03-15 Jackson Harper <[email protected]>
  1932. * TextControl.cs:
  1933. * TextBoxBase.cs: On MS, a fixed single border is not in NC area,
  1934. it is drawn on the controls client window and there is no NC
  1935. area.
  1936. - Set the background color to gray on 2.0 when we are readonly.
  1937. 2007-03-15 Chris Toshok <[email protected]>
  1938. [ Fixes bug #81144 ]
  1939. * XplatUIX11.cs: implement VirtualScreen independently of
  1940. WorkingArea, by querying the _NET_DESKTOP_GEOMETRY root window
  1941. property.
  1942. 2007-03-15 Chris Toshok <[email protected]>
  1943. * Hwnd.cs: add an internal field for the cached_window_state.
  1944. * XplatUIX11.cs: cache the window state, invalidating the cache
  1945. (and thus re-querying the X server) only when we see an update to
  1946. the _NET_WM_STATE property.
  1947. 2007-03-15 Chris Toshok <[email protected]>
  1948. * BindingSource.cs: get a lot of the unit tests working.
  1949. 2007-03-15 Jonathan Pobst <[email protected]>
  1950. * Control.cs: Modify UpdateStyles to store distances when bounds >=
  1951. 0 instead of just bounds > 0. [Fixes bug #80912]
  1952. 2007-03-15 Jonathan Pobst <[email protected]>
  1953. * ToolStrip.cs, ToolStripItem.cs: Implement several new properties
  1954. and methods.
  1955. 2007-03-15 Ivan N. Zlatev <[email protected]>
  1956. * ComboBox.cs, Control.cs, XplatUIStructs.cs, XplatUIX11GTK.cs,
  1957. XplatUIX11.cs, XplatUIWin32.cs, InternalWindowManager.cs,
  1958. XplatUIOSX.cs, TextControl.cs: Replaces all uses of the custom
  1959. WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.
  1960. 2007-03-15 Chris Toshok <[email protected]>
  1961. [ Fixes #81101 ]
  1962. * Control.cs: add Ivan's fix for 81101, with a slight modification
  1963. - you can set control.Target to null.
  1964. 2007-03-14 Jonathan Pobst <[email protected]>
  1965. * ToolStripItem.cs: If our OwnerItem is null, we can't use
  1966. HideDropDown, use Hide instead to prevent an NRE.
  1967. [Fixes bug #81147]
  1968. 2007-03-14 Jackson Harper <[email protected]>
  1969. * TextBoxBase.cs: Mess with the creation stuff a little. We need
  1970. to calculate the document before the handle is created, in some
  1971. cases. (Actually just one case).
  1972. 2007-03-14 Jackson Harper <[email protected]>
  1973. * TextBoxBase.cs: Need to display the caret after letting the base
  1974. wndproc handle the focus methods, because the caret display
  1975. methods check the focus state.
  1976. - Try to display the caret after updating it's position with SelectWord.
  1977. - Don't need to do an immediate update on this recalc, since there
  1978. will be an invalidate anyways.
  1979. 2007-03-14 Jackson Harper <[email protected]>
  1980. * TreeView.cs: Some workarounds so that we can match event order a
  1981. little better.
  1982. 2007-03-14 Gert Driesen <[email protected]>
  1983. * ErrorProvider.cs: Invoke default ctor from 2.0-only ctor. Fixes bug
  1984. #80803. Avoid NullReferenceException when Control does not have
  1985. parent. Fixed different blinkstyle issues. Only subscribe to Tick
  1986. event a single time. Only draw error icon when control is created and
  1987. visible. Fixes failing unit tests.
  1988. 2007-03-14 Andreia Gaita <[email protected]>
  1989. * TabControl.cs: Add support for 2.0 Deselecting, Deselected and
  1990. Selecting events. Fire Leave and Enter events when changing tabs.
  1991. 2007-03-14 George Giolfan <[email protected]>
  1992. * TreeView.cs: Add TreeViewNodeSorter.
  1993. * TreeNodeCollection.cs: Add sorter parameter to Sort method.
  1994. 2007-03-14 Chris Toshok <[email protected]>
  1995. * Form.cs: go ahead and remove the RecreateHandles that jpobst
  1996. removed earlier and I had him add back it. It turns out metacity
  1997. *does* in fact handle the MOTIF_WM_HINTS property changing, it
  1998. just doesn't redraw the window titlebar until you resize the
  1999. window. This also means we aren't recreating the entire window
  2000. hierarchy on X when you change this property. And it looks better
  2001. on windows, too.
  2002. 2007-03-14 Carlos Alberto Cortez <[email protected]>
  2003. * ListViewItem.cs:
  2004. * ListView.cs: Collecting selection information
  2005. is now done in SelectedIndexCollection rather than in
  2006. SelectedListViewItemCollection. This is done so we can
  2007. have the selection information code in one single place
  2008. (virtual mode selection information entirely depends on
  2009. SelectedIndexCollection).
  2010. 2007-03-13 Miguel de Icaza <[email protected]>
  2011. * ErrorProvider.cs: Add stubs for ISupportInitialize
  2012. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  2013. * ListViewItem.cs: Trigger the ItemCheck and ItemChecked events
  2014. in the right order with the right values, from the Checked property,
  2015. just as MS does (instead of triggering them from ListView).
  2016. * ListView.cs: Make OnItemCheck and OnItemChecked internal.
  2017. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  2018. * ListView.cs: Implement ItemChecked 2.0 event. Also cast to
  2019. the correct handler in OnItemCheck method (ItemCheckEventHandler
  2020. instead of EventHandler). This used to throw an InvalidCastException.
  2021. 2007-03-13 Jackson Harper <[email protected]>
  2022. * TextBoxBase.cs: Calculate the document before the handle is
  2023. created, so there isn't an extra invalidate called.
  2024. 2007-03-13 Jonathan Pobst <[email protected]>
  2025. * Form.cs: Don't set owner in ShowDialog until we are sure
  2026. that we aren't going to throw an exception. [Fixes bug #80773]
  2027. 2007-03-12 George Giolfan <[email protected]>
  2028. * TreeView.cs: Make it compile.
  2029. 2007-03-12 Jonathan Pobst <[email protected]>
  2030. * Control.cs: Another place we don't call SizeFromClientSize.
  2031. * Form.cs: Another place we don't call SizeFromClientSize.
  2032. [Fixes bug #81125]
  2033. 2007-03-12 Jackson Harper <[email protected]>
  2034. * TreeView.cs: Basically emulating some strangness here with
  2035. exanding nodes and setting node positions when windows aren't
  2036. created.
  2037. - Also attempting to walk the node tree less than previously, and
  2038. just use visible order calculations for determining offsets.
  2039. - oops made scrolling backwards.
  2040. * TreeNode.cs: We need to start nodes with a zero visible order,
  2041. because the order calcs are based on the first nodes order.
  2042. 2007-03-12 Jonathan Pobst <[email protected]>
  2043. * Form.cs: Don't exit the program if RecreateHandle is called on
  2044. the main form.
  2045. 2007-03-12 Chris Toshok <[email protected]>
  2046. * XEventQueue.cs: remove the use of PostQuitState.
  2047. * XplatUIX11.cs: remove the use of PostQuitState. If we get a
  2048. WM_QUIT message in GetMessage, return false (and if we're in the
  2049. nested WaitForHwndMessage, repost the WM_QUIT message).
  2050. 2007-03-12 Jonathan Pobst <[email protected]>
  2051. * Form.cs: Don't call RecreateHandle when we change the MinimizeBox
  2052. or the MaximizeBox properties. [Part of bug #80640]
  2053. 2007-03-12 Everaldo Canuto <[email protected]>
  2054. * LinkLabel.cs: When calculate pieces make LinkArea empty if theres
  2055. no links.
  2056. 2007-03-12 Jonathan Pobst <[email protected]>
  2057. * ToolStripItem.cs: Fix some tests I broke by checking Visible
  2058. instead of visible.
  2059. 2007-03-12 Gert Driesen <[email protected]>
  2060. * FileDialog.cs: Use text of File name combobox to determine what
  2061. files the user selected. Added tokenizer to parse the file names.
  2062. Fixes bug #81123.
  2063. 2007-03-12 Jonathan Pobst <[email protected]>
  2064. * Control.cs: We can't call SizeFromClientSize in the constructor,
  2065. but we still need to do the same work, so make an internal version.
  2066. [Fixes bug #80621]
  2067. 2007-03-12 Jackson Harper <[email protected]>
  2068. * TreeView.cs:
  2069. * TreeNode.cs:
  2070. * OpenTreeNodeEnumerator: Match MS better for IsVisible and
  2071. IsExpanded.
  2072. 2007-03-12 Jackson Harper <[email protected]>
  2073. * TextBoxBase.cs: Now that the handles are being created a little
  2074. later, we need to make sure that the document is recalculated when
  2075. the handle is created.
  2076. 2007-03-11 Everaldo Canuto <[email protected]>
  2077. * Theme.cs: GetLinkFont abstract method added.
  2078. * LinkLabel.cs:
  2079. - Remove CalcTrimRectangle, no longer needed.
  2080. - Factor also remove, position issues must be fixed in libgdiplus.
  2081. - Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
  2082. - GetPieceFont, CreateLinkFont and link_font removed, theme must be
  2083. care about font used to draw links.
  2084. - Set TabStop to true when control is "Selectable", control is selectable
  2085. when have one or more links. Fixes #80501 (test case is also added).
  2086. - Set the LinkArea values after links change, LinkArea values must be
  2087. based in first link position and size, a test case was created.
  2088. - Fix ControlStyles.Selectable value, now is based on LinkArea value,
  2089. the attribute must be true LinkArea.Length > 0. The same was applied to
  2090. TabStop.
  2091. * ThemeWin32Classic.cs:
  2092. - LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
  2093. in draw method.
  2094. - Use CPDrawStringDisabled to draw disabled text instead of hard code
  2095. color change.
  2096. - Draw focus rectangle for every parts focused, including parts that
  2097. is on another line, its because regions returns various rectangles
  2098. and not only one. Needed to mimic W32 look.
  2099. - Uses Graphics.Clip to delimite region painted, it mean that now
  2100. complete text is passed to DrawString, with this we solve layout
  2101. issues without create another text renderer.
  2102. - Uses Region.Intersect to fix some flickers problems, now only needed
  2103. parts will redrawed.
  2104. - This changes fixes #79614 and some other unreported issues, on Linux
  2105. some layout problems still remain, the problem is under
  2106. MeasureCharacterRanges but it is an libgdiplus bug.
  2107. 2007-03-10 Gert Driesen <[email protected]>
  2108. * TextBox.cs: Set for foreground color.
  2109. * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
  2110. this is already done in Control.
  2111. 2007-03-10 Jackson Harper <[email protected]>
  2112. * TextBox.cs: Set the background color, but reset the
  2113. backcolor_set flag which is just for the user setting the
  2114. background color.
  2115. 2007-03-09 Chris Toshok <[email protected]>
  2116. * Control.cs: really remove the call to XplatUI.SetVisible from
  2117. CreateHandle(), like I said I did when I merged the branch.
  2118. * BindingSource.cs: implement some more of this stuff.
  2119. 2007-03-09 Jackson Harper <[email protected]>
  2120. * TextBox.cs: Don't explicitly set our background colors.
  2121. * TextControl.cs:
  2122. * TextBoxBase.cs: Draw readonly text.
  2123. - Need to invalidate when backcolor or readonly are changed.
  2124. 2007-03-09 Jackson Harper <[email protected]>
  2125. * TextBoxBase.cs: Don't set the forecolor until the handle is
  2126. created.
  2127. - Do not raise OnPaint, and removed some old debug code.
  2128. 2007-03-09 George Giolfan <[email protected]>
  2129. * ScrollableControl.cs: Fix mouse wheel scrolling.
  2130. 2007-03-09 Jonathan Pobst <[email protected]>
  2131. * Control.cs: Wire up MouseDoubleClick event.
  2132. 2007-03-09 Jonathan Pobst <[email protected]>
  2133. * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
  2134. top or bottom.
  2135. * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
  2136. * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
  2137. item is added. This logic was moved to ToolStrip.OnItemAdded.
  2138. [Fixes bug #81090]
  2139. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  2140. * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
  2141. 2007-03-08 Jackson Harper <[email protected]>
  2142. * TreeView.cs: Show the correct image for selected node (this used
  2143. to work, not sure how the code got deleted). Also implemented 2.0 feature
  2144. SelectedImageKey.
  2145. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  2146. * ListView.cs:
  2147. * ListViewItem.cs: Cache index in items when retrieving them
  2148. in VirtualMode.
  2149. 2007-03-08 Jonathan Pobst <[email protected]>
  2150. * ToolStripItem.cs: Don't return the explicit_size if we are using
  2151. AutoSize. Fixes invalidation issue when user has explicitly set a
  2152. size and has AutoSize = true.
  2153. 2007-03-08 Jonathan Pobst <[email protected]>
  2154. * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
  2155. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  2156. * DataGridView.cs: Remove event handler from DataView when a
  2157. DataTable is used as DataSource.
  2158. 2007-03-08 Jonathan Pobst <[email protected]>
  2159. * Control.cs: Create internal setter for client_size to allow it to be
  2160. set without triggering resizing code.
  2161. * Form.cs: Calculate client_size in constructor, only change client_size
  2162. in FormBorderStyle property if Handle has been created.
  2163. [Fixes #80574, #80791]
  2164. 2007-03-08 George Giolfan <[email protected]>
  2165. * SystemInformation.cs: Add TerminalServerSession.
  2166. 2007-03-07 Jonathan Pobst <[email protected]>
  2167. * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
  2168. TreeView code.
  2169. 2007-03-07 Jonathan Pobst <[email protected]>
  2170. * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
  2171. Handle before we were supposed to. Now checks ActivateOnShow property
  2172. in Control.
  2173. * Control.cs: Add internal ActivateOnShow property.
  2174. * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
  2175. for ActivateOnShow.
  2176. * Hwnd.cs Remove no longer needed no_activate field.
  2177. 2007-03-07 Jackson Harper <[email protected]>
  2178. * TreeView.cs: Implement owner draw tree nodes. And a couple more
  2179. 2.0 properties
  2180. * DrawTreeNodeEventHandler.cs: Add
  2181. * DrawTreeNodeEventArgs.cs: Correct default value.
  2182. 2007-03-07 Chris Toshok <[email protected]>
  2183. * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
  2184. to be called before NativeWindow.WndProc. Put the HwndCreating
  2185. magic there to hook up our Hwnd's to handles.
  2186. 2007-03-07 Gert Driesen <[email protected]>
  2187. * DataGridView.cs: Comment out debug code.
  2188. 2007-03-07 Chris Toshok <[email protected]>
  2189. [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
  2190. to make the rest of the world happy]
  2191. * Control.cs (CreateHandle): there's no need to call
  2192. XplatUI.SetVisible here, it's effectively done by
  2193. XplatUI.CreateWindow on X now, and always was on windows.
  2194. * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
  2195. shortcircuit out of the loop if we have a message loop running on
  2196. this thread.
  2197. [Changelog from merge]
  2198. 2007-03-05 Chris Toshok <[email protected]>
  2199. * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
  2200. causes handle creation.
  2201. 2007-02-28 Chris Toshok <[email protected]>
  2202. * ApplicationContext.cs: Add a flag to make sure we only raise the
  2203. ThreadExit event once (ExitThreadCore can be indirectly called
  2204. from a few places.) I don't like the additional flag, but it
  2205. makes the event ordering/count correct.
  2206. * Application.cs (MWFThread.LoopCount): don't use an enumerator
  2207. without locking the collection. An enumerator doesn't give us any
  2208. protection from modification anyway. Lock the thread hash and
  2209. replace the complicated enumerator loop with a foreach.
  2210. (Application.CloseForms): make internal so it can be called from
  2211. ApplicationContext. This should probably be moved to MWFThread.
  2212. (Application.ExitThread): don't call MWFThread.Current.Exit()
  2213. here. just call XplatUI.PostQuitMessage. We'll exit the thread
  2214. when the runloop exits (in response to WM_QUIT.)
  2215. (Application.RunLoop): add a comment (and check) for
  2216. context.MainForm being null after setting context.MainForm.Visible
  2217. = true. This is because you're perfectly free to dispose of a
  2218. form in VisibilityChanged. Chalk this up to another case where we
  2219. need to synchronously generate WM_ACTIVATE from Control.Show.
  2220. Also, add handling for WM_QUIT here so we'll exit the loop.
  2221. * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
  2222. fact that we don't wait if we're only unmapping the whole_window
  2223. makes me a bit nervous, but it doesn't seem to cause any problems
  2224. yet.
  2225. also, add a comment about the stupid, broken and wrong resetting
  2226. of PostQuitState to false in GetMessage().
  2227. In PostQuitMessage, we need to add a WM_QUIT message to the
  2228. thread's queue. We use the FosterParent to get the right
  2229. handle/hwnd/queue.
  2230. Lastly, in SetVisible, we need to unmap both windows, since the
  2231. waiting only happens when we're unmapping the client window. So
  2232. now, the *only* time we unmap just the whole_window is in the hack
  2233. for resizing a control to 0,0.
  2234. 2007-02-21 Chris Toshok <[email protected]>
  2235. * Application.cs (CloseForms): rewrite this so that we don't
  2236. modify the list while we're traversing it.
  2237. 2007-02-20 Chris Toshok <[email protected]>
  2238. * ListBox.cs (.ctor): move the Control.AddImplicits here instead
  2239. of OnHandleCreated.
  2240. (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
  2241. handle is created. otherwise we'll create it here.
  2242. (VerticalScrollEvent): same here.
  2243. * Application.cs (CloseForms): call Form.Dispose, don't post
  2244. WM_CLOSE_INTERNAL.
  2245. * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
  2246. here. Application should Dispose() of the Form's.
  2247. * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
  2248. WM_DESTROY as well.
  2249. (MapWindow,UnmapWindow): only actually do the waiting for
  2250. SHOWWINDOW if the control we're dealing with is a Form.
  2251. (CreateWindow): if the control isn't a form, SendMessage
  2252. WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
  2253. * Control.cs (SetVisibleCore): always use is_visible here, not
  2254. value. If we use value, we can end up re-setting something
  2255. visible if, for instance, you do Control.Hide() in a delegate
  2256. attached to VisibleChanged as we do in FormTest.ShowDialogTest.
  2257. 2007-02-20 Chris Toshok <[email protected]>
  2258. * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
  2259. the message we need. PeekMessage returning false should not be a
  2260. condition under which we exit the loop.
  2261. 2007-02-15 Chris Toshok <[email protected]>
  2262. * Control.cs (Refresh): only refresh if we've got a handle and are
  2263. visible.
  2264. (CreateAccessibilityInstance): CreateControl() here.
  2265. (UpdateChildrenZOrder): complicate the code loop even more by
  2266. taking into account controls that haven't had their handle
  2267. created, and those that aren't visible. But on the flip side,
  2268. simplify the code by splitting it into two loops. one which
  2269. builds up the list of child controls we're interested in, and the
  2270. other that sets the z order of those children.
  2271. 2007-02-14 Chris Toshok <[email protected]>
  2272. * Control.cs: Control.AccessibilityObject causes the control to be
  2273. created, not just the handle.
  2274. 2007-02-14 Chris Toshok <[email protected]>
  2275. * Control.cs: rework UpdateChildrenZOrder to correctly handle the
  2276. problem on X where a window might have its handle created (and be
  2277. visible) while the window is unmapped. calling XConfigureWindow
  2278. on an unmapped window is bad, and generates X errors.
  2279. 2007-02-13 Chris Toshok <[email protected]>
  2280. * Control.cs (CreateHandle): don't loop over our children setting
  2281. their parent here. do it when in WndProc when we're shown.
  2282. (UpdateChildrenZOrder): make this internal so we can call it from
  2283. ScrollableControl.
  2284. (WndProc): for WM_SHOWWINDOW, reparent the child control after
  2285. creating its handle. Also, remove the calls to PerformLayout from
  2286. here. they're done in ScrollableControl.OnVisibleChanged. Also,
  2287. OnVisibleChanged only seems to be called directly here for the
  2288. toplevel control. It's propagated down the window hierarchy by
  2289. calls to child.OnParentVisibleChanged.
  2290. (OnVisibleChanged): don't do layout here - it's done (oddly
  2291. enough, according to a glance at stack traces on ms.net..) in
  2292. ScrollableControl.
  2293. * ScrollableControl.cs (OnVisibleChanged): make sure we update the
  2294. z order of our children before calling PerformLayout.
  2295. 2007-02-12 Chris Toshok <[email protected]>
  2296. [big change, fixes #80020]
  2297. * AccessibleObject.cs: we need to make owner internal again to fix
  2298. some of ControlAccessibleObject.
  2299. * Control.cs: lots of changes here. add support for WM_CREATE,
  2300. for which we generate OnHandleCreated. Remove the OnHandleCreated
  2301. call from CreateHandle. Also add support for WM_SHOWWINDOW where
  2302. we create child controls. leave the MonoTODO's for the
  2303. accessibility calls, but fix the exceptions so the tests pass.
  2304. Add the InvalidOperationExceptions to Invoke methods, and remove a
  2305. couple of InvokeInternal methods we aren't using.
  2306. Also, add a couple of CreateHandle calls in places where we know
  2307. the handles are being created but our code doesn't reference
  2308. .Handle.
  2309. Make SetVisibleCore call OnVisibleChange if the handle isn't
  2310. created. If the handle is created, we rely on XplatUI.SetVisible
  2311. generating the event synchronously.
  2312. Lastly, make sure we don't use this.Handle inside CreateHandle,
  2313. because we can call back into client (and that code can dispose of
  2314. the control).
  2315. * XplatUIStructs.cs: misc/cleanup.
  2316. * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
  2317. although we don't populate the wParam properly.
  2318. (CreateWindow): generate WM_CREATE.
  2319. (MapWindow,UnmapWindow): make these calls synchronous, at great
  2320. performance expense (particularly in the unmap case), to match
  2321. win32 behavior.
  2322. * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
  2323. to call it.
  2324. (set_MdiParent): don't recreate the handle unless it's been
  2325. created already.
  2326. * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
  2327. it's created.
  2328. * NativeWindow.cs: this is probably the weirdest part of the
  2329. patch. We need a way to link up the window being created to the
  2330. WM_CREATE message. Since we can only be creating one window at a
  2331. time on a given thread, we keep track of a per-thread reference so
  2332. we can dispatch it properly. We also need to keep track of the
  2333. Hwnd currently being created so that the win32 backend doesn't
  2334. have problems.
  2335. * XplatUIWin32.cs: a similar change to the one we made in
  2336. NativeWindow.cs.
  2337. 2007-03-07 Jonathan Pobst <[email protected]>
  2338. * ToolStripItem.cs: Make CalculatePreferredSize virtual.
  2339. * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
  2340. to draw the menu shortcut string.
  2341. 2007-03-07 Jackson Harper <[email protected]>
  2342. * TreeNode.cs: Add the 2.0 collapse method.
  2343. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  2344. * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
  2345. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  2346. * DataGridView.cs: Change DataSource will clear column and row
  2347. lists. Call Invalidate() to reflect DataSource change.
  2348. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  2349. * DataGridView.cs: Add rows when DataSource is System.Data.DataView
  2350. and a new row is added to it.
  2351. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  2352. * DataGridView.cs: Add columns when DataSource is en empty list but
  2353. is a System.Data.DataView (from a System.Data.DataTable).
  2354. 2007-03-06 Andreia Gaita <[email protected]>
  2355. * Label.cs: Implement AutoEllipsis (2.0)
  2356. 2007-03-06 Jackson Harper <[email protected]>
  2357. * TreeView.cs: Implement 2.0 TopNode setter property.
  2358. - Use a local var instead of the skipped_nodes field for computing
  2359. how many nodes to skip. Otherwise we won't scroll because the
  2360. valuechanged handler checks if skipped_nodes is equal to the new
  2361. value.
  2362. - Implement 2.0 Sort method.
  2363. - Add useless 2.0 DoubleBuffer property
  2364. - Implement 2.0 LineColors property. Lets you change the color of
  2365. the lines in the tree. Terribly useful for creating non cohesive
  2366. desktops.
  2367. - Implement 2.0 image key feature.
  2368. 2007-03-06 Jackson Harper <[email protected]>
  2369. * TreeView.cs: We can't get the bounds of the nodes before raising
  2370. the AfterSelect event, because that event could change the node's
  2371. bounds (scrolling, font change, etc).
  2372. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  2373. * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
  2374. * Form.cs: Don't recreate handle when creating FormWindowManager, just
  2375. update window styles. In CreateParams us VisibleInternal instead of
  2376. VIsible to get the actual visible flag set for this form.
  2377. * FormWindowManager.cs: Activate the form whenever the mouse clicks on
  2378. the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
  2379. handle the case when the form is already maximized, in which case
  2380. it should be restored. Fixes #81043.
  2381. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  2382. * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
  2383. 2007-03-05 Jackson Harper <[email protected]>
  2384. * TreeViewHitTestInfo.cs: implement.
  2385. 2007-03-05 Jackson Harper <[email protected]>
  2386. * InternalWindowManager.cs: class status fix.
  2387. 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
  2388. * InternalWindowManager.cs: All windows that have a parent
  2389. are confined to their parent when they're being moved.
  2390. Fixes #80822.
  2391. 2007-03-04 Gert Driesen <[email protected]>
  2392. * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
  2393. on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
  2394. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  2395. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
  2396. buttons invisible before deciding which ones should be visible
  2397. (fixes minimize/maximize buttons showing up in toolwindows). Remove
  2398. an unused variable.
  2399. * InternalWindowManager.cs: Remove warning.
  2400. 2007-03-02 Carlos Alberto Cortez <[email protected]>
  2401. * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
  2402. to throw an InvalidOperationException is virtual mode is being used.
  2403. 2007-03-02 Jonathan Pobst <[email protected]>
  2404. * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
  2405. ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
  2406. ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
  2407. ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  2408. ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
  2409. ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
  2410. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  2411. * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
  2412. driver.KeyboardDelay from XplatUI.KeyboardDelay
  2413. * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
  2414. (patch by Sergey Volk)
  2415. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  2416. * ToolWindowManager.cs: Added, contains logic for
  2417. tool windows.
  2418. * CreateParams.cs: Add a few helper methods and an
  2419. internal variable to know which control the CreateParams belongs
  2420. to.
  2421. * Control.cs: Call Form.ChangingParent when the
  2422. parent is about to be changed.
  2423. * XplatUIX11.cs: DeriveStyles (): Set
  2424. caption_height for all windows that have captions and are children.
  2425. Update to use ToolWindowManager instead of InternalWindowManager
  2426. for ToolWindows.
  2427. * XplatUIWin32.cs: Set fake window styles for all
  2428. windows that have window managers.
  2429. * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
  2430. now duplicated for mdi windows when they are
  2431. maximized, first for the buttons the window itself has, then for
  2432. the buttons that appear in the menu bar. Makes things a little
  2433. easier). Updated UpdateWindowDecorations, SetWindowState and the
  2434. mouse eventhandlers accordingly.
  2435. * Form.cs: Add ChangingParent (), contains the
  2436. logic of what should happen when the parent changes. In MdiParent
  2437. don't set things that ChangingParent () is doing. When handling
  2438. WM_CLOSE, we can close the form if there are any other modal forms
  2439. and the current form is a descendent of the modal form.
  2440. * InternalWindowManager.cs: A lot of refactoring,
  2441. the title buttons are now extracted to a separate container class
  2442. that takes care of all button code (clicks, tooltips, etc). Moved
  2443. Iconic|Maximized|Normal Bounds properties to this class from
  2444. MdiWindowManager, so that the window state logic can succeed for
  2445. other than mdi wm's. Implemented general window state change logic.
  2446. Moved CreateButtons to ThemeWin32Classic, since the theme might
  2447. override which buttons are available when as well as the exact
  2448. location.
  2449. * FormWindowManager.cs: Added, contains logic for
  2450. normal forms.
  2451. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
  2452. which buttons go where (and if they are at all visible).
  2453. Removed special handling of maximized windows, since they aren't special.
  2454. In DrawManagedWindowDecorations don't try to draw the text if it is
  2455. empty.
  2456. * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
  2457. use whatever the wm gives us.
  2458. 2007-03-02 Jonathan Pobst <[email protected]>
  2459. * ButtonBase.cs: Add 2.0 properties.
  2460. * Button.cs: Override Draw for 2.0.
  2461. * Control.cs: Add Entered and Selected properties.
  2462. * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
  2463. TextRenderer.cs: Make internal for 1.1 to unify drawing code.
  2464. * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
  2465. buttons.
  2466. * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
  2467. 2007-03-01 Jonathan Pobst <[email protected]>
  2468. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
  2469. 2007-03-01 Jonathan Pobst <[email protected]>
  2470. * XplatUIWin32.cs: Register a new class with Windows each time we get
  2471. a new ClassStyle. [Fixes bugs #79432, #80817]
  2472. * Controls.cs: Set the correct ClassStyle in CreateParams.
  2473. * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
  2474. 2007-03-01 Gert Driesen <[email protected]>
  2475. * ListView.cs: Add fireEvent argument to ReorderColumn since the
  2476. ColumnReordered event must not be signaled when modifying DisplayIndex
  2477. of a ColumnHeader. Added internal ReorderColumns method which takes
  2478. care of drawing, and updating the internal DisplayIndex of the
  2479. ColumnHeader. Added AddColumn method which is invoked from
  2480. ColumnHeaderCollection when adding or inserting columns, and which
  2481. ensures that reorder_columns_indices is kept in sync. Avoid redrawing
  2482. after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
  2483. Recalculated dispay indices after removing a ColumnHeader.
  2484. * ColumnHeader.cs: Save DisplayIndex separately from ListView to
  2485. match MS. Allows last display index to be returned after ListView
  2486. is disposed. Update actual location of ColumnHeader when DisplayIndex
  2487. is modified.
  2488. 2007-03-01 Everaldo Canuto <[email protected]>
  2489. * LinkLabel.cs: Improve CalcTrimRectangle.
  2490. * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
  2491. 2007-02-28 Everaldo Canuto <[email protected]>
  2492. * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
  2493. get rectangle as a result value.
  2494. 2007-02-28 Everaldo Canuto <[email protected]>
  2495. * LinkLabel.cs: Theres some diferences between rectangle return from
  2496. MeasureCharacterRanges and the area used for DrawString to fix this
  2497. CalcMeasurementFactor method was created, it calcules the diferences
  2498. to be use later to adjust rectangle in draw operations. Fixes #80473.
  2499. * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
  2500. to adjust draw rectangle.
  2501. 2007-02-27 Everaldo Canuto <[email protected]>
  2502. * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
  2503. text and some other changes to reduce and optimize source code.
  2504. 2007-02-27 Jonathan Pobst <[email protected]>
  2505. * RadioButton.cs: Implement 2.0 event.
  2506. * RelatedImageListAttribute.cs: Implement new class.
  2507. 2007-02-27 Everaldo Canuto <[email protected]>
  2508. * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
  2509. 2007-02-27 Jonathan Pobst <[email protected]>
  2510. * CheckBox.cs: Implement 2.0 functionality.
  2511. 2007-02-27 Carlos Alberto Cortez <[email protected]>
  2512. * ListView.cs: Refactor Add and AddRange methods of
  2513. ListViewItemCollection, to not update the ListView
  2514. everytime an item is added in AddRange. Also move the update
  2515. code to a new CollectionChanged method, and call it
  2516. from other methods that need it as well (this should also fix some
  2517. bugs when Sorting is used).
  2518. 2007-02-27 Jackson Harper <[email protected]>
  2519. * TextControl.cs: Try to never let the caret stay in a non-text
  2520. tag.
  2521. * TextBoxBase.cs: Update the caret.
  2522. 2007-02-26 Jonathan Pobst <[email protected]>
  2523. * XplatUIStructs.cs: Add some convenience methods for POINT structure.
  2524. * XplatUIWin32.cs: Add some convenience methods for RECT structure,
  2525. delete POINT structure, duplicate of one in XplatUIStructs.
  2526. * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
  2527. 2007-02-26 Gert Driesen <[email protected]>
  2528. * ListView.cs: Initialize LabelEditEventArgs after setting Text of
  2529. edit box since otherwise the Label would immediately be set (even if
  2530. the user did not modify the label). In OnKeyDown set Handled to true
  2531. if Return or Escape was pressed. In ColumnHeaderCollection unlink
  2532. columns that are to be removed. In ListViewItemCollection unlink items
  2533. that are to be removed.
  2534. 2007-02-24 Jonathan Pobst <[email protected]>
  2535. * TextRenderer.cs: If we set a GDI clip region, we need to clear
  2536. it when we are done. [Fixes bug #80949]
  2537. 2007-02-23 Jonathan Pobst <[email protected]>
  2538. * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
  2539. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  2540. * ListView.cs: I forgot to commit the changes for ListView
  2541. in my previous patch.
  2542. 2007-02-23 Jonathan Pobst <[email protected]>
  2543. * Clipboard.cs: Partially implement an overload of SetDataObject.
  2544. * Form.cs: Implement ShowWithoutActivation.
  2545. * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
  2546. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  2547. This is a first set of changes to make the Virtual mode works,
  2548. by avoiding the retrieval of ListViewItem instances until
  2549. draw time.
  2550. * ListView.cs: Store item position in the ListView instead of the
  2551. ListViewItem, this way we don't request the Bounds property of
  2552. ListViewItem inside the ListView calculations, as well as cache the item
  2553. size in item_size field. Store indexes instead of ListViewItem
  2554. instances in the matrix used by icon view. Add a ItemMatrixLocation
  2555. struct to hold the row and col info of the matrix info.
  2556. * ListViewItem.cs: Don't store the location anymore, and only cache
  2557. the rectangles for GetBounds. Use the ListView.GetItemLocation
  2558. method to retrieve the actual location.
  2559. 2007-02-23 Jonathan Pobst <[email protected]>
  2560. * TextRenderer.cs: Add clipping support, thanks to George.
  2561. [Fixes bug #80949]
  2562. 2007-02-23 Gert Driesen <[email protected]>
  2563. * ListViewItem.cs: Cancel label edit when item is removed from
  2564. ListView.
  2565. * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
  2566. event before the edit textbox is displayed. Added CancelEdit method
  2567. which is used end to editing while ignoring the value set by the
  2568. user. In EndEdit, set focus to ListView to avoid losing focus to
  2569. other controls. In ListViewItemCollection.Clear, cancel editing of
  2570. any of the items. In Remove, cancel editing of item being removed.
  2571. Avoid udplicate code by modifing RemoveAt to invoke Remove.
  2572. 2007-02-23 Gert Driesen <[email protected]>
  2573. * FileDialog.cs: Update FSEntry when move is successful. Fixes
  2574. bug #80948.
  2575. 2007-02-23 Everaldo Canuto <[email protected]>
  2576. * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
  2577. compatible with non X11 systems. Fixes #80901.
  2578. 2007-02-23 Gert Driesen <[email protected]>
  2579. * ListView.cs: Added bool argument to UpdateMultiSelection to specify
  2580. whether the item should be unselected and reselect. We do no want this
  2581. when we're starting to edit the label. Do not fire the
  2582. SelectedIndexChanged event from ListView when its already been fired
  2583. by modifying ListViewItem.Selected. Fixes bug #80943.
  2584. 2007-02-23 Jonathan Pobst <[email protected]>
  2585. * TextRenderer.cs: Previos commit logic was backwards.
  2586. 2007-02-23 Jonathan Pobst <[email protected]>
  2587. * TextRenderer.cs: Don't add padding on MeasureText if we were
  2588. sent the NoPadding flag.
  2589. 2007-02-23 Everaldo Canuto <[email protected]>
  2590. * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
  2591. after DrawButton. To prevent image overlaps button borders SetClip and
  2592. ResetClip added before and after draw image. Fixes #79129.
  2593. 2007-02-23 Everaldo Canuto <[email protected]>
  2594. * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
  2595. window size, it fix problem when you run under win32 that theres
  2596. Size diferent than ClientSize. Also fix controls size and positions
  2597. to mimic Win32. Fixes #80837.
  2598. 2007-02-22 Everaldo Canuto <[email protected]>
  2599. * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
  2600. menu area to fix some problems for non X11 systems. Fixes #80613.
  2601. 2007-02-22 Jackson Harper <[email protected]>
  2602. * TreeNode.cs: When a node is expanded, set its is_expanded flag
  2603. even if it doesn't have any children.
  2604. 2007-02-22 Jackson Harper <[email protected]>
  2605. * TreeView.cs: Calculate the top node 'on the fly', this
  2606. eliminates issues where you need to click on the tree before
  2607. scrolling it to get the top node computed correctly.
  2608. * TreeNodeCollection.cs: We don't need to mess with the top node
  2609. anymore.
  2610. 2007-02-22 Jackson Harper <[email protected]>
  2611. * DataGridViewRow.cs: Fix typo so height can actually be set.
  2612. Patch by Peter Grimm.
  2613. 2007-02-22 Gert Driesen <[email protected]>
  2614. * FileDialog.cs: Fixed support for renaming files and directories.
  2615. * ListView.cs: Do not lose focus when edit is canceled. Process
  2616. Escape as regular key (to prevent closing of dialogs).
  2617. 2007-02-22 Gert Driesen <[email protected]>
  2618. * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
  2619. spaces. Changed spaces to tabs. Removed unnecessary init of bools.
  2620. 2007-02-22 Gert Driesen <[email protected]>
  2621. * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
  2622. did not modify label.
  2623. * ListView.cs: Only set LabelEditEventArgs.Label if user actually
  2624. modified the text. Reset Label when user presses Escape in edit mode.
  2625. Move focus to ListView after having cancelled or finished editing the
  2626. label.
  2627. 2007-02-21 Gert Driesen <[email protected]>
  2628. * ComboBox.cs: Removed unnecessary initializations. Marked items field
  2629. private. Clear textbox when Text is set to null and SelectedIndex is
  2630. already -1.
  2631. * FileDialog.cs: Removed unnecessary initializations. Removed
  2632. workarounds for ComboBox bugs that are now fixed. Modified
  2633. DefaultExt, InitialDirectory and Title property to change null to
  2634. zero-length string in getters. Avoid directly accessing fields.
  2635. 2007-02-20 Jackson Harper <[email protected]>
  2636. * TextControl.cs: Remove RecalAlignments call, that was some
  2637. debugging leftovers.
  2638. - Don't use the line indent when we shouldn't.
  2639. * RichTextBox.cs: Add support for paragraph left indents.
  2640. 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
  2641. * Control.cs: Fix BeginInvoke signature for 2.0 profile.
  2642. Seems like the class status pages doesn't catch params differences.
  2643. 2007-02-19 Gert Driesen <[email protected]>
  2644. * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
  2645. 2007-02-19 Gert Driesen <[email protected]>
  2646. * ComboBox.cs: Setting Text should have no effect if item text of
  2647. selected item exactly matches value. First lookup text using
  2648. case-sensitive comparison, and fallback to case-insensitive comparison.
  2649. FindString(Exact) returns -1 if search string is null. On 2.0 profile,
  2650. allow startIndex to be last index. Changed ArgumentOutOfRangeException
  2651. paramname to match MS. Restart from first item if string is not found
  2652. after startIndex. Fixed paramname of ArgumentNullException that is
  2653. thrown for null value in ObjectCollection.Contains.
  2654. 2007-02-19 Everaldo Canuto <[email protected]>
  2655. * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
  2656. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  2657. * ListControl.cs: In SelectedValue use value.Equals to compare for
  2658. equality instead of ==, otherwise it will fail for strings.
  2659. Fixes #80794.
  2660. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  2661. * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
  2662. since the caret won't show up unless ShowSelection is true.
  2663. Fixes #80795.
  2664. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  2665. * Application.cs: When disabling all forms but the main form, do not
  2666. disable any descendants of the main form (such as mdi children or
  2667. other parented forms). Fixes #80822 on Windows.
  2668. * Form.cs: If we have a parent, set the WS_CHILD style.
  2669. * Control.cs: Update the window styles if the control whose parent has
  2670. changed is a form (the WS_CHILD style has to be switched).
  2671. 2007-02-19 Everaldo Canuto <[email protected]>
  2672. * XplatUIStructs.cs: MsgUIState structure added.
  2673. 2007-02-18 Gert Driesen <[email protected]>
  2674. * FileDialog.cs: Removed need for separate fileName field. On 2.0
  2675. profile, do not check filename(s) for illegal character if filename(s)
  2676. were set non-interactively but always check on 1.0 profile. Fixed NRE
  2677. in DefaultExt and only strip off first leading dot. Improve exception
  2678. message when invalid Filter is set. Do not ignore InitialDirectory if
  2679. it does no exist. Store specified Title, and if empty use default
  2680. title (depending on type of dialog). Added an internal DialogTitle
  2681. property for retrieving dialog title. Fixed logic of displayed dir to
  2682. more closely match MS. Avoid setting ComboBox.Text to a zero-length
  2683. string as its buggy.
  2684. * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
  2685. FileName is a zero-length string (it can never be null). Override
  2686. DialogTitle property to set default title of dialog box.
  2687. * SaveFileDialog.cs: Override DialogTitle property to set default
  2688. title of dialog box.
  2689. 2007-02-18 Gert Driesen <[email protected]>
  2690. * FileDialog.cs: Modify default text of filename and filetype labels
  2691. to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
  2692. after we've updated the SelectedIndex. Fixes part of bug #80887.
  2693. * SaveFileDialog.cs: Set text of filetype label.
  2694. 2007-02-16 Carlos Alberto Cortez <[email protected]>
  2695. * LabelEditEventArgs.cs: New internal SetLabel method, to set the
  2696. label field. Needed by latest Jackson's fixes for ListView.
  2697. 2007-02-16 Andreia Gaita <[email protected]>
  2698. * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
  2699. print preview images.
  2700. 2007-02-16 Jackson Harper <[email protected]>
  2701. * ListView.cs: Make AfterLabelEdit work correctly.
  2702. * FileDialog.cs: After changing the name of the folder, we have to
  2703. make sure that it is created, or that we pop up an error because
  2704. it already exists.
  2705. 2007-02-16 Jackson Harper <[email protected]>
  2706. * X11Dnd.cs: Implement aliases on mime handlers, so things like
  2707. System.String are mapped to text.
  2708. - Handle dataobjects, getting all the possible formats out of them
  2709. - We dont need the drag event args before we give feedback. This
  2710. allows feedback cursors to be immediate before selections have
  2711. been converted.
  2712. 2007-02-16 Jackson Harper <[email protected]>
  2713. * TextBoxBase.cs: Modified the method for inserting images to
  2714. taking a line and position instead of tag and position.
  2715. * RichTextBox.cs: Handle PngBlip data by inserting the png image
  2716. into the RTF file.
  2717. * TextControl.cs: Allow images to be inserted as the first tag of
  2718. a line.
  2719. - Fix some off by one issues when we assume the first tag is a
  2720. text tag, not an image tag.
  2721. 2007-02-15 Carlos Alberto Cortez <[email protected]>
  2722. * ListView.cs: Set focus to ListView when ItemControl gets a
  2723. WM_RBUTTONDOWN message, to mimic .Net behaviour.
  2724. Fixes part of #80467.
  2725. 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
  2726. * DateTimePicker.cs: Call RecreateHandle if the Format changes and
  2727. validate Text input (if null or empty string reset Value to default
  2728. value). Fixes #80830.
  2729. 2007-02-14 Carlos Alberto Cortez <[email protected]>
  2730. * ListView.cs: Set owner as null for columns and items when
  2731. Dispose is invoked. Fixes #80607.
  2732. 2007-02-14 Jonathan Pobst <[email protected]>
  2733. * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
  2734. showing DropDowns, don't show a Grip when doing Flow layout.
  2735. [This fixes the toolbox in PDN 2.72.]
  2736. * ToolStripItem.cs: Add Anchor property and some internal properties to
  2737. reduces needed changes to FlowLayout.
  2738. * ToolStripOverflow.cs: Remove unused variable.
  2739. * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
  2740. use it in the layout calculations.
  2741. 2007-02-13 Everaldo Canuto <[email protected]>
  2742. * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
  2743. reported in #79640.
  2744. * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
  2745. size calculation.
  2746. 2007-02-13 Everaldo Canuto <[email protected]>
  2747. * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
  2748. MeasureString format, it can make button very large in some cases, it is
  2749. strange but is what win32 do.
  2750. 2007-02-13 Everaldo Canuto <[email protected]>
  2751. * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
  2752. size calculation.
  2753. * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
  2754. rendering, the value is based on MenuAccessKeysUnderlined.
  2755. 2007-02-13 Everaldo Canuto <[email protected]>
  2756. * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
  2757. for most themes.
  2758. * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
  2759. * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
  2760. and use MenuAccessKeysUnderlined instead.
  2761. 2007-02-13 Andreia Gaita <[email protected]>
  2762. * ContainerControl.cs: Focus fix for nunit treeview selection bug.
  2763. A selected control would not get a Focus call if:
  2764. - the default active control of the container is the same as
  2765. the one that was selected
  2766. - we are switching from one container to another
  2767. Under these conditions, the container being selected already has
  2768. an active_control, which is the same as the one being activated,
  2769. so set_ActiveControl would always return and not send the Focus
  2770. call. Fix to check if the currently active control of the container
  2771. is actually focused.
  2772. 2007-02-13 Jonathan Pobst <[email protected]>
  2773. * StatusStrip.cs: Implement the spring layout.
  2774. * ToolStripControlHost.cs: Make sure the hosted control's visibility
  2775. always matches the host.
  2776. * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
  2777. and TextAfterImage.
  2778. 2007-02-13 Andreia Gaita <[email protected]>
  2779. * Control.cs: Code reorganization only.
  2780. - Reorganize the WndProc cases so that each case has it's own handling method,
  2781. to help with the no-line-numbering stack traces.
  2782. - Formatting changes (it's vstudio's fault, really :p)
  2783. 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
  2784. * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
  2785. Thread.CurrentUICulture to match DateTimePicker's (and MS)
  2786. behaviour.
  2787. 2007-02-12 Jackson Harper <[email protected]>
  2788. * RichTextBox.cs:
  2789. * TextBox.cs: By default we have a non multiline document
  2790. - use the multiline property instead of the internal variable
  2791. * TextBoxBase.cs: Treat multiline and non multiline the same in
  2792. most places.
  2793. - Use the documents multiline flag instead of tracking it ourself
  2794. * TextControl.cs: Attempt at getting multiline to match MS
  2795. behavior. Lines now track an offset, which is either their X or Y
  2796. offset depending on whether or not we are in multiline mode.
  2797. - Update all the methods to understand that lines have an X value.
  2798. - Fix crash in Undo::Duplicate when empty lines are deleted.
  2799. 2007-02-12 Everaldo Canuto <[email protected]>
  2800. * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
  2801. code moved to properties PreferredHeight and PreferredWidth. It solve the
  2802. all problems when preferred sizes must be recalculated. Fixes #80801.
  2803. 2007-02-12 Everaldo Canuto <[email protected]>
  2804. * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
  2805. font height when compatible_text_rendering is false. Partially fix #80801.
  2806. 2007-02-09 Gert Driesen <[email protected]>
  2807. * Form.cs: Fixed typo in exception message. Fixes bug #80779.
  2808. 2007-02-09 Gert Driesen <[email protected]>
  2809. * Form.cs: Improved exception messages in ShowDialog.
  2810. 2007-02-09 Gert Driesen <[email protected]>
  2811. * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
  2812. PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
  2813. if not set. Fixes bug #80764. Avoid accessing current_settings field
  2814. directly.
  2815. 2007-02-08 Everaldo Canuto <[email protected]>
  2816. * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
  2817. false.
  2818. * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
  2819. public in 2.0 and for easy maintenance and dont break compatibility it is
  2820. internal in 1.1.
  2821. 2007-02-08 Jonathan Pobst <[email protected]>
  2822. * ToolStripItem.cs: Implement using images from ImageList.
  2823. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  2824. * DateTimePicker.cs: Change default date-formatting culture from
  2825. CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  2826. seems to be the way MS does it.
  2827. 2007-02-08 Andreia Gaita <[email protected]>
  2828. * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
  2829. (the 6 was cut off on the right side)
  2830. 2007-02-08 Jonathan Pobst <[email protected]>
  2831. * Form.cs: Tell MenuStrips to close when the form is clicked.
  2832. * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
  2833. ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
  2834. ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
  2835. ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
  2836. support for Overflow, where items that do not fit are automatically
  2837. reparented to a drop down menu.
  2838. * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
  2839. Also: fixes bug #80747.
  2840. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  2841. * ComboBox.cs: Remove warning (unused code).
  2842. * ScrollableControl.cs: Remove warning for 1.1 profile.
  2843. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  2844. * Form.cs: Remove a warning.
  2845. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  2846. * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  2847. 'g' specifier, not documented anywhere, but seems to always show up
  2848. as a single space (might have something to do with the DateTime 'g'
  2849. specifier, which is the era format, but since DateTimePicker can't
  2850. go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  2851. won't crash if the format has an unmatched quote. Now shows
  2852. single-character formats correctly. Fixes #80744.
  2853. 2007-02-08 Jonathan Pobst <[email protected]>
  2854. * StatusStrip.cs: Stretch property needs to call base.Stretch,
  2855. not this.Stretch to fix stack overflow. [Fixes bug #80760]
  2856. 2007-02-07 Chris Toshok <[email protected]>
  2857. * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
  2858. background color. it overwrites the background image we've
  2859. already painted. Fixes #80599.
  2860. 2007-02-07 Chris Toshok <[email protected]>
  2861. * DataGrid.cs: return immediately from Edit() when there are no
  2862. columns. Fixes #80662.
  2863. 2007-02-07 Chris Toshok <[email protected]>
  2864. * MessageBox.cs: fix #80625. don't always show the Help button in
  2865. 2.0. use the displayHelpButton parameter to determine if we
  2866. should show it. Also, make the internal show_help field private.
  2867. 2007-02-07 Chris Toshok <[email protected]>
  2868. * Control.cs (SetVisibleCore): check in the proposed patch for
  2869. 80604, and set is_visible before calling CreateControl.
  2870. 2007-02-07 Jonathan Pobst <[email protected]>
  2871. * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
  2872. MonoInternalNote. This is added automagically by VS2005, so let's not crash
  2873. on it.
  2874. 2007-02-06 Everaldo Canuto <[email protected]>
  2875. * MenuAPI.cs: hotkey_active internal field added, it is required because
  2876. we need to know when hotkeys must be draw, before this change a keystate
  2877. Navigating was used but we can have menu in navigating state without
  2878. hotkeys. Fixes #80694.
  2879. * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
  2880. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  2881. * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
  2882. corresponding events and methods to be internal for 1.1 profile and
  2883. public for 2.0 profile (required by SizeGrip).
  2884. * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
  2885. implicit control list). Don't set the size nor the location of the
  2886. SizeGrip anymore as it's not needed.
  2887. * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
  2888. draw directly on the captured control (fixes #80656). Removed
  2889. ShowGrip (it wasn't used anywhere), redraw (always true), added
  2890. GetDefaultSize and GetDefaultRectangle to calculate defaults.
  2891. * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
  2892. be called from SizeGrip.
  2893. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  2894. * Timer.cs: Throw ArgumentException if Interval <= 0.
  2895. 2007-02-05 Jackson Harper <[email protected]>
  2896. * TreeView.cs: We need to check scrollbar visibility when window
  2897. visibility is updated, because non visible trees don't ever add
  2898. scrollbars.
  2899. * Cursor.cs: We want the override cursor to be reset to NULL when
  2900. we set current cursor to the default cursor.
  2901. 2007-02-05 Jackson Harper <[email protected]>
  2902. * TextControl.cs: Don't have crlfs when we are non multiline.
  2903. - Consolidate the line position.
  2904. 2007-02-05 Jackson Harper <[email protected]>
  2905. * X11Keyboard.cs: BACK+CTRL gets a special char code.
  2906. 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
  2907. * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
  2908. handling LeaveNotify->NotifyUngrab in order to send
  2909. WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
  2910. after calling XUngrabPointer, so we call WindowUngrabbed directly
  2911. from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
  2912. * Control.cs: Handle WM_CAPTURECHANGED in order to raise
  2913. MouseCaptureChanged correctly. Also create handles if changing
  2914. Capture (matches MS behaviour).
  2915. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  2916. * SizeGrip.cs: Make the last change 2.0 only.
  2917. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  2918. * SizeGrip.cs: If resizing and the capture is lost, revert any size
  2919. changes to initial size (fixes #80597).
  2920. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  2921. * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
  2922. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  2923. * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
  2924. background) and only allow dragging if enabled. This way the
  2925. sizegrip can be used to fill the open square that otherwise would
  2926. have been shown in the bottom right corner of ScrollableControl
  2927. when ScrollableControl is not suppose to support sizing.
  2928. * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
  2929. sizegrip is shown and enabled, and hook up with necessary events.
  2930. 2007-02-01 Chris Toshok <[email protected]>
  2931. * DataGridTextBoxColumn.cs: clean up the
  2932. GetFormattedString/GetColumnValueAtRow combination of functions.
  2933. Also fix UpdateUI, and the initial state of
  2934. IsInEditOrNavigateMode.
  2935. * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
  2936. aren't supposed to scroll the textbox here, we're supposed to
  2937. scroll the datagrid.
  2938. 2007-02-01 Chris Toshok <[email protected]>
  2939. * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
  2940. setting the position.
  2941. 2007-02-01 Chris Toshok <[email protected]>
  2942. * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
  2943. here, since the most recent focus fixes keep us from generating
  2944. the Leave event when our textbox gets focus.
  2945. (Edit): we should be passing null for the column style's
  2946. instantText parameter.
  2947. 2007-02-01 Jonathan Pobst <[email protected]>
  2948. * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
  2949. raised. Fixes menu text/icons not showing up in PDN.
  2950. 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
  2951. * Control.cs: Remove code in constructor that makes every
  2952. control with WS_CHILD set have initial location -1, -1.
  2953. 2007-01-31 Jackson Harper <[email protected]>
  2954. * X11Dnd.cs: Take the keyboard on init to reduce coupling with
  2955. XplatUIX11.
  2956. * XplatUIX11.cs: Give teh keyboard to teh dnd.
  2957. 2007-01-31 Jackson Harper <[email protected]>
  2958. * X11Dnd.cs: Use IDataObject instead of the DataObject class.
  2959. - Remove some debug code.
  2960. 2007-01-31 Jackson Harper <[email protected]>
  2961. * XplatUIX11.cs: If you set the override cursor during a grab, it
  2962. should actually override the grab cursor. This comes into play
  2963. when you are setting custom cursors in a DND feedback method.
  2964. 2007-01-31 Jackson Harper <[email protected]>
  2965. * X11Dnd.cs: Add support for handling the QueryContinue and
  2966. GiveFeedback events.
  2967. - Cancel drag and drop actions when the escape key is clicked.
  2968. * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
  2969. can handle the ESCAPE key.
  2970. - Allow dnd to swallow BUTTONUP messages if it needs to. This is
  2971. done when dnd events are continued after the button is released.
  2972. - Add a new helper method so that dnd can translate key events.
  2973. 2007-01-31 Alexander Olk <[email protected]>
  2974. * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
  2975. make it more obvious what is happening.
  2976. 2007-01-30 Jackson Harper <[email protected]>
  2977. * XplatUIX11.cs: Don't break when handling button release in drag
  2978. and drop operations. We need that BUTTONUP message to get through
  2979. so capture is released.
  2980. * X11Dnd.cs: We don't need to manually grab the pointer anymore,
  2981. this is handled automatically when the mouse is down.
  2982. 2007-01-30 Jackson Harper <[email protected]>
  2983. * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
  2984. is closed, so we need to make sure that we aren't changing the
  2985. dialog result when the OK (Open or Save) button has been clicked
  2986. and we are closing the window ourselves. Note we don't need to
  2987. worry about the cache being written in this case, because it was
  2988. already done in the previous FilOk call.
  2989. 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
  2990. * DateTimePicker.cs: Remove a warning.
  2991. * ComboBox.cs: Remove a couple of warnings.
  2992. 2007-01-29 Chris Toshok <[email protected]>
  2993. * XplatUIX11.cs: don't crash, and remove the icon if the user has
  2994. set one, if SetIcon is passed a null icon.
  2995. 2007-01-29 Andreia Gaita <[email protected]>
  2996. * TextBox.cs: Redraw when the password characters changes
  2997. * TextControl.cs: Check if textbox has a password char and draw
  2998. a line of password chars instead of the text in the line. LineTag gets
  2999. an extra Draw() method which allows document.Draw to override the text
  3000. that will be drawn. Removes 1024 char limitation on length of passworded
  3001. lines.
  3002. 2007-01-29 Jackson Harper <[email protected]>
  3003. * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
  3004. single chars is not.
  3005. 2007-01-28 Jonathan Pobst <[email protected]>
  3006. * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
  3007. one pixel. Fix a StackOverflowException caused by an overload wrongly
  3008. calling itself.
  3009. 2007-01-26 Everaldo Canuto <[email protected]>
  3010. * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
  3011. also remove ProcessArrowKey and put the code inside ProcessKeys.
  3012. 2007-01-26 Jonathan Pobst <[email protected]>
  3013. * PaddingConverter.cs: Added.
  3014. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  3015. * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
  3016. ShowPanels is false (fixes #80600). Only draw up to 127 characters
  3017. of text (fixes #80601). For panels clip the text to draw to the
  3018. panel (fixes #80603).
  3019. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  3020. * ComboBox.cs: Fixed implementation of ResetText.
  3021. 2007-01-25 Jackson Harper <[email protected]>
  3022. * TextControl.cs: For the last char of a line we need to use the
  3023. line size, not that chars width, since it won't actually be
  3024. computed since the right side of a char is based on the start of
  3025. the left side of the next char, and the next char does not exist.
  3026. 2007-01-25 Chris Toshok <[email protected]>
  3027. * Splitter.cs: fix the new unit tests, and reindent some switch
  3028. statements.
  3029. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  3030. * ComboBox.cs: Implemented 2.0 methods and events.
  3031. * TextBoxBase.cs: Added OnTextUpdate, so that
  3032. ComboBox.ComboTextBox can inform ComboBox of it.
  3033. 2007-01-25 Jackson Harper <[email protected]>
  3034. * TextControl.cs: Respect ShowSelection when deciding whether or
  3035. not to display the caret, this allows comboboxes to have carets
  3036. when the combotextbox does not have focus.
  3037. 2007-01-25 Jackson Harper <[email protected]>
  3038. * TextControl.cs: Add a Suspend/Resume for updating, basically the
  3039. same as the Suspend/Resume for recalc, except this will do actual
  3040. Invalidates.
  3041. - New Undo manager, works much like the MS version.
  3042. - Implemented Redo
  3043. * TextBoxBase.cs: The Cut operation is undoable.
  3044. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  3045. * TextBoxBase.cs: Don't antialias text. Makes it look way better
  3046. on Windows (no difference on Linux).
  3047. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  3048. * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
  3049. we don't want to activate any windows. Fixes #79433.
  3050. 2007-01-25 Jonathan Pobst <[email protected]>
  3051. - ButtonBase.cs: Fix capitalization of parameter: disposing.
  3052. [Fixes bug #80609]
  3053. 2007-01-25 Alexander Olk <[email protected]>
  3054. * FileDialog.cs:
  3055. - Move to using System.ComponentModel.EventHandlerList
  3056. - Replace Refresh with Invalidate
  3057. - Clear the mime filecache on closing
  3058. - Some other memory reducing work. After beeing closed FD now uses
  3059. only about 300 KB for the fdo mime stuff plus the memory of the
  3060. cached icons.
  3061. * Mime.cs: Changed coding style and removed unnecessary commented
  3062. code. Some more memory memory reducing work.
  3063. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  3064. * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
  3065. a few other missing 2.0 properties.
  3066. * Theme.cs: Added DrawFlatStyleComboBox.
  3067. * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
  3068. 2007-01-24 Chris Toshok <[email protected]>
  3069. * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
  3070. wake_waiting flag, not just when there's data to be read. if we
  3071. don't, then future wakeup's won't reach us and we'll be doomed to
  3072. wait for the entire 1 second timeout forever (unless there are X
  3073. events to be had).
  3074. 2007-01-24 Jonathan Pobst <[email protected]>
  3075. * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
  3076. until you pass Items.Count, not Items.Count - 1 like 1.1.
  3077. 2007-01-24 Gert Driesen <[email protected]>
  3078. * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
  3079. 2007-01-24 Jonathan Pobst <[email protected]>
  3080. * ToolStripContainer.cs: The recent Dock fix exposed that I was
  3081. adding the panels in the wrong order.
  3082. 2007-01-24 Jackson Harper <[email protected]>
  3083. * TextBoxBase.cs: When we move the caret we also need to move the
  3084. selection, this fixes some random crashing after doing select
  3085. text, unselect, delete a char, paste.
  3086. 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
  3087. * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
  3088. 2007-01-23 Everaldo Canuto <[email protected]>
  3089. * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
  3090. OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
  3091. * ToolBar.cs: Force redraw in BackgroundImageChanged.
  3092. 2007-01-23 Everaldo Canuto <[email protected]>
  3093. * ToolBar.cs:
  3094. - Implement support for vertical toolbars. Fixes #80539;
  3095. - Call LayoutToolBar when resize, it fix some other problems in layout.
  3096. - Rename requested_height to requested_size, as we can have width on it
  3097. when toolbar is vertical.
  3098. - Create a private property "Vertical" that uses Dock to verify when
  3099. toolbar is vertical or not.
  3100. - Set ControlStyles when change Dock property.
  3101. - Refactory in LayoutToolBar to have better variables names and to support
  3102. vertical toolbars.
  3103. - Fixes default value for ButtonSize when button count is equal zero, size
  3104. must be (39, 36) test case writed.
  3105. 2007-01-23 Chris Toshok <[email protected]>
  3106. * Control.cs: fix the checks so that they work correctly for mdi
  3107. parents/children.
  3108. 2007-01-23 Chris Toshok <[email protected]>
  3109. * Control.cs: ControlCollection seems to have super-secret
  3110. abstraction breaking knowledge of Mdi containers. allow MdiClient
  3111. to add toplevel controls.
  3112. 2007-01-23 Chris Toshok <[email protected]>
  3113. * Control.cs: throw an ArgumentException if a toplevel control is
  3114. added to our control collection from ControlCollection.Add, as
  3115. well as from ControlCollection.IList.Add. This fixes the
  3116. ControlSetTopLevelTest.TestTopLevelAdd unit test.
  3117. Also, in ControlCollection.IList.Add, don't through an
  3118. ArgumentNullException, throw an ArgumentException, when value ==
  3119. null. This matches MS.
  3120. 2007-01-23 Chris Toshok <[email protected]>
  3121. * BindingSource.cs: initial, incomplete, implementation of
  3122. BindingSource.
  3123. 2007-01-23 Jackson Harper <[email protected]>
  3124. * TextControl.cs:
  3125. * TextBoxBase.cs: Checking in some pieces of the undo stuff so
  3126. that I can fix a broken unit test (TextBoxTest::ClearUndo)
  3127. 2007-01-23 Everaldo Canuto <[email protected]>
  3128. * ToolBar.cs: Add status fields to ToolBarButtonInfo.
  3129. 2007-01-23 Andreia Gaita <[email protected]>
  3130. * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
  3131. * TreeNodeCollection.cs: New Add() methods, ContainsKey and
  3132. IndexOfKey() for 2.0
  3133. 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
  3134. * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
  3135. to prevent it from changing z-order.
  3136. * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
  3137. leave UI updates in MdiWindowManager.
  3138. * InternalWindowManager.cs: Check for 0 sized nc areas and make them
  3139. 1 sized (NC handling goes weird on Linux otherwise).
  3140. * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
  3141. necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
  3142. remove a few NCRequestRecalcs. Changed calculations in IconicBounds
  3143. to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
  3144. and SetWindowState(s) to allow for changing the size of an activated child
  3145. before activating it (reduces a lot of flicker).
  3146. 2007-01-22 Jonathan Pobst <[email protected]>
  3147. * Form.cs: Changing FormBorderStyle has different semantics based
  3148. on whether the Form is visible or not. If not visible, don't change
  3149. the Size. But InvalidateNC needs to be called to force the window
  3150. to pick up the changes and redraw itself. [Fixes bug #80574]
  3151. 2007-01-22 Jonathan Pobst <[email protected]>
  3152. [Moma work]
  3153. * ContainerControl.cs: ProcessCmdKey.
  3154. * ErrorProvider.cs: new constructor.
  3155. * Form.cs: fix AutoValidateEvent compiler warning.
  3156. * Label.cs: fix OnAutoSizeChanged compiler warning.
  3157. * MenuStrip.cs: fix CanOverflow compiler warning.
  3158. * TabControl.cs: SelectTab, OnSelected methods, Selected event.
  3159. * TextBox.cs: Dispose.
  3160. * ToolStrip.cs: CanOverflow, re-enable double buffering.
  3161. * ToolStripControlHost.cs: fix CausesValidation compiler warning.
  3162. * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
  3163. * ToolStripItem.cs: Overflow, RightToLeft properties.
  3164. 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
  3165. * Form.cs: Move the layout of the main form to MdiWindowManager.
  3166. * MdiWindowManager.cs: If WindowState changes from or to Maximized,
  3167. do a layout of the main window to update MdiClient's client area to
  3168. the right area. Fixes #80533. Remove the calculation of nc size,
  3169. it was just wrong and the correct one is the same as for
  3170. InternalWindowManager.
  3171. 2007-01-20 Jonathan Pobst <[email protected]>
  3172. * Control.cs: Setting Anchor or Dock needs to reset the other
  3173. to its default. [Fixes bug #80556]
  3174. 2007-01-20 Chris Toshok <[email protected]>
  3175. * CheckedListBox.cs: class status changes.
  3176. * ScrollableControl.cs: same.
  3177. * RichTextBox.cs: same.
  3178. * ContainerControl.cs: same.
  3179. * ListView.cs: same.
  3180. * NotifyIcon.cs: same.
  3181. * MenuStrip.cs: same.
  3182. * RadioButton.cs: same.
  3183. * CheckBox.cs: same.
  3184. * PrintPreviewDialog.cs: same.
  3185. * Form.cs: same.
  3186. 2007-01-19 Jonathan Pobst <[email protected]>
  3187. * TreeNode.cs: Apply Alan's patch for Name property.
  3188. 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
  3189. * Form.cs: Implemented SizeGripStyle.
  3190. * SizeGrip.cs: Check for minimum and maximum size for the
  3191. control being resized and only resize if size has actually
  3192. changed.
  3193. 2007-01-19 Chris Toshok <[email protected]>
  3194. * DataGridColumnStyle.cs: stop setting _readonly in the
  3195. PropertyDescriptor setter. fixes a unit test failure.
  3196. also, rename ParentReadOnly to TableStyleReadOnly, and have it
  3197. just consult our table style (if we have one). We don't need to
  3198. consult the datagrid readonly attribute because that's passed in
  3199. as the _ro arg to Edit. this simplifies things a little.
  3200. * DataGrid.cs: use CurrentColumn instead of
  3201. current_cell.ColumnNumber just to simplify some of the code.
  3202. switch the order of some things in the CurrentCell setter to keep
  3203. the previous cell from getting a textbox again -
  3204. EnsureCellVisibility causes scrolling to happen, which calls Edit.
  3205. So we need to set the new cell before calling it.
  3206. call Edit in OnEnter, as does Microsoft.
  3207. also, make sure the current table style isn't the one we create
  3208. initially when checking to see if it's different than the one
  3209. we're setting it to in BindColumns (this fixes #80421).
  3210. * GridTableStylesCollection.cs: table styles can have "" for a
  3211. mapping name. part of the fix for #80421.
  3212. * DataGridTextBoxColumn.cs: simplify the readonly calculation in
  3213. Edit significantly.
  3214. 2007-01-18 Jonathan Pobst <[email protected]>
  3215. * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
  3216. and less GDI object leaky-er.
  3217. 2007-01-18 Andreia Gaita <[email protected]>
  3218. * LinkLabel.cs: Add opaque control style
  3219. 2007-01-18 Jackson Harper <[email protected]>
  3220. * TextControl.cs: Calculate width properly.
  3221. - Don't store the tag's X offset, this can be figured out very
  3222. easily.
  3223. - When getting the caret tag make sure to get the last empty tag.
  3224. 2007-01-18 Jonathan Pobst <[email protected]>
  3225. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  3226. [Fixes bug #79959]
  3227. * Control.cs: Color.Empty shouldn't count for previous transparent
  3228. redraw changes.
  3229. 2007-01-18 Jackson Harper <[email protected]>
  3230. * TextBox.cs:
  3231. * RichTextBox.cs:
  3232. * TextControl.cs: Starting to merge in some pieces of my older
  3233. undo work. Basically just some slight cleanup of the undo API.
  3234. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  3235. * TrackBar.cs: Fix signature of RightToLeftLayout.
  3236. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  3237. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  3238. * Application.cs: Implemented UseWaitCursor.
  3239. 2007-01-18 Jackson Harper <[email protected]>
  3240. * TextControl.cs: We can't skip tags if any part of the tag is
  3241. visible.
  3242. 2007-01-18 Jonathan Pobst <[email protected]>
  3243. * ContainerControl.cs: Override OnLayout.
  3244. 2007-01-18 Jonathan Pobst <[email protected]>
  3245. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  3246. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  3247. everything else.
  3248. 2007-01-18 Chris Toshok <[email protected]>
  3249. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  3250. (leftover from the container_selected days, I'd wager). fixes bug
  3251. #80546.
  3252. 2007-01-18 Jonathan Pobst <[email protected]>
  3253. * Control.cs: Apply patch from George to fix the new testcase on
  3254. bug #80451. We can't just check for Color.Transparent, we need
  3255. to check if the back color's alpha channel is < 255.
  3256. 2007-01-18 Jonathan Pobst <[email protected]>
  3257. * Form.cs: Move setting show_icon = true to before the constructor
  3258. so that the base constructor has that information when it calculates
  3259. the form's size. Was causing forms to be (6, 6) bigger than they
  3260. were supposed to be. Thanks for catching this Rolf!
  3261. 2007-01-18 Jackson Harper <[email protected]>
  3262. * TextControl.cs: When replacing a selection we need to invalidate
  3263. from the initial selection start, because selection start is moved
  3264. to the end of the replacement.
  3265. 2007-01-18 Andreia Gaita <[email protected]>
  3266. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  3267. 2007-01-18 Chris Toshok <[email protected]>
  3268. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  3269. I just added.
  3270. 2007-01-17 Everaldo Canuto <[email protected]>
  3271. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  3272. layout methods and properties from ToolBarButton must be available
  3273. into ToolBarButtonInfo.
  3274. 2007-01-17 Jonathan Pobst <[email protected]>
  3275. * Control.cs: If the control has a transparent background, we
  3276. need to refresh it when it moves and when it's parent's background
  3277. image changes. [Fixes bug #80451]
  3278. 2007-01-17 Jonathan Pobst <[email protected]>
  3279. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  3280. 2007-01-17 Jonathan Pobst <[email protected]>
  3281. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  3282. [Fixes bug #80447, and probably speeds up things as well]
  3283. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  3284. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  3285. * XplatUIWin32.cs: We need to recalculate NC size after changing
  3286. window style to toolwindow (otherwise the client rectangle will be
  3287. 3 pixels to small for some reason).
  3288. * MdiWindowManager.cs: Revert NC size calculations to match how
  3289. they are calculated only based on window styles (to match
  3290. Win32AdjustWindowRectEx, since otherwise when setting size or
  3291. location, Control will call Win32AdjustWindowRectEx to update client
  3292. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  3293. calculate a different value of client size causing another paint
  3294. (and flickering))
  3295. * InternalWindowManager.cs: When moving or resizing a window only
  3296. update size or location if they actually changed.
  3297. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  3298. (seems to match Windows behaviour better). Cleaned up
  3299. ManagedWindowDecorations to draw what's needed and nothing else
  3300. (was drawing borders and lines where they shouldn't be)
  3301. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  3302. (style = 0xFFFF) and takes into account caption height when
  3303. calculating window rectangle.
  3304. 2007-01-16 Everaldo Canuto <[email protected]>
  3305. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  3306. can be added to toolbar multiple times, we need to maintain a list of
  3307. button information for each positions.
  3308. 2007-01-16 Everaldo Canuto <[email protected]>
  3309. * ToolBar.cs: Some small stetic changes.
  3310. 2007-01-16 Jackson Harper <[email protected]>
  3311. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  3312. that allow us to have nested recalc = false blocks.
  3313. - Add paste support for images in the RichTextBox
  3314. * RichTextBox.cs: flush the text after the color is changed, so
  3315. the change takes effect.
  3316. - Use SuspendRecalc
  3317. - Some extra debugging info
  3318. * TextControl.cs: Tags no longer track their length, it is just
  3319. computed from the next tags length, this makes things a little
  3320. simpler and reduces places that we have to track length changes.
  3321. - Refactored the linetag class a little so we could make it
  3322. a base class for different kinds of tags
  3323. - Created a image tag, a tag that can have a single image inserted
  3324. into it
  3325. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  3326. that we can call suspend multiple times.
  3327. - Add some debugging methods
  3328. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  3329. * MdiClient.cs: Add ActivatePreviousChild for
  3330. mdi child window navigation.
  3331. * Form.cs: Use MdiClient.ActivateNextChild/
  3332. ActivatePreviousChild instead of Form.SelectNextControl
  3333. to select the next/previous child since
  3334. SelectNextControl doesn't do it in the same order
  3335. as mdi children should do it.
  3336. 2007-01-16 Chris Toshok <[email protected]>
  3337. * Control.cs: remove container_selected field.
  3338. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  3339. * MdiClient.cs: Update main form's ActiveChild when
  3340. updating keyboard focus for the mdi child.
  3341. 2007-01-16 Jonathan Pobst <[email protected]>
  3342. * Control.cs: PreferredSize fix.
  3343. * Form.cs: Add several 2.0 events, properties, and methods.
  3344. 2007-01-16 Gert Driesen <[email protected]>
  3345. * Form.cs: Provide meaningful message when MdiParent is assigned a
  3346. Form that is not an MdiContainer.
  3347. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  3348. * MdiClient.cs: Update main form's ActiveChild when
  3349. activating a mdi child.
  3350. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  3351. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  3352. doesn't have a menu.
  3353. * Form.cs: Request NCRecalc after creating a mdi child window.
  3354. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  3355. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  3356. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  3357. sends keyboard focus to the active child, or to the MdiClient
  3358. if there are no child forms.
  3359. 2007-01-15 Chris Toshok <[email protected]>
  3360. * ListView.cs: drop the *Internal overrides, just do our work in
  3361. ItemControl's WndProc instead.
  3362. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  3363. of the various controls, and forward the events properly (in the
  3364. same manner as MS) from the textbox to the UpDown. Also the
  3365. ActiveControl of the UpDownBase gets set properly now. Finally,
  3366. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  3367. * NumericUpDown.cs: set Text in the ctor.
  3368. * DomainUpDown.cs: call UpdateEditText in the ctor.
  3369. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  3370. so even a Selectable = false textbox can be focused if you click
  3371. in it. Go figure.
  3372. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  3373. just add their handling in their respective WndProc's. Also add
  3374. an explicit FocusInternal method that doesn't consult CanFocus
  3375. before calling Select(this).
  3376. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  3377. do our work in WndProc instead.
  3378. * TabControl.cs: same.
  3379. * ComboBox.cs: same.
  3380. 2007-01-15 Everaldo Canuto <[email protected]>
  3381. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  3382. Fixes #80006.
  3383. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  3384. * ListViewItem.cs:
  3385. * ThemeWin32Classic.cs: Don't draw the item text outside
  3386. item bounds in Details view, as well as use trimming.
  3387. Fixes bug #80376.
  3388. 2007-01-15 Jonathan Pobst <[email protected]>
  3389. * Form.cs: Implement Form.ShowIcon.
  3390. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  3391. null, which when combined with the DlgModalFrame window style removes
  3392. the icon from the title bar.
  3393. 2007-01-15 Jonathan Pobst <[email protected]>
  3394. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  3395. 2007-01-15 Everaldo Canuto <[email protected]>
  3396. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  3397. menu when mdi child windows theres a menu, uses insert to get icon
  3398. at first position. Partially fix #80006.
  3399. 2007-01-15 Jonathan Pobst <[email protected]>
  3400. * Clipboard.cs: Implement 2.0 methods.
  3401. 2007-01-15 Everaldo Canuto <[email protected]>
  3402. * Menu.cs: Implement Insert method of MenuItemCollection class
  3403. to fix MenuMerge.
  3404. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  3405. * ListView.cs: Implement 2.0 FindItemWithText method.
  3406. 2007-01-11 Everaldo Canuto <[email protected]>
  3407. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  3408. to calculate menu bar size. Fixes #80290.
  3409. 2007-01-11 Everaldo Canuto <[email protected]>
  3410. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  3411. 2007-01-11 Chris Toshok <[email protected]>
  3412. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  3413. initial form.
  3414. 2007-01-11 Chris Toshok <[email protected]>
  3415. * LinkLabel.cs: make sure to call base.Select in our Select method
  3416. if it turns out we're going to be selected (i.e. if we have a link
  3417. that is going to receive focus). That way our container's
  3418. ActiveControl is updated properly.
  3419. 2007-01-11 Chris Toshok <[email protected]>
  3420. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  3421. they have 1 or more links. this fixes the crash gert reported.
  3422. 2007-01-11 Andreia Gaita <[email protected]>
  3423. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  3424. anymore.
  3425. * Control.cs (Controls.Add): Check if control to be added to the collection
  3426. is a top level control, and throw an ArgumentException if it is.
  3427. Remove ContainerSelectedFlag, not needed anymore.
  3428. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  3429. top most control doesn't activate the form. This fixes a problem in the
  3430. MessageBox, where the default button wouldn't get focus because the form
  3431. was activated before being Loaded - when the Owner is set, SetTopMost is
  3432. called, and it would activate it.
  3433. 2007-01-11 Jonathan Pobst <[email protected]>
  3434. * Button.cs: When clicked and setting the parent form's DialogResult,
  3435. use FindForm instead of Parent, since parent could be a container
  3436. control and not the Form. Fixes bug #80495.
  3437. 2007-01-10 Chris Toshok <[email protected]>
  3438. * Form.cs: move the call to SendControlFocus into the same
  3439. is_loaded check.
  3440. 2007-01-10 Chris Toshok <[email protected]>
  3441. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  3442. It breaks in the face of the new ActiveControl stuff, and should
  3443. be unnecessary.
  3444. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  3445. activecontrol's focus if it's not already set, after we set
  3446. ActiveControl, but before we call OnActivated. Re-fixes #79667
  3447. after the previous focus/active control fixes regressed it.
  3448. * Control.cs: reindent some code.
  3449. 2007-01-10 Chris Toshok <[email protected]>
  3450. * Splitter.cs: clearing some outstanding changes from my tree.
  3451. Replace all accesses (not writes) to the internal dock_style field
  3452. with the Dock property.
  3453. 2007-01-10 Chris Toshok <[email protected]>
  3454. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  3455. FireValidated virtual.
  3456. * Form.cs: override and don't chain up calls to FireEnter and
  3457. FireLeave.
  3458. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  3459. * ListView.cs: Add more text padding space when using
  3460. auto resize for columns (the previous value didn't work fine).
  3461. * ThemeWin32Classic.cs: Update text position inside columns,
  3462. to match the appeareance of .Net.
  3463. * ColumnHeader.cs: When using auto resize, only the Width should
  3464. depend on the sub items, not the Height. Also, set width after
  3465. auto resizing (the value of Width should never remain as -1 or -2).
  3466. 2007-01-10 Chris Toshok <[email protected]>
  3467. * Application.cs: fix compilation errors when debug is enabled.
  3468. 2007-01-10 Chris Toshok <[email protected]>
  3469. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  3470. add some nice ascii art pictures and explanation of the process).
  3471. (GetMostDeeplyNestedActiveControl): new utility function we need
  3472. because our ActiveControl can refer to a child container with its
  3473. own ActiveControl.
  3474. * Form.cs (OnActivated): remove the call to SelectActiveControl
  3475. from here, since you can override this method and not chain up,
  3476. and winforms still sets the active control.
  3477. (OnCreateControl): also remove the unnecessary SelectActiveControl
  3478. call from here.
  3479. (WndProc): it's actually called from the WM_ACTIVATE block, just
  3480. before calling OnActivated.
  3481. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  3482. inside the else. the ActiveControl setter will end up setting
  3483. focus on @control. This keeps us from setting it again (and
  3484. generating an extra LostFocus/GotFocus pair).
  3485. (Select (bool, bool)): reindent.
  3486. 2007-01-10 Jonathan Pobst <[email protected]>
  3487. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  3488. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  3489. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  3490. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  3491. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  3492. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  3493. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  3494. ToolStripTextBox.cs: Another wave of corcompare work.
  3495. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  3496. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  3497. the Width property.
  3498. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  3499. methods by callling Column.AutoResize method on columns.
  3500. 2007-01-09 Jonathan Pobst <[email protected]>
  3501. * Control.cs: Provide proper implementations of PreferredSize
  3502. and GetPreferredSize (2.0).
  3503. 2007-01-09 Jonathan Pobst <[email protected]>
  3504. * Form.cs: Remove one character (!) to make my previous OnClosing
  3505. stuff work for modal windows like MessageBox.
  3506. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  3507. * ListView.cs:
  3508. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  3509. ListView.Columns to get the last displayed column. Fixes #80452.
  3510. 2007-01-09 Everaldo Canuto <[email protected]>
  3511. * Label.cs, LinkLabel.cs: Source code identation fixes.
  3512. 2007-01-08 Everaldo Canuto <[email protected]>
  3513. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  3514. we dont need to invalidate only borders because when we invalidate four
  3515. border lines the invalidate's generates a complete redraw of button,
  3516. because it now invalidate a complete rect some other redraws operations
  3517. are fixed. Fixes #80196.
  3518. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  3519. Remove ToolBarInvalidateEntireButton as it is not used.
  3520. 2007-01-08 Jonathan Pobst <[email protected]>
  3521. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  3522. called for 2.0 profile.
  3523. * CloseReason.cs: Make class internal for 1.1.
  3524. 2007-01-08 Jonathan Pobst <[email protected]>
  3525. * ToolStripManager.cs: Implement FindToolStrip functionality.
  3526. * ToolStrip.cs: Register and unregister with ToolStripManager.
  3527. 2007-01-07 Jonathan Pobst <[email protected]>
  3528. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  3529. to ArrangedElementCollection. Implemented this with as few #if's as
  3530. possible (which is still too many).
  3531. 2007-01-07 Jonathan Pobst <[email protected]>
  3532. * Control.cs: Implement SizeFromClientSize() [2.0].
  3533. 2007-01-07 Everaldo Canuto <[email protected]>
  3534. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  3535. use Theme.BorderSize to calculate area instead of static value 1,
  3536. by the way use new BorderStaticSize instead Border3DSize when
  3537. border_static is true. Fixes #79537.
  3538. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  3539. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  3540. it is not needed.
  3541. 2007-01-06 Everaldo Canuto <[email protected]>
  3542. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  3543. 2007-01-06 Everaldo Canuto <[email protected]>
  3544. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  3545. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  3546. * Hwnd.cs:
  3547. - border_static field added, it will used to define when a control
  3548. theres 3D border but it must be static (thin).
  3549. - In GetWindowRectangle use Theme.BorderSize to calculate area
  3550. instead of static value 1, by the way use new BorderStaticSize instead
  3551. Border3DSize when border_static is true.
  3552. * XplatUIX11.cs, XplatUIOSX.cs:
  3553. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  3554. * Theme.cs: BorderStaticSize field added.
  3555. 2007-01-05 Everaldo Canuto <[email protected]>
  3556. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  3557. 2007-01-05 Everaldo Canuto <[email protected]>
  3558. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  3559. mimic same behavior than win32 that set border only in CreateParams,
  3560. it fix problems under CreateParams overrides. Fix #79442 and partial
  3561. fix #79537.
  3562. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  3563. of thi control you must call recreate handle.
  3564. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  3565. need to do anything as RecreateHangle will take care about borders.
  3566. 2007-01-05 Mike Kestner <[email protected]>
  3567. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  3568. cycles between the ItemControl and parent. Fixes #80388.
  3569. 2007-01-05 Gert Driesen <[email protected]>
  3570. * Control.cs: Lazy init layout engine. Do not directly use
  3571. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  3572. 2007-01-05 Chris Toshok <[email protected]>
  3573. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  3574. unless our list manager has changed (i.e. unless we have reason to
  3575. believe our columns have changed). Fixes #80422.
  3576. also, disable the call do BindColumns in
  3577. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  3578. 1.1 the event isn't raised in response to a column addition on a
  3579. table.)
  3580. 2007-01-05 Jonathan Pobst <[email protected]>
  3581. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  3582. that inheritors can not call it if they choose. Fixes bug #80456.
  3583. 2007-01-05 Andreia Gaita <[email protected]>
  3584. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  3585. doesn't blow up with a null exception on marshalling.
  3586. 2007-01-05 Jonathan Pobst <[email protected]>
  3587. * Control.cs: Implement several 2.0 protected properties and methods.
  3588. Ensure that all necessary events are being called when properties
  3589. are set.
  3590. 2007-01-05 Mike Kestner <[email protected]>
  3591. * ListView.cs: implement PgUp/PgDn for Details view. Also
  3592. fixes First/LastVisibleIndex to use the item_control.ClientRect
  3593. instead of the parent control. Fixes #80378.
  3594. 2006-01-05 Atsushi Enomoto <[email protected]>
  3595. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  3596. determine whether to use yard-pound or not (bug #78399).
  3597. 2006-01-04 Alexander Olk <[email protected]>
  3598. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  3599. problems. So it is time to bring back the old popupbutton colors.
  3600. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  3601. * ColumnHeader.cs:
  3602. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  3603. property by using the internal information of the
  3604. columns order in ListView.
  3605. 2007-01-04 Jonathan Pobst <[email protected]>
  3606. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  3607. Add 2.0 Tag properties.
  3608. * LinkArea.cs: Add 2.0 ToString method.
  3609. 2007-01-03 Chris Toshok <[email protected]>
  3610. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  3611. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  3612. when we're editing, which fixes #80047.
  3613. 2007-01-03 Chris Toshok <[email protected]>
  3614. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  3615. #80404.
  3616. 2007-01-03 Jonathan Pobst <[email protected]>
  3617. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  3618. property and implementation.
  3619. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  3620. for MdiWindowListItem property.
  3621. * ToolStripDropDown.cs: Don't consider hidden menu items while
  3622. laying out the menu.
  3623. 2007-01-03 Andreia Gaita <[email protected]>
  3624. * SendKeys.cs: window handle is not needed in win32, so just
  3625. get the active window for X after parsing keys and don't use
  3626. it when building the message; it is passed by parameter to the
  3627. Xplat method and used there to build the message instead. Also,
  3628. wait for events to be processed on SendWait, as opposed to Send,
  3629. which doesn't wait :) Playing with threads and Send() completely
  3630. hangs on ms.net, only SendWait() works.
  3631. XplatUIX11.cs
  3632. X11Display.cs: Check for valid window handle.
  3633. 2007-01-03 Jackson Harper <[email protected]>
  3634. * TextControl.cs: Need to prevent wrap calculations when replacing
  3635. text (this was there before i removed it accidently).
  3636. - Don't update the cursor during the positioning, just set it to
  3637. selection_start at the end of the operaion.
  3638. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  3639. * Control.cs:
  3640. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  3641. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  3642. * MonthCalendar.cs: Added Click and DoubleClick events again,
  3643. but this time they only hide Control's Click and DoubleClick.
  3644. 2007-01-03 Gert Driesen <[email protected]>
  3645. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  3646. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  3647. 2007-01-02 Jackson Harper <[email protected]>
  3648. * TextBoxBase.cs: We move the caret with the split now, so we
  3649. don't need to explicitly move the caret after splitting. This
  3650. fixes the caret bumping down an extra line on Enter.
  3651. 2007-01-02 Miguel de Icaza <[email protected]>
  3652. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  3653. 2.72).
  3654. * ScrollableControl.cs: Add Scroll event.
  3655. 2007-01-02 Mike Kestner <[email protected]>
  3656. * ListView.cs: one more try with help from [email protected]
  3657. to fix all hdr height padding codepaths. Fixes #80207.
  3658. 2007-01-02 Chris Toshok <[email protected]>
  3659. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  3660. setting it to the Control defaults anyway, and it being after the
  3661. Dock set was screwing up layout.
  3662. (set_Dock): don't short circuit out of setting base.Dock. Also,
  3663. no need to call UpdateStatusBar here, as it'll be re-layed out if
  3664. it needs to be.
  3665. 2007-01-02 Mike Kestner <[email protected]>
  3666. * ListView.cs: patch from [email protected] to add padding
  3667. to header height for width == -1. Fixes the rest of #80207.
  3668. 2007-01-02 Mike Kestner <[email protected]>
  3669. * ListView.cs: rework the mouse event forwarding everaldo added
  3670. to translate the coordinates to the parent control not
  3671. raise the parent events until after we've done our work. Hover
  3672. needs more work, in the case where HoverSelection is on, because
  3673. the item control receives more than one MouseHover per Enter
  3674. event, so we need to ensure only the "first" hover gets forwarded.
  3675. Opening a minor bug for that.
  3676. 2007-01-02 Gert Driesen <[email protected]>
  3677. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  3678. * ListControl.cs: Implemented AllowSelection property. Removed extra
  3679. tabs.
  3680. * ListBox.cs: Implemented AllowSelection property.
  3681. 2007-01-02 Everaldo Canuto <[email protected]>
  3682. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  3683. SelectedItem, it prevent for errors when you must disable item
  3684. before perform click. Fixes #80409.
  3685. 2007-01-02 Everaldo Canuto <[email protected]>
  3686. * MenuAPI.cs: Prevent second level and beyond submenus to close
  3687. until first level when move out side of popup.
  3688. 2007-01-02 Everaldo Canuto <[email protected]>
  3689. * MenuAPI.cs:
  3690. - Down submenu positin in three pixels.
  3691. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  3692. 2007-01-02 Everaldo Canuto <[email protected]>
  3693. * ThemeWin32Classic.cs:
  3694. - Fix popup menu size adding one pixel on the top.
  3695. - Down menu item border from two to one to mimic Win32.
  3696. - Some source identation fixes.
  3697. 2007-01-01 Everaldo Canuto <[email protected]>
  3698. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  3699. position of menu arrows, it fix wrong arrow size.
  3700. 2007-01-01 Everaldo Canuto <[email protected]>
  3701. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  3702. instead of line, it simplify draw operation and fix it using 3D
  3703. borders to mimic Win32.
  3704. 2007-01-01 Jonathan Pobst <[email protected]>
  3705. * StatusStrip.cs: Add implementation of the sizing grip.
  3706. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  3707. StatusStrip rendering.
  3708. 2006-12-31 Chris Toshok <[email protected]>
  3709. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  3710. override the layout style (anchor/dock) of the control. assign to
  3711. Dock instead. Fixes bug #80416.
  3712. * ToolStrip.cs: same.
  3713. 2006-12-31 Andreia Gaita <[email protected]>
  3714. * ContainerControl.cs: Use ContainerSelected flag to check if
  3715. a Container is directly selected, or if Select is called on a
  3716. non-container. If a container is directly selected, focus events
  3717. should not be raised.
  3718. Apply #80411 patch to throw exception on set_ActiveControl if
  3719. control is the same as the current one.
  3720. * Control.cs: Use ContainerSelected flag (see above).
  3721. Add invalidation check to raise event but not invalidate if
  3722. dimensions are 0.
  3723. Apply #80411 patch.
  3724. 2006-12-31 Everaldo Canuto <[email protected]>
  3725. * MenuAPI.cs: After click, dont close popup menu when menu is
  3726. ContextMenu. Fixes #80399.
  3727. 2006-12-30 Chris Toshok <[email protected]>
  3728. * ContainerControl.cs: make sure we throw the exception if the
  3729. container control doesn't contain the control we're setting
  3730. ActiveControl to.
  3731. 2006-12-30 Chris Toshok <[email protected]>
  3732. * Control.cs (SetTopLevel): fix the exception raised by
  3733. SetTopLevel for child controls.
  3734. (set_Anchor): call UpdateDistances when setting the anchor type.
  3735. This fixes bug #80336.
  3736. 2006-12-29 Gert Driesen <[email protected]>
  3737. * Theme.cs: For now, revert back to 8pt font.
  3738. 2006-12-29 Everaldo Canuto <[email protected]>
  3739. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  3740. Fixes #80395.
  3741. 2006-12-29 Chris Toshok <[email protected]>
  3742. * Control.cs: reorder the code in OnResize to give the same event
  3743. ordering as MS.
  3744. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  3745. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  3746. TileHorizontally and TileVertically.
  3747. 2006-12-29 Alexander Olk <[email protected]>
  3748. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  3749. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  3750. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  3751. Corrected copyright and email adress.
  3752. 2006-12-29 Gert Driesen <[email protected]>
  3753. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  3754. of Exception in FullPath property if no TreeView is associated with
  3755. the TreeNode.
  3756. 2006-12-29 Gert Driesen <[email protected]>
  3757. * Theme.cs: Marked default_font as private, and initialize it in ctor
  3758. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  3759. on 2.0 profile.
  3760. * ThemeGtk.cs: Removed default_font intialization.
  3761. * ThemeWin32Classic.cs: Removed default_font initialization.
  3762. 2006-12-28 Chris Toshok <[email protected]>
  3763. * Control.cs: fix a couple of place where we were creating handles
  3764. more aggressively than we should be. Fixes ControlRefresh unit
  3765. tests.
  3766. 2006-12-28 Chris Toshok <[email protected]>
  3767. * Control.cs: contrary to what the comment said, Control.Dock does
  3768. not supercede Control.Anchor - the last one you assign to decides
  3769. the layout behavior. so we need to keep track of which was the
  3770. last set. Also, fix some of the affected property arguments in
  3771. PerformLayout calls, and remove an redundant parent.PerformLayout
  3772. call in OnResized.
  3773. Add a VisibleInternal property, which returns is_visible. We
  3774. can/should get rid of all the usage of this field elsewhere.
  3775. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  3776. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  3777. control style, not DoubleBuffer. Added UseDoubleBuffering property
  3778. that indicates whether doublebuffering is enabled and supported.
  3779. (comment from and code based on Gert Driesen's patch in #80324).
  3780. Fixes #80324.
  3781. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  3782. * Control.cs: Fixed a NRE.
  3783. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  3784. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  3785. for 2.0.
  3786. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  3787. * Control.cs: Rewrote double buffering, now a seperate
  3788. class handles all the buffering, no Graphics is disposed of
  3789. until the painting is finished (earlier implementation
  3790. would crash if the control was resized in the OnPaint,
  3791. since it would cause the double buffer to be recreated
  3792. and the old one disposed), a separate Graphics is
  3793. created for every paint (MS behaviour and anyways the state
  3794. of the Graphics would have to be saved and restored otherwise)
  3795. * XplatUIDriver.cs:
  3796. * XplatUIX11.cs:
  3797. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  3798. so that we can get the graphics for the back buffer without
  3799. having to create a new one and remove the offscreen_dc parameter
  3800. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  3801. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  3802. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  3803. Also make virtual all the key-related methods.
  3804. * ListViewItem.cs: Make virtual the key related methods for
  3805. ListViewSubItemCollection.
  3806. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  3807. * ListView.cs:
  3808. * ListViewItem.cs:
  3809. * ThemeWin32Classic.cs:
  3810. * Theme.cs: Initial support for Tile view in ListView,
  3811. as well as the implementation of the required bits for it (Item
  3812. and Subitem).
  3813. 2006-12-27 Gert Driesen <[email protected]>
  3814. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  3815. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  3816. Provide useful exception messages.
  3817. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  3818. * TrackBar.cs: Remove a warning.
  3819. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  3820. when used by DateTimePicker, fixes #80287. This also requires that
  3821. MonthCalendar implements it's own drawing for the yearly updown control,
  3822. otherwise the Capture tracking would be too complicated. Removed the Click
  3823. and DoubleClick events (according to comments they were hiding the base class
  3824. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  3825. raise these events, not that they cannot be raised. It is possible to raise
  3826. them by calling OnClick and OnDoubleClick). Added two internal fields in
  3827. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  3828. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  3829. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  3830. event, no longer needed.
  3831. 2006-12-27 Gert Driesen <[email protected]>
  3832. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  3833. true if new value differs from current value.
  3834. 2006-12-27 Gert Driesen <[email protected]>
  3835. * Control.cs: ControlCollection.Count must be public. Fixed build of
  3836. unit tests.
  3837. 2006-12-27 Gert Driesen <[email protected]>
  3838. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  3839. 2006-12-27 Gert Driesen <[email protected]>
  3840. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  3841. 2006-12-26 Everaldo Canuto <[email protected]>
  3842. * Control.cs: Invalidates control including when Width and Height is
  3843. equal zero or is not visible, only Paint event must be care about
  3844. this. Fixes #79913.
  3845. 2006-12-26 Chris Toshok <[email protected]>
  3846. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  3847. more corcompare work.
  3848. * DataGridView.cs: fix compiler warning.
  3849. * ColumnHeader.cs: some corcompare work, and also take the
  3850. opportunity to make the internal fields private.
  3851. * ListView.cs: fix the fallout from the above field change.
  3852. 2006-12-26 Jonathan Pobst <[email protected]>
  3853. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  3854. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  3855. ToolStripTextBox.cs: Fixes to events and corcompare.
  3856. 2006-12-26 Everaldo Canuto <[email protected]>
  3857. * ListView.cs: Call owner.OnMousexx event to propagate events from
  3858. item to ListView. Fixes #80367.
  3859. 2006-12-26 Gert Driesen <[email protected]>
  3860. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  3861. if value is less than one. ItemHeight should not be set to a value
  3862. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  3863. Removed extra tabs.
  3864. 2006-12-26 Jonathan Pobst <[email protected]>
  3865. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  3866. * ToolStripStatusLabel.cs: Add Spring for Moma.
  3867. 2006-12-26 Gert Driesen <[email protected]>
  3868. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  3869. Fixed code formatting. Removed debug code.
  3870. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  3871. 2006-12-26 Gert Driesen <[email protected]>
  3872. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  3873. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  3874. ArgumentOutOfRangeException if ColumnCount is negative. In
  3875. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  3876. less than 4 or higher than 32768.
  3877. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  3878. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  3879. Fixed IsFormatProviderDefault to return true if FormatProvider has
  3880. not been explicitly set.
  3881. 2006-12-25 Chris Toshok <[email protected]>
  3882. * Application.cs: add a couple of 2.0 events.
  3883. 2006-12-25 Chris Toshok <[email protected]>
  3884. * Control.cs: fix compiler warning.
  3885. * AxHost.cs: corcompare fixes.
  3886. * ApplicationContext.cs: corcompare fixes.
  3887. 2006-12-25 Chris Toshok <[email protected]>
  3888. * Control.cs: only update dist_right/dist_bottom if the
  3889. width/height is > 0. this fixes anchored controls being resized
  3890. smaller until they disappear and then resized larger again.
  3891. 2006-12-25 Chris Toshok <[email protected]>
  3892. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  3893. since they're nothing more than X/Left and Y/Top, respectively.
  3894. Also, move back to a per-control Bitmap/Graphics for
  3895. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  3896. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  3897. Height.
  3898. 2006-12-25 Miguel de Icaza <[email protected]>
  3899. * MessageBox.cs: Implemented overload that takes a new "bool
  3900. displayHelpButton" by adding a new internal field "show_help".
  3901. When clicked this will raise the HelpRequested on the owner or the
  3902. main form.
  3903. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  3904. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  3905. * ListView.cs: Add support ColumnWidthChanged and
  3906. ColumnWidthChanging.
  3907. Add support for ColumnReordered event.
  3908. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  3909. reorder.
  3910. Very nice codebase!
  3911. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  3912. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  3913. 2006-12-24 Chris Toshok <[email protected]>
  3914. * GridTablesFactory.cs: 2.0 corcompare work.
  3915. * ToolStripContainer.cs: add "override" to
  3916. ContextMenuStripChanged, and remove the local event object.
  3917. * ToolStripDropDown.cs: same with a couple properties.
  3918. * ToolStripPanel.cs: same with AutoSizeChanged event.
  3919. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  3920. * Form.cs: add the remaining 2.0 events, and do some corcompare
  3921. attribute work.
  3922. * DateTimePicker.cs: add "new" to padding.
  3923. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  3924. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  3925. * DataGridView.cs: PaddingChanged is overridden.
  3926. 2006-12-24 Chris Toshok <[email protected]>
  3927. * Control.cs: corecompare work here too.
  3928. * DataGridViewElement.cs, DataGridView.cs,
  3929. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  3930. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  3931. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  3932. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  3933. work.
  3934. 2006-12-24 Miguel de Icaza <[email protected]>
  3935. * Control.cs: Switched the error message on the console for a
  3936. todo. A review of the code will have to cope with this anyways
  3937. (since its a large feature, it is in our radar) and it was
  3938. producing too much output when running PDN.
  3939. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  3940. changes. Applications depend on this (PDN 2.72)
  3941. 2006-12-23 Chris Toshok <[email protected]>
  3942. * TableLayoutSettings.cs: finish up the corcompare work for this
  3943. class.
  3944. 2006-12-23 Chris Toshok <[email protected]>
  3945. * Control.cs: make SetImplicitBounds internal, do some futzing
  3946. with LayoutEngine so that it's available in 1.1, and remove the
  3947. entire duplicated code mess from PerformLayout. Use
  3948. System.Windows.Forms.Layout.DefaultLayout instead.
  3949. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  3950. 2006-12-23 Jonathan Pobst <[email protected]>
  3951. * Form.cs: Add MainMenuStrip property.
  3952. 2006-12-23 Jonathan Pobst <[email protected]>
  3953. * Control.cs: Add ContextMenuStrip property and implementation.
  3954. Fix ContextMenu implementation to show menu centered on control when
  3955. activated using the keyboard instead of showing at screen (0,0).
  3956. * ToolStripDropDown.cs: Fix needed overload of Show ().
  3957. 2006-12-23 Everaldo Canuto <[email protected]>
  3958. * Menu.cs: Name property added for 2.0 profile.
  3959. 2006-12-23 Everaldo Canuto <[email protected]>
  3960. * Menu.cs: Update information about FindMenuItem, method to be
  3961. implemented soon.
  3962. 2006-12-23 Everaldo Canuto <[email protected]>
  3963. * MenuAPI.cs: When deselect items deselect also selected subitems.
  3964. 2006-12-23 Everaldo Canuto <[email protected]>
  3965. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  3966. FindSubItemByCoord to found itens that is not active, also an
  3967. cheking added to FindSubItemByCoord to search for items only
  3968. in visible popup windows. Fixes #80274.
  3969. 2006-12-22 Everaldo Canuto <[email protected]>
  3970. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  3971. internal property, it be care about change ExStyle.
  3972. 2006-12-22 Andreia Gaita <[email protected]>
  3973. * ContainerControl.cs: set activeControl for parent forms up the
  3974. tree when the new activecontrol is a container.
  3975. When validating the active control, if it is a container, also
  3976. raise up the validation for it's active control. Fixes #80280
  3977. * Control.cs: Add internal property flag and check to prevent
  3978. Focus events from getting raised when Select() is called for
  3979. a ContainerControl. There are still too many focus events being
  3980. raised at the moment though.
  3981. Cleaned up the code a bit.
  3982. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  3983. * Control.cs: Added all missing 2.0 events.and
  3984. fixed a couple of corcompare issues.
  3985. * TrackBar.cs: Implemented missing 2.0 bits.
  3986. * MonthCalendar.cs,
  3987. * DateTimePicker.cs,
  3988. * MdiClient.cs: Fixed some corcompare issues.
  3989. 2006-12-21 Jonathan Pobst <[email protected]>
  3990. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  3991. SplitterPanel.cs: corecompare work.
  3992. 2006-12-21 Jonathan Pobst <[email protected]>
  3993. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  3994. Clean up warnings for BackgroundImageChanged and PaddingChanged
  3995. events now that they are implemented in Control.cs.
  3996. 2006-12-21 Jonathan Pobst <[email protected]>
  3997. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  3998. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  3999. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  4000. of TableLayoutPanel and supporting cast.
  4001. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  4002. * XplatUIWin32.cs:
  4003. - GrabWindow now confines the mouse pointer to the confine window.
  4004. - Added Win32ClipCursor and Win32GetClipCursor.
  4005. * Control.cs:
  4006. - Added CaptureWithConfine to be able to capture and confine
  4007. mouse pointer.
  4008. * InternalWindowManager.cs:
  4009. - Call CaptureWithConfine instead of Capture if we're an
  4010. MdiChild (fixes #79982).
  4011. 2006-12-21 Chris Toshok <[email protected]>
  4012. * DataGrid.cs: guard against the initial state of selection, where
  4013. selection_start == -1. make sure we only select from index >= 0.
  4014. Fixes bug #80291.
  4015. 2006-12-21 Chris Toshok <[email protected]>
  4016. * Control.cs: we don't need to be so draconian with
  4017. UpdateDistances, and we thusly don't need to call it before
  4018. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  4019. 2006-12-21 Daniel Nauck <[email protected]>
  4020. * ComboBox.cs,
  4021. TextBox.cs: Implemented AutoComplete properties.
  4022. 2006-12-20 Chris Toshok <[email protected]>
  4023. * DataGridView*.cs: some corecompare work.
  4024. 2006-12-20 Jackson Harper <[email protected]>
  4025. * XplatUIX11.cs: We need to hide the caret when deleting it,
  4026. otherwise you get carets left lying around everywhere.
  4027. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  4028. prevents getting some weird half drawn caret tracers when
  4029. scrolling.
  4030. * TextControl.cs: Attempt to reduce the number of times we need to
  4031. recreate the caret.
  4032. 2006-12-20 Gert Driesen <[email protected]>
  4033. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  4034. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  4035. * DateTimePicker.cs:
  4036. - Implemented missing 2.0 bits.
  4037. - Changed some default values to match MS.
  4038. 2006-12-20 Jackson Harper <[email protected]>
  4039. * TextBoxBase.cs: When changing the font across the document we
  4040. can't recalculate after changing each line, since that will cahnge
  4041. the line count.
  4042. - PreferredHeight is a little different than i thought.
  4043. - When backspacing, move the caret before we do the actual char
  4044. delete, because when that delete crosses a wrap boundary the
  4045. positional information will change.
  4046. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  4047. * Control.cs: Added some missing 2.0 bits:
  4048. BackgroundImageLayout, BackgroundImageLayoutChanged,
  4049. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  4050. add IBindableComponent and IDropTarget implementation.
  4051. * MonthCalendar.cs:
  4052. - Added all missing 2.0 features:
  4053. BackgroundImageLayout, RightToLeftLayout,
  4054. OnHandleDestroyed, RightToLeftLayoutChanged,
  4055. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  4056. PaddingChanged.
  4057. - Rewrote all the BoldDate code, it was completely broken.
  4058. - Fixed all the tests (the tests can now be re-enabled, the
  4059. problems were not with the tests, but with the control, it was
  4060. mostly broken).
  4061. * DateTimePicker.cs: Changed the location where the
  4062. MonthCalendar is shown.
  4063. 2006-12-19 Chris Toshok <[email protected]>
  4064. * DataGridView.cs: add IDropTarget implementation.
  4065. * ToolStripPanel.cs: add IDropTarget implementation.
  4066. 2006-12-19 Jackson Harper <[email protected]>
  4067. * TextControl.cs: soft now means something different than what it
  4068. used to mean, we want to move the caret regardless of whether or
  4069. not this break was soft (would we really have wanted the caret
  4070. to not move with the break in the old context?)
  4071. * TreeView.cs: Make sure we factor in the vert scrollbar when
  4072. calculating the horizontal scrollbar's maximum.
  4073. 2006-12-19 Andreia Gaita <[email protected]>
  4074. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  4075. check for keywords in alternate casing, close bug #80049.
  4076. 2006-12-19 Chris Toshok <[email protected]>
  4077. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  4078. methods (which all do nothing).
  4079. * IDropTarget.cs: add the 4 missing methods.
  4080. 2006-12-19 Chris Toshok <[email protected]>
  4081. * TableLayoutRowStyleCollection.cs: corcompare work.
  4082. * TableLayoutSettings.cs: same.
  4083. * TableLayoutStyle.cs: same.
  4084. * TableLayoutColumnStyleCollection.cs: same.
  4085. 2006-12-19 Jonathan Pobst <[email protected]>
  4086. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  4087. TableLayoutPanel I've had in my local tree for way too long.
  4088. 2006-12-19 Miguel de Icaza <[email protected]>
  4089. * TableLayoutSettings.cs: Finish the public API (still needs all
  4090. the logic to update on changes).
  4091. * TableLayoutPanelCellPosition.cs: new file.
  4092. * TableLayoutRowStyleCollection.cs,
  4093. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  4094. TableLayoutSettings.cs: Track the final 2.0 table api.
  4095. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  4096. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  4097. and Image List 2.0 members for ColummnHeader.
  4098. * ListView.cs: Add key-related 2.0 methods for
  4099. ColumnHeaderCollection.
  4100. 2006-12-19 Gert Driesen <[email protected]>
  4101. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  4102. ArgumentNullException if items argument is null. Ignore null item in
  4103. arrays. Removed extra tabs.
  4104. 2006-12-19 Gert Driesen <[email protected]>
  4105. * MonthCalendar.cs: Fixed InvalidCastException.
  4106. 2006-12-19 Jackson Harper <[email protected]>
  4107. * TextControl.cs: Don't increment the position here.
  4108. - When calculating char positions only add in the line break size
  4109. for hard line breaks.
  4110. 2006-12-19 Andreia Gaita <[email protected]>
  4111. * SendKeys.cs: Changed some things to match ms.net behaviour
  4112. when parsing shifted capital letters.
  4113. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  4114. Add window handle as parameter to SendInput. X11 needs the
  4115. window handle, and the handle being passed to it in the keys
  4116. queue is the active control handle (which windows needs), not
  4117. the window handle.
  4118. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  4119. to support SendKeys on X.
  4120. * X11Keyboard: Implement helper method to lookup a linux keycode
  4121. given the virtual keycode. Added table of keycode-2-virtualkey
  4122. values to support this.
  4123. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  4124. * ListView.cs: Add support for SelectedIndexCollection
  4125. and SelectedItemCollection 2.0 methods. Implement support
  4126. for ImageKey too.
  4127. * ListViewItem.cs: Add support for ListViewSubItemCollection
  4128. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  4129. (it shouldn't call Clear).
  4130. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  4131. 2006-12-19 Jackson Harper <[email protected]>
  4132. * RichTextBox.cs:
  4133. * TextBoxBase.cs: New args for FormatText
  4134. * TextControl.cs: Rewrote the main drawing method, this version
  4135. feels a little easier to understand and debug to me. Hopefully it
  4136. does to others also
  4137. - Fix FormatText to OR in the new formating values. Added
  4138. FormatSpecified param, basically this works in the same way as
  4139. BoundsSpecified in Control.
  4140. - Set the caret properties when the caret is positioned.
  4141. - When wrapping text make sure that we calculate the width of the
  4142. last character
  4143. - when calculating alignments we might have wrapped down to the
  4144. next line, so don't search for an individual tag, search for the
  4145. end of the line
  4146. - We need to invalidate the selection area when we replace the
  4147. selection.
  4148. 2006-12-19 Daniel Nauck <[email protected]>
  4149. * Application.cs: add Restart () 2.0 support
  4150. 2006-12-18 Everaldo Canuto <[email protected]>
  4151. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  4152. property. Fixes #80268.
  4153. 2006-12-18 Everaldo Canuto <[email protected]>
  4154. * MenuAPI.cs: Dont trigger select event when closes top menu
  4155. item. Fixes #80270.
  4156. 2006-12-18 Everaldo Canuto <[email protected]>
  4157. * MenuAPI.cs: When you click on menuitem only trigger onselect
  4158. event for top menu itens. Fixes #80271.
  4159. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  4160. * MdiWindowManager.cs: Make IconicBounds depend on
  4161. the bottom of MdiClient, not the top (fixes #80267)
  4162. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  4163. * MdiClient.cs: Added missing 2.0 attribute
  4164. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  4165. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  4166. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  4167. 2006-12-18 Everaldo Canuto <[email protected]>
  4168. * MenuAPI.cs: Fix click when menuitem is not popup,
  4169. this regression was caused by last commit (#80272).
  4170. 2006-12-17 Everaldo Canuto <[email protected]>
  4171. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  4172. fire click event or close menu. Fixes #80272.
  4173. 2006-12-17 Daniel Nauck <[email protected]>
  4174. * ListViewHitTestInfo.cs: add
  4175. 2006-12-17 Daniel Nauck <[email protected]>
  4176. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  4177. * FlatButtonAppearance.cs: add
  4178. * DockingAttribute.cs: add
  4179. 2006-12-17 Chris Toshok <[email protected]>
  4180. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  4181. and rebind our columns when it does - this way, if you make
  4182. changes to the DataTable (or set the Table attribute on a DataView
  4183. after setting it as the DataGrid's DataSource, the changes are
  4184. made visible.) Fixes bug #80107.
  4185. 2006-12-17 Daniel Nauck <[email protected]>
  4186. * ListViewGroup.cs: add internal Location property for layouting.
  4187. * Theme.cs: add abstract ListViewGroupHeight function.
  4188. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  4189. 2006-12-16 Andreia Gaita <[email protected]>
  4190. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  4191. Added reset of selected index to 0 when adding first tab page.
  4192. Fixes #80264
  4193. * NumericUpDown.cs: Fix NET_2_0 check
  4194. 2006-12-16 Daniel Nauck <[email protected]>
  4195. * ListViewGroup.cs: fixed DefaultValueAttribute value
  4196. 2006-12-16 Daniel Nauck <[email protected]>
  4197. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  4198. 2006-12-15 Miguel de Icaza <[email protected]>
  4199. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  4200. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  4201. ScrollableControl.cs: Add a handful of methods that are
  4202. overwritten in 2.0
  4203. 2006-12-15 Chris Toshok <[email protected]>
  4204. * XplatUIWin32.cs: initial implementation of the Reversible
  4205. drawing functions. there are some problems. DrawReversibleFrame
  4206. doesn't seem to work at all for Dashed FrameStyle, and in the
  4207. Thick case there are drawing errors at the corners (we probably
  4208. need to bind Rectangle instead of doing moveto/lineto's.)
  4209. 2006-12-16 Andreia Gaita <[email protected]>
  4210. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  4211. to send blocks of key messages. Send accumulates keys to send with Flush,
  4212. while SendWait sends all keys immediately.
  4213. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  4214. XplatUIX11.cs, XplatUIX11-new.cs:
  4215. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  4216. to Win32 SendInput.
  4217. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  4218. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  4219. testing for ms.net on this class is very tricky, as the tests run too fast
  4220. to allow the hook to release, essentially freezing the keyboard and the
  4221. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  4222. category :p
  4223. 2006-12-16 Daniel Nauck <[email protected]>
  4224. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  4225. added missing attributes.
  4226. 2006-12-15 Daniel Nauck <[email protected]>
  4227. * ListViewGroup.cs: Added missing attributes.
  4228. * ListViewGroupCollection.cs: Added missing attributes.
  4229. 2006-12-15 Daniel Nauck <[email protected]>
  4230. * ListViewItem.cs: fixed ListViewSubItem text property.
  4231. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  4232. * Control.cs: Added missing 2.0 attributes
  4233. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  4234. * MdiClient.cs: Added missing 2.0 attribute.
  4235. * MonthCalendar.cs: Added some missing 2.0 attributes
  4236. and properties.
  4237. 2006-12-15 Daniel Nauck <[email protected]>
  4238. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  4239. 2006-12-15 Jonathan Pobst <[email protected]>
  4240. * MainMenu.cs: Add the new 2.0 constructor to help out people
  4241. using the MainMenu in VS2005.
  4242. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  4243. * MdiChildContext.cs: Removed it, no longer used.
  4244. * MdiClient.cs: Added missing 2.0 attributes.
  4245. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  4246. * InternalWindowManager.cs: Fix a NullRef with previous
  4247. changes for toolwindows.
  4248. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  4249. * Control.cs:
  4250. - Added AfterTopMostControl to allow for certain controls
  4251. to always stay on top when normal controls are brought to
  4252. front.
  4253. * XplatUIWin32.cs:
  4254. - (DrawInversibleRectangle): Get window rectangle from Win32
  4255. in stead of from control, since Win32 doesn't calculate
  4256. screen coords correctly from control's Location if it
  4257. have docked siblings.
  4258. * MdiWindowManager.cs:
  4259. - Correct the control menu popup location when clicked on
  4260. the maximized form icon. (fixes #80223.1)
  4261. - Don't show moving rectangle if mouse hasn't moved from
  4262. the original clicked point.
  4263. - Removed FormGotFocus handler (not used).
  4264. - Calculate the control buttons location from the main
  4265. window's size and not client size (fixes #79770).
  4266. - Form is now closed when the form icon is double-clicked
  4267. (fixes #79775).
  4268. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  4269. * InternalWindowManager.cs:
  4270. - Moved some MDI-only methods to MdiWindowManager.
  4271. - Removed unused properties and methods.
  4272. - Unified method naming for methods handling wm messages.
  4273. - Moved all message handling to seperate methods for
  4274. each message.
  4275. * ThemeWin32Classic.cs:
  4276. - DrawManagedWindowDecorations now draws the title bar
  4277. with a gradient brush.
  4278. - Add a CPDrawButtonInternal that allows us to specify
  4279. light, normal and dark colors for the buttons (control
  4280. buttons for MDI children were drawn with the same light
  4281. color as the background, therefore loosing the 3D effect).
  4282. * SizeGrip.cs:
  4283. - Add a CapturedControl property that is used to
  4284. determine the control to resize (defaults to parent).
  4285. Needed for MdiClient, since its SizeGrip's parent is
  4286. MdiClient, but the control to resize is the main form.
  4287. * MdiClient.cs:
  4288. - Set SizeGrip's CapturedControl to the main form in order
  4289. to resize the main form and not the MdiClient.
  4290. - Override AfterTopMostControl to leave the scrollbars
  4291. always on top.
  4292. 2006-12-15 Daniel Nauck <[email protected]>
  4293. * ListView.cs: fixed ListViewItemCollection AddRange and
  4294. implemented ListViewItemCollection AddRange 2.0 support.
  4295. 2006-12-15 Daniel Nauck <[email protected]>
  4296. * ListViewGroup.cs: Add.
  4297. * ListViewGroupCollection.cs: Add
  4298. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  4299. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  4300. stub for ImageKey 2.0 support.
  4301. 2006-12-14 Mike Kestner <[email protected]>
  4302. * ListView.cs: add text padding to the autocalculation for columns
  4303. of width -2. Fixes #80207.
  4304. 2006-12-14 Mike Kestner <[email protected]>
  4305. * ListView.cs: add some index guarding for partial row navigation
  4306. logic. Fixes #80250.
  4307. 2006-12-14 Mike Kestner <[email protected]>
  4308. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  4309. are added or inserted to the collection. Fixes #81099.
  4310. 2006-12-13 Everaldo Canuto <[email protected]>
  4311. * MenuAPI.cs: Closes menu when right click out side of popup
  4312. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  4313. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  4314. * ListViewItem.cs: Fix dumb error.
  4315. * ListView.cs: Add Find and ContainsKey methods in
  4316. ListViewItemCollection, and also return true for IsReadOnly
  4317. and IsFixedSize (changes for 2.0).
  4318. 2006-12-13 Gert Driesen <[email protected]>
  4319. * Control.cs: Allow Region to be set to null.
  4320. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  4321. * MdiWindowManager.cs: Remove unused (commented out) code.
  4322. * Form.cs: When the MdiChild is maximized, the form needs
  4323. WM_NCMOUSELEAVE, so request it.
  4324. * InternalWindowManager.cs:
  4325. - Added tooltips to control buttons.
  4326. - Removed duplicated control button handling code.
  4327. - Removed unused (commented out) code.
  4328. 2006-12-12 Everaldo Canuto <[email protected]>
  4329. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  4330. was used because we must set cursor without trigger ChangeCursor event
  4331. and without change Cursor control property. Fixes #79963.
  4332. 2006-12-12 Andreia Gaita <[email protected]>
  4333. * Control.cs: Check if Region setter value is null, and ignore
  4334. 2006-12-12 Jackson Harper <[email protected]>
  4335. * TextControl.cs: We were almost always drawing one more line then
  4336. needed, since the GetLineByPixel will return the last line found
  4337. at that pixel. In most cases though, we were invalidating up to
  4338. the junction between two lines.
  4339. - Improve debug code.
  4340. 2006-12-12 Chris Toshok <[email protected]>
  4341. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  4342. and FillReversibleRectangle.
  4343. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  4344. and FillReversibleRectangle.
  4345. * XplatUIWin32.cs: add stubs which do nothing for
  4346. DrawReversibleFrame, DrawReversibleLine, and
  4347. FillReversibleRectangle.
  4348. * XplatUIOSX.cs: add stubs which raise NIE for
  4349. DrawReversibleFrame, DrawReversibleLine, and
  4350. FillReversibleRectangle.
  4351. * XplatUIX11.cs: add working implementation for
  4352. DrawReversibleFrame, DrawReversibleLine, and
  4353. FillReversibleRectangle.
  4354. * ControlPaint.cs: implement DrawReversibleFrame,
  4355. DrawReversibleLine, and FillReversibleRectangle, by calling into
  4356. the appropriate XplatUI method.
  4357. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  4358. * Form.cs: Make MdiClient have the focus even if it's
  4359. not selectable, since it should receive WM_KEY* and WM_MOUSE
  4360. messages. Fixes #79907.
  4361. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  4362. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  4363. queried after the window is created.
  4364. * XplatUIX11.cs: Added SendParentNotify to implement
  4365. WM_PARENTNOTIFY logic. Fixes #79965.
  4366. * Control.cs: Added MakeParam.
  4367. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  4368. * MdiClient.cs: Resume Layout before setting window
  4369. states (fixes #80201).
  4370. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  4371. * MenuAPI.cs: Deselect a menu item after performing
  4372. the click (fixes #80197).
  4373. 2006-12-11 Jackson Harper <[email protected]>
  4374. * TextBoxBase.cs: We need to cap this value, since Maximum -
  4375. ViewPortHeight can be less than zero.
  4376. - Only do selection with the left mouse button.
  4377. * TextBox.cs: Don't tell the world that we have a context menu.
  4378. * Control.cs: New method so that we can control whether or not the
  4379. context menu is visible outside MWF.
  4380. 2006-12-11 Everaldo Canuto <[email protected]>
  4381. * ToolBarButton.cs: Fix text positon.
  4382. 2006-12-11 Miguel de Icaza <[email protected]>
  4383. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  4384. * Control.cs (DoubleBuffered): Add implementation.
  4385. * Application.cs (OpenForms): Add.
  4386. 2006-12-11 Jonathan Pobst <[email protected]>
  4387. * Form.cs: Use opacity instead of Opactiy to determine if we need
  4388. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  4389. 2006-12-11 Jonathan Pobst <[email protected]>
  4390. * Control.cs: Fix NRE if Control.Site was set to null.
  4391. 2006-12-11 Chris Toshok <[email protected]>
  4392. * Control.cs: ControlCollection.Remove should return if the arg is
  4393. null, and ControlCollection.SetChildIndex should raise a ANE.
  4394. 2006-12-11 Gert Driesen <[email protected]>
  4395. * Control.cs: Verify value set for Dock property. Code formatting
  4396. updates.
  4397. 2006-12-11 Jackson Harper <[email protected]>
  4398. * TextControl.cs: Draw the caret and the selection when a flag is
  4399. set on the owner.
  4400. * TextBoxBase.cs: We want to draw the caret and the selection for
  4401. TextBox but not for TextBoxBase.
  4402. - If the window is resized and scrolling is no longer needed (the
  4403. whole doc is visible) set the scroll position to zero.
  4404. - The default SelectWord (the one TextBox uses) should move the
  4405. caret to the end of the word.
  4406. - SelectAll moves the caret to the end of the selection.
  4407. * TextBox.cs: We don't selectall on focus, we just do it when the
  4408. control is created.
  4409. 2006-12-11 Mike Kestner <[email protected]>
  4410. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  4411. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  4412. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  4413. 2.0 support.
  4414. * ListViewItem.cs: Add Name 2.0 property.
  4415. 2006-12-11 Andreia Gaita <[email protected]>
  4416. * TabControl.cs: Set visibility on selected or default tab
  4417. when tabcontrol handle is created, so that it's contents
  4418. actually show up (duh). Fixes #80193
  4419. Don't redraw the control if there is no handle created, as
  4420. the selected index might be completely invalid. Added some tests
  4421. to check for this.
  4422. 2006-12-11 Everaldo Canuto <[email protected]>
  4423. * ToolBar.cs: Uses maximun width and height of all buttons as
  4424. button rectangle when ButtonSize specified, it looks strange but
  4425. is what happens in Win32. Fixes #80189.
  4426. 2006-12-11 Jackson Harper <[email protected]>
  4427. * TextControl.cs: Need to track undo levels ourself, since
  4428. compound actions will mess them up.
  4429. 2006-12-10 Andreia Gaita <[email protected]>
  4430. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  4431. SelectedIndex value is changed (even if it's not valid).
  4432. Reset SelectedIndex to 0 when the handle is created and if
  4433. the current index is invalid.
  4434. Fixes SelectdeIndex unit tests and #80128
  4435. 2006-12-08 Chris Toshok <[email protected]>
  4436. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  4437. calls EndEdit, it needs to be called before we set current_cell to
  4438. its new value. Otherwise, we end up committing the value in the
  4439. textbox to the new cell as well. Fixes bug #80160.
  4440. 2006-12-08 Chris Toshok <[email protected]>
  4441. * Form.cs (set_CancelButton): if the button's DialogResult is
  4442. None, set it to Cancel. Fixes bug 80180.
  4443. 2006-12-08 Jackson Harper <[email protected]>
  4444. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  4445. to watch ourselves when setting the canvas size and setting the
  4446. scrollbar values.
  4447. 2006-12-08 Chris Toshok <[email protected]>
  4448. * DataGrid.cs: comment out the two MakeTransparent calls for the
  4449. time being so people using trunk (and not 1.2.2) on windows can
  4450. actually use the datagrid. This deals with bug #80151.
  4451. 2006-12-08 Jonathan Pobst <[email protected]>
  4452. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  4453. Graphics.DrawImage (image, int, int, int, int) overload instead
  4454. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  4455. the dpi difference and was blurring images it drew.
  4456. [Fixes bug #79960]
  4457. 2006-12-08 Chris Toshok <[email protected]>
  4458. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  4459. rowcnt is 0 (such as with an empty datasource), and make sure we
  4460. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  4461. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  4462. 2006-12-08 Chris Toshok <[email protected]>
  4463. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  4464. grid.
  4465. 2006-12-08 Chris Toshok <[email protected]>
  4466. [ Fixes bug #80167 ]
  4467. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  4468. style is FlatStyle.System.
  4469. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  4470. ButtonBase.flat_style private, and switch uses of it to the public
  4471. property.
  4472. 2006-12-08 Chris Toshok <[email protected]>
  4473. [ Fixes bug #80121 ]
  4474. * ThemeWin32Classic.cs: center the caption text in the datagrid
  4475. when we draw it.
  4476. * DataGrid.cs: lessen the amount we add to the caption height from
  4477. 6 to 2. 6 was making it huge.
  4478. 2006-12-08 Andreia Gaita <[email protected]>
  4479. * UpDownBase: Handle MouseWheel call directly instead of capturing
  4480. the inner textbox's OnMouseWheel. Fixes #80166
  4481. 2006-12-08 Jackson Harper <[email protected]>
  4482. * TextControl.cs: We need to invalidate the textbox when we empty
  4483. it (how had this not been discovered before?)
  4484. 2006-12-08 Jackson Harper <[email protected]>
  4485. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  4486. to behave like MS, we now ignore the eventargs.Click and just
  4487. track state ourself, which we were already doing anyways.
  4488. - Constrain the double click handler to the double click size.
  4489. 2006-12-08 Chris Toshok <[email protected]>
  4490. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  4491. direction if that scrollbar isn't shown. fixes bug #80158.
  4492. 2006-12-08 Andreia Gaita <[email protected]>
  4493. * NumericUpDown.cs: Update value on getter. Fixes #79950
  4494. 2006-12-08 Chris Toshok <[email protected]>
  4495. * MenuItem.cs: add back in the event cloning code. I didn't know
  4496. how to do it in the face of the EventHandlerList work i'd done
  4497. last week. Fixes bug #80183.
  4498. 2006-12-08 Jonathan Pobst <[email protected]>
  4499. * Control.cs: Add an invalidate to the BackgroundImage setter.
  4500. [Fixes 80184]
  4501. 2006-12-07 Jonathan Pobst <[email protected]>
  4502. * ToolStrip*: Add some small properties reported by MoMA, fix event
  4503. firing and default properties based off of unit tests, and add some
  4504. attributes based off of the class status page.
  4505. 2006-12-07 Jackson Harper <[email protected]>
  4506. * TextBoxBase.cs: Take HideSelection into account when determining
  4507. whether or not to show the selection.
  4508. * RichTextBox.cs: After inserting the RTF into the document move
  4509. the cursor to the beginning of the document.
  4510. 2006-12-07 Jonathan Pobst <[email protected]>
  4511. * Control.cs: Remove static ArrayList "controls" which maintained
  4512. a reference to every control created.
  4513. * Application.cs: Create a static FormCollection to maintain a reference
  4514. to every form created. Use it in places that formerly enumerated through
  4515. the controls one looking for forms.
  4516. * Form.cs: Add and remove self from above FormCollection.
  4517. 2006-12-07 Alexander Olk <[email protected]>
  4518. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  4519. not libgdk (though it makes me wonder why I didn't have any
  4520. problems)
  4521. 2006-12-07 Chris Toshok <[email protected]>
  4522. [ you had to know this was coming after that last commit...]
  4523. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  4524. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  4525. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  4526. XCopyArea).
  4527. 2006-12-07 Chris Toshok <[email protected]>
  4528. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  4529. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  4530. all the behavior we need for double buffering.
  4531. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  4532. client side Bitmap, just like the old Control-based double buffer
  4533. code did. The methods are virtual, so each XplatUI driver
  4534. subclass can replace the implementation to use a faster, platform
  4535. specific approach.
  4536. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  4537. double buffer code, and clean things up a bit in the process.
  4538. 2006-12-06 Chris Toshok <[email protected]>
  4539. * Control.cs: reindent WndProc.
  4540. 2006-12-06 Chris Toshok <[email protected]>
  4541. [ I wanna be like BenM when I grow up ]
  4542. * Hwnd.cs: create a single static Graphics object on the static
  4543. Bitmap we create. use this for our text measurements.
  4544. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  4545. This was causing us to allocate a backbuffer for every control,
  4546. even when it wasn't flagged as double buffered. Instead use the
  4547. single graphics instance. This might have implications for
  4548. multithreaded applications. If we run into problems we can switch
  4549. to creating 1 Graphics per control, on the static Hwnd bitmap.
  4550. this change nets us a 7M savings in private dirty mappings when
  4551. running FormsTest.exe.
  4552. 2006-12-06 Chris Toshok <[email protected]>
  4553. * ListView.cs: the BackgroundImage override is just to set
  4554. attributes. chain up to base.BackgroundImage.
  4555. * RichTextBox.cs: same.
  4556. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  4557. changes, so instead a handler for BackgroundImageChanged.
  4558. * Control.cs: make background_image private.
  4559. 2006-12-06 Chris Toshok <[email protected]>
  4560. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  4561. sure we even need this assignment, but roll with it for now.
  4562. * Control.cs: make the cursor field private.
  4563. 2006-12-06 Chris Toshok <[email protected]>
  4564. * Form.cs: we don't need to explicitly set ImeMode to
  4565. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  4566. behavior in the face of ImeMode.Inherit.
  4567. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  4568. change the ctor's assignment to use ImeMode instead of ime_mode.
  4569. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  4570. ImeModeInherit. Only check for the parent's imemode (and return
  4571. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  4572. This fixes the button unit test, which sets both ImeMode and
  4573. DefaultImeMode to ImeMode.Disable.
  4574. also make the ime_mode field private.
  4575. 2006-12-06 Chris Toshok <[email protected]>
  4576. * Control.cs: make control_style private.
  4577. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  4578. setting the styles to true, then setting them to false instead of
  4579. reverting to their previous values.
  4580. also, call SetStyle on the scrollbars instead of using
  4581. control_style directly.
  4582. 2006-12-06 Jonathan Pobst <[email protected]>
  4583. * FormCollection.cs: Implement. [2.0]
  4584. 2006-12-06 Chris Toshok <[email protected]>
  4585. * Control.cs: make tab_stop private.
  4586. * Label.cs: set TabStop, not tab_stop. reformat some event
  4587. add/remove methods to make them more compact.
  4588. 2006-12-06 Chris Toshok <[email protected]>
  4589. * RadioButton.cs: fix TabStop handling.
  4590. 2006-12-06 Chris Toshok <[email protected]>
  4591. * TextBox.cs: remove the explicit assignments to has_focus.
  4592. Control does that.
  4593. * ButtonBase.cs: remove the assignment to has_focus. Control will
  4594. manage that.
  4595. 2006-12-06 Chris Toshok <[email protected]>
  4596. * ButtonBase.cs: remove all uses of is_enabled from this code.
  4597. it's always true when any of the code containing the checks is
  4598. executed.
  4599. 2006-12-06 Chris Toshok <[email protected]>
  4600. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  4601. with different semantics (some are present in both 1.1 and 2.0
  4602. profiles) so that we match MS's behavior in our unit tests.
  4603. 2006-12-06 Jackson Harper <[email protected]>
  4604. * TextControl.cs: Make this operation undoable.
  4605. * TextBoxBase.cs: Factor the border width into the preferred
  4606. height.
  4607. - implement Modified as per the spec.
  4608. 2006-12-06 Chris Toshok <[email protected]>
  4609. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  4610. 2006-12-06 Chris Toshok <[email protected]>
  4611. * Control.cs: make right_to_left and context_menu fields private.
  4612. 2006-12-06 Chris Toshok <[email protected]>
  4613. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  4614. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  4615. Control.child_controls private. switch all uses over to
  4616. Control.Controls.
  4617. 2006-12-06 Chris Toshok <[email protected]>
  4618. * System.Windows.Forms/GroupBox.cs,
  4619. System.Windows.Forms/AccessibleObject.cs,
  4620. System.Windows.Forms/ErrorProvider.cs,
  4621. System.Windows.Forms/Control.cs,
  4622. System.Windows.Forms/UpDownBase.cs,
  4623. System.Windows.Forms/ScrollBar.cs,
  4624. System.Windows.Forms/DateTimePicker.cs,
  4625. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  4626. System.Windows.Forms/ToolTip.cs,
  4627. System.Windows.Forms/RadioButton.cs,
  4628. System.Windows.Forms/LinkLabel.cs,
  4629. System.Windows.Forms/Splitter.cs,
  4630. System.Windows.Forms/TextBoxBase.cs,
  4631. System.Windows.Forms/ToolStripTextBox.cs,
  4632. System.Windows.Forms/ContainerControl.cs,
  4633. System.Windows.Forms/ThemeWin32Classic.cs,
  4634. System.Windows.Forms/SizeGrip.cs,
  4635. System.Windows.Forms/ToolStripDropDown.cs,
  4636. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  4637. private. switch all uses over to Control.Parent.
  4638. 2006-12-06 Chris Toshok <[email protected]>
  4639. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  4640. Control does this before calling emitting these events.
  4641. * TabControl.cs: same.
  4642. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  4643. Control.client_rect.
  4644. * ButtonBase.cs: use the ClientSize property instead of the
  4645. client_size field.
  4646. * ScrollableControl.cs: same.
  4647. * Control.cs: another pass at making properties private. also,
  4648. move the initialization of tab_stop to the ctor.
  4649. 2006-12-05 Andreia Gaita <[email protected]>
  4650. * TabControl.cs: Let the selected index be set freely if the
  4651. control handle is not yet created.
  4652. 2006-12-05 Jonathan Pobst <[email protected]>
  4653. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  4654. internal until I can rewrite DefaultLayout.
  4655. * ToolStrip.cs: Fix build error and some general cleaning.
  4656. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  4657. Fix build errors caused by making some of Control's fields private.
  4658. 2006-12-05 Jackson Harper <[email protected]>
  4659. * TextControl.cs: Redo Insert a little so that it use IndexOf
  4660. instead of Split, this prevents it from messing up on things like
  4661. \n\n\n. Also more effecient since the split array doesn't need to
  4662. be created.
  4663. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  4664. multiline text differently, this is the first of many fixes that
  4665. will make multiline/non-multiline the same thing as far as the
  4666. TextBoxBase is concerned.
  4667. - Don't split the text and insert lines, this can lose some line
  4668. endings (like is the last line a soft or hard break). Instead use
  4669. the new Insert.
  4670. - Fix an off by one when combining all the lines in the Text
  4671. getter.
  4672. - Remove separate multiline handling from the Text getter/setter.
  4673. 2006-12-05 Chris Toshok <[email protected]>
  4674. * ButtonBase.cs: a few changes:
  4675. - don't reinitialize internal Control fields in the ctor when they
  4676. have the same values as Control sets them.
  4677. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  4678. this before calling those methods.
  4679. - we don't need to call Refresh for anything. use Invalidate
  4680. instead.
  4681. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  4682. calls Refresh in its OnEnabledChanged.
  4683. - several of the events we were registered for in the ctor to
  4684. redraw ourselves already include calls to Invalidate in the
  4685. property setters that raise the events. remove the extra
  4686. invalidation.
  4687. - reformat a switch statement that was 83274658 columns wide.
  4688. 2006-12-05 Mike Kestner <[email protected]>
  4689. * ComboBox.cs: fix a unit test regression from a TextBox
  4690. SelectionLength return of -1 when there's no selection.
  4691. 2006-12-05 Chris Toshok <[email protected]>
  4692. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  4693. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  4694. cleaning up some of the internal Control fields being used by
  4695. subclasses.
  4696. 2006-12-05 Mike Kestner <[email protected]>
  4697. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  4698. listbox after AddImplicit calls since it defaults to hidden. Add a
  4699. hack to preserve requested heights across DropDownStyle changes.
  4700. 2006-12-05 Jonathan Pobst <[email protected]>
  4701. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  4702. 2006-12-05 Chris Toshok <[email protected]>
  4703. * DataGridView.cs: fix compiler warnings.
  4704. * PrintControllerWithStatusDialog.cs: same.
  4705. * ToolBar.cs: same.
  4706. * FolderBrowserDialog.cs: same.
  4707. * Splitter.cs: same.
  4708. * DataGridViewComboBoxCell.cs: same.
  4709. * XplatUIWin32.cs: same.
  4710. * PictureBox.cs: same.
  4711. * Win32DnD.cs: same.
  4712. * PageSetupDialog.cs: same.
  4713. * FileDialog.cs: same.
  4714. * PrintDialog.cs: same.
  4715. * DataGridTextBoxColumn.cs: same.
  4716. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  4717. 2006-12-05 Chris Toshok <[email protected]>
  4718. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  4719. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  4720. System.ComponentModel.EventHandlerList work.
  4721. 2006-12-05 Jonathan Chambers <[email protected]>
  4722. * DrawTreeNodeEventArgs.cs: Added.
  4723. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  4724. * InternalWindowManager.cs: Remove an unused field.
  4725. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  4726. * InternalWindowManager.cs:
  4727. - Save the point where the title bar is clicked.
  4728. * MdiWindowManager.cs:
  4729. - Only allow moving of the window as long as the
  4730. clicked point on the title bar does not get out of
  4731. MdiClient's rectangle. Fixes #79982.
  4732. * MdiClient.cs:
  4733. - Added Horizontal/VerticalScrollbarVisible.
  4734. - Simplified the scrollbar sizing algorithm.
  4735. - Cache the difference in scrolled value in
  4736. H/VBarValueChanged and move the calculation out
  4737. of the for loop.
  4738. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  4739. * Control.cs: Make the Console.WriteLine in WndProc
  4740. write more info.
  4741. 2006-12-05 Chris Toshok <[email protected]>
  4742. * ToolStripManager.cs, ToolStripButton.cs,
  4743. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  4744. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  4745. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  4746. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  4747. ToolStripProgressBar.cs, ToolStripContainer.cs,
  4748. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  4749. to using System.ComponentModel.EventHandlerList.
  4750. 2006-12-04 Chris Toshok <[email protected]>
  4751. * LinkLabel.cs: fix up compiler warnings.
  4752. * TableLayoutSettings.cs: same.
  4753. * TreeView.cs: same.
  4754. * ToolBar.cs: same.
  4755. * TabControl.cs: same.
  4756. * RichTextBox.cs: same.
  4757. * ListViewItem.cs: same.
  4758. * PropertyGrid.cs: same.
  4759. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  4760. * ToolTip.cs same.
  4761. * TextRenderer.cs: fix up compiler warnings.
  4762. * Label.cs: same.
  4763. * Form.cs: corcompare fixes.
  4764. * PictureBox.cs: fix up compiler warnings.
  4765. * ImageListStreamer.cs: same.
  4766. * TrackBar.cs: corcompare fix.
  4767. * Control.cs: fix up compiler warnings.
  4768. * SplitterPanel.cs: same.
  4769. * NumericTextBox.cs: same.
  4770. * ImageList.cs: same.
  4771. * StatusStrip.cs: same.
  4772. * ProgressBar.cs: corcompare fix.
  4773. * ToolStripButton.cs: fix up compiler warnings.
  4774. * ToolStripStatusLabel.cs: same.
  4775. * ToolStripSplitButton.cs: same.
  4776. * ToolStripSeparator.cs: same.
  4777. * ToolStripProgressBar.cs: same.
  4778. * ToolStripDropDownMenu.cs: same
  4779. * ToolStripDropDown.cs: same.
  4780. * ToolStripDropDownButton.cs: same.
  4781. * ToolStrip.cs: same.
  4782. * ToolStripControlHost.cs: same.
  4783. * ToolStripContentPanel.cs: same.
  4784. * ToolStripDropDown.cs: same.
  4785. * ToolStripContainer.cs: same.
  4786. * ToolStripPanel.cs: same, and add "new" where we need it to work
  4787. with the new ArrangedElementCollection.
  4788. * ToolStripItemCollection.cs: add "new" where we need it to work
  4789. with the new ArrangedElementCollection.
  4790. 2006-12-04 Andreia Gaita <[email protected]>
  4791. * TabControl.cs: Fix default tab selection to after TabControl
  4792. gets focus and not before. Fixes #80128
  4793. 2006-12-04 Chris Toshok <[email protected]>
  4794. * DataGridTableStyle.cs: remove the gross calling of
  4795. datagrid.Refresh from here. It's a broken idea and it doesn't
  4796. work anyway.
  4797. * DataGrid.cs: instead, just register/unregister from the
  4798. DataGridTableStyle events in CurrentTableStyle. we play it
  4799. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  4800. even though some would most likely not require it. Fixes bug
  4801. #80115 (and one portion of #80117 as a side effect).
  4802. 2006-12-04 Chris Toshok <[email protected]>
  4803. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  4804. so the textbox (if any) goes away. Fixes bug #80117.
  4805. 2006-12-04 Chris Toshok <[email protected]>
  4806. * DataGridColumnStyle.cs: set the column's readonly property
  4807. initially based on the property descriptor's IsReadOnly. Fixes
  4808. bug #80044.
  4809. 2006-12-04 Chris Toshok <[email protected]>
  4810. * ComboBox.cs: wrap the dropdown style changing work in
  4811. SuspendLayout/ResumeLayout. Fixes bug #79968.
  4812. 2006-12-04 Jackson Harper <[email protected]>
  4813. * TextBoxBase.cs: Fix off by one, since these are one-based.
  4814. * TextBox.cs: Select all the text when we get focus. The TextBox
  4815. does this but the RTB does not.
  4816. 2006-12-04 Chris Toshok <[email protected]>
  4817. * DataGridTextBoxColumn.cs: remove some spew.
  4818. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  4819. but some part of me is saying "it shouldn't be here.." At any
  4820. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  4821. setting the value.
  4822. 2006-12-04 Chris Toshok <[email protected]>
  4823. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  4824. to reassign the propertydescriptor.
  4825. 2006-12-04 Jackson Harper <[email protected]>
  4826. * TextBoxBase.cs:
  4827. * TextControl.cs: Remove some unused variables. Maybe this will
  4828. patch things up between mike and I.
  4829. - don't split lines less then one char wide, if the viewport is
  4830. that small text won't be visible anyways.
  4831. 2006-12-04 Jackson Harper <[email protected]>
  4832. * TextBoxBase.cs: Default selection length is -1, need to do some
  4833. more testing on windows to see when this is used for the property.
  4834. - Redid the Lines [] property to that we properly remove soft line
  4835. breaks
  4836. - added support for preserving carriage returns
  4837. - CanUndo is not a variable like 'is undo enabled' it just returns
  4838. true if there is undo operations available.
  4839. - AppendText doesn't need to grab the last tag itself anymore,
  4840. this happens automatically when we move the cursor.
  4841. * TextControl.cs: Add CompoundActions to the undo class. This
  4842. allows combining the other operations into one big option. ie a
  4843. paste will combine { delete old, insert new, move cursor }
  4844. - Add InsertString undo operation
  4845. - New method for deleting multiline text
  4846. - Add carriage returns to lines. So we can preserve carriage
  4847. returns when text is 'roundtripped'
  4848. 2006-12-04 Chris Toshok <[email protected]>
  4849. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  4850. minimum 0. Fixes the scrollbar exception in bug #80136.
  4851. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  4852. * MdiClient.cs:
  4853. * MdiWindowManager: Removed unused fields and methods.
  4854. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  4855. * StatusBar.cs: Update all panels when a AutoSize=Contents
  4856. panel needs updating.
  4857. * StatusBarPanel.cs: Remove twidth and only use initialize.
  4858. Fixes #80031.
  4859. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  4860. * Form.cs: When a form's MdiParent is set add it directly
  4861. on top of the z-order in stead of relying on MdiClient's
  4862. ActivateChild to do it. Fixes #80135.
  4863. * MdiClient.cs:
  4864. - Remove original_order, mdi_child_list is already doing
  4865. the same thing.
  4866. - Create mdi_child_list on construction in
  4867. stead of first use (avoids a few null checks).
  4868. * MenuItem.cs: Use an already existing list of mdi children
  4869. to get the correct order of children and remove the other
  4870. redundant list.
  4871. 2006-12-04 Chris Toshok <[email protected]>
  4872. * PropertyGridView.cs: cached_splitter_location is only used in
  4873. !DOUBLEBUFFER code.
  4874. * PropertyGrid.cs: implement the ComComponentNameChanged event
  4875. using Events, hoping that would fix the warning. Looks like a
  4876. compiler bug instead (#80144).
  4877. * PropertyManager.cs: remove unused method.
  4878. 2006-11-04 Everaldo Canuto <[email protected]>
  4879. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  4880. include parentesis to fix expression evaluation. Fixes #79634.
  4881. 2006-11-02 Everaldo Canuto <[email protected]>
  4882. * MenuAPI.cs:
  4883. - Changes to fix behavior in Menu control, some reported in #80097
  4884. and other detected during behavior refactory like a select event
  4885. problems.
  4886. - Remove unneded "if's" conditions.
  4887. - Created an internal to flag when popup is active in control, we need
  4888. it because in .NET you can have menu active but without popup active
  4889. when you active menu using popup without visible items.
  4890. - Mimic win32 behavior for Select and Popup events.
  4891. - Dont open popup menu when you dont have visible subitems.
  4892. - Do nothing when click on disabled menu item.
  4893. - Some small changes to follow the coding style guidelines.
  4894. - Unselect menu only when another control gives focus. Fixes #80097.
  4895. - Remove unused code.
  4896. * MenuItem.cs: internal VisibleItems method to check if menu
  4897. theres visible subitems, it will be usefull to fix some
  4898. behavior in Menu control.
  4899. 2006-11-01 Everaldo Canuto <[email protected]>
  4900. * Timer.cs: Tag property for 2.0 profile.
  4901. 2006-12-01 Chris Toshok <[email protected]>
  4902. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  4903. * Win32DnD.cs: comment out some unused fields.
  4904. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  4905. some unused properties/methods.
  4906. * XplatUIX11.cs: fix MousePosition so we override the base class's
  4907. property instead of conflicting with it.
  4908. * PictureBox.cs: comment out some unused fields
  4909. * OSXStructs.cs: make some struct fields public.
  4910. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  4911. MousePosition so we override the base class's property instead of
  4912. conflicting with it.
  4913. * X11Dnd.cs: comment out some unused fields
  4914. * X11DesktopColors.cs: fix some struct field visibility to quiet
  4915. the compiler.
  4916. * X11Dnd.cs: remove some debug code.
  4917. * ThemeClearlooks.cs: comment out unused field.
  4918. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  4919. * ThemeGtk.cs: comment out some unused pinvokes.
  4920. * Timer.cs: remove some unused fields.
  4921. * ThemeClearlooks.cs: comment out unused field.
  4922. * UpDownBase.cs: comment out unused field.
  4923. * DataObject.cs: comment out unused field.
  4924. * DataGridBoolColumn.cs: reomve unused field.
  4925. * DataGrid.cs: remove unused field.
  4926. * Cursor.cs: remove old ToBitmap code.
  4927. * ControlPaint.cs: remove unused method.
  4928. * ScrollBar.cs: remove unused fields.
  4929. * ComboBox.cs: remove unused field, and chain up to
  4930. AccessibleObject ctor.
  4931. * ListBox.cs: remove unused field.
  4932. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  4933. * GridEntry.cs: remove unused fields.
  4934. * Binding.cs: remove unused fields.
  4935. * AxHost.cs: remove unused method.
  4936. * ContainerControl.cs: remove unused field.
  4937. * ScrollableControl.cs: remove unused fields.
  4938. 2006-12-01 Chris Toshok <[email protected]>
  4939. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  4940. the Where/WhereString stuff. it's easy enough to CWL
  4941. Environment.StackTrace.
  4942. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  4943. unused private fields.
  4944. 2006-12-01 Jackson Harper <[email protected]>
  4945. * TextControl.cs: Do not update the view while inserting multiline
  4946. text. If we update the view we might wrap lines, before entering
  4947. the new lines, which causes the new line insertion calculations to
  4948. be totally fubared.
  4949. - Remove an old TODO
  4950. - Make debug output a little nicer
  4951. 2006-12-01 Chris Toshok <[email protected]>
  4952. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  4953. 2006-12-01 Chris Toshok <[email protected]>
  4954. [ fix the majority of the CS0108 warnings we've been suppressing ]
  4955. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  4956. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  4957. to "LayoutToolBar" to quiet mcs.
  4958. * TabControl.cs: mark our ControlCollection class as 'new'.
  4959. * TextBoxBase.cs: mark some events as 'new'.
  4960. * Splitter.cs: TabStop is 'new'.
  4961. * ControlBindingsCollection.cs: mark a few methods as new since
  4962. they change the visibility from protected to public.
  4963. * RadioButton.cs: DoubleClick -> base class, and remove unused
  4964. HaveDoubleClick.
  4965. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  4966. events as new.
  4967. * NumericUpDown.cs: TextChanged -> base class.
  4968. * CheckedListBox.cs: mark our ObjectCollection class as new to
  4969. quiet mcs.
  4970. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  4971. muck with the base class.
  4972. * StatusBar.cs: fix some mcs warnings about Update being the same
  4973. name as a base class method.
  4974. * RichTextBox.cs: mark some events as new, and make them do things
  4975. to the base class impl.
  4976. * UserControl.cs: mark TextChanged as new, and have it manipulate
  4977. base.TextChanged.
  4978. * UpDownBase.cs: mark some things new.
  4979. * CheckBox.cs: mark DoubleClick "new", and add some text about
  4980. what we need to look at.
  4981. * Panel.cs: make the events "new", and manipulate the base
  4982. version. these are just here for attributes.
  4983. * AccessibleObject.cs: make owner private.
  4984. * Control.cs: deal with AccessibleObject.owner being private.
  4985. cache our own copy if we need it.
  4986. * Button.cs: add "new" to the DoubleClickEvent.
  4987. * ListBox.cs: no need to track our own has_focus here. let
  4988. Control.has_focus do it for us. Also some other work to clear up
  4989. warnings about not overriding base class methods of the same name.
  4990. * ComboBox.cs: clear up some warnings about not override base
  4991. class methods of the same name.
  4992. 2006-12-01 Chris Toshok <[email protected]>
  4993. * Form.cs: flag a few things as "new" to quiet some of the mcs
  4994. warnings.
  4995. * AxHost.cs: same.
  4996. * PrintPreviewDialog.cs: same.
  4997. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  4998. now DGV isn't so horrible on the class status page. also, move
  4999. all events to using System.ComponentModel.EventHandlerList. my
  5000. wrists hurt.
  5001. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  5002. * MdiWindowManager.cs:
  5003. - Set form to active mdi child if shown,
  5004. and update the active mdi child to the next
  5005. remaining child in the z-order if the form is hidden.
  5006. * Form.cs:
  5007. - Track if the form has been visible and if its
  5008. visibility is beeing changed, so that the MdiClient
  5009. can properly decide the ActiveMdiChild. The MdiClient
  5010. cannot track this since the form can change visibility
  5011. before MdiClient is created.
  5012. * MdiClient.cs:
  5013. - Don't activate anything of the parent form is changing
  5014. its visibility.
  5015. - Rework ActiveMdiChild to only return visible mdi
  5016. children and take into account several other corner
  5017. cases.
  5018. 2006-12-01 Chris Toshok <[email protected]>
  5019. * IBindableComponent.cs: new 2.0 interface.
  5020. 2006-12-01 Gert Driesen <[email protected]>
  5021. * DataGrid.cs: Font for caption area is bold by default.
  5022. 2006-12-01 Everaldo Canuto <[email protected]>
  5023. * Menu.cs: Tag property for 2.0.
  5024. 2006-11-01 Everaldo Canuto <[email protected]>
  5025. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  5026. 2006-12-01 Chris Toshok <[email protected]>
  5027. * TreeView.cs: doh, the Begin* events should be
  5028. TreeViewCancelEventHandler.
  5029. 2006-12-01 Chris Toshok <[email protected]>
  5030. * Form.cs: Form.ControlCollection already stores off the
  5031. form_owner field. don't access the base class's internal "owner"
  5032. field.
  5033. * Control.cs: make all the fields in Control.ControlCollection
  5034. private. there's no need for any internal fields here.
  5035. 2006-12-01 Chris Toshok <[email protected]>
  5036. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  5037. OnHandleCreated. Fixes bug #80109.
  5038. 2006-12-01 Chris Toshok <[email protected]>
  5039. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  5040. SplitContainer.cs, Control.cs, StatusStrip.cs,
  5041. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  5042. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  5043. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  5044. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  5045. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  5046. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  5047. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  5048. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  5049. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  5050. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  5051. do most of the work to convert our code over to use
  5052. System.ComponentModel.Component.Events for
  5053. adding/removing/dispatching events.
  5054. 2006-11-30 Jonathan Pobst <[email protected]>
  5055. * DataGridView.cs: Fix an ArgumentNullException reported
  5056. twice today in IRC.
  5057. 2006-11-30 Mike Kestner <[email protected]>
  5058. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  5059. grabbed listbox. Fixes #80036 and #80101.
  5060. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  5061. * Message.cs: Changed ToString() to match MS.
  5062. 2006-11-30 Jackson Harper <[email protected]>
  5063. * TextBoxBase.cs: You can still change the selected text on a read
  5064. only textbox.
  5065. * TextControl.cs: Lower magic number for wrap calculations. This
  5066. lets text get closer to the right (far) edge.
  5067. 2006-11-30 Jonathan Pobst <[email protected]>
  5068. * Control.cs: Tweak 2.0 layout properties.
  5069. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  5070. * TextRenderer.cs: Add a new overload.
  5071. * ToolStrip*: Huge amount of changes and new features.
  5072. 2006-11-30 Mike Kestner <[email protected]>
  5073. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  5074. scroll range correct. Fixes #79994.
  5075. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  5076. * MdiWindowManager.cs: Update main form's text when
  5077. a form is closed. (fixes #80038)
  5078. 2006-11-30 Everaldo Canuto <[email protected]>
  5079. * ToolBar.cs:
  5080. - Fix an regression in ButtonSize.
  5081. - Get ImeMode default value change to "Disable".
  5082. - Get ShowTooltips default value change to true, default value is
  5083. "false" but after make a test in .NET we get "true" result as default.
  5084. 2006-11-29 Jonathan Pobst <[email protected]>
  5085. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  5086. 2006-11-29 Chris Toshok <[email protected]>
  5087. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  5088. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  5089. SetWindowTransparency hasn't been called.
  5090. 2006-11-29 Chris Toshok <[email protected]>
  5091. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  5092. if it's supported.
  5093. (set_AllowTransparency): reorder things a little so that the
  5094. WS_EX_LAYERED style is removed properly.
  5095. 2006-11-29 Chris Toshok <[email protected]>
  5096. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  5097. * Form.cs: only call the XplatUI transparency method (get/set) if
  5098. SupportsTransparency says it's supported. Otherwise fallback to
  5099. doing nothing (in the set case) or returning the instance field we
  5100. cache (in the get case).
  5101. * XplatUIStructs.cs: add TransparencySupport flag enum.
  5102. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  5103. change to SupportsTransparency.
  5104. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  5105. TransparencySupport.None from SupportsTransparency.
  5106. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  5107. TransparencySupport.Set from SupportsTransparency.
  5108. * XplatUIWin32.cs: implement GetWindowTransparency calling
  5109. GetLayeredWindowAttributes, and implement SupportsTransparency by
  5110. checking whether or not both
  5111. GetWindowTransparency/SetWindowTransparency are available
  5112. entrypoints. We need to do this since SetWindowTransparency is
  5113. available as of win2k, but GetWindowTransparency requires winxp.
  5114. yay win32 api.
  5115. * XplatUI.cs: Add GetWindowTransparency, and change
  5116. SupportsTransparency to allow for either/both Get/Set.
  5117. 2006-11-29 Chris Toshok <[email protected]>
  5118. * DataGrid.cs: keep from going into an infinite loop redrawing a
  5119. datagrid that has no datasource. Fixes bug #80033.
  5120. 2006-11-29 Chris Toshok <[email protected]>
  5121. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  5122. Invalidate) before the mainmenu has been assigned to a control.
  5123. 2006-11-29 Chris Toshok <[email protected]>
  5124. * DataGrid.cs: detect when we should be double the double click
  5125. row/column autosize stuff, although that codepath has yet to be
  5126. written. part of the work for bug #79891.
  5127. 2006-11-29 Chris Toshok <[email protected]>
  5128. * Binding.cs (SetControl): fix unit test.
  5129. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  5130. * PageSetupDialog.cs: Validate the margins and set them in
  5131. PageSettings.
  5132. * NumericTextBox.cs: New class to mimic the behavior of the
  5133. textboxes used in the printing dialogs.
  5134. 2006-11-29 Andreia Gaita <[email protected]>
  5135. * Form.cs: Revert previous change (remove call UpdateBounds
  5136. from form constructor), because it messes with the handle creation
  5137. order, and that one needs lots and lots of love.
  5138. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  5139. for valid printer and throw InvalidPrinterException if document
  5140. is set but printer not valid), adding a MonoTODO. Once
  5141. handle creation is done properly, we can put this back in.
  5142. 2006-11-28 Everaldo Canuto <[email protected]>
  5143. * MenuItem.cs: Create a invalidate method for menu item, to be
  5144. calling from set text, it make text changes to imadiate update
  5145. on screen. Fixes #80013.
  5146. 2006-11-28 Everaldo Canuto <[email protected]>
  5147. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  5148. fixes bug #80070 and some other problem on toolbar buttons
  5149. layout.
  5150. 2006-11-28 Everaldo Canuto <[email protected]>
  5151. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  5152. with dotted brush. Fixes #79564
  5153. 2006-11-28 Andreia Gaita <[email protected]>
  5154. * Form.cs: Removed call to UpdateBounds on Form
  5155. constructor, it was causing a call to CreateHandle
  5156. before it was supposed to.
  5157. * PrintControllerWithStatusDialog: Applied patch
  5158. by Chris Toshok to hide controller when there are
  5159. no printers available.
  5160. PrintDialog.cs: initialize printer settings to
  5161. null - correct DefaultValues test #5
  5162. * PrintPreviewControl.cs: Move PrintController
  5163. initialization to GeneratePreview
  5164. * PrintPreviewDialog.cs:
  5165. - Remove Preview generation from Document_set(). It is
  5166. called on OnPaint
  5167. - Throw InvalidPrinterException on CreateHandle if
  5168. a Document is set but there are no printers or
  5169. printer is not valid.
  5170. * ThemeWin32Classic: don't paint PrintPreviewControl
  5171. if there is nothing to paint
  5172. 2006-11-28 Miguel de Icaza <[email protected]>
  5173. * Form.cs: Add another popular method.
  5174. * TabPage.cs: ditto.
  5175. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  5176. * MenuItem.cs: Fixed a warning.
  5177. * InternalWindowManager: Fixed a warning.
  5178. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  5179. * MenuItem.cs:
  5180. - When cloning a menu also clone MdiList and clone the
  5181. window menu items properly (as the forms and menuitems
  5182. are kept in an internal hashtable, these need updating
  5183. as well)
  5184. - Rewrote the window menu code, menu items are added in the
  5185. order the forms were added to their parent, and they are
  5186. updated every time the window menu is shown (before the
  5187. list was only generated once, in the current order of the
  5188. forms, and would never be updated). A checkmark is shown
  5189. next to the item corresponding to the active mdi child.
  5190. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  5191. * XplatUIStructs.cs:
  5192. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  5193. * XplatUIWin32.cs:
  5194. - Added TME_NONCLIENT to TMEFlags.
  5195. - Handles WM_NCMOUSEMOVE in GetMessage to
  5196. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  5197. * MdiWindowManager:
  5198. - Now merges mdi child menu to parent menu when maximized.
  5199. - Recalculate NC areas of both mdi child and mdi parent.
  5200. Fixes #79757 (4).
  5201. on window state and size changes.Fixes #79844 (3).
  5202. - Handle WM_NCCALCSIZE to properly calculate borders.
  5203. * Form.cs:
  5204. - Add/remove to the mdi containers list of mdi children
  5205. in the order they are added.
  5206. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  5207. to the maximized mdi child.
  5208. * InternalWindowManager.cs:
  5209. - Only execute a click on the control buttons on the mouse up,
  5210. not on the mouse down. Show the state of the button
  5211. (was only showing Normal state, never Pressed state). The
  5212. pressed button now follows the mouse (if you click the Close
  5213. button and move the mouse over the Maximize button, the
  5214. Maximize button will be shown as pressed). Since Win32 does
  5215. not generate WM_NCLBUTTONUP if you release the button outside
  5216. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  5217. it as a mouse up.
  5218. * ThemeWin32Classic.cs:
  5219. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  5220. * MdiClient.cs:
  5221. - Added a list of forms which contains the order the forms are
  5222. added to the mdi parent.
  5223. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  5224. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  5225. - If the active form changes set the scrollbars to the top
  5226. of the Z order, otherwise the form could hide them.
  5227. - Scrollbars are now sized according to ClientSize, not
  5228. to Size, and they take into account the other scrollbar
  5229. to determine maximum.
  5230. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  5231. * XplatUI.cs:
  5232. * XplatUIDriver.cs:
  5233. * XplatUIX11.cs:
  5234. * XplatUIWin32.cs:
  5235. * XplatUIOSX.cs:
  5236. - Added RequestAdditionalWM_NCMessages for windows to
  5237. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  5238. Currently only implemented in XplatUIWin32.
  5239. 2006-11-27 Chris Toshok <[email protected]>
  5240. * Hwnd.cs: only add the hwnd to the windows hash in
  5241. set_WholeWindow and set_ClientWindow if whole_window/client_window
  5242. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  5243. 2006-11-27 Mike Kestner <[email protected]>
  5244. * ComboBox.cs: remove redundant OnDropDown call. It is called
  5245. from the ComboListBox.ShowWindow code. Fixes #79969.
  5246. 2006-11-27 Chris Toshok <[email protected]>
  5247. * Hwnd.cs: remove the setters for ExposePending and
  5248. NCExposePending - noone uses them.
  5249. 2006-11-27 Jackson Harper <[email protected]>
  5250. * TextControl.cs: new param for ReplaceSelection which determines
  5251. whether we select the new selection, or set the cursor to the end
  5252. of the new selection.
  5253. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  5254. pasting, select the new text.
  5255. * RichTextBox.cs: Use new param for ReplaceSelection.
  5256. 2006-11-27 Jackson Harper <[email protected]>
  5257. * TextBoxBase.cs: Set the selection to the caret after the caret
  5258. is moved, otherwise they get out of sync.
  5259. 2006-11-26 Everaldo Canuto <[email protected]>
  5260. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  5261. it fixes #80015
  5262. 2006-11-26 Everaldo Canuto <[email protected]>
  5263. * ThemeWin32Classic.cs:
  5264. - Fix toolbar drop down arrow position.
  5265. - Fix drop down appearance when ToolBar.Appearance is normal,
  5266. it fixes #80018.
  5267. 2006-11-26 Gert Driesen <[email protected]>
  5268. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  5269. * Control.cs: Same.
  5270. * UpDownBase.cs: Same.
  5271. * ButtonBase.cs: Same.
  5272. * ScrollBar.cs: Same.
  5273. * TrackBar.cs: Same.
  5274. * PictureBox.cs: Same.
  5275. * UserControl.cs: Same.
  5276. * Label.cs: Same.
  5277. * ListControl.cs: Same.
  5278. * TextBoxBase.cs: Same.
  5279. * ListView.cs: Same.
  5280. * RichTextBox.cs: Same.
  5281. * TreeView.cs: Same.
  5282. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  5283. * PrintDialog.cs:
  5284. - Text label for where
  5285. - Text label comment was not shown
  5286. 2006-11-23 Everaldo Canuto <[email protected]>
  5287. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  5288. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  5289. * InternalWindowManager.cs:
  5290. - Handle WM_PARENTNOTIFY to activate the form
  5291. if any child control is clicked.
  5292. - The form is only sizable if not minimized.
  5293. * MdiWindowManager.cs:
  5294. - Save the IconicBounds if the form is moved.
  5295. - Rework SetWindowState, now the window bounds
  5296. are stored only if the old window state is Normal.
  5297. * MdiClient.cs:
  5298. - In SetWindowStates store the old window state if
  5299. the window is maximized and restore window state if
  5300. the window looses focus.
  5301. - Don't handle any scrollbar value changes if
  5302. initializing the scroll bars. Fixes #79771.
  5303. - Reworked ArrangeIconicWindows. Current algorithm
  5304. tests bounds agains all other minimized windows, if
  5305. any intersections create new bounds (going left to
  5306. right, bottom to top) and then test again. When
  5307. successful the bounds are saved and never computed
  5308. again. Fixes #79774.
  5309. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  5310. * InternalWindowManager.cs: Added HandleTitleBarUp.
  5311. 2006-11-23 Gert Driesen <[email protected]>
  5312. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  5313. hexadecimal in ParseUserEdit.
  5314. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  5315. * MdiWindowManager.cs:
  5316. - Handle a click on the form's icon to show the
  5317. system menu (when maximized). Fixes #79775.
  5318. - Change the existing click handler for the form's
  5319. icon when not maximized to show on MouseUp.
  5320. Fixes #79776.
  5321. * Form.cs: In OnResize only layout the mdi child's
  5322. parent if it actually has a parent. Might not if
  5323. the window is closing.
  5324. 2006-11-23 Gert Driesen <[email protected]>
  5325. * MdiClient.cs: Ignore active MDI client for text of parent, if
  5326. child has no text set.
  5327. 2006-11-23 Gert Driesen <[email protected]>
  5328. * ToolBar.cs: Fixed ToString to match MS.
  5329. 2006-11-22 Andreia Gaita <[email protected]>
  5330. * NumericUpDown:
  5331. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  5332. update inner values on set. Fixes #79966.
  5333. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  5334. - Fix hexadecimal parsing.
  5335. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  5336. parent. Fixes #79957
  5337. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  5338. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  5339. the actual size has to be queried, since if height /
  5340. width is negative Win32 changes it to 0.
  5341. Fixes #79999 on Windows.
  5342. * XplatUIX11.cs: Set height / width to 0 if negative
  5343. in SetWindowPos. Fixes #79999 on Linux.
  5344. 2006-11-22 Everaldo Canuto <[email protected]>
  5345. * ThemeWin32Classic.cs: Fix text redenring when button is
  5346. pressed.
  5347. 2006-11-22 Everaldo Canuto <[email protected]>
  5348. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  5349. and later navigate by mouse. Fixes #79528.
  5350. 2006-11-21 Everaldo Canuto <[email protected]>
  5351. * ToolBar.cs: Set default value for TabStop to false in
  5352. constructor, it fixes remaining behavior of bug #79863.
  5353. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  5354. * MdiWindowManager.cs:
  5355. * InternalWindowManager.cs:
  5356. - Moved a few methods specific to Mdi from
  5357. InternalWindowManager to MdiWindowManager.
  5358. Fixes #79996.
  5359. 2006-11-21 Chris Toshok <[email protected]>
  5360. * XplatUIOSX.cs: stub out InvalidateNC.
  5361. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  5362. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  5363. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  5364. * XplatUIDriver.cs: add InvalidateNC abstract method.
  5365. * XplatUI.cs: add InvalidateNC.
  5366. 2006-11-21 Everaldo Canuto <[email protected]>
  5367. * ToolBar.cs: Invalidate complete button area when pressed status
  5368. was changed.
  5369. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  5370. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  5371. by 1 when button is pressed.
  5372. 2006-11-20 Everaldo Canuto <[email protected]>
  5373. * ToolButton.cs: Invalidate middle of DropDown button when
  5374. ToolBar theres DropDownArrows.
  5375. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  5376. fix DropDown drawing operations.
  5377. 2006-11-20 Chris Toshok <[email protected]>
  5378. * NativeWindow.cs: fix the formatting of functions ('{' on the
  5379. following line), and enable the thread exception dialog.
  5380. * Application.cs: remove the duplicate exception catching from
  5381. here.
  5382. 2006-11-20 Everaldo Canuto <[email protected]>
  5383. * Toolbar.cs: Triggers button click event when click on icon
  5384. of dropdown ToolBarButton. Fixes #79912.
  5385. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  5386. * Theme.cs:
  5387. * ThemeWin32Classic.cs:
  5388. - Added a property WindowBorderFont to enable themeing
  5389. of mdi child windows' Text.
  5390. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  5391. * InternalWindowManager.cs:
  5392. * Form.cs:
  5393. * MdiClient.cs:
  5394. * MdiWindowManager.cs:
  5395. - If mdi child is maximized, set mdi parent's
  5396. text to "Parent - [Child]". Fixes #79770.
  5397. - If there is any maximized mdi child windows, only the active
  5398. window (and any new windows) is maximized, the rest are normal.
  5399. - On a WindowState change only save mdi child's window bounds
  5400. if the old window state was normal. Fixes #79774.
  5401. - The scroll bars are now calculated on hopefully all
  5402. necessary events. Fixed #79771 / #79844->6 / #79906.
  5403. - MdiClient.SizeScrollBars() now takes into account docked
  5404. controls in the parent when calculating available space.
  5405. - InternalWindowManager now always repaints the entire title
  5406. area. Fixes #79844->1/4/5.
  5407. - Added RequestNCRecalc on mdi child windowstate changes.
  5408. Fixes #79772.
  5409. 2006-11-20 Mike Kestner <[email protected]>
  5410. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  5411. in the MouseUp handler of the listbox and move the return handling
  5412. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  5413. 2006-11-20 Everaldo Canuto <[email protected]>
  5414. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  5415. 2006-11-17 Alexander Olk <[email protected]>
  5416. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  5417. working in 1.2.x anymore. So, updated.
  5418. 2006-11-19 Gert Driesen <[email protected]>
  5419. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  5420. NumberGroupSeparator of current culture instead of assuming en-US.
  5421. Fixed bug #79967.
  5422. 2006-11-17 Mike Kestner <[email protected]>
  5423. * Control.cs: Add the concept of implicit bounds setting so that
  5424. dock/undock round trips preserve explicitly set size/locations.
  5425. Fixes #79313.
  5426. 2006-11-17 Alexander Olk <[email protected]>
  5427. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  5428. can't handle those filters. (Fixes bug #79961)
  5429. 2006-11-17 Chris Toshok <[email protected]>
  5430. [ fixes the exit/crashes associated with #79835. it's clearly
  5431. suboptimal though, we need to figure out a better way to solve
  5432. this. ]
  5433. * PrintPreviewControl.cs: deal with the new invalid printer
  5434. exceptions.
  5435. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  5436. and return false (so CommonDialog.ShowDialog doesn't actually show
  5437. the form.)
  5438. * PrintDialog.cs: enable/disable the Ok button depending on
  5439. whether or not the printer is valid.
  5440. * CommonDialog.cs (ShowDialog): only actually show the form if
  5441. RunDialog returns true.
  5442. 2006-11-17 Jackson Harper <[email protected]>
  5443. * TextControl.cs: When soft splitting a line, mark it as a soft
  5444. split line. Also carry over the current line break to the next
  5445. line.
  5446. 2006-11-17 Chris Toshok <[email protected]>
  5447. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  5448. only want to shift the part of the invalid area that overlaps the
  5449. area we're scrolling. we also don't want to clear the invalid
  5450. area unless the invalid area was entirely contained within the
  5451. scrolling area.
  5452. 2006-11-16 Chris Toshok <[email protected]>
  5453. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  5454. also make sure to free the memory returned by XGetWindowProperty
  5455. in GetText().
  5456. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  5457. 2006-11-16 Chris Toshok <[email protected]>
  5458. * XplatUI.cs: add a new super secret way to get at the totally
  5459. unsupported X11 backend.
  5460. 2006-11-16 Gert Driesen <[email protected]>
  5461. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  5462. 2006-11-16 Jackson Harper <[email protected]>
  5463. * TreeView.cs: Allow more explicit setting of top node position
  5464. for scrollbars. Slower algo, but more accurate.
  5465. - CollapseAll should maintain the current top node.
  5466. * TextBoxBase.cs: When positioning the caret, use the line, pos
  5467. method, since the x, y method does not grab the correct tag, and
  5468. the caret height never gets set correctly. (Maybe I should just do
  5469. away with the caret having its own height, and always use the
  5470. carets current tag for height).
  5471. 2006-11-16 Jonathan Pobst <[email protected]
  5472. [Fixes 79778, 79923]
  5473. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  5474. Parent to the FosterParent instead.
  5475. 2006-11-16 Jackson Harper <[email protected]>
  5476. * TreeView.cs: Need to recalc the topnode when we expand or
  5477. collapse. The scrolling methods can't handle this on their own,
  5478. since they use differences between the last scroll position, and
  5479. those difference get completely messed up since we are expanding
  5480. nodes. This problem should probably be fixed in the scrolling
  5481. methods, so they can figure out exactly where they are, but this
  5482. will slow things down a little.
  5483. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  5484. strings, makes nunit-gui look a lot nicer.
  5485. 2006-11-16 Chris Toshok <[email protected]>
  5486. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  5487. the broken multithreaded event handling we have in here. File
  5488. this entry under "Why we should move to the new X11 backend".
  5489. Any thread can make it into UpdateMessageQueue, which gets events
  5490. from the X socket - some of which could belong to hwnds being
  5491. managed by a different thread. We can also have multiple threads
  5492. in UpdateMessageQueue at the same time, with each one reading from
  5493. the X socket. This leads to many problems, with the following
  5494. solutions:
  5495. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  5496. EnqueueLocked.
  5497. The MotionNotify compression we do can't work across threads
  5498. (without locking the entire queue, perhaps) since we call
  5499. hwnd.Queue.Peek, so we just punt and don't compress motion events
  5500. unless the owning thread is the one which got the X event.
  5501. ConfigureNotify is another fun one, since it modifies the hwnd's
  5502. bounds and then enqueues the event. We add a lock to Hwnd which
  5503. is held when setting configure_pending to true (and enqueuing the
  5504. event).
  5505. There is a race wrt the wake socket. we need to make sure that
  5506. only 1 thread is waiting on that socket, or else a thread could
  5507. sleep waiting for data that never comes. It's difficult (but not
  5508. impossible) to make happen, because it seems to require something
  5509. like the following:
  5510. 1. Thread 1 polls on wake_receive
  5511. 2. poll returns saying there's data to be read on
  5512. wake_receive.
  5513. 3. Thread 2 polls on wake_receive and immediately returns
  5514. saying there's data to be read.
  5515. 4. Thread 2 reads the wakeup byte from wake_receive
  5516. 5. Thread 1 attempts to read the wakeup byte from
  5517. wake_receive.
  5518. 6. Thread 2 exits (due to a form closing, perhaps).
  5519. 7. Thread 1 blocks forever.
  5520. Fun, eh?
  5521. Fixing the Expose handling isn't done yet, and the races inherent
  5522. in that piece of code are responsible for the drawing mistakes you
  5523. see when generating expose events in a MT app (like NPlot). This
  5524. one is the likely to be the hardest to bandaid, and it doesn't
  5525. appear to cause anything but drawing problems. The other issues
  5526. caused apps to exit or hang.
  5527. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  5528. called from a different thread than the one that should be calling
  5529. these functions.
  5530. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  5531. 2006-11-15 Chris Toshok <[email protected]>
  5532. * Application.cs: null out the context's MainForm when we exit
  5533. RunLoop. Fixes a newly checked in unit test as well as the last
  5534. ODE from bug #79933.
  5535. 2006-11-15 Chris Toshok <[email protected]>
  5536. * Form.cs (set_Owner): allow a null value so we can clear the
  5537. form's owner.
  5538. (Dispose): set all our owned_form's Owner properties to null, and
  5539. clear the owned_forms collection.
  5540. (WM_CLOSE): clean up this a little bit.. still not right though.
  5541. * ApplicationContext.cs: OnMainFormClosed should only call
  5542. ExitThreadCore if the main form isn't recreating. Fixes unit
  5543. test.
  5544. 2006-11-15 Jonathan Pobst <[email protected]>
  5545. [Fixes 78346]
  5546. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  5547. 2006-11-15 Jonathan Pobst <[email protected]>
  5548. [Fixes 79433]
  5549. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  5550. keep popup window types from stealing focus from the main form
  5551. on Windows.
  5552. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  5553. * MenuAPI.cs: Set above flag to true.
  5554. 2006-11-15 Chris Toshok <[email protected]>
  5555. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  5556. the button being released is not in wParam.
  5557. 2006-11-15 Jonathan Pobst <[email protected]>
  5558. * Form.cs: Add the released button to MouseEventArgs.Button
  5559. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  5560. on Win32.
  5561. 2006-11-15 Chris Toshok <[email protected]>
  5562. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  5563. GetText(). untested because it's unused in our implementation.
  5564. Control.Text always caches the text, even if
  5565. ControlStyles.CacheText is not set.
  5566. fixes bug #79939.
  5567. 2006-11-15 Chris Toshok <[email protected]>
  5568. [ fixes #79933 ]
  5569. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  5570. message. no hiding, no disposing.
  5571. in the WM_CLOSE handler, hide the form if it's modal.
  5572. 2006-11-15 Chris Toshok <[email protected]>
  5573. * XplatUIX11.cs: use AddExpose instead of sending a message.
  5574. fixes textbox border drawing.
  5575. 2006-11-15 Chris Toshok <[email protected]>
  5576. * PropertyGridView.cs: keep from crashing on mouse move/down when
  5577. the property grid is empty.
  5578. 2006-11-14 Jackson Harper <[email protected]>
  5579. * TextControl.cs: Make PageUp and PageDown more like the MS
  5580. versions.
  5581. * TextBoxBase.cs: When we set the text property position the
  5582. cursor at the beginning of the document.
  5583. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  5584. * Form.cs: if a mdi child's WindowState has changed
  5585. before it's creation, it would display wrong control
  5586. buttons.
  5587. 2006-11-14 Alexander Olk <[email protected]>
  5588. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  5589. (Fixes bug #79927)
  5590. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  5591. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  5592. the window gets to paint its borders even if the window is
  5593. getting smaller.
  5594. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  5595. otherwise the old control buttons would still be painted
  5596. if the window gets bigger.
  5597. * PaintEventArgs.cs: add an internal method so that the clip
  5598. rectangle can be changed.
  5599. 2006-11-13 Chris Toshok <[email protected]>
  5600. [ fixes bug #79745 ]
  5601. * NotifyIcon.cs: lots of cleanup.
  5602. * X11Structs.cs: add an enum for XEMBED messages.
  5603. * XplatUIX11.cs: reindent one of the giant switch statements, it
  5604. was taking up an additional tab stop, and this file is already way
  5605. too wide for my laptop's screen.
  5606. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  5607. we get it, resize the hwnd to the WMNormalHints max_width/height.
  5608. 2006-11-13 Jackson Harper <[email protected]>
  5609. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  5610. teh simple way.
  5611. 2006-11-13 Chris Toshok <[email protected]>
  5612. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  5613. #79898. force a reference to the Region to stick around so the
  5614. unmanaged object isn't collected (rendering our handle in the MSG
  5615. stale).
  5616. 2006-11-13 Chris Toshok <[email protected]>
  5617. * XplatUIX11.cs: fix #79917 for window managers which support
  5618. using XStoreName on the raw utf8, and we need to convert to
  5619. COMPOUND_TEXT if it's non-latin1.
  5620. 2006-11-13 Chris Toshok <[email protected]>
  5621. * Form.cs (set_DialogResult): we need to set closing to false if
  5622. we're setting our result to None. fixes bug #79908.
  5623. 2006-11-13 Jackson Harper <[email protected]>
  5624. * TextControl.cs: When formatting text, compute the adjusted tag
  5625. lengths correctly, using FindTag for the end tag instead of trying
  5626. to figure it out outselves.
  5627. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  5628. the item, ItemHeight doesn't work, because trees with large
  5629. imagelists use those for their height
  5630. * TreeView.cs: ActualItemHeight factors in the image height
  5631. - compute left edge of checkboxes correctly
  5632. - when expanding/collapsing move the bottom down one pixel, so we
  5633. aren't moving part of the node
  5634. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  5635. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  5636. stack in PaintEventStart so that it won't get disposed by the gc
  5637. before reaching PaintEventEnd.
  5638. 2006-11-13 Jackson Harper <[email protected]>
  5639. * TextBoxBase.cs: Don't select the word if we are on a line with
  5640. no text.
  5641. - We don't need to position the caret on mouse up, since the mouse
  5642. move handler should be doing this
  5643. - When double clicking a blank line, the caret is advanced to the
  5644. next line.
  5645. 2006-11-13 Gert Driesen <[email protected]>
  5646. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  5647. 2006-11-12 Gert Driesen <[email protected]>
  5648. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  5649. Fixes part of bug #79910.
  5650. 2006-11-11 Alexander Olk <[email protected]>
  5651. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  5652. (bug #79903). Some minor string updates to match ms.
  5653. 2006-11-10 Alexander Olk <[email protected]>
  5654. * FileDialog.cs: Don't add an extension if the filename
  5655. already ends with that extension.
  5656. 2006-11-10 Jackson Harper <[email protected]>
  5657. * TreeView.cs: Use the currently highlighted node for the
  5658. BeforeSelect event.
  5659. * TextBoxBase.cs: There is no need to expand selection on
  5660. MouseMove.
  5661. - CanUndo means 'is there any undo operations', not 'is undo
  5662. allowed on this textcontrol. Fixed ClearUndo unit test.
  5663. 2006-11-10 Andreia Gaita <[email protected]>
  5664. * Button.cs: only perform click when button is Selectable (so as
  5665. not to activate default buttons when they're disabled)
  5666. * Control.cs: Rewrite of the SelectNextControl and related
  5667. methods. HandleClick now selects next control if the current one
  5668. is being disabled.
  5669. * Form.cs: OnActivated selects next active control only if Load
  5670. has already occurred. If Load hasn't run, there's no point in
  5671. selecting here, Load might change the state of controls.
  5672. * FocusTest.cs: Tests marked as working again for these fixes
  5673. 2006-11-10 Chris Toshok <[email protected]>
  5674. * XplatUIX11.cs: a couple of fixes.
  5675. - use XInternAtoms with almost all the atoms we need to register,
  5676. instead of many, many calls to XInternAtom. should help a bit on
  5677. startup time, at the expense of making the code look a little
  5678. worse.
  5679. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  5680. isn't reparented (which seems to be a clue that we're running fon
  5681. compiz) and they have an Owner form. This fixes the tool windows
  5682. in paint.net when running under compiz.
  5683. - when setting the opacity of a window, support both the case
  5684. where the window has been reparented and also when it hasn't been.
  5685. Since compiz/beryl doesn't seem to reparent windows, and these are
  5686. the only window managers which support translucency, I'm not sure
  5687. why we need the hwnd.reparented case at all.. but leave it in.
  5688. now we get translucent windows in paint.net under compiz/beryl.
  5689. 2006-11-10 Alexander Olk <[email protected]>
  5690. * FileDialog.cs: Always return the value for FilterIndex that
  5691. was set. Internally convert it to values that make sense.
  5692. 2006-11-10 Everaldo Canuto <[email protected]>
  5693. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  5694. 2006-11-10 Everaldo Canuto <[email protected]>
  5695. * Toolbar.cs: Change default value of DropDownArrows to true, the
  5696. signature still using false to make it compatible with MS but the
  5697. initial value is true. Fixes #79855.
  5698. 2006-11-10 Alexander Olk <[email protected]>
  5699. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  5700. only available on Linux.
  5701. 2006-11-09 Everaldo Canuto <[email protected]>
  5702. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  5703. reduce number of calls to redraw method during toolbar creation.
  5704. 2006-11-09 Mike Kestner <[email protected]>
  5705. * ListView.cs : raise SelectedIndexChanged when an item is selected
  5706. programmatically via the Item.Selected property. Gert's nice
  5707. ListViewSelectedIndexChanged test fixture now runs clean.
  5708. 2006-11-09 Mike Kestner <[email protected]>
  5709. * ListView.cs : raise SelectedIndexChanged when a selected item is
  5710. removed from the item collection using Remove or RemoveAt.
  5711. 2006-11-09 Mike Kestner <[email protected]>
  5712. * ListView.cs : raise SelectedIndexChanged once per selected item
  5713. for compat with MS. Fixes #79849+.
  5714. 2006-11-09 Chris Toshok <[email protected]>
  5715. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  5716. we need to (if we have any tab pages). Fixes unit test.
  5717. 2006-11-09 Chris Toshok <[email protected]>
  5718. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  5719. width is 0, not 3. Fixes a unit test.
  5720. 2006-11-09 Mike Kestner <[email protected]>
  5721. * ListView.cs : use Implicit scrollbars so that focus isn't
  5722. stolen from the listview when they are clicked. Fixes #79850.
  5723. 2006-11-09 Chris Toshok <[email protected]>
  5724. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  5725. have a root item. Fixes #79879.
  5726. 2006-11-09 Alexander Olk <[email protected]>
  5727. * FileDialog.cs:
  5728. - Fix ToString ()
  5729. - An ArgumentException is now thrown if a wrong filter
  5730. is applied (matches ms). The previous filter doesn't change
  5731. anymore if an exception is thrown.
  5732. - Changing the FileName property also affects FileNames
  5733. * ColorDialog.cs: The length of the CustomColors array is always
  5734. 16. It doesn't matter if we use a smaller array or null to update
  5735. or change the custom colors property.
  5736. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  5737. for RootFolder if we get a undefined value.
  5738. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  5739. * StatusBarPanel.cs:
  5740. - Width is set to MinWidth if Width is smaller than
  5741. MinWidth. Fixes #79842.
  5742. - MinWidth now always overrides Width (MSDN says MinWidth
  5743. is set to Width when AutoSize = None, but they do not
  5744. behave like that).
  5745. - Style has now the the correct default value.
  5746. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  5747. * TrackBar.cs:
  5748. - The control is completely invalidated on
  5749. Got/LostFocus to draw the focus rectangle correctly.
  5750. - When AutoSize then height is always 45 (width for
  5751. vertical controls).
  5752. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  5753. on the mouse when moved and it doesn't move when grabbed
  5754. until the mouse moves as well. Also fixed some wrong
  5755. calculations when clicking on the thumb (control thought
  5756. click was outside of thumb and didn't grab it).
  5757. Fixes some of the issues in #79718.
  5758. 2006-11-08 Everaldo Canuto <[email protected]>
  5759. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  5760. 2006-11-08 Chris Toshok <[email protected]>
  5761. * PropertyGridView.cs: only call ToggleValue if the item is not
  5762. readonly.
  5763. 2006-11-08 Jackson Harper <[email protected]>
  5764. * TextBoxBase.cs: The RichTextBox and textbox have very different
  5765. word selection methods. Implement the textbox's simple word
  5766. selection here, and let the RichTextBox override and provide it's
  5767. own.
  5768. - Don't do extra selection on mouseup
  5769. * RichTextBox.cs: Use the documents word selection algorithm, I
  5770. think ideally, this function will be pulled into the
  5771. RichTextBox.cs code someday.
  5772. 2006-11-08 Chris Toshok <[email protected]>
  5773. * RootGridEntry.cs: new class to represent GridItemType.Root.
  5774. * CategoryGridEntry.cs: reformat, and add boilerplate.
  5775. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  5776. returns the UI parent anyway, and we need special handling to
  5777. implement the GetTarget method in the face of it. Also, implement
  5778. Select().
  5779. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  5780. a root grid item, and use that instead of PropertyGrid.grid_items.
  5781. Also, make use of TypeConverters (and add limitted support for
  5782. ICustomTypeDescriptors) when initially populating the grid.
  5783. Arrays now show up more or less properly.
  5784. 2006-11-08 Chris Toshok <[email protected]>
  5785. * Application.cs: set the modal dialog to non modal after we close
  5786. it. Fixes bug #79866.
  5787. 2006-11-08 Jackson Harper <[email protected]>
  5788. * TextControl.cs: When combining lines carry over the line end
  5789. style from the end line.
  5790. - Invalidate the selected area when setting it, if it is visible.
  5791. * TextBoxBase.cs: Only rich text box can do full line selects.
  5792. - Make sure to set the cursor position when there is a click,
  5793. otherwise two clicks in separate areas could cause a large chunk
  5794. to be selected.
  5795. 2006-11-07 Everaldo Canuto <[email protected]>
  5796. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  5797. Fixes #79863.
  5798. 2006-11-07 Everaldo Canuto <[email protected]>
  5799. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  5800. time. Remove tooltips when ToolButton click events. Fixes #79856.
  5801. 2006-11-07 Everaldo Canuto <[email protected]>
  5802. * MenuAPI.cs: Ignore right click for menu actions and fixes
  5803. menu border when clicked. Fixes #79846.
  5804. 2006-11-07 Everaldo Canuto <[email protected]>
  5805. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  5806. MouseState after create wParam for message, this fixes mouse button
  5807. equal none in mouse up events.
  5808. 2006-11-07 Andreia Gaita <[email protected]>
  5809. * Control.cs : Focus() now calls Select to set the Container's
  5810. Active Control and to give it focus. To avoid infinite recursion
  5811. (because ActiveControl also calls Focus at one point), a check
  5812. is made in Focus with the help of a new internal variable
  5813. is_focusing.
  5814. 2006-11-07 Mike Kestner <[email protected]>
  5815. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  5816. if there's a selection. Fixes #79849.
  5817. 2006-11-07 Gert Driesen <[email protected]>
  5818. * PropertyGrid.cs: Avoid fixed height of help description label.
  5819. Fixes part of bug #79829.
  5820. 2006-11-07 Chris Toshok <[email protected]>
  5821. * XplatUIX11.cs: fix #79790 again, by using the
  5822. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  5823. 2006-11-07 Everaldo Canuto <[email protected]>
  5824. * ToolBar.cs: Fix left click checking.
  5825. 2006-11-07 Chris Toshok <[email protected]>
  5826. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  5827. 2006-11-07 Chris Toshok <[email protected]>
  5828. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  5829. PropertyManager unit tests.
  5830. * PropertyManager.cs: make property_name internal.
  5831. 2006-11-07 Chris Toshok <[email protected]>
  5832. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  5833. pass a unit test. Also, don't set image_index to anything in
  5834. response to setting the ImageList property.
  5835. 2006-11-07 Everaldo Canuto <[email protected]>
  5836. * ToolBar.cs: Ignore click events when mouse button is not a
  5837. left button, only accepts other button for dropdown menus.
  5838. Fixes #79854.
  5839. 2006-11-07 Chris Toshok <[email protected]>
  5840. * DataGrid.cs: make the back and parent row buttons a little less
  5841. ugly.
  5842. 2006-11-07 Jackson Harper <[email protected]>
  5843. * TextBoxBase.cs: When converting to Text don't put line breaks in
  5844. for soft line breaks.
  5845. * TextControl.cs: There is an initial "fake" line in the document,
  5846. this is now a soft break line, so that an extra line feed doesn't
  5847. get added to the end of documents.
  5848. 2006-11-07 Chris Toshok <[email protected]>
  5849. [ fix bug #79778 ]
  5850. * CurrencyManager.cs: if the list is readonly, don't bother
  5851. checking if IBindingList.AllowNew is true.
  5852. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  5853. for non-DataRowView datasources.. or rather, make it not crash.
  5854. (DataGridPaintRelationRow): make sure we limit the row painting to
  5855. the area not covered by the row header, and make our cell width at
  5856. least large enough to cover the relation area. This allows grids
  5857. that have relations but no rows to render correctly.
  5858. (DataGridPaintRowContents): same type of changes here.
  5859. (SetDataSource): move back to always calling
  5860. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  5861. navigating back through relations.
  5862. (HitTest): handle the case where we have no cells but have
  5863. relations. Right now we generate a hit in cell 0 of whatever the
  5864. row is, not sure if this is strictly correct, but it works for our
  5865. purposes.
  5866. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  5867. bother doing anything.
  5868. 2006-11-07 Jonathan Pobst <[email protected]>
  5869. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  5870. early version of StatusStrip. Not responsible for eaten
  5871. application or firstborn children.
  5872. 2006-11-06 Chris Toshok <[email protected]>
  5873. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  5874. call GetTabRect with a -1 index. Fixes #79847.
  5875. 2006-11-06 Jackson Harper <[email protected]>
  5876. * TreeNodeCollection.cs: Update scrollbars after clearing.
  5877. 2006-11-06 Chris Toshok <[email protected]>
  5878. * NumericUpDown.cs: fix the ToString method for some unit test
  5879. love.
  5880. 2006-11-06 Chris Toshok <[email protected]>
  5881. * PropertyGrid.cs:
  5882. - set the initial SelectedGridItem if we can.
  5883. - Exclude non-mergable properties only if we're merging > 1
  5884. object. Merging 1 object isn't really merging, obviously.
  5885. - Handle PropertySort.NoSort just like Alphabetical, which is
  5886. wrong of course, but at least gets things on the screen.
  5887. * PropertyGridView.cs:
  5888. - Add method "FindFirstItem" which finds the first property grid
  5889. item, so we can select it by default.
  5890. - make use of GridEntry.CanResetValue.
  5891. - Don't call RedrawBelowItemOnExpansion here anymore, the
  5892. individual GridEntry's will do that.
  5893. - Remove the ITypeDescriptorContextImpl internal class.
  5894. * GridEntry.cs:
  5895. - this class needs to implement ITypeDescriptorContext, as it's
  5896. what MS's PropertyDescriptorGridEntry does, which means we can
  5897. remove the ITypeDescriptorContextImpl internal class from
  5898. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  5899. - keep a reference to our PropertyGridView, and move the call to
  5900. RedrawBelowItemOnExpansion here from PGV. This means
  5901. programmaticly setting Expanded actually does something visible.
  5902. - add a CanResetValue() function which takes into account our
  5903. possibly multiple "selected_objects" in the merged case. Shifting
  5904. PropertyGridView to use this method fixes another unreported
  5905. crasher found running the test for #79829.
  5906. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  5907. is updated to reflect this.
  5908. * CategoryGridEntry.cs: the ctor takes the PGV now.
  5909. 2006-11-06 Jackson Harper <[email protected]>
  5910. * TextControl.cs: These are 1 based.
  5911. * TextBoxBase.cs: When setting the selected text, don't change the
  5912. selected text tags, this is done by ReplaceText, just position the
  5913. cursor at the end of the new text.
  5914. 2006-11-06 Alexander Olk <[email protected]>
  5915. * ListView.cs: Allow label edit only when, when LabelEdit is
  5916. set to true.
  5917. 2006-11-06 Jackson Harper <[email protected]>
  5918. * TextControl.cs: If a suitable wrapping position isn't found,
  5919. just wrap right in the middle of a word.
  5920. 2006-11-06 Alexander Olk <[email protected]>
  5921. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  5922. bug #79820.
  5923. 2006-11-06 Jackson Harper <[email protected]>
  5924. * TreeView.cs: Can't use the VisibleCount property when setting
  5925. scrollbar heights, because this doesn't take into account whether
  5926. or not the horz scrollbar just came visible.
  5927. 2006-11-05 Everaldo Canuto <[email protected]>
  5928. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  5929. activated. Fixes #79369, #79832.
  5930. 2006-11-05 Alexander Olk <[email protected]>
  5931. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  5932. had to remove support for links that point to a directory. FileInfo
  5933. returns no usefull information (means, the directory they point to)
  5934. for such links. Replaced some empty string ("") with String.Empty.
  5935. 2006-11-04 Gert Driesen <[email protected]>
  5936. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  5937. NullReferenceException when attempting to remove node that is not in
  5938. collection. Throw NullReferenceException when null is passed to
  5939. Remove. Allow first element of the collection to be removed. Fixes
  5940. bug #79831. In GetEnumerator ().Current return null if positioned
  5941. before the first element of the collection. In GetEnumerator ().Reset,
  5942. position before first element of the collection.
  5943. 2006-11-04 Gert Driesen <[email protected]>
  5944. * PropertyGrid.cs: To match MS, remove default title and description
  5945. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  5946. buttons.
  5947. 2006-11-04 Chris Toshok <[email protected]>
  5948. * Theme.cs: add a Clamp method, just for kicks.
  5949. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  5950. 2006-11-04 Chris Toshok <[email protected]>
  5951. * Form.cs: if the form isn't visible, Close() does nothing.
  5952. 2006-11-03 Chris Toshok <[email protected]>
  5953. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  5954. Hide it.
  5955. (WndProc): don't Dispose after handling the WM_CLOSE message.
  5956. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  5957. them as such, instead of using casts from Control to Form. Also,
  5958. don't Dispose of the modal dialog when we fall out of the loop -
  5959. Close() it instead.
  5960. fixes bug #79813.
  5961. 2006-11-03 Chris Toshok <[email protected]>
  5962. * Control.cs (Dispose): only go through the dispose thing if we're
  5963. @disposing, and we haven't already been disposed. Fixes bug
  5964. #79814.
  5965. * Form.cs: no reason to call "base.Dispose()" here instead of
  5966. "Dispose()".
  5967. 2006-11-03 Mike Kestner <[email protected]>
  5968. * ComboBox.cs : use ToString instead of casts in AddItem for
  5969. sorting functionality. Fixes #79812.
  5970. 2006-11-03 Chris Toshok <[email protected]>
  5971. * Application.cs: pave the way for actually using the thread
  5972. exception dialog. it's ifdefed out at the moment.
  5973. 2006-11-03 Chris Toshok <[email protected]>
  5974. * ThreadExceptionDialog.cs: until we get a better layout, actually
  5975. hide the details textbox and label when we shouldn't see them.
  5976. 2006-11-03 Jackson Harper <[email protected]>
  5977. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  5978. multiline textboxes anymore. This method also determines the
  5979. width/height of a textboxes canvas area.
  5980. - Sorta a revert of the last patch. For multiline just position
  5981. the controls, then bail. This way the scrollbar width won't be
  5982. altered.
  5983. 2006-11-03 Everaldo Canuto <[email protected]>
  5984. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  5985. it dont need. Fixes #79537.
  5986. 2006-11-02 Jackson Harper <[email protected]>
  5987. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  5988. send the status after firing the DndOver event.
  5989. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  5990. * TrackBar.cs: Now orientation only switches height / width if
  5991. the control's handle is created (Win32 does it like this). Also
  5992. fixed a typo in ToString() for a test to pass, changed the
  5993. exception thrown in set_LargeChange and set_SmallChange to
  5994. match Win32 behaviour, and added TrackBar tests to the unit
  5995. tests.
  5996. 2006-11-02 Chris Toshok <[email protected]>
  5997. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  5998. not _NET_WM_STATE_NO_TASKBAR.
  5999. 2006-11-02 Jackson Harper <[email protected]>
  6000. * TextControl.cs: Increment count by one, since in the update view
  6001. count - 1 is used.
  6002. 2006-11-02 Jackson Harper <[email protected]>
  6003. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  6004. the mouse is in the client rectangle (duh).
  6005. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  6006. * TrackBar.cs: Fixed trackbar jumping around when clicking
  6007. on it - the trackbar was not detecting correctly at which
  6008. side of the thumb the click was done. (fixes #79718)
  6009. 2006-11-02 Everaldo Canuto <[email protected]>
  6010. * ListBox.cs: scroll visible area when change SelectedIndex to
  6011. a non visible area. Fixes #79481.
  6012. 2006-11-01 Jackson Harper <[email protected]>
  6013. * TextControl.cs: When replacing the selection move the selection
  6014. start/end/anchor to the end of the new text.
  6015. 2006-11-01 Jackson Harper <[email protected]>
  6016. * XplatUIWin32.cs: When setting the parent change the controls
  6017. visibility to it's visibility flag, not to it's old parents
  6018. visibility (.Visible walks the parent chain).
  6019. 2006-11-01 Chris Toshok <[email protected]>
  6020. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  6021. XSetTransientForHint fix breaks paint .net's tool windows. more
  6022. work needed for that one.
  6023. 2006-11-01 Chris Toshok <[email protected]>
  6024. * ScrollBar.cs: throw ArgumentException instead of Exception in
  6025. LargeChange/SmallChange setters. fixes unit tests.
  6026. 2006-10-31 Andreia Gaita <[email protected]>
  6027. * ContainerControl.cs: reverted rev.67183 (which was itself
  6028. a reversion of rev.66853... eh).
  6029. * Control.cs: Fixes Reflector hang by changing Focus() call
  6030. to what it was before rev.66643 (calling Select() here sets
  6031. ActiveControl, which in some situations calls back Focus and
  6032. eventually does a stack overflow). Temp fix.
  6033. Changes to GetNextControl() to not look for children to select when
  6034. parent cannot be selectable (so it looks for siblings instead)
  6035. 2006-10-31 Mike Kestner <[email protected]>
  6036. * CheckedListBox.cs : off by one error in returned index from
  6037. ObjectCollection.Add. Fixes #79758.
  6038. 2006-10-31 Chris Toshok <[email protected]>
  6039. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  6040. calls for the textbox/spinner, to keep from recursing to the point
  6041. where we crash. Fixes #79760.
  6042. 2006-10-31 Chris Toshok <[email protected]>
  6043. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  6044. null/"" value, just return. matches ms's behavior and fixes some
  6045. failing tests.
  6046. 2006-10-31 Chris Toshok <[email protected]>
  6047. * Control.cs (set_Capture): make a logic a little easier to
  6048. follow.
  6049. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  6050. if it's being destroyed. A necessary fix surely, but a bandaid
  6051. also, to fix the stuck capture problem in bug #78413.
  6052. 2006-10-31 Chris Toshok <[email protected]>
  6053. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  6054. convention of clearing hwnd.ClientRect when we set the
  6055. width/height (so it'll be recalculated by Hwnd).
  6056. 2006-10-31 Andreia Gaita <[email protected]>
  6057. * ContainerControl.cs: reversed Contains check from
  6058. ActiveControl due to hanging problems. This fix
  6059. partly regresses #79667 (button does not have
  6060. initial focus), so this might be a symptom for
  6061. a larger parenting problem (set_ActiveControl
  6062. is being called but the child control does
  6063. not have the parent set yet?)
  6064. 2006-10-31 Mike Kestner <[email protected]>
  6065. * MenuAPI.cs : fix keynav when menu is click activated.
  6066. 2006-10-31 Jonathan Pobst <[email protected]>
  6067. * ToolStrip*: Version 0.2.
  6068. * MenuStrip.cs: Version 0.1.
  6069. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  6070. 2006-10-30 Chris Toshok <[email protected]>
  6071. [ fixes the oversized notify icon issue in bug #79745 ]
  6072. * NotifyIcon.cs: scale the icon down to the size we're given by
  6073. the XplatUI layer (this would be faster if we did it once instead
  6074. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  6075. since it's never invoked.
  6076. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  6077. pixels high by default, so let's hardcode our systray icon to that
  6078. size. The SYSTEM_TRAY protocol should really have a way for
  6079. client apps to query for the correct icon size.. but oh well. A
  6080. couple of patches to deal with the screwy client_window ==
  6081. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  6082. instance, and also make sure we don't XSelectInput twice).
  6083. 2006-10-30 Chris Toshok <[email protected]>
  6084. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  6085. recreating forms. Control recreation is the bane of my existence.
  6086. Fix it in a way that keeps everyone happy.
  6087. 2006-10-30 Chris Toshok <[email protected]>
  6088. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  6089. just non-CHILD ones. otherwise sometimes scrollbars end up with
  6090. client_windows not being resized to the proper size (ReportBuilder
  6091. shows this extremely well).
  6092. 2006-10-30 Chris Toshok <[email protected]>
  6093. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  6094. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  6095. showing up in the gnome taskbar. Fixes bug #79790.
  6096. 2006-10-30 Chris Toshok <[email protected]>
  6097. * ApplicationContext.cs: guard against a NRE.
  6098. * Application.cs: null out the old MainForm for the context, so we
  6099. don't try to use it again once it's disposed. Fixes bug #79783.
  6100. 2006-10-30 Chris Toshok <[email protected]>
  6101. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  6102. BindingContext, set the data source directly, otherwise do the
  6103. lazy approach - the actual ListManager will be created when we get
  6104. a BindingContext. Fixes bug #79700.
  6105. 2006-10-30 Jonathan Pobst <[email protected]>
  6106. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  6107. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  6108. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  6109. 2006-10-30 Jonathan Pobst <[email protected]>
  6110. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  6111. of SetVisible that allows a window to be shown, but not activated.
  6112. This is needed on Windows for MenuStrip, and can probably be used
  6113. with MainMenu and ComboBox to fix the focus stealing issues on
  6114. Windows.
  6115. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  6116. 2006-10-30 Alexander Olk <[email protected]>
  6117. * PictureBox.cs: Fix the output of the ToString method.
  6118. 2006-10-29 Chris Toshok <[email protected]>
  6119. * Control.cs (get_TopLevelControl): fix bug #79781.
  6120. 2006-10-29 Chris Toshok <[email protected]>
  6121. * ListControl.cs (set_DataSource): throw Exception here, not
  6122. ArgumentException, to match MS behavior.
  6123. 2006-10-29 Chris Toshok <[email protected]>
  6124. * Form.cs: remove the try-catch's around calls to GetWindowState.
  6125. We can just check the return value.
  6126. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  6127. Instead return -1.
  6128. * XplatUI.cs: Add note about additional return value for
  6129. GetWindowState.
  6130. 2006-10-29 Chris Toshok <[email protected]>
  6131. * Control.cs (CreateHandle): when we create our handle, we also
  6132. create the handles of our child controls. Fixes one of the
  6133. Control unit tests (CH11).
  6134. 2006-10-28 Alexander Olk <[email protected]>
  6135. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  6136. 2006-10-28 Alexander Olk <[email protected]>
  6137. * ThemeClearlooks.cs: A little speedup.
  6138. 2006-10-27 Chris Toshok <[email protected]>
  6139. * Control.cs: implement Control.FromChildHandle in a way that
  6140. matches the docs (and fixes the failed test.)
  6141. 2006-10-27 Chris Toshok <[email protected]>
  6142. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  6143. comments).
  6144. * DataGrid.cs: implement ResetForeColor such that the tests
  6145. succeed.
  6146. 2006-10-27 Chris Toshok <[email protected]>
  6147. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  6148. being set to "". Fixes bug #79759.
  6149. 2006-10-27 Jackson Harper <[email protected]>
  6150. * TextControl.cs: We need to clear the entire selection area when
  6151. setting the start, otherwise multiline selections are still
  6152. visible.
  6153. 2006-10-26 Chris Toshok <[email protected]>
  6154. * PropertyGridView.cs:
  6155. - ifdef all the code specific to the double
  6156. buffer case, and provide some alternatives in the non-doublebuffer
  6157. code, which makes heavy use of XplatUI.ScrollWindow to move things
  6158. around without having to invalidate (and cause flicker). There
  6159. are still some drawing problems in the non-doublebuffered case, so
  6160. DOUBLEBUFFER is defined by default.
  6161. - Fix the way dropdowns are handled. now we explicitly watch for
  6162. the events which might cause the dropdown to close, and break out
  6163. of the nested event loop there. This gets rid of all Capture
  6164. code, at the expense of the Msg special casing. Seems to work,
  6165. though, and fixes bug #79743.
  6166. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  6167. * Control.cs: SetIsRecreating now recreates implicitly added
  6168. child controls as well. Finally fixes #79629. The flag passed to
  6169. SetIsRecreating has also been removed since it wasn't used.
  6170. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  6171. * PageSetupDialog.cs: Clean some code, fix some bits,
  6172. add some checks, and add a printer sub-dialog.
  6173. 2006-10-26 Chris Toshok <[email protected]>
  6174. * PropertyGrid.cs: make set_SelectedObject call
  6175. set_SelectedObjects, and move the duplicate logic to the
  6176. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  6177. * PropertyGridView.cs: hide the textbox when we get a
  6178. SelectedObjectsChanged event.
  6179. Fixes bug #79748.
  6180. 2006-10-26 Chris Toshok <[email protected]>
  6181. * PropertyGridView.cs: deal with the type converter not supporting
  6182. GetStandardValues() or GetStandardValues() returning null, which
  6183. is does in the default case. Fixes #79742.
  6184. 2006-10-25 Andreia Gaita <[email protected]>
  6185. * CheckedListBox.cs: nunit no longer crashes when selecting
  6186. Project/Edit menu option
  6187. 2006-10-25 Andreia Gaita <[email protected]>
  6188. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  6189. is no menu selected. fixes #79739
  6190. 2006-10-25 Chris Toshok <[email protected]>
  6191. * PropertyGridView.cs: factor out the splitter invalidation code
  6192. into the SplitterPercent setter, and for kicks implement the
  6193. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  6194. amount in either direction.
  6195. 2006-10-25 Chris Toshok <[email protected]>
  6196. * PropertyGridView.cs: do some cleanup of the brush used to draw
  6197. text - read only fields should be grayed out. not sure how to do
  6198. this with the textbox, though. but the textbox's should also be
  6199. readonly now at least. Also, hide/show the textbox when resizing
  6200. the control.
  6201. * CursorConverter.cs: use System.Reflection when getting the
  6202. properties of Cursors, as TypeDescriptor.GetProperties isn't
  6203. returning static properties.
  6204. 2006-10-25 Chris Toshok <[email protected]>
  6205. * PropertyGridView.cs: factor out the up/down handling, and reuse
  6206. it for page up/down. also add End/Home support.
  6207. 2006-10-25 Chris Toshok <[email protected]>
  6208. * PropertyGridView.cs:
  6209. - ensure the selected grid item is visible in the scrolled area,
  6210. fixes bug #79572.
  6211. - fix Keys.Down handling when you're on the last item in the
  6212. propertygrid.
  6213. 2006-10-25 Mike Kestner <[email protected]>
  6214. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  6215. clicks too. Fixes #79725.
  6216. 2006-10-24 Chris Toshok <[email protected]>
  6217. * PropertyGrid.cs: use property.Converter instead of
  6218. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  6219. TypeConverters declared on the property as well as on the
  6220. PropertyType. Fixes bug #79678.
  6221. 2006-10-24 Alexander Olk <[email protected]>
  6222. * MimeIcon.cs, Mime.cs:
  6223. Fallback to the default platform handler if no shared mime info
  6224. stuff exists (fixes #79693).
  6225. 2006-10-20 Andreia Gaita <[email protected]>
  6226. * ContainerControl.cs: Incorrect contains check in ActiveControl
  6227. from previous fix (duh).
  6228. 2006-10-20 Chris Toshok <[email protected]>
  6229. * PropertyGridView.cs: the dropdown should be MIN(number of items
  6230. in list, 15). Fixes #79551.
  6231. 2006-10-20 Andreia Gaita <[email protected]>
  6232. Fixes #79384, #79394, #79652, #79667
  6233. * Application.cs:
  6234. - Modal windows are now destroyed in the proper order for windows
  6235. * ContainerControl.cs:
  6236. - ActiveControl setter has more conditions on when to return:
  6237. - if we're reselecting the active control, but it actually
  6238. didn't have focus (window hidden or some such), it runs
  6239. - if the active control being selected doesn't actually
  6240. exist in the container, it returns
  6241. * Form.cs
  6242. - The ShowDialog now gets the current form as the owner when
  6243. invoking without parameters, and correctly activates the owner
  6244. when returning
  6245. * MessageBox.cs
  6246. - MessageBox now catches the Escape key to exit
  6247. 2006-10-20 Chris Toshok <[email protected]>
  6248. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  6249. most of bug #79676):
  6250. - you can navigate around the property grid with the arrow keys.
  6251. - the dropdown is sized properly when the pg has a vertical
  6252. scrollbar.
  6253. - fix the indentation for subentries, and properly select the
  6254. entire label rect.
  6255. - fix the gray bar's drawing (only draw it to the last element,
  6256. not for the height of the control. Also make sure we draw that
  6257. last horizontal grid line.
  6258. - use the same mechanism the datagrid uses wrt the editing textbox
  6259. when scrolling/resizing/etc. Namely, we hide it first, do the
  6260. operation, then show it again (if it's still visible).
  6261. - aggressively remove a lot of unnecessary refreshes (and also
  6262. calls to Invalidate(). call more limited variants, and only redraw
  6263. what we need.)
  6264. * PropertyGrid.cs:
  6265. - when we're populating the merged collection, fill in the UI
  6266. parent with either the passed in item, or the category item we
  6267. create.
  6268. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  6269. * GridItem.cs: drop some fully qualified names.
  6270. * GridEntry.cs: add a "UIParent", which is basically the parent
  6271. treenode.
  6272. * GridItemCollection.cs: add an IndexOf method.
  6273. 2006-10-20 Mike Kestner <[email protected]>
  6274. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  6275. a working win32 NC invalidation mechanism, we can't invalidate
  6276. menus. [Fixes #79705]
  6277. 2006-10-20 Mike Kestner <[email protected]>
  6278. * ListBox.cs : don't update the VScrollbar if the list is empty,
  6279. just hide it. [Fixes #79692]
  6280. 2006-10-20 Jackson Harper <[email protected]>
  6281. * RichTextBox.cs: Handle some special chars better, and don't skip
  6282. the entire group when we encounter a special char that we don't
  6283. handle correctly.
  6284. 2006-10-18 Chris Toshok <[email protected]>
  6285. * PropertyGridView.cs: address a number of issues from bug #79676,
  6286. mostly of the cosmetic variety.
  6287. - The highlight rectangle for indented items not extends all the
  6288. way to the left.
  6289. - Indented items aren't indented so much.
  6290. - the dropdown is properly sized width-wise if the pg has a
  6291. vertical scrollbar.
  6292. 2006-10-18 Chris Toshok <[email protected]>
  6293. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  6294. systray stuff is rather convoluted to begin with.
  6295. systray icons are a single window for some reason (that I haven't
  6296. figured out yet), and for them, client_window == whole_window.
  6297. Given the way the tests are structured elsewhere to determine
  6298. which paints are pending (client vs. nc), that situation will
  6299. always yield PAINT, not NCPAINT. So, if we have a pending
  6300. nc_expose and no pending expose, remove the hwnd from the paint
  6301. queue, and also set nc_expose_pending to false, to keep us from
  6302. blocking further expose's adding the hwnd to the paint queue.
  6303. phew. like i said, a rather convoluted change. Fixes the
  6304. notifyicon repaint issues in bug #79645.
  6305. 2006-10-18 Chris Toshok <[email protected]>
  6306. * Form.cs: when getting the backcolor of the form, don't get
  6307. base.BackColor, as this allows parents to influence the background
  6308. color. This breaks mdi forms. Instead, if the background_color
  6309. is empty, return the default.
  6310. 2006-10-18 Chris Toshok <[email protected]>
  6311. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  6312. to being private instead of internal static.
  6313. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  6314. crap, it wasn't working for more deeply nested controls anyway,
  6315. and we already have the is_recreating flag - use that instead.
  6316. Before calling DestroyHandle in RecreateHandle, recurse through
  6317. the control tree setting it to true. this returns the recreate
  6318. code to much of its original simplicity, while now guaranteeing we
  6319. actually recreate everything we're supposed to. This change gets
  6320. fyireporting actually showing mdi children.
  6321. 2006-10-17 Chris Toshok <[email protected]>
  6322. * Form.cs: remove some debug spew, and collapse some duplicate
  6323. code at the end of SetClientSizeCore.
  6324. * XplatUIX11.cs:
  6325. - add some more debug spew here too wrt Destroy handling.
  6326. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  6327. in Control's handling of WM_DESTROY.
  6328. - Remove the handling of zombie window DestroyNotifies from the
  6329. event loop - we don't need it. Now the only DestroyNotifies we
  6330. actually handle are ones generated by X.
  6331. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  6332. match gtk's (functioning) handling of this. This keep metacity
  6333. from leaving droppings in the form of wm borders with no window
  6334. contents all over the place.
  6335. * Control.cs:
  6336. - add a bunch of debug spew wrt control recreation.
  6337. - fix a bug where we weren't tracking Visible properly on
  6338. recreated hwnds.
  6339. - fixed the WM_PAINT double buffer handling to support re-entrant
  6340. calls (yes, i know it's gross, but it's happening to us).
  6341. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  6342. * ThemeWin32Classic.cs: changed drawing of selected days
  6343. to make them look better.
  6344. 2006-10-16 Chris Toshok <[email protected]>
  6345. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  6346. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  6347. * XplatUIX11.cs: move away from using hwnd.client_dc and
  6348. hwnd.non_client_dc and on to a stack of dc's (and in window's
  6349. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  6350. without puking or not disposing of Graphics objects.
  6351. * XplatUIOSX.cs: same.
  6352. * XplatUIWin32.cs: same.
  6353. 2006-10-03 Alexander Olk <[email protected]>
  6354. * FileDialog.cs: Don't call on_directory_changed inside
  6355. OnSelectedIndexChanged (it changes the SelectedIndex too).
  6356. Instead move it to OnSelectionChangeCommitted.
  6357. 2006-10-13 Chris Toshok <[email protected]>
  6358. * XplatUIX11.cs: more Destroy work. the current code does the
  6359. following things, in order:
  6360. 1. Enumerates all handles of all controls at or below the one
  6361. being destroyed, in pre-order. As it is doing this, it marks the
  6362. handles as zombie and clears all references to them.
  6363. 2. calls XDestroyWindow on the window passed in.
  6364. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  6365. list.
  6366. 2006-10-13 Chris Toshok <[email protected]>
  6367. * XplatUIX11.cs: set hwnd.zombie to true before calling
  6368. SendMessage (WM_DESTROY). this keeps us from marking the new
  6369. window a zombie, and also keeps us from calling sendmessage at
  6370. all.
  6371. 2006-10-13 Jackson Harper <[email protected]>
  6372. * TextControl.cs: Do not show the caret and selection at the same
  6373. time. Reduces ugliness by 35%.
  6374. 2006-10-13 Chris Toshok <[email protected]>
  6375. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  6376. zombie after we do the recursive call, so we actually do call
  6377. SendMessage on the children controls.
  6378. (GetMessage): if we find a pending paint event for a zombie hwnd,
  6379. remove the hwnd from the paint queue, or else it will always be
  6380. there (and we'll effectively loop infinitely)
  6381. 2006-10-13 Mike Kestner <[email protected]>
  6382. * MenuItem.cs : add Selected format under keynav too.
  6383. Fixes #79528.
  6384. 2006-10-13 Gert Driesen <[email protected]>
  6385. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  6386. implementation and that of MS.
  6387. 2006-10-13 Chris Toshok <[email protected]>
  6388. * Control.cs (OnInvalidated) only futz with the invalid_region if
  6389. the control is double buffered. this fixes the apparent hang in
  6390. the ListView unit tests. Someone needs to make the
  6391. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  6392. 2006-10-13 Chris Toshok <[email protected]>
  6393. * PropertyGridView.cs:
  6394. - do a little refactoring so that only one place calls
  6395. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  6396. else call that. Also make it Refresh, since there are redraw bugs
  6397. otherwise (we should take a look at that...)
  6398. - do a little more refactoring work to share the body of code
  6399. involved with the drop down. it was duplicated in the code
  6400. dealing with the listbox handling and in the code dealing with the
  6401. UITypeEditors.
  6402. - add a Capture to the dropdown form's control once it's
  6403. displayed, and add a MouseDown handler that checks to make sure
  6404. the position is inside the control. If it's not, close the
  6405. dropdown. This fixes #78190.
  6406. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  6407. if the value is different than the initial value.
  6408. 2006-10-13 Andreia Gaita <[email protected]>
  6409. * Control.cs: see #78650
  6410. - Fixed GetNextControl for several cases:
  6411. - Changed FindFlatForward to return
  6412. correct sibling control when more than one
  6413. control has same TabIndex as the currently
  6414. focused one.
  6415. - Changed FindFlatBackward to loop children
  6416. from last to first and apply same logic as in
  6417. FindFlatForward
  6418. - Changed FindControlForward to search for
  6419. children when control is not a container
  6420. but has children, or search for siblings if
  6421. control is a container...
  6422. - Changed FindControlBackward to continue
  6423. searching for child controls when hitting
  6424. Panel-like parents
  6425. - Fixed Focus method to update ActiveControl
  6426. (FocusTest.FocusSetsActive failure)
  6427. * TabControl.cs:
  6428. - Focus rectangle now refreshes when gaining
  6429. or losing focus
  6430. - Removed grab for Tab key on IsInputKey that
  6431. was keeping tab navigation from working (#78650)
  6432. 2006-10-13 Chris Toshok <[email protected]>
  6433. * PropertyGridView.cs:
  6434. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  6435. SelectedObjects.
  6436. - Deal with GridItem.Value == null a few places.
  6437. * PropertyGrid.cs:
  6438. - replace the PopulateGridItemCollection with a pair of methods
  6439. which compute the intersection of all the properties in the
  6440. SelectedObjects array. Fixes #79615.
  6441. - Throw ArgumentException from set_SelectedObjects if there's a
  6442. null in the array.
  6443. - Add GetTarget method which can be used to traverse up the
  6444. GridItem.Parent chain. It depends on the assumption that
  6445. selected_objects for different GridEntries are always in the same
  6446. order (a safe assumption). Use this method and loop over all the
  6447. selected objects in the entry when calling RemoveValueChanged and
  6448. AddValueChanged.
  6449. * GridEntry.cs: Make this handle multiple selected objects.
  6450. .Value returns null if not all the selected objects share the same
  6451. value.
  6452. 2006-10-12 Jonathan Pobst <[email protected]>
  6453. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  6454. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  6455. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  6456. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  6457. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  6458. add additional functionality.
  6459. 2006-10-12 Mike Kestner <[email protected]>
  6460. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  6461. * HelpProvider.cs : new ToolTipWindow ctor sig.
  6462. * ToolTip.cs : remove ToolTip param from Window sig since it is
  6463. not used.
  6464. * ToolBar.cs : add tooltip support. Fixes #79565.
  6465. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  6466. * ComboBox.cs: move the events in set_SelectedIndex to
  6467. after the call to HighlightIndex in order to avoid
  6468. possible recursion and subsequent problems with the call
  6469. to HighlightIndex and include a range check in
  6470. set_HighlightIndex. Fixes #79588
  6471. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  6472. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  6473. to ui thread's settings instead of sunday.
  6474. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  6475. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  6476. * DateTimePicker.cs
  6477. * MonthCalendar.cs
  6478. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  6479. and implement missing functionality (selecting different parts
  6480. of the date and edit them individually with the keyboard).
  6481. 2006-10-11 Chris Toshok <[email protected]>
  6482. * Control.cs (OnInvalidated): fix NRE relating to last change.
  6483. 2006-10-11 Chris Toshok <[email protected]>
  6484. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  6485. atoms in _NET_WM_STATE here if the window is maximized. We need
  6486. to do this because we're *replacing* the existing _NET_WM_STATE
  6487. property, so those atoms will be lost otherwise, and any further
  6488. call to GetWindowState will return Normal for a window which is
  6489. actually maximized. Fixes #79338.
  6490. 2006-10-11 Jackson Harper <[email protected]>
  6491. * TextControl.cs: Special case for setting selection end to
  6492. selection start, we basically kill the anchor.
  6493. - some todo comments.
  6494. 2006-10-11 Chris Toshok <[email protected]>
  6495. * Control.cs: switch to using an "invalid_region" to track which
  6496. parts of the image buffer need updating. This is more code than
  6497. the simple fix from r66532. That version just attempted to always
  6498. fill the entire buffer on redraw, which turns out to be
  6499. inefficient when invalidating small rectangles. This version
  6500. simply adds the invalid rectangle to the invalid region. When we
  6501. get any WM_PAINT message we see if it can be filled using the
  6502. image buffer, and if it can't (if the paint event's clip rectangle
  6503. is visible in the invalid region) we first fill the image buffer.
  6504. So, the image buffer is still a cache, we just fill it lazily.
  6505. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  6506. need it any longer.
  6507. 2006-10-11 Chris Toshok <[email protected]>
  6508. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  6509. well as size after calling XMoveResizeWindow. This keeps us from
  6510. ignoring future SetWindowPos calls. Fixes the disappearing
  6511. DateTimePicker in the ToolBarDockExample from bug #72499.
  6512. 2006-10-11 Chris Toshok <[email protected]>
  6513. * TextBoxBase.cs: reorder things a bit when it comes to
  6514. resizing-causing-recalculation. we were recalculating the
  6515. document when our position was changed, which shouldn't happen.
  6516. We only care about size changes. Clear up some more redundant
  6517. recalculation calls while I'm at it. This makes the toolbar dock
  6518. example snappy when you're just dragging toolbars around (since it
  6519. causes a relayout whenever you move one.)
  6520. 2006-10-11 Chris Toshok <[email protected]>
  6521. * ToolBarButton.cs (get_Rectangle): this only returns
  6522. Rectangle.Empty if Visible == false, or Parent == null.
  6523. Parent.Visible doesn't matter.
  6524. 2006-10-10 Chris Toshok <[email protected]>
  6525. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  6526. by .net 1.1, so switch to an internal method instead.
  6527. 2006-10-10 Chris Toshok <[email protected]>
  6528. * Control.cs (WM_PAINT): when a control is double buffered we draw
  6529. initially to the ImageBuffer and then copy from there. But when a
  6530. parent control which has child controls is double buffered, the
  6531. initial drawing doesn't encompass the entire ClientRectangle of
  6532. the parent control, so we end up with uninitialized bits (this is
  6533. easily seen by dragging the top toolbar in
  6534. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  6535. manually set the ClipRectangle of the paint_event (only the one we
  6536. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  6537. of the nastiness in bug #72499.
  6538. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  6539. which we use in Control.cs's WM_PAINT handling.
  6540. 2006-10-10 Jackson Harper <[email protected]>
  6541. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  6542. 2006-10-10 Chris Toshok <[email protected]>
  6543. * Cursor.cs: Apply a slightly different patch to the one suggested
  6544. in #79609.
  6545. 2006-10-10 Jackson Harper <[email protected]>
  6546. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  6547. not the parent form.
  6548. * TextControl.cs: use difference in old line count vs new count to
  6549. calculate how many lines were added, this takes into account soft
  6550. line breaks properly.
  6551. 2006-10-10 Chris Toshok <[email protected]>
  6552. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  6553. rectangle located at 0,0 and the size of the text. Use
  6554. ClientRectangle instead. This fixes rendering of non-left aligned
  6555. link labels.
  6556. 2006-10-10 Jackson Harper <[email protected]>
  6557. * TextBoxBase.cs: When we set the selection start position the
  6558. caret.
  6559. * TextControl.cs: Need to update the caret when we decrement it to
  6560. zero.
  6561. - Make sure that the selection_visible flag gets reset to false if
  6562. the selection isn't visible. Before this you could get it set to
  6563. visible by changing the selection start, then changing the end to
  6564. equal the start.
  6565. 2006-10-09 Jackson Harper <[email protected]>
  6566. * TreeView.cs: Don't update scrollbars when we aren't visible.
  6567. * TreeNodeCollection.cs: Only need to update scrollbars if being
  6568. added to an expanded visible node or the root node.
  6569. 2006-10-09 Chris Toshok <[email protected]>
  6570. * XplatUIX11.cs (SendMessage): fix NRE.
  6571. 2006-10-09 Jackson Harper <[email protected]>
  6572. * TextBoxBase.cs: Implement horizontal autoscrolling.
  6573. * TextControl.cs: Add a movement types that allows moving forward
  6574. and backwards without wrapping.
  6575. 2006-10-09 Mike Kestner <[email protected]>
  6576. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  6577. with focus "expansion" of labels. Fixes #79532 and then some.
  6578. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  6579. when wrapping.
  6580. 2006-10-09 Jackson Harper <[email protected]>
  6581. * TextBoxBase.cs: Set the default max values to MaxValue since
  6582. we use the scrollbar for autoscrolling and the default value is
  6583. 100. If we don't do this the caret won't keep up with typing
  6584. after about 18 characters.
  6585. * TextControl.cs: Make sure the selection is offset by the
  6586. viewport x. This fixes selection when using auto scrolling.
  6587. 2006-10-07 Andreia Gaita <[email protected]>
  6588. * Form.cs: The active control should be selected after the
  6589. OnLoad so that any child control initialization that affects
  6590. the selection is done. Fixes #79406
  6591. 2006-10-06 Chris Toshok <[email protected]>
  6592. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  6593. to have no evil effects.
  6594. - Stop selecting StructureNotifyMask on non-toplevel windows.
  6595. The only way children should be resized is by using the SWF api,
  6596. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  6597. Toplevel windows can be interacted with via the window manager,
  6598. and so we keep the input mask there.
  6599. The other event StructureNotifyMask gives us (that we care
  6600. about) is DestroyNotify. The code is already structured such
  6601. that it assumes we won't be getting a DestroyNotify event for
  6602. the window we pass to XDestroyWindow (which is what
  6603. StructureNotifyMask is supposed to guarantee.) So, that code
  6604. shouldn't be affected by this either.
  6605. - Stop selecting VisibilityChangeMask altogether.
  6606. We weren't doing anything with the resulting events anyway.
  6607. This vastly reduces the number of X requests and events we see
  6608. when resizing/laying out a large ui.
  6609. 2006-10-06 Chris Toshok <[email protected]>
  6610. * ScrollableControl.cs (DisplayRectangle): we need to take into
  6611. account the DockPadding regardless of whether or not auto_scroll
  6612. == true. rework this slightly to this effect, and fix bug #79606,
  6613. and part of #72499 (you can now see the drag handles and drag
  6614. toolbars around).
  6615. 2006-10-06 Gert Driesen <[email protected]>
  6616. * ListViewItem.cs: Collections of selected and checked items are now
  6617. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  6618. we mark the collection "dirty".
  6619. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  6620. to only clear SelectedItems when a new item is selected and MultiSelect
  6621. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  6622. event of ListViewItemCollection, and mark its list dirty whenever
  6623. that event is fire. This allows us to return selected/checked items
  6624. in the same order as they are in the Items collection. This matches
  6625. the MS behavior.
  6626. 2006-10-06 Chris Toshok <[email protected]>
  6627. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  6628. right mouse clicks. Fixes bug #79593.
  6629. 2006-10-06 Chris Toshok <[email protected]>
  6630. * Splitter.cs: doh, fix splitters that don't want to cancel the
  6631. movement when you drag them. Also, impose the limits on the
  6632. values we send to the SplitterMovingEvent. Fixes #79598.
  6633. 2006-10-06 Jackson Harper <[email protected]>
  6634. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  6635. since we use this for auto scrolling also.
  6636. 2006-10-05 Chris Toshok <[email protected]>
  6637. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  6638. beginning to think that most datagrid column types don't need this
  6639. method. Fixes bug #79392.
  6640. 2006-10-05 Chris Toshok <[email protected]>
  6641. * DataGrid.cs: move back to a more lazy scheme for creating the
  6642. CurrencyManager, so we aren't updating it every time you set
  6643. either DataSource or DataMember. Also, don't call
  6644. RecreateDataGridRows if the currency manager hasn't changed.
  6645. 2006-10-05 Chris Toshok <[email protected]>
  6646. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  6647. emitted, SelectedIndex should already be updated. Fixes bug
  6648. #78929.
  6649. 2006-10-05 Jonathan Pobst <[email protected]>
  6650. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  6651. ToolStripTextBox.cs: Initial commit.
  6652. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  6653. 2006-10-05 Jackson Harper <[email protected]>
  6654. * TabControl.cs: We need to invalidate the tab control area when
  6655. new ones are added (duh).
  6656. 2006-10-03 Chris Toshok <[email protected]>
  6657. * Form.cs (ProcessDialogKey): if the focused control is in this
  6658. form and is a button, call its PerformClick method here. Fixes
  6659. #79534.
  6660. 2006-10-04 Jackson Harper <[email protected]>
  6661. * TabPage.cs: Ignore setting of Visible, and add an internal
  6662. method for setting the controls visibility. TabPage's Visible
  6663. property is a little strange on MS, this seems to make us
  6664. compatible, and fixes cases where people set all the tab pages to
  6665. visible.
  6666. * TabControl.cs: Use the new internal setting on tab pages
  6667. visibility.
  6668. 2006-10-03 Mike Kestner <[email protected]>
  6669. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  6670. 2006-10-03 Mike Kestner <[email protected]>
  6671. * ListView.cs : use is_visible instead of Visible to check if
  6672. scrollbars should be placed/sized. Also some max_wrap_width
  6673. love for LargeIcon view. [Fixes #79533]
  6674. 2006-10-03 Atsushi Enomoto <[email protected]>
  6675. * TextControl.cs :
  6676. Make set_TextAlign() do actually update the align. Fixed #78403.
  6677. 2006-10-03 Chris Toshok <[email protected]>
  6678. * DataGrid.cs: fix a crash when switching datasources if the
  6679. vertical scrollbar is at someplace other than Value = 0. Also,
  6680. reduce the number of recalculation passes we do in SetDataSource
  6681. from 2 to 1.
  6682. 2006-10-03 Jackson Harper <[email protected]>
  6683. * TextBoxBase.cs: Move the if value the same bail check up, we
  6684. don't want to empty the document if it is already empty, this
  6685. seems to severly mess up the caret. TODO: I should probably fix
  6686. the empty statement to update teh caret somehow.
  6687. 2006-10-03 Chris Toshok <[email protected]>
  6688. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  6689. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  6690. reflection, an internal row type, properties on said type, etc.)
  6691. will work with our datagrid. Fixes #79531.
  6692. 2006-10-03 Alexander Olk <[email protected]>
  6693. * FileDialog.cs: Don't crash if a path is not accessible
  6694. (System.UnauthorizedAccessException). Fixes #79569.
  6695. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  6696. a ':' too. Return unknown icon for those paths/files.
  6697. 2006-10-03 Sebastien Pouliot <[email protected]>
  6698. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  6699. GetContainerControl returns null.
  6700. 2006-10-02 Chris Toshok <[email protected]>
  6701. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  6702. call to XGetWindowAttributes instead of "handle". fixes an X
  6703. error using notifyicon after the NotifyIconWindow to Form base
  6704. class switch.
  6705. 2006-10-02 Chris Toshok <[email protected]>
  6706. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  6707. server grab and looping we need to do to get down to the most
  6708. deeply nested child window.
  6709. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  6710. QueryPointer again after the WarpPointer so we can generate a
  6711. proper (fake) MotionNotify event to be enqueued in the destination
  6712. window's queue.
  6713. (GetCursorPos): call QueryPointer.
  6714. Fixes #79556.
  6715. 2006-10-02 Jackson Harper <[email protected]>
  6716. * NotifyIcon.cs: Derive the notify icon from a form, so things
  6717. like FindForm work on it.
  6718. - Swallow the WM_CONTEXTMENU message, since that is generated on
  6719. mouse down, and context menu is a mouse up kinda guy. I believe
  6720. the correct fix here is probably to make the notify icon entirely
  6721. NC area, but this seems to work fine for anyone not manipulating
  6722. WndProc.
  6723. 2006-10-02 Jonathan Pobst <[email protected]>
  6724. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  6725. ToolStripItemCollection.cs, ToolStripLabel.cs,
  6726. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  6727. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  6728. Initial implementation.
  6729. * TextRenderer.cs: Provide padding to MeasureText.
  6730. 2006-10-02 Sebastien Pouliot <[email protected]>
  6731. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  6732. of ButtonBaseAccessibleObject. Fix bug #79552.
  6733. 2006-10-02 Jackson Harper <[email protected]>
  6734. * MdiWindowManager.cs: When maximizing use the containers client
  6735. rect, not it's bounds, so nc area is accounted correctly.
  6736. - Use the parent form's size for the menu position, since the
  6737. client isn't always the full form size.
  6738. 2006-10-01 Chris Toshok <[email protected]>
  6739. * ScrollableControl.cs: make sure neither right_edge or
  6740. bottom_edge are < 0, since they're used as LargeChange for the
  6741. horiz/vert scrollbars respectively. Fixes #79539.
  6742. 2006-10-01 Chris Toshok <[email protected]>
  6743. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  6744. the xplatuix11 code can cause us to destroy/recreate our handle.
  6745. * XplatUIX11.cs
  6746. (SystrayAdd):
  6747. - this code can be invoked many times for the same Hwnd. Make
  6748. sure we only destroy the client window once (the first time this
  6749. method is called). This fixes bug #79544.
  6750. - Remove the call to the improperly bound XSync. why we had two
  6751. bindings to this, I will never know, but this call resulted in
  6752. events being discarded from the queue(!).
  6753. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  6754. not our current state but the state we wish to be in. So, 0 if
  6755. we don't want to be mapped. Change it to 1.
  6756. (SystrayRemove): The XEMBED spec makes mention of the fact that
  6757. gtk doesn't support the reparent of client windows away from the
  6758. embedder. Looking at gtksocket-x11.c seems to agree with this.
  6759. The only avenue we have for removing systray icons is to destroy
  6760. them. We don't want the handle to go away for good, though, so
  6761. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  6762. #79545.
  6763. 2006-10-01 Chris Toshok <[email protected]>
  6764. * Form.cs (WndProc): inline the native_enabled variable usage into
  6765. the cases in which it's used. Fixes #79536.
  6766. 2006-09-29 Mike Kestner <[email protected]>
  6767. * ListView.cs : toggle the selection state for ctrl clicks in
  6768. multiselect mode. [Fixes #79417]
  6769. 2006-09-29 Mike Kestner <[email protected]>
  6770. * ListView.cs : kill CanMultiSelect and refactor the selection
  6771. code to support multiselection in the absence of mod keys. Steal
  6772. arrow/home/end keys by overriding InternalPreProcessMessage to
  6773. restore regressed keynav behavior.
  6774. [Fixes #79416]
  6775. 2006-09-29 Jackson Harper <[email protected]>
  6776. * MdiClient.cs: Repaint the titlebars when the active window is
  6777. changed.
  6778. 2006-09-29 Chris Toshok <[email protected]>
  6779. * Application.cs: when entering a runloop with a modal, make sure
  6780. the hwnd is enabled. Fixes #79480.
  6781. 2006-09-29 Chris Toshok <[email protected]>
  6782. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  6783. when ListManager.CanAddRows == false, bump us back one.
  6784. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  6785. listmanager.CanAddRows check. This makes ArrayLists uneditable
  6786. using a datagrid, which is not right.
  6787. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  6788. is an IEditable, but call property_descriptor.SetValue regardless.
  6789. fixes #79435.
  6790. 2006-09-29 Chris Toshok <[email protected]>
  6791. * DataGridBoolColumn.cs: we need to test equality in the face of
  6792. possible null values (as is the case with the default NullValue).
  6793. This patch keeps us from crashing in that case.
  6794. 2006-09-29 Jackson Harper <[email protected]>
  6795. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  6796. here, since it will get called for every node collection in the
  6797. tree. This is now done in the treeview once the sorting is
  6798. finished.
  6799. * TreeView.cs: Recalculate the visible order, and update the
  6800. scrollbars after sorting, set the top nope to the root so that the
  6801. recalc actually works.
  6802. 2006-09-29 Chris Toshok <[email protected]>
  6803. * LinkLabel.cs: more handling of the default link collection in
  6804. the face of LinkArea manipulation. The default link collection
  6805. contains 1 element (start=0,length=-1). If the user sets LinkArea
  6806. to anything and the links collection is the default, clear it.
  6807. Then only add the link if its nonempty. Fixes #79518.
  6808. 2006-09-29 Chris Toshok <[email protected]>
  6809. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  6810. piece correctly when we hit a '\n'. Fixes #79517.
  6811. 2006-09-29 Chris Toshok <[email protected]>
  6812. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  6813. change the binding of gdk_init_check to take two IntPtr's, and
  6814. pass IntPtr.Zero for both of them. Fixes #79520.
  6815. 2006-09-29 Mike Kestner <[email protected]>
  6816. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  6817. [Fixes #78779]
  6818. 2006-09-28 Jackson Harper <[email protected]>
  6819. * XplatUIX11.cs: When translating NC messages make sure we go from
  6820. whole window to screen, not client window to screen.
  6821. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  6822. method doesn't exist
  6823. - Skip over controls that aren't forms when arranging.
  6824. 2006-09-28 Jackson Harper <[email protected]>
  6825. * XplatUIWin32.cs: Clip the rect to the parent window.
  6826. * XplatUIStructs.cs: Add clipping modes struct.
  6827. * InternalWindowManager.cs: New private method that factors title
  6828. bar heights in when calculating the pos of an NC mouse message.
  6829. - Use SendMessage to force a paint when the form's size is changed
  6830. instead of painting the decorations immediately.
  6831. - Don't let the NC button click messages get to DefWndProc,
  6832. because they will attempt to handle windowing themself, and this
  6833. messes up z-order (it will put them in front of the scrollbars).
  6834. * XplatUIX11.cs: Make sure that we don't reset window managers if
  6835. we already have one (ie the window is an MDI window).
  6836. 2006-09-28 Chris Toshok <[email protected]>
  6837. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  6838. menu code really needs going over.
  6839. 2006-09-27 Chris Toshok <[email protected]>
  6840. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  6841. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  6842. window is maximizable. So, we need to make sure that even if we
  6843. clear the border/wm frame of those functions, they're still
  6844. available (basically, we remove the decoration without removing
  6845. the function). Half the fix for #79338.
  6846. 2006-09-27 Chris Toshok <[email protected]>
  6847. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  6848. Fixes bug #79515.
  6849. 2006-09-27 Chris Toshok <[email protected]>
  6850. * Splitter.cs: reorder things a bit so that we don't actually
  6851. draw/move the splitter until after calling OnSplitterMoving. This
  6852. lets users cancel/disallow the movement by explicitly setting
  6853. event.SplitX/SplitY. Fixes #79372.
  6854. 2006-09-27 Jackson Harper <[email protected]>
  6855. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  6856. because it is most likely on a window being destroyed, and that
  6857. will give us an X11 error.
  6858. 2006-09-27 Chris Toshok <[email protected]>
  6859. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  6860. the dropdown button now toggles between showing and hiding the
  6861. dropdown. Also, get rid of dropdown_form_showing and just use
  6862. dropdown_form.Visible. We still don't do a grab, but I'll leave
  6863. that part to someone who has handled Capture-fu before.
  6864. 2006-09-27 Chris Toshok <[email protected]>
  6865. * DataGrid.cs: return false if alt isn't pressed when '0' is
  6866. pressed. this keeps the '0' key from being swallowed, and fixes
  6867. bug #79350.
  6868. 2006-09-27 Chris Toshok <[email protected]>
  6869. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  6870. Calling Refresh (in response to a scrollbar event) screws up the
  6871. scrollbar painting. Fixes bug #78923.
  6872. 2006-09-27 Chris Toshok <[email protected]>
  6873. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  6874. then insert into hashtable" blocks threadsafe.
  6875. 2006-09-27 Chris Toshok <[email protected]>
  6876. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  6877. baseclass's, since otherwise the
  6878. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  6879. effect. This gets the close button back in messageboxes.
  6880. 2006-09-27 Chris Toshok <[email protected]>
  6881. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  6882. flag, not just != 0. this makes flags that are actually multiple
  6883. bits (like WS_CAPTION) work. fixes bug #79508.
  6884. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  6885. * PageSetupDialog.cs: add support for getting and settings the
  6886. paper size, source and orientation.
  6887. 2006-09-26 Chris Toshok <[email protected]>
  6888. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  6889. and caption == "", we need to remove the resize handles as well as
  6890. the title bar.
  6891. * Control.cs (set_Text): turns out that setting Text on a form
  6892. should change the WM styles on the window, since if ControlBox ==
  6893. false, the only way to get a window border is to have a non-""
  6894. Text property. check winforms/forms/text.cs for an example. so,
  6895. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  6896. update both window styles and title. This fixes a lot of dialogs
  6897. (including the preferences dialog in MonoCalendar.)
  6898. 2006-09-26 Chris Toshok <[email protected]>
  6899. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  6900. control isn't a Form), call Win32ShowWindow to hide the window,
  6901. but don't update the control Visible property. When we reparent
  6902. back to a parent control, call SetVisible in order for the
  6903. window's visibility to be reinstated.
  6904. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  6905. the FosterParent.
  6906. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  6907. call for good, since it breaks MonoCalendar (and other things I'm
  6908. sure.) Also, set all_controls to null *after* the owner calls,
  6909. which end up regenerating it.
  6910. (ChangeParent): allow new_parent to be == null, passing
  6911. IntPtr.Zero down to XplatUI.
  6912. this fixes #79294 the right way.
  6913. 2006-09-26 Mike Kestner <[email protected]>
  6914. * GridEntry.cs : internal SetParent method.
  6915. * PropertyGrid.cs : attach to property changed on the proper
  6916. target if we have a hierarchical grid with subobjects. Setup
  6917. GridItem.Parent for hierarchical items.
  6918. * PropertyGridView.cs : Set value on the correct target for
  6919. hierarchical grids. [Fixes #78903]
  6920. 2006-09-26 Chris Toshok <[email protected]>
  6921. * Control.cs (ChildNeedsRecreating): this should return true if
  6922. either we're being recreated and the child is in our list, or our
  6923. parent is waiting for our recreation.
  6924. 2006-09-26 Chris Toshok <[email protected]>
  6925. * Control.cs (ControlCollection.Remove): reinstate the
  6926. value.Hide() call as suggested in bug #79294.
  6927. 2006-09-26 Sebastien Pouliot <[email protected]>
  6928. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  6929. coordinates (versus a relative move).
  6930. 2006-09-26 Chris Toshok <[email protected]>
  6931. * Control.cs: rework child recreation a little bit. It turns out
  6932. that we race between the DestroyNotify the WM_DESTROY message. If
  6933. the parent gets its DestroyNotify before the child gets the
  6934. WM_DESTROY message, the child ends up not recreating (since the
  6935. parent finishes its recreation on DestroyNotify, and the child
  6936. checks ParentIsRecreating.)
  6937. So, instead we store off a list of all the child controls which
  6938. need to be recreated when the parent control starts to recreate
  6939. itself. Then, when child controls get their WM_DESTROY message we
  6940. check to see if they're in the parent's pending recreation list,
  6941. and if so, we recreate. This removes all dependency on ordering
  6942. from the code and fixes the initial MonoCalendar upgrade dialog.
  6943. 2006-09-26 Jackson Harper <[email protected]>
  6944. * TextControl.cs: Use the Line to get the length of the line,
  6945. since soft line breaks can change the end line.
  6946. 2006-09-26 Chris Toshok <[email protected]>
  6947. * Control.cs (ControlCollection.AddImplicit): don't add the
  6948. control again if it's already in one of our lists. This keeps us
  6949. from adding controls over and over again for comboboxes when their
  6950. handle gets recreated (as the combobox adds implicit controls in
  6951. OnHandleCreated). Fixes the X11 errors in bug #79480.
  6952. 2006-09-26 Jackson Harper <[email protected]>
  6953. * TextControl.cs: When deleting characters make sure that any
  6954. orphaned zero lengthed tags get deleted.
  6955. - Fix ToString for zero lengthed tags.
  6956. 2006-09-25 Jackson Harper <[email protected]>
  6957. * TextControl.cs: When getting a tag at the location there can be
  6958. multiple tags at the same spot, these are 0-lengthed tags that
  6959. appear when extra formatting has been stuck in a location. We
  6960. need to pull out the last of these 0 lengthed tags.
  6961. 2006-09-25 Jackson Harper <[email protected]>
  6962. * TextControl.cs: Fix print out in debug method.
  6963. * TextBoxBase.cs: When text is set bail if we are setting to the
  6964. previous value.
  6965. 2006-09-24 Alexander Olk <[email protected]>
  6966. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  6967. It is now possible to change the selected index in a FontXXXListBox
  6968. with the up and down arrow keys from the FontXXXTextBoxes.
  6969. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  6970. FontXXXListBoxes to match ms.
  6971. 2006-09-22 Sebastien Pouliot <[email protected]>
  6972. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  6973. anyone can dispose it, anytime. All other properties returns enums,
  6974. structs or basic types so they don't need such tricks.
  6975. 2006-09-22 Jackson Harper <[email protected]>
  6976. * XplatUI.cs:
  6977. * XplatUIWin32.cs:
  6978. * Clipboard.cs:
  6979. * DataFormats.cs:
  6980. * XplatUIOSX.cs:
  6981. * XplatUIDriver.cs: Update interface to add a primary selection
  6982. flag, so the driver can use the primary selection buffer if
  6983. needed.
  6984. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  6985. * RichTextBox.cs: We need to supply the data object to paste now
  6986. (so we can choose to supply CLIPBOARD or PRIMARY).
  6987. * TextBoxBase.cs: Supply data object to paste (see above).
  6988. - Middle click uses the primary selection data object.
  6989. 2006-09-21 Chris Toshok <[email protected]>
  6990. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  6991. of SetWMStyles. It's still a rat's nest and is largely
  6992. order-dependent which I dislike immensely. This also fixes the X
  6993. button disappearing from toplevel forms.
  6994. 2006-09-21 Mike Kestner <[email protected]>
  6995. * ListBox.cs: move Jordi's click/dblclick raising code to the
  6996. mouse up handler.
  6997. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  6998. * ListBox.cs: Fixes 79450
  6999. 2006-09-21 Mike Kestner <[email protected]>
  7000. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  7001. to deal with people updating the TreeNodeCollection after the tree
  7002. is disposed. "Fixes" 79330.
  7003. 2006-09-20 Jackson Harper <[email protected]>
  7004. * TextControl.cs: Push the cursor record onto the undo stack
  7005. before the delete action. This fixes 78651.
  7006. 2006-09-20 Jonathan Chambers <[email protected]>
  7007. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  7008. CreateParams. Fixes 79329.
  7009. 2006-09-19 Chris Toshok <[email protected]>
  7010. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  7011. things up a bit. First, get rid of the NetAtoms array (and the NA
  7012. enum), and just embed the atoms as static fields. Also, add a
  7013. couple of functions (StyleSet and ExStyleSet) to clean up all the
  7014. bitmask testing of styles.
  7015. * X11Structs.cs: remove the NA enum, not needed anymore.
  7016. 2006-09-19 Chris Toshok <[email protected]>
  7017. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  7018. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  7019. added cleanup to get MessageBox titles appearing again, which were
  7020. broken by my earlier fix for caption-less/ControlBox-less windows.
  7021. 2006-09-18 Jonathan Pobst <[email protected]>
  7022. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  7023. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  7024. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  7025. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  7026. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  7027. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  7028. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  7029. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  7030. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  7031. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  7032. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  7033. Inital import.
  7034. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  7035. ToolStripButton.cs: Stubs needed for above.
  7036. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  7037. 2006-09-15 Chris Toshok <[email protected]>
  7038. * XplatUIX11.cs:
  7039. - make the MessageQueues hashtable Synchronized.
  7040. - SendMessage: if the Hwnd is owned by a different thread, use the
  7041. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  7042. thread. Fixes bug #79201.
  7043. 2006-09-15 Chris Toshok <[email protected]>
  7044. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  7045. ControlBox == false, we disallow maximize/minimize/close. If the
  7046. form Caption is "" we also disallow move (and get rid of the Title
  7047. decoration). Unfortunately, regardless of how things are set,
  7048. we're stuck with the Title and WM menu.
  7049. 2006-09-15 Chris Toshok <[email protected]>
  7050. * Application.cs: add locking around the static message_filters
  7051. ArrayList, part of #79196.
  7052. 2006-09-15 Chris Toshok <[email protected]>
  7053. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  7054. Form.ControlBox == false, the window has no titlebar nor resize
  7055. handles. fixes bug #79368.
  7056. 2006-09-15 Chris Toshok <[email protected]>
  7057. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  7058. >= 0. Fixes bug #79370.
  7059. 2006-09-15 Jonathan Pobst <[email protected]>
  7060. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  7061. * Control.cs:
  7062. Add properties: LayoutEngine, Margin, DefaultMargin.
  7063. Add method: GetPreferredSize.
  7064. Move layout logic from PerformLayout to layout engines.
  7065. 2006-09-13 Chris Toshok <[email protected]>
  7066. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  7067. fix for #79326 broke #78718, so this change addresses that.
  7068. - in SendWMDestroyMessages remove the call to
  7069. CleanupCachedWindows, since we might be recreating the control and
  7070. need to maintain the references to right Hwnd handles. Also, set
  7071. the zombie flag to true for each of the children in the hierarchy
  7072. instead of calling hwnd.Dispose. This will cause GetMessage to
  7073. ignore all events for the window except for DestroyNotify.
  7074. - In GetMessage, ignore messages except for DestroyNotify for
  7075. zombie hwnds.
  7076. * Control.cs: revert the is_recreating fix from the last
  7077. ChangeLog. It's definitely "right", but it breaks switching from
  7078. an MDI form to a non-MDI form. Will need to revisit that.
  7079. * Hwnd.cs: add a zombie flag, which means "the
  7080. client_window/whole_window handles are invalid, but we're waiting
  7081. for the DestroyNotify event to come in for them". Set the flag to
  7082. false explicitly if setting WholeWindow/ClientWindow, and also
  7083. when Disposing.
  7084. 2006-09-13 Chris Toshok <[email protected]>
  7085. * XplatUIX11.cs: rework window destruction slightly.
  7086. - when destroying the windows associated with a control, we don't
  7087. need 2 separate XDestroyWindow calls. Just the one for the
  7088. whole_window (or for client_window if whole_window is somehow
  7089. IntPtr.Zero -- can this happen?) is enough.
  7090. - reworked SendWMDestroyMessages slightly, so we always dispose
  7091. the child control hwnd's after sending the messages.
  7092. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  7093. the two places it was used (one was even using hwnd.Handle and the
  7094. other hwnd.client_window. ugh), adding another call in
  7095. SendWMDestroyMessages. We need this new call because now the
  7096. DestroyNotify events in the queue will be ignored for the child
  7097. controls (as their hwnd's were disposed, and the window id's
  7098. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  7099. - this fixes bug #79326.
  7100. 2006-09-13 Chris Toshok <[email protected]>
  7101. * Control.cs: don't always set is_recreating to false at the end
  7102. of RecreateHandle, since sometimes we're not done (and won't be
  7103. until WndProc handles the WM_DESTROY message). Also, set
  7104. is_recreating to false in the WM_DESTROY handling code. Part of
  7105. the fix for bug #79326.
  7106. 2006-09-13 Miguel de Icaza <[email protected]>
  7107. * X11DesktopColors.cs: Start the droppage of debugging messages.
  7108. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  7109. 2006-09-13 Jonathan Pobst <[email protected]>
  7110. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  7111. 2006-09-12 Chris Toshok <[email protected]>
  7112. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  7113. to create it using SetDataSource. Fixes bug #79151.
  7114. 2006-09-11 Chris Toshok <[email protected]>
  7115. * XEventQueue.cs: add a DispatchIdle property.
  7116. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  7117. either the queue is null, or the queue has DispatchIdle set to
  7118. true.
  7119. (DoEvents): set queue.DispatchIdle to false around the
  7120. peek/translate/dispatch message loop in this method. This keeps
  7121. Application.Doevents from emitting idle events. Part of the fix
  7122. for #78823.
  7123. 2006-09-11 Chris Toshok <[email protected]>
  7124. * DataGrid.cs (set_DataSource): make this work for both the
  7125. winforms/datagrid test and ReportBuilder. It seems as though when
  7126. we've created a ListManager (or maybe it's if we have a
  7127. BindingContext?), when we set the DataSource it clears the
  7128. DataMember to "". otherwise we reuse the datamember. Fixes bug
  7129. #79333.
  7130. 2006-09-11 Chris Toshok <[email protected]>
  7131. * XplatUIX11.cs: deal with queue being null, which happens in all
  7132. the Clipboard functions. Fixes one of the two problems mentioned
  7133. in #78612.
  7134. 2006-09-11 Chris Toshok <[email protected]>
  7135. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  7136. button on various spots (including outside the menu) works closer
  7137. to MS, and doesn't crash. Fixes #79343.
  7138. 2006-09-11 Gert Driesen <[email protected]>
  7139. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  7140. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  7141. and the internal comparer is set. When a new ListViewItemSorter is set,
  7142. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  7143. was specified. No further processing is necessary if SortOrder is set
  7144. to it's current value. If Sorting is modified to None, and View is
  7145. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  7146. (either custom or our internal ItemComparer) to null, on 1.0 profile
  7147. only set item_sorter to null if its our internal IComparer. If Sorting
  7148. is modified to Ascending or Descending, then use our internal IComparer
  7149. if none is set, and if the current IComparer is our internal one then:
  7150. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  7151. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  7152. Enum.IsDefined to verify whether a valid View value is specified in
  7153. its setter. Automatically sort listview items when listview is
  7154. created. In Sort, do nothing if ListView is not yet created, or if
  7155. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  7156. to None or ListViewItemSorter was set to null). Added Sort overload
  7157. taking a bool to indicate whether the ListView should be redrawn when
  7158. items are sorted (we use this in ListViewItemCollection to avoid double
  7159. redraws). Modified our internal IComparer to take the sort order into
  7160. account. In Add and AddRange methods of ListViewItemCollection, also
  7161. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  7162. view), but use overload with noredraw option to avoid double redraw.
  7163. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  7164. true when View is Tile, and do the same when attempting to set View to
  7165. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  7166. for selected/checked indices, as it involves overhead when sorting is
  7167. done while these collections are not used all that often. Instead
  7168. we'll build the indices on demand. Modified IList implementation of
  7169. CheckedIndexCollection to use public methods if object is int.
  7170. Modified CheckedListViewItemCollection to hide checked items if
  7171. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  7172. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  7173. IList implementation in SelectedIndexCollection to use public methods
  7174. if object is int. Modified SelectedListViewItemCollection to hide
  7175. selected items if listview is not yet created.
  7176. * ListViewItem.cs: CheckedIndices list no longer needs to be
  7177. maintained separately (see ListView changes). Also clone font, fixes
  7178. test failure.
  7179. 2006-09-11 Mike Kestner <[email protected]>
  7180. * ComboBox.cs: if we are updating the contents of the currently
  7181. selected index, refresh the control or the textbox selection.
  7182. [Fixes #79066]
  7183. 2006-09-11 Mike Kestner <[email protected]>
  7184. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  7185. the 'specified' logic has been moved there. This seems like a bug
  7186. in Control.cs, since our current SetBoundsCore completely ignores
  7187. the specified parameter. Peter's commit seems to indicate that is
  7188. the way the MS control implementation works. [Fixes #79325]
  7189. 2006-09-10 Jonathan Chambers <[email protected]>
  7190. * XplatUI.cs: Set default_class_name to be composed
  7191. of current domain id. This allows MWF to be loaded in multiple
  7192. domains on Win32.
  7193. 2006-09-09 Miguel de Icaza <[email protected]>
  7194. * X11Keyboard.cs: If we are unable to obtain the input method, do
  7195. not call CreateXic to create the input context. Should fix
  7196. #78944/79276.
  7197. 2006-09-08 Alexander Olk <[email protected]>
  7198. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  7199. Simplified gnome support by adding more pinvokes to get the
  7200. icon for a file or mime type.
  7201. 2006-09-08 Jackson Harper <[email protected]>
  7202. * MenuAPI.cs: Deslect popup context menu items before closing the
  7203. window, so that you don't see the previously selected item
  7204. selected when you reopen the menu.
  7205. * TextControl.cs: Update the cursor position even if we don't have
  7206. focus. This fixes typing in things like the ComboBox. I'm not
  7207. totally sure we should always set the visibility if we don't have
  7208. focus, but couldn't find any corner cases where the cursor showed
  7209. up when it shouldn't.
  7210. 2006-09-08 Chris Toshok <[email protected]>
  7211. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  7212. our arrays are length 256. & 0xff before indexing. Fixes the
  7213. crash in bug #78077.
  7214. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  7215. * ThemeWin32Classic.cs:
  7216. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  7217. is true. Handle that check box too.
  7218. 2006-09-07 Chris Toshok <[email protected]>
  7219. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  7220. 79244.
  7221. 2006-09-07 Chris Toshok <[email protected]>
  7222. * Control.cs: in set_BackColor only do the work if
  7223. background_color != value.
  7224. * XplatUIX11.cs: move the clearing of invalid areas (both client
  7225. and nc) to the same block of code where we set (nc_)expose_pending
  7226. to false. That is, move it from PaintEventEnd to PaintEventStart,
  7227. so things that cause invalidates from within OnPaint will trigger
  7228. another call to OnPaint. Fixes bug #79262.
  7229. 2006-09-07 Alexander Olk <[email protected]>
  7230. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  7231. * FileDialog.cs: Fix typo
  7232. 2006-09-07 Jackson Harper <[email protected]>
  7233. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  7234. for tab pages if they have any.
  7235. 2006-09-06 Mike Kestner <[email protected]>
  7236. * Splitter.cs: use the "current" rect when finishing drag handle
  7237. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  7238. 2006-09-06 Mike Kestner <[email protected]>
  7239. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  7240. support offset splitters. [Fixes #79298]
  7241. 2006-09-06 Alexander Olk <[email protected]>
  7242. * Mime.cs: Fixed a bug that could override the global mime type
  7243. result.
  7244. 2006-09-05 Jackson Harper <[email protected]>
  7245. * TabControl.cs: Better calculation method for setting the slider
  7246. pos. Prevents crashes on really wide tabs.
  7247. - Draw Image on tab pages if an image list is used.
  7248. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  7249. * MonthCalendar.cs: When Font changes, the Size should be
  7250. updated to fit the new font's space requirements.
  7251. 2006-09-02 Alexander Olk <[email protected]>
  7252. * ListBox.cs: If the items are cleared with Items.Clear set
  7253. top_index to 0.
  7254. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  7255. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  7256. fire DateChanged event instead of DateSelected event when
  7257. the date was changed by keyboard interaction.
  7258. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  7259. * DateTimePicker.cs: Handle DateChanged for the associated
  7260. month_calendar control, and set month_calendar.Font from
  7261. OnFontChanged method, as well as resize the height of the
  7262. control when needed. Make PreferredHeight proportional.
  7263. 2006-09-01 Chris Toshok <[email protected]>
  7264. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  7265. properties.
  7266. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  7267. 2006-09-01 Peter Dennis Bartok <[email protected]>
  7268. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  7269. for decorations (Fixes #79219)
  7270. 2006-09-01 Mike Kestner <[email protected]>
  7271. * ComboBox.cs: first stab at sorting plus some selection handling
  7272. fixes to bring us more in line with MS behavior. Also switches back
  7273. to index based selection. Alternative patches for index-based
  7274. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  7275. and [email protected] on bug 78848. I assume they were similar to this
  7276. code I've had simmering in my tree forever.
  7277. [Fixes #78848]
  7278. 2006-09-01 Chris Toshok <[email protected]>
  7279. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  7280. when setting list position guard against ending up with a -1 index
  7281. (the other part of the fix for #78812). Should probably make sure
  7282. we don't need the analogous fix in the ItemDeleted case.
  7283. * DataGrid.cs:
  7284. - in SetDataSource, work around the fact that the way
  7285. OnBindingContextChanged is invoked will cause us to re-enter this
  7286. method. I'll remove the hack once I investigate
  7287. OnBindingContextChanged.
  7288. - fix the logic in set_DataSource and set_DataMember (basically
  7289. what to do if the other of the two is null.)
  7290. - in OnListManagerItemChanged, we need to take into account the
  7291. edit row when deciding whether or not to call RecreateDataGridRows
  7292. (part of the fix for #78812).
  7293. 2006-09-01 Jackson Harper <[email protected]>
  7294. * Splitter.cs: Don't do anything if there is no control to affect
  7295. (prevents us from crashing in weird tet cases).
  7296. * TreeView.cs: Bounding box for the mouse movement reverting
  7297. focus/selection back to previously selected node. This matches
  7298. MS, and makes the tree a lot more useable.
  7299. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  7300. use clipping so they are not drawn. This fixes when the control
  7301. is set to have a transparent background, or if it was over an
  7302. image.
  7303. 2006-09-01 Alexander Olk <[email protected]>
  7304. * MimeIcon.cs: Improved handling for reading default icons when
  7305. using gnome (2.16 made it necessary). Check and read svg icons
  7306. first, then 48x48 and then 32x32 icons.
  7307. 2006-08-31 Chris Toshok <[email protected]>
  7308. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  7309. visible.
  7310. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  7311. ProcessKeyPreview. Fixes part of #77806.
  7312. * DataGrid.cs: big patch.
  7313. - revert the queueing up of DataSource/DataMember if inside
  7314. BeginInit/EndInit calls. That's not the way the datagrid achieves
  7315. its delayed databinding. Instead, call SetDataSource in
  7316. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  7317. #78811.
  7318. - Also, it wasn't mentioned in #78811, but the test case exhibits
  7319. behavior that was lacking in our datagrid implementation - Columns
  7320. that have mapping names that don't exist in the datasource's
  7321. properties aren't shown. Yuck. To fix this I added the bound
  7322. field to the column style, and basically any calculation to figure
  7323. out anything about columns uses a loop to find the bound columns.
  7324. still need to investigate if I can cache an array of the bound
  7325. columns or if the indices must be the same.
  7326. - When setting CurrentCell, we no longer abort if the cell being
  7327. edited was in the add row. This fixes the other part of #77806.
  7328. - The new code also fixes #78807.
  7329. * ThemeWin32Classic.cs: perpetrate the same disgusting
  7330. column.bound field hack, and only render bound fields.
  7331. 2006-08-31 Chris Toshok <[email protected]>
  7332. * DataGridColumnStyle.cs: add bound field. this field is true if
  7333. the datasource has a property corresponding to the mapping name.
  7334. * DataGridTableStyle.cs: set the bound field on the column styles
  7335. depending on whether or not we have a column for that property.
  7336. 2006-08-31 Peter Dennis Bartok <[email protected]>
  7337. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  7338. splitter control (fixes #79228)
  7339. 2006-08-31 Chris Toshok <[email protected]>
  7340. * DataGridColumnStyle.cs: we need to delay the assignment of
  7341. property descriptor until the last possible moment due to the lazy
  7342. databinding stuff in the datagrid. Also, fix the exceptions
  7343. thrown by CheckValidDataSource to match MS.
  7344. 2006-08-31 Jackson Harper <[email protected]>
  7345. * Form.cs: When activated select the active control, if there is
  7346. no active control, we select the first control.
  7347. * XplatUIX11.cs: If there is no focus control when we get a
  7348. FocusIn event, find the toplevel form and activate it. This
  7349. occurs when you popup a window, it becomes the focus window, then
  7350. you close that window, giving focus back to the main window.
  7351. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  7352. * MonthCalendar.cs:
  7353. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  7354. as StringFormat with Center alignments in MonthCalendar,
  7355. instead of creating new ones when drawing the control.
  7356. Also, draw the month name in bold style.
  7357. 2006-08-30 Peter Dennis Bartok <[email protected]>
  7358. * Control.cs:
  7359. - PerformLayout(): It would seem MS performs the fill even if the
  7360. control is not visible (part of #79218 fix)
  7361. - ResetBackColor(): Use the setter to reset the color, to allow
  7362. overriders to catch the change.
  7363. * Form.cs:
  7364. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  7365. - CreateHandle(): dito (part of $79218 fix)
  7366. - Don't set an icon if we have a dialog
  7367. * ScrollableControl.cs:
  7368. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  7369. - ScrollIntoView(): No need to scroll if control is already visible
  7370. (resolves fixme and fixes #79218)
  7371. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  7372. * MonthCalendar.cs: Change proportions in SingleMonthSize
  7373. to match the aspect of the original control.
  7374. 2006-08-29 Alexander Olk <[email protected]>
  7375. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  7376. get updated when they get maximized.
  7377. 2006-08-29 Peter Dennis Bartok <[email protected]>
  7378. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  7379. 2006-08-29 Chris Toshok <[email protected]>
  7380. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  7381. 2006-08-29 Jackson Harper <[email protected]>
  7382. * TreeView.cs: Need to track selected node and highlighted node,
  7383. they aren't always the same thing, when the mouse is down on a
  7384. node it is hilighted, but not selected yet.
  7385. - Do the HideSelection stuff right
  7386. - Need to focus on rbutton mouse down. And redraw selection when
  7387. right click is mouse upped.
  7388. 2006-08-29 Mike Kestner <[email protected]>
  7389. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  7390. when SubItems.Count < Columns.Count. [Fixes #79167]
  7391. 2006-08-28 Peter Dennis Bartok <[email protected]>
  7392. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  7393. 2006-08-28 Peter Dennis Bartok <[email protected]>
  7394. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  7395. from X. Only send based on ConfigureNotify if we don't have the
  7396. correct location in hwnd (if the window manager moved us)
  7397. 2006-08-28 Mike Kestner <[email protected]>
  7398. * ListView.cs: remove a TODO.
  7399. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  7400. [Fixes ListView part of #79166]
  7401. 2006-08-28 Mike Kestner <[email protected]>
  7402. * ListView.cs: move wheel handler to parent since it is focused
  7403. instead of the item_control now. [Fixes #79177]
  7404. 2006-08-28 Mike Kestner <[email protected]>
  7405. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  7406. when the control is focused. [Fixes #79171]
  7407. 2006-08-28 Mike Kestner <[email protected]>
  7408. * ListView.cs: size the item and header controls for empty and
  7409. unscrollable views.
  7410. * ThemeWin32Classic.cs: draw disabled backgrounds.
  7411. [Fixes #79187]
  7412. 2006-08-28 Chris Toshok <[email protected]>
  7413. * Form.cs: remove unused "active_form" static field.
  7414. * Hwnd.cs: lock around accesses to static windows collection.
  7415. * Application.cs: lock threads in Exit ().
  7416. 2006-08-28 Chris Toshok <[email protected]>
  7417. * NativeWindow.cs: lock around accesses to window_collection.
  7418. 2006-08-28 Chris Toshok <[email protected]>
  7419. * Control.cs: err, fix this the right way, by locking on controls
  7420. when using it. not by making it synchronized.
  7421. 2006-08-28 Chris Toshok <[email protected]>
  7422. * Control.cs: make the static "controls" field synchronized, as it
  7423. gets updated from multiple threads.
  7424. 2006-08-27 Peter Dennis Bartok <[email protected]>
  7425. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  7426. Prevent other threads from exiting when calling thread sets quit state.
  7427. * XEventQueue.cs: Added PostQuitState property
  7428. 2006-08-27 Chris Toshok <[email protected]>
  7429. * AsyncMethodData.cs: add a slot for the window handle.
  7430. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  7431. window (the destination control's window, not the foster window).
  7432. * Control.cs (BeginInvokeInternal): store the window's handle in
  7433. the AsyncMethodData.
  7434. 2006-08-27 Peter Dennis Bartok <[email protected]>
  7435. * XplatUIX11.cs:
  7436. - PostQuitMessage: Removed resetting S.D display handle, we might have
  7437. another loop started after calling PostQuitMessage (Fixes #79119)
  7438. - Created destructor to reset S.D handle
  7439. 2006-08-27 Peter Dennis Bartok <[email protected]>
  7440. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  7441. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7442. * TextControl.cs (Insert): Update the caret position even if we don't
  7443. have a handle yet, just don't call the driver in that case.
  7444. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  7445. to the end of the new selection text (Fixes #79184)
  7446. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7447. * Form.cs (Activate): Only activate if the handle is created)
  7448. * Control.c:
  7449. - Mark window as invisible when it's disposed
  7450. - Check if window handle is created when setting window visible,
  7451. instead of relying just on the is_created variable
  7452. - Check if object is disposed when creating the control (Fixes #79155)
  7453. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7454. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  7455. when allowing layout again. Otherwise we re-generate the anchoring
  7456. distance to the border again and actually alter what the user wanted
  7457. This is ugly, it'd be better if we used DisplayRectangle instead of
  7458. ClientRectangle for Control.UpdateDistances, but that causes us to
  7459. have other problems (initial anchoring positons would be wrong)
  7460. (Fixes #78835)
  7461. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7462. * Control.cs:
  7463. - The size and location setters shouldn't go directly to
  7464. SetBoundsCore, but to SetBounds, which triggers layout on the
  7465. parent, then calls SetBoundsCore. (Related to fix for #78835)
  7466. - SetBounds: Moved actual location update code into this function
  7467. from SetBoundsCore, to match MS. Added call to PerformLayout if
  7468. we have a parent (to trigger resizing of anchored parents if the
  7469. child size has changed (see testcase for #78835)
  7470. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  7471. new control code
  7472. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  7473. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7474. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  7475. System.Drawing when a toplevel window gets closed; there might
  7476. be other toplevel windows belonging to the same app (Fixes #78052)
  7477. 2006-08-26 Alexander Olk <[email protected]>
  7478. * FileDialog.cs: After reading FileDialog settings from mwf_config
  7479. use Desktop prefix only if a real folder doesn't exist anymore.
  7480. * FontDialog.cs: Added char sets.
  7481. It is now possible to select the font, size or style with the
  7482. textboxes.
  7483. 2006-08-25 Kornél Pál <[email protected]>
  7484. * PrintPreviewDialog.cs: Use assembly name constants.
  7485. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7486. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  7487. scrollbar from whacking it's buttons)
  7488. 2006-08-24 Chris Toshok <[email protected]>
  7489. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  7490. in this patch (aggregating setting Left/Top/Width/Height to
  7491. setting Bounds on the scrollbars), but the crux of the fix is in
  7492. Recalculate, where we scroll by the remaining scroll_position if
  7493. we're hiding a scrollbar. The 2*$5 reward in the comment is
  7494. serious.
  7495. 2006-08-24 Jackson Harper <[email protected]>
  7496. * MdiClient.cs:
  7497. * MdiWindowManager.cs: If the form is made a non-mdi window we
  7498. need to remove the form closed event so that closing forms works
  7499. correctly.
  7500. 2006-08-24 Jackson Harper <[email protected]>
  7501. * Control.cs: Make IsRecreating internal so that the driver can
  7502. check it
  7503. - Temporarily remove the Hide when controls are removed, its
  7504. making a whole bunch of things not work because visibility isn't
  7505. getting reset elsewhere correctly
  7506. * Form.cs: Need to do a full handle recreation when the mdi parent
  7507. is set.
  7508. * XplatUIX11.cs: If we are recreating handles don't dispose the
  7509. HWNDs. What was happening is the handles were being recreated in
  7510. SendWMDestroyMessages, but then flow continued on in that method
  7511. and destroyed the new handles.
  7512. 2006-08-23 Jackson Harper <[email protected]>
  7513. * Form.cs: MdiClient is always at the back of the bus
  7514. * Control.cs: When the order of items in the collection is changed
  7515. we need to reset the all_controls array
  7516. - do the same sorta setup thats done when adding a control when a
  7517. control is set on the collection.
  7518. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7519. * TextBoxBase.cs (get_Text): Return an empty array if our document
  7520. is empty (fixes #79052)
  7521. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7522. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  7523. on WM_SYSCHAR messages (fixes #79053)
  7524. 2006-08-23 Chris Toshok <[email protected]>
  7525. * DataGrid.cs: fix flickering when scrolling vertically.
  7526. 2006-08-23 Chris Toshok <[email protected]>
  7527. * DataGrid.cs (EndEdit): only invalidate the row header when we
  7528. need to.
  7529. 2006-08-23 Chris Toshok <[email protected]>
  7530. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  7531. methods. fixes the flicker when scrolling around.
  7532. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7533. * FileDialog.cs: Making sure the control is created before we get a
  7534. chance to use it with BeginInvoke (Fixes #79096)
  7535. 2006-08-23 Chris Toshok <[email protected]>
  7536. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  7537. width to use when painting the rows.
  7538. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7539. * TextBoxBase.cs:
  7540. - Throw ArgumentException if a negative value is passed to SelectionLength
  7541. - Update the selection end if start is moved. end needs to be always
  7542. after start. (Fixes #79095)
  7543. - Track selection length; MS keeps the selection length even if start
  7544. is changed; reset on all other operations affection selection
  7545. 2006-08-22 Jackson Harper <[email protected]>
  7546. * TreeView.cs: Make sure both scrollbars get displayed and sized
  7547. correctly when the other bar is visible.
  7548. - Use the original clip rectangle for checking if the area between
  7549. the two scrollbars is visible, not the viewport adjusted clipping
  7550. rectangle.
  7551. 2006-08-22 Jackson Harper <[email protected]>
  7552. * Binding.cs: We don't use IsBinding because it requires the
  7553. control to be created, which really shouldn't be necessary just to
  7554. set a property on the control.
  7555. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  7556. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  7557. ArgumentNullReferenceException when the argument is null.
  7558. 2006-08-21 Jackson Harper <[email protected]>
  7559. * Timer.cs: Track the thread that the timer is started in (NOT
  7560. CREATED), this way messages for it will only be triggered on its
  7561. queue.
  7562. * XEventQueue.cs: Track the timers here, this makes timers per
  7563. thread, like MS.
  7564. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  7565. 2006-08-19 Chris Toshok <[email protected]>
  7566. * XplatUIX11.cs: after further communication with pdb, we get the
  7567. best of both worlds. SetZOrder working for un-Mapped windows, and
  7568. no X errors for un-mapped windows.
  7569. 2006-08-19 Chris Toshok <[email protected]>
  7570. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  7571. as it was causing pdn toolbars to not have the correct stacking.
  7572. 2006-08-18 Mike Kestner <[email protected]>
  7573. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  7574. calculation. Not sure why control should ever be setting a negative
  7575. width though. Fixes #78931.
  7576. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  7577. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  7578. null items in ObjectCollection class.
  7579. * ListBox.cs.: Likewise.
  7580. 2006-08-18 Atsushi Enomoto <[email protected]>
  7581. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  7582. as the base method in ThemeWin32Classic should work fine.
  7583. Fixed bug #78607.
  7584. 2006-08-18 Jackson Harper <[email protected]>
  7585. * Binding.cs: When validating if the value entered doesn't convert
  7586. properly reset to the old value.
  7587. * RadioButton.cs: Don't fire click when we get focus.
  7588. 2006-08-18 Jackson Harper <[email protected]>
  7589. * FileDialog.cs: Paint the selection on the directory combobox the
  7590. same way as on MS.
  7591. 2006-08-17 Jackson Harper <[email protected]>
  7592. * ErrorProvider.cs: Don't allow the error control to be selected.
  7593. * Control.cs: Don't send the SetFocus messages, the control
  7594. activation will do this, and if we do it blindly here validation
  7595. does not work.
  7596. 2006-08-17 Jackson Harper <[email protected]>
  7597. * Control.cs:
  7598. * ContainerControl.cs: Make validation events fire in the correct
  7599. order. TODO: For some reason the first validation event is not
  7600. getting fired.
  7601. 2006-08-17 Mike Kestner <[email protected]>
  7602. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  7603. 2006-08-17 Mike Kestner <[email protected]>
  7604. * ComboBox.cs : implement scroll wheel support for popped-down
  7605. state. Fixes #78945.
  7606. 2006-08-17 Jackson Harper <[email protected]>
  7607. * TreeView.cs: Specify treeview actions (old patch that didn't get
  7608. committed for some reason).
  7609. - Don't let the mouse wheel scroll us too far. Just want to make
  7610. the bottom node visible, not scroll it all the ways to the top.
  7611. 2006-08-17 Jackson Harper <[email protected]>
  7612. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  7613. 2006-08-17 Mike Kestner <[email protected]>
  7614. * ComboBox.cs : don't do mouseover selection in simple mode.
  7615. 2006-08-16 Jackson Harper <[email protected]>
  7616. * Form.cs: Fire the closing events for all the mdi child windows
  7617. when a window is closed. If the cancel args are set to true, the
  7618. main window still gets the event fired, but it doesn't not close.
  7619. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  7620. handler, instead of when the button is clicked, so cancelling the
  7621. close works correctly.
  7622. * ComboBox.cs: Send the mouse down to the scrollbar.
  7623. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  7624. * ListBox.cs: When passing 'null' to SelectedItem,
  7625. set SelectedIndex to -1, to unselect items. This is the
  7626. observed behaviour in .Net.
  7627. 2006-08-16 Peter Dennis Bartok <[email protected]>
  7628. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  7629. MS flags saying there won't be any. (fixes #78800)
  7630. * Control.cs (HandleClick): Made virtual
  7631. 2006-08-16 Atsushi Enomoto <[email protected]>
  7632. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  7633. cultures. Fixed bug #78399.
  7634. 2006-08-16 Jackson Harper <[email protected]>
  7635. * Form.cs: Use the MdiClients MdiChildren property to access
  7636. MdiChildren instead of creating the array from the child controls.
  7637. * MdiClient.cs: Maintain a separate array of the mdi children, so
  7638. that insertion order is maintained when the Z-order is changed.
  7639. 2006-08-16 Mike Kestner <[email protected]>
  7640. * ListView.cs : add an ItemComparer and default to it for sorting.
  7641. Fixes #79076, but sorting needs a complete overhaul to be compat with
  7642. MS.
  7643. 2006-08-15 Peter Dennis Bartok <[email protected]>
  7644. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  7645. 2006-08-15 Peter Dennis Bartok <[email protected]>
  7646. * Hwnd.cs (Mapped): Properly traverse the tree
  7647. 2006-08-15 Chris Toshok <[email protected]>
  7648. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  7649. pass manager.Current.GetType() to ParseData. It has to be the
  7650. property type. So, hold off doing the ParseData until we're in
  7651. SetPropertyValue where we know the type. This fixes the crash in
  7652. #78821 but the textbox is still empty.
  7653. 2006-08-15 Chris Toshok <[email protected]>
  7654. * DataGrid.cs:
  7655. - when we're scrolling, only call Edit() again if the
  7656. current cell is still unobscured. Fixes bug #78927.
  7657. - when handling mousedown on a cell, ensure the cell is visible
  7658. before calling Edit.
  7659. - remove the properties from DataGridRow, and remove the
  7660. DataGridParentRow class altogether.
  7661. 2006-08-15 Peter Dennis Bartok <[email protected]>
  7662. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  7663. fire OnTextChanged by ourselves. There's no point calling base,
  7664. we don't set the base value anywhere else. Fixes #78773.
  7665. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  7666. * ListBox.cs: Call CollectionChanged when modifying
  7667. an item from Items indexer, to update the actual items
  7668. in the list box.
  7669. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  7670. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  7671. to match .Net behaviour.
  7672. 2006-08-15 Peter Dennis Bartok <[email protected]>
  7673. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  7674. 2006-08-15 Peter Dennis Bartok <[email protected]>
  7675. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  7676. 2006-08-15 Peter Dennis Bartok <[email protected]>
  7677. * MessageBox.cs: Prevent potential NRE exception.
  7678. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  7679. 2006-08-14 Peter Dennis Bartok <[email protected]>
  7680. * MessageBox.cs: Calculate the owner of a messagebox, also make
  7681. it topmost. Fixes #78753
  7682. 2006-08-14 Chris Toshok <[email protected]>
  7683. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  7684. programmatically move windows. first, set the PPosition hint as
  7685. well as the USPosition hint. Second include some code from pdb
  7686. that sets the window type to NORMAL when we set the transient for
  7687. hint. This is because, in the absence of a window type, metacity
  7688. thinks any window with TransientFor set is a dialog, and refuses
  7689. to let us move it programmatically. fascists.
  7690. 2006-08-14 Peter Dennis Bartok <[email protected]>
  7691. * XplatUIX11.cs: When setting normal hints, take into consideration
  7692. an different hints previously set so we don't delete them (fixes #78866)
  7693. 2006-08-12 Chris Toshok <[email protected]>
  7694. * ToolBarButton.cs: make Layout return a boolean, if something to
  7695. do with the button's layout changed.
  7696. * ToolBar.cs:
  7697. - add another parameter to Redraw, @force, which all existing
  7698. calls set to true.
  7699. - make the Layout function return a boolean which is true if the
  7700. layout has actually changed. Redraw now uses this (and @force)
  7701. to determine when to invalidate. At present the only place
  7702. where @force can be false is the call from OnResize, when
  7703. background_image == null. So, resizing a toolbar when the
  7704. layout doesn't change results in no drawing.
  7705. 2006-08-12 Chris Toshok <[email protected]>
  7706. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  7707. the VScrollBar and HScrollbar reversed. oops.
  7708. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  7709. scrollbars. we were assigning them twice (once in
  7710. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  7711. therefore causing two scrollbar resizes (and redraws?) to happen
  7712. per grid resize.
  7713. 2006-08-12 Chris Toshok <[email protected]>
  7714. * ToolBarButton.cs: redraw the entire button if the theme tells us
  7715. to.
  7716. * Theme.cs: add ToolBarInvalidateEntireButton.
  7717. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  7718. buttons, just the border.
  7719. * ThemeNice.cs: redraw the entire toolbar button since we need to
  7720. draw the highlight image.
  7721. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  7722. we need to redraw the entire button (not just the border).
  7723. 2006-08-11 Peter Dennis Bartok <[email protected]>
  7724. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  7725. for vertical bars. Fixes the mismatches shown by #78513
  7726. 2006-08-11 Alexander Olk <[email protected]>
  7727. * FileDialog.cs: If a saved/remembered path doesn't exist
  7728. anymore, fall back to "Desktop".
  7729. 2006-08-11 Peter Dennis Bartok <[email protected]>
  7730. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  7731. parent. It's apparently legal to not have one
  7732. * XplatUIX11.cs:
  7733. - SetZOrder: Don't try to set Z-Order on an unmapped window
  7734. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  7735. it unless the coordinates are negative
  7736. 2006-08-10 Mike Kestner <[email protected]>
  7737. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  7738. when setting to null per msdn docs. Fixes #78854.
  7739. 2006-08-10 Chris Toshok <[email protected]>
  7740. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  7741. flickering by setting a clip rectangle on the Graphics when we
  7742. need to redraw just a particular menuitem. Also, rename "OnClick"
  7743. to "OnMouseDown" to reflect what it actually is.
  7744. * Form.cs: track the OnMouseDown change.
  7745. 2006-08-10 Peter Dennis Bartok <[email protected]>
  7746. * CommonDialog.cs: Properly inherit the CreateParams from the form
  7747. and only change what we need. Fixes #78865
  7748. 2006-08-10 Chris Toshok <[email protected]>
  7749. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  7750. flickering in flat mode (and most of the flickering in general) by
  7751. only invalidating the button border (and not the entire rectangle)
  7752. when the state changes. A couple of cases still flicker:
  7753. ToggleButtons, and the dropdown arrow case when the user mouse
  7754. ups.
  7755. 2006-08-10 Alexander Olk <[email protected]>
  7756. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  7757. for german keyboards. Numlock state shouldn't affect the behaviour
  7758. of the Del key. Fixes bug #78291.
  7759. 2006-08-10 Chris Toshok <[email protected]>
  7760. * ListControl.cs: remove the items.Clear line from BindDataItems,
  7761. as this is the first thing done by both subclasses in their
  7762. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  7763. passed -1, refresh the list. This gets databinding working when
  7764. the datasource is set on the list before the datasource is
  7765. populated (as in wf-apps/ReportBuilder.)
  7766. * ComboBox.cs: remove the argument to BindDataItems. This call
  7767. should really go away, and be initiated by the ListControl code.
  7768. * ListBox.cs: same.
  7769. 2006-08-09 Peter Dennis Bartok <[email protected]>
  7770. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  7771. if no data is in the document when the control is displayed
  7772. 2006-08-09 Peter Dennis Bartok <[email protected]>
  7773. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  7774. yes (fixes #78806)
  7775. * TextControl.cs:
  7776. - PositionCaret: Allow positioning of caret but don't call methods
  7777. requiring a handle if the window isn't created yet
  7778. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  7779. - owner_HandleCreated: Don't position the caret, just update it's
  7780. location. User might have already set a different position
  7781. 2006-08-09 Peter Dennis Bartok <[email protected]>
  7782. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  7783. windows. Screws up the returned coordinates for child windows.
  7784. Fixes #78825. I'm hoping this doesn't break something, since the
  7785. code was explicitly put in 8 months ago, but no bug was attached.
  7786. Menus still seem to work properly.
  7787. 2006-08-08 Chris Toshok <[email protected]>
  7788. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  7789. supposed to do - delay data binding until the EndInit call. Also,
  7790. make the table style collection's CollectionChangeAction.Refresh
  7791. work properly.
  7792. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  7793. (with action = Refresh) when a consituent table's MappingName is
  7794. changed.
  7795. 2006-08-08 Chris Toshok <[email protected]>
  7796. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  7797. Invalidate, since changing the text can change the size of the all
  7798. toolbar buttons.
  7799. 2006-08-08 Peter Dennis Bartok <[email protected]>
  7800. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  7801. we don't have it yet
  7802. 2006-08-08 Chris Toshok <[email protected]>
  7803. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  7804. dialog, as this causes X errors later on, since we actually
  7805. destroy the window. Instead, .Hide() it.
  7806. 2006-08-08 Peter Dennis Bartok <[email protected]>
  7807. * ComboBox.cs: Added focus reflection for popup window
  7808. * XplatUIX11.cs:
  7809. - Removed transient setting for non-app windows for now, not sure it
  7810. was needed
  7811. - Fixed logic checking if we have captions when deciding
  7812. override_redirect, WS_CAPTION is two bits and a 0 check was not
  7813. sufficient
  7814. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  7815. complicated
  7816. * Form.cs:
  7817. - AddOwnedForm: Don't just add the form to the list, call the property
  7818. to ensure the driver is informed about the ownership as well
  7819. - CreateHandle: Set the TopMost status in the driver if we have an owner
  7820. * XplatUI.cs: Fixed debug statement
  7821. 2006-08-08 Jonathan Pobst <[email protected]>
  7822. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  7823. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  7824. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  7825. TrackBarRenderer.cs: Make constructor private.
  7826. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  7827. * ProfessionalColorTable.cs: Make properties virtual.
  7828. 2006-08-06 Duncan Mak <[email protected]>
  7829. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  7830. is not changing.
  7831. 2006-08-04 Jonathan Pobst <[email protected]>
  7832. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  7833. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  7834. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  7835. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  7836. Initial import of new 2.0 classes.
  7837. 2006-08-04 Jonathan Pobst <[email protected]>
  7838. * Application.cs: Add 2.0 VisualStyles properties.
  7839. 2006-08-04 Jonathan Pobst <[email protected]>
  7840. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  7841. XplatUIX11.cs: Create property to allow access to existing private
  7842. variable "themes_enabled"
  7843. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  7844. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  7845. file size, as otherwise our class libraries fail using windows. Fixes
  7846. bug #78759.
  7847. 2006-08-04 Jackson Harper <[email protected]>
  7848. * Form.cs:
  7849. * XplatUIX11.cs: Move the toolwindow window manager creation into
  7850. the X11 driver, this way on win32 we can let windows create/handle
  7851. the toolwindows.
  7852. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  7853. * PrintDialog.cs: Remove some redundant checks, add some others,
  7854. clean some code, and move the focus to the text boxes when the
  7855. values are incorrect.
  7856. 2006-08-04 Alexander Olk <[email protected]>
  7857. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  7858. 2006-08-03 Alexander Olk <[email protected]>
  7859. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  7860. handled correctly. Fixes bug #79001.
  7861. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  7862. * PrintDialog.cs: The "Copies" numeric up down must have
  7863. set the Minimum property to 1; only if the value is bigger
  7864. than 1, activate "Collate" check box. This is the behaviour of .Net.
  7865. Also modify the Document elements only if it is not null.
  7866. 2006-08-03 Jackson Harper <[email protected]>
  7867. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  7868. length. (We have a larger array then actual node count).
  7869. 2006-08-03 Jackson Harper <[email protected]>
  7870. * ComboBox.cs: Don't show selection by default.
  7871. - The SelectAll isn't needed here, since the focus code should do
  7872. that
  7873. - DDL style lists to manual selection drawing, so when they
  7874. get/lose focus they have to invalidate.
  7875. 2006-08-03 Peter Dennis Bartok <[email protected]>
  7876. * TextBoxBase.cs: Don't always show all selections by default.
  7877. 2006-08-03 Jonathan Pobst <[email protected]>
  7878. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  7879. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  7880. Fixed various typos.
  7881. 2006-08-03 Alexander Olk <[email protected]>
  7882. * Control.cs: Removing the controls in a ControlCollection with
  7883. Clear now hides the controls as expected. Fixes bug #78804.
  7884. 2006-08-03 Jackson Harper <[email protected]>
  7885. * Control.cs: Revert previous focus patch, it breaks reflector.
  7886. 2006-08-03 Jackson Harper <[email protected]>
  7887. * ComboBox.cs: Cleanup selection and focus with the combobox.
  7888. This also eliminates some duplicated keyboard code, since now
  7889. everything is handled by the main class.
  7890. - Make list selection work on mouse up instead of down, to match
  7891. MS.
  7892. 2006-08-02 Jackson Harper <[email protected]>
  7893. * Control.cs: Setting focus needs to go through the whole
  7894. selection mechanism.
  7895. 2006-08-02 Chris Toshok <[email protected]>
  7896. * PrintPreviewDialog.cs: change MinimumSize to use
  7897. base.MinimumSize so it works.
  7898. 2006-08-02 Peter Dennis Bartok <[email protected]>
  7899. * TextControl.cs:
  7900. - UpdateCaret: Added sanity check in case caret isn't defined yet
  7901. - Line.Delete: Now updating selection and caret markers if we're
  7902. transfering a node (Properly fixes #78323)
  7903. - SetSelectionEnd: Added sanity check
  7904. * TextBoxBase.cs: Removed broken attempt to fix #78323
  7905. 2006-08-01 Chris Toshok <[email protected]>
  7906. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  7907. Close() call is handled in Form, not here.
  7908. 2006-08-01 Chris Toshok <[email protected]>
  7909. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  7910. layout/rendering.
  7911. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  7912. for sizes < 100% zoom. The code now aggressively attempts to keep
  7913. from calling document.Print (), and tries not to use the scaling
  7914. g.DrawImage whenever possible (it still does if you scale to >
  7915. 100%, since usually that involves huge images).
  7916. * PrintPreviewControl.cs: hook up the close button.
  7917. 2006-08-01 Jonathan Pobst <[email protected]>
  7918. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  7919. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  7920. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  7921. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  7922. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  7923. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  7924. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  7925. Removed [Serializable] for 2.0 Event Handlers.
  7926. 2006-07-31 Jackson Harper <[email protected]>
  7927. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  7928. * TextControl.cs: Uncomment out the body of this method.
  7929. 2006-07-31 Alexander Olk <[email protected]>
  7930. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  7931. standard cursors.
  7932. 2006-07-31 Peter Dennis Bartok <[email protected]>
  7933. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  7934. that embed TextBox and need selections visible even if textbox is not
  7935. focused to enforce that behaviour.
  7936. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  7937. selection drawing
  7938. 2006-07-31 Peter Dennis Bartok <[email protected]>
  7939. * TextControl.cs:
  7940. - Added new SetSelectionStart/SetSelectionEnd overloads
  7941. - Fixed viewport width assignment to be accurate
  7942. - Adjusted alignment line shift calculations to allow cursor on right
  7943. aligned lines to be always visible at the right border (like MS)
  7944. * TextBoxBase.cs:
  7945. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  7946. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  7947. - CalculateScrollBars: Use ViewPort size instead of window size, to
  7948. properly consider space occupied by the border and scrollbars
  7949. (Fixes #78661)
  7950. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  7951. calculations; no longer leaves artifacts
  7952. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  7953. calculation bugs (Still missing right/center align calculations)
  7954. 2006-07-31 Peter Dennis Bartok <[email protected]>
  7955. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  7956. use of both scroll rect and clip rect, as they do the same.
  7957. 2006-07-31 Peter Dennis Bartok <[email protected]>
  7958. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  7959. in the event handler (fixes #78912)
  7960. 2006-07-31 Chris Toshok <[email protected]>
  7961. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  7962. grid.ListManager.Count, since grid.ListManager might be null.
  7963. This of course begs the question "why are we drawing rows for a
  7964. grid with no list manager (and therefor no rows)?" Fixes the
  7965. crash in bug #78929.
  7966. 2006-07-31 Chris Toshok <[email protected]>
  7967. * RelatedPropertyManager.cs: Don't always chain up to the parent
  7968. ctor. instead, call SetDataSource if the parent's position is !=
  7969. -1. Fixes the crash in #78822.
  7970. 2006-07-31 Chris Toshok <[email protected]>
  7971. * DataGrid.cs (get_ListManager): use field instead of property
  7972. accessors for datasource and datamember.
  7973. (RowsCount): make internal again.
  7974. (OnMouseDown): end edits before resizing columns/rows.
  7975. (OnMouseUp): restart edits after resizing columns/rows.
  7976. 2006-07-30 Peter Dennis Bartok <[email protected]>
  7977. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  7978. This fixes the situation where the last set cursor is displayed
  7979. whenever the mouse is over scrollbars.
  7980. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  7981. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  7982. Document properties, as well as initial values.
  7983. 2006-07-29 Peter Dennis Bartok <[email protected]>
  7984. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  7985. and ClientEdge results in a 3-pixel border, which is
  7986. wrong.
  7987. 2006-07-28 Jackson Harper <[email protected]>
  7988. * TreeNodeCollection.cs: Fix the clear method.
  7989. - Fix the Shrink also
  7990. 2006-07-27 Jackson Harper <[email protected]>
  7991. * TreeView.cs: Make sure the visible order is computed when we
  7992. attempt to size the scrollbars (for trees that mess with the
  7993. scrolling when they shouldn't.
  7994. - Make sure to give the scrollbars valid values.
  7995. 2006-07-26 Peter Dennis Bartok <[email protected]>
  7996. * XplatUIX11.cs: Move motion compression code to where it
  7997. has less performance impact
  7998. 2006-07-26 Jackson Harper <[email protected]>
  7999. * UpDownBase.cs: When the control is selected make the child
  8000. controls non selectable, so that a click on them won't do a
  8001. focus/unfocus cycle.
  8002. - Don't give focus to the text box when the spinner is selected.
  8003. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  8004. 2006-07-26 Chris Toshok <[email protected]>
  8005. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  8006. satisfied with this solution. If the bitmaps are small, we should
  8007. just cache them in the PrintPreviewDialog and draw them here.
  8008. Also, the layout is broken for the 2-up and 3-up cases.
  8009. * Theme.cs: add PrintPReviewControlPaint.
  8010. * PrintPreviewDialog.cs: first pass implementation.
  8011. * PrintPreviewControl.cs: first pass implementation. No
  8012. scrollbars yet.
  8013. * PrintDialog.cs: only validate fields if that particular portion
  8014. of the UI is enabled. Also, set the document's controller to a
  8015. PrintControllerWithStatusDialog wrapping the document's print
  8016. controller.
  8017. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  8018. bring up a SaveFileDialog (i hope we don't want to match the
  8019. behavior of the crappy windows file entry) and set the
  8020. PrinterSettings.PrintFileName accordingly.
  8021. 2006-07-26 Jackson Harper <[email protected]>
  8022. * ContainerControl.cs: Add a field that disables auto selecting
  8023. the next control in a container when the container is activated.
  8024. * UpDownBase.cs: Don't select the text box when the up down is
  8025. selected.
  8026. 2006-07-26 Peter Dennis Bartok <[email protected]>
  8027. * XEventQueue.cs: Added methods for peeking (used for compression
  8028. of successive events)
  8029. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  8030. mouse move events (fixes #78732)
  8031. 2006-07-25 Jackson Harper <[email protected]>
  8032. * UpDownBase.cs: Use an internal class for the textbox so that we
  8033. can control focus. the updown control should always have focus,
  8034. if either the text area or the buttons are clicked.
  8035. - Send the key messages to the textbox, since it never actually
  8036. has focus
  8037. - Activate and decativate the textbox caret.
  8038. 2006-07-24 Jackson Harper <[email protected]>
  8039. * Control.cs: Use the directed select when selecting a control,
  8040. this way the container controls override will get called and the
  8041. whole ActiveControl chain will get triggered. TODO: probably need
  8042. to make sure this gets done everywhere instead of the old
  8043. Select(Control).
  8044. * ContainerControl.cs: Implement the directed Select method to
  8045. find and activate the correct child control.
  8046. 2006-07-22 Mike Kestner <[email protected]>
  8047. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  8048. menu handling code so that clicks without a grab work too.
  8049. [Fixes #78914]
  8050. 2006-07-22 Alexander Olk <[email protected]>
  8051. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  8052. Added some small optimizations.
  8053. 2006-07-21 Matt Hargett <[email protected]>
  8054. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  8055. 2006-07-21 Peter Dennis Bartok <[email protected]>
  8056. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  8057. tests pass and match MS in some strange border cases.
  8058. 2006-07-21 Chris Toshok <[email protected]>
  8059. * ThemeWin32Classic.cs: handle drawing of the relation links and
  8060. parent row buttons.
  8061. * Theme.cs: change args to DataGridPaintParentRow.
  8062. * DataGrid.cs: Don't use controls for the relation links and
  8063. parent buttons, so we have to handle all their interactions in
  8064. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  8065. when we're navigating through child tables, so we can reinstate
  8066. selection, expanded state, current cell, etc.
  8067. 2006-07-20 Chris Toshok <[email protected]>
  8068. * ToolBar.cs: When we redraw a button, for whatever reason,
  8069. there's no reason to redraw the entire toolbar. Also, don't call
  8070. Control.Refresh from within Redraw, as it's much heavier than
  8071. Invalidate (which is really what we want).
  8072. 2006-07-20 Chris Toshok <[email protected]>
  8073. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  8074. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  8075. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  8076. traces from within a debug IBindingList datasource
  8077. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  8078. to work in a similar fashion.
  8079. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  8080. * ListBox.cs: Don't call Sort () when setting
  8081. the Sorted property to false (avoid an unnecessary sort).
  8082. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  8083. * ListControl.cs: DataSource should throw an ArgumentException
  8084. instead of a normal exception when the argument is not of the
  8085. correct type.
  8086. 2006-07-20 Mike Kestner <[email protected]>
  8087. * Control.cs: add InternalPreProcessMessage to allow us to steal
  8088. key events before MWF gets its paws on them. Adapted from a
  8089. suggestion by eno.
  8090. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  8091. up/down/left/right navigation. Override the new internal control
  8092. method to steal the events since they never make it to WndProc.
  8093. * ToolBarButton.cs: don't worry about pushed when setting hilight
  8094. since the drawing code prefers pushed to hilight. Invalidate on
  8095. Hilight changes. Fixes #78547 and #78525.
  8096. 2006-07-20 Peter Dennis Bartok <[email protected]>
  8097. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  8098. the canvas size. Fixes #78868
  8099. 2006-07-20 Peter Dennis Bartok <[email protected]>
  8100. * Splitter.cs: Track requested split position until first layout
  8101. is performed. Fixes #78871
  8102. 2006-07-20 Peter Dennis Bartok <[email protected]>
  8103. * Application.cs: Removed code that forces 1.x for the version
  8104. number if the version started with 0. Not sure why that code was
  8105. there and I couldn't find any bugs that indicated we needed it.
  8106. Fixes #78869
  8107. 2006-07-20 Alexander Olk <[email protected]>
  8108. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  8109. ResetDefaults(), just write some output to the console until it's
  8110. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  8111. 2006-07-19 Jonathan Chambers <[email protected]>
  8112. * PropertyGridView.cs: set StartPosition of drop down forms
  8113. so they appear in correct initial spot. Fixes #78190.
  8114. 2006-07-19 Mike Kestner <[email protected]>
  8115. * ThemeWin32Classic.cs: use parent background color when drawing
  8116. flat toolbars. Restructure the conditionals to make sure non-flat
  8117. non-Divider toolbars are filled too. Fixes #78837.
  8118. 2006-07-19 Mike Kestner <[email protected]>
  8119. * ListBox.cs: Sort on collection changes even if the handle
  8120. isn't created yet. Fixes #78813.
  8121. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  8122. * ListControl.cs: DisplayMember should never be null,
  8123. and now we assign String.Empty when null is passed to it (this
  8124. is the .Net way).
  8125. 2006-07-17 Mike Kestner <[email protected]>
  8126. * ListViewItem.cs: restructure Font and subitem Font handling
  8127. to hold a specific font and refer back to owner on null.
  8128. Fixes #78761.
  8129. 2006-07-17 Mike Kestner <[email protected]>
  8130. * ToolBar.cs: bandaid for side-effect of previous patch which was
  8131. discarding explicit heights for non-AutoSize toolbars. Need to
  8132. extend my format tester to deal with AutoSize=false. Fixes #78864.
  8133. 2006-07-15 Jackson Harper <[email protected]>
  8134. * LabelEditTextBox.cs:
  8135. * TreeView.cs: Use a new LabelEdit class for node editing, this
  8136. class automatically 'closes' itself when it gets the enter key or
  8137. loses focus.
  8138. - Use the client rectangle when setting the trees scrollbars, so
  8139. border style is taken into account.
  8140. 2006-07-14 Jackson Harper <[email protected]>
  8141. * TreeNode.cs:
  8142. * TreeView.cs: Make the editing work similar to MSs, firing the
  8143. events correctly and ending edits correctly.
  8144. 2006-07-14 Mike Kestner <[email protected]>
  8145. * ToolBarButton.cs:
  8146. * ToolBar.cs: layout restructuring and redraw enhancements to support
  8147. formatting changes gracefully, like setting TextAlign, ImageList,
  8148. ButtonSize, and Appearance. Handles explicit button sizing quirks
  8149. of the MS controls. Things like flat toolbars ignoring button size
  8150. but becoming constant sized at the largest button's size. Normal
  8151. toolbars with an image set cannot be shrunk smaller than the image,
  8152. but text can be clipped/ignored.
  8153. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  8154. is zero. Seems like DrawString should be smart enough to not put
  8155. anything on screen though. Also trim labels and ellipsize at the char
  8156. boundary, not word.
  8157. Fixes #78711 and #78483.
  8158. 2006-07-14 Alexander Olk <[email protected]>
  8159. * FolderBrowserDialog.cs: Disable "New Folder" button and
  8160. "New Folder" contextmenu menuitem if a folder like "My Computer"
  8161. is selected.
  8162. 2006-07-14 Alexander Olk <[email protected]>
  8163. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  8164. * FolderBrowserDialog.cs:
  8165. - Use MWFConfig to store and read size and position settings
  8166. - Added code to create a new folder (button or context menu).
  8167. Use TreeView labeledit to change the name of the new folder.
  8168. 2006-07-14 Jackson Harper <[email protected]>
  8169. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  8170. when the tree is scrolled we end editing.
  8171. 2006-07-14 Alexander Olk <[email protected]>
  8172. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  8173. Down arrows
  8174. 2006-07-14 Jonathan Pobst <[email protected]>
  8175. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  8176. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  8177. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  8178. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  8179. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  8180. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  8181. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  8182. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  8183. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  8184. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  8185. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  8186. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  8187. ListViewItemSelectionChangedEventHandler.cs,
  8188. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  8189. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  8190. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  8191. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  8192. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  8193. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  8194. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  8195. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  8196. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  8197. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  8198. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  8199. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  8200. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  8201. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  8202. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  8203. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  8204. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  8205. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  8206. WebBrowserNavigatingEventHandler.cs,
  8207. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  8208. 2006-07-14 Jonathan Pobst <[email protected]>
  8209. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  8210. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  8211. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  8212. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  8213. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  8214. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  8215. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  8216. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  8217. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  8218. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  8219. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  8220. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  8221. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  8222. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  8223. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  8224. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  8225. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  8226. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  8227. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  8228. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  8229. ListViewItemStates.cs, MaskFormat.cs: Added
  8230. 2006-07-13 Jonathan Chambers <[email protected]>
  8231. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  8232. Patch from eno for bug 78558.
  8233. 2006-07-13 Jackson Harper <[email protected]>
  8234. * TreeView.cs: When an edit is finished make sure that the
  8235. selected node is visible.
  8236. - When setting the top/bottom use the scrollbars is_visible, so
  8237. everything will be set correctly even if the tree isn't visible
  8238. yet.
  8239. 2006-07-13 Jackson Harper <[email protected]>
  8240. * ComboBox.cs: Revert the item->index part of my previous patch.
  8241. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  8242. the edit box has lost focus (duh).
  8243. - Just make the edit box not visible when we get return, that will
  8244. take the focus, which will call EndEdit
  8245. * TreeNode.cs When we start editing, notify the treeview.
  8246. 2006-07-12 Jackson Harper <[email protected]>
  8247. * ComboBox.cs: Clear out old items before setting the item list.
  8248. This prevents databound controls from having their items added
  8249. twice.
  8250. - Switch the combobox to use indices whereever possible instead of
  8251. using Item's. This allows usto navigate through lists that have
  8252. more then one item with the same string value (ie a, b, b, a).
  8253. - Scroll the listboxes scrollbar when a non visible item is
  8254. highlighted
  8255. - Allow keypress to cycle through all the possible values. For
  8256. example if you have b1, b2, b3 and hold down the B key all the
  8257. values will be cycled through.
  8258. 2006-07-12 Jackson Harper <[email protected]>
  8259. * TextBoxBase.cs:
  8260. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  8261. this using the internal methods.
  8262. * Control.cs: Add OnGotFocusInternal. A new method that allows
  8263. controls to "override" OnGotFocus and change focus behavior if
  8264. needed.
  8265. - Same thing for LostFocus
  8266. * ComboBox.cs: Pass off focus to the text control properly.
  8267. 2006-07-12 Alexander Olk <[email protected]>
  8268. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  8269. * FolderBrowserDialog.cs: Almost a complete rewrite.
  8270. - Better support for Environment.Specialfolders
  8271. - Added support for MWFVFS
  8272. - Made setting SelectedPath work
  8273. 2006-07-12 Jackson Harper <[email protected]>
  8274. * Control.cs: Optimze getting all the controls.
  8275. 2006-07-11 Jackson Harper <[email protected]>
  8276. * ContainerControl.cs: Override SETFOCUS in the container control,
  8277. so that it is not selected on mouse click.
  8278. 2006-07-11 Peter Dennis Bartok <[email protected]>
  8279. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  8280. Hopefully we will have a better way once all of focus is complete.
  8281. 2006-07-11 Peter Dennis Bartok <[email protected]>
  8282. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  8283. a compile error with csc.
  8284. 2006-07-11 Jackson Harper <[email protected]>
  8285. * Control.cs: When hiding a control only select the next control
  8286. if the current control was focused.
  8287. - Don't handle enter/leave when setting/killing focus, this is
  8288. done by the container control.
  8289. - Remove is_selected, it's not needed anymore.
  8290. - Add utility methods for selecting a child control, and for
  8291. firing the Enter/Leave events.
  8292. * ContainerControl.cs: When a control is activated fire the
  8293. enter/leave events.
  8294. - Don't wrap when processing the tab key, so that focus can be
  8295. moved outside of the container.
  8296. - Use the correct active control
  8297. 2006-07-11 Jackson Harper <[email protected]>
  8298. * ComboBox.cs: Remove some debug code that was blinding me.
  8299. * UpDownBase.cs: These controls actually aren't implicit, they are
  8300. visible to the user.
  8301. 2006-07-10 Chris Toshok <[email protected]>
  8302. * DataGrid.cs: move back to the is_adding boolean field. god i
  8303. hate this is_editing/is_adding/is_changing stuff.
  8304. 2006-07-10 Chris Toshok <[email protected]>
  8305. * DataGridTableStyle.cs: just check if the property type is bool.
  8306. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  8307. Don't use CanRenderType.
  8308. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  8309. if our text == NullText. Remove CanRenderType.
  8310. * DataGridBoolColumn.cs: nuke CanRenderType.
  8311. * DataGrid.cs: reenable some code to end the current edit inside
  8312. of set_CurrentCell. This fixes the other 1.1.16 regression.
  8313. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  8314. Also, remove the visible_row_count arg from CalcRowHeaders, since
  8315. we don't need to worry about the actual height of the area.
  8316. 2006-07-10 Chris Toshok <[email protected]>
  8317. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  8318. mode, just return.
  8319. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  8320. the real sense of the IsInEditOrNavigateMode property (true =
  8321. navigate, false = edit). Also, update OnKeyPress to reflect this.
  8322. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  8323. column style exists, we still need to set its property descriptor
  8324. to match up with our list manager.
  8325. 2006-07-10 Chris Toshok <[email protected]>
  8326. * ThemeWin32Classic.cs: implement the new row/header painting
  8327. approach. The parent row painting will likely go away and
  8328. replaced with label controls, but the rest seems to work ok (and
  8329. efficiently).
  8330. * Theme.cs: change the way we draw datagrid rows. we don't draw
  8331. the row headers as a block now. Instead we draw them in the
  8332. normal draw-row loop. Add some calls for drawing parent rows and
  8333. relation rows.
  8334. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  8335. a default table style. Set the defaults from ThemeEngine.Current,
  8336. not SystemColors. Fix lots of misc issues with property setters.
  8337. * DataGrid.cs: move loads of style information out of this class
  8338. as it's being duplicated with DataGridTableStyle. keep track of a
  8339. special DataGridTableStyle for the properties we used to mirror
  8340. here. Switch all the style properties to access this table style
  8341. instead of instance fields of this class. Also add a internal
  8342. class to represent parent rows (more needs to be stored here, like
  8343. the selection state from the parent table, as well as the
  8344. expansion state.) Also, for datasources with relations, do the
  8345. right thing for collapse/expand, and add support for the
  8346. navigation/parent row buttons.
  8347. Lastly, fix the crash in the 1.1.16 build.
  8348. * GridTableStylesCollection.cs: make the explicit interface
  8349. implementations call the class's methods as opposed to duplicating
  8350. them.
  8351. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  8352. 0 so the text doesn't jump around when we move the cursor.
  8353. 2006-07-10 Jackson Harper <[email protected]>
  8354. * TextBoxBase.cs:
  8355. * ListBox.cs: Match MS's ToString (this makes debugging focus
  8356. stuff infinitely easier).
  8357. 2006-07-10 Jackson Harper <[email protected]>
  8358. * Control.cs (SelectNextControl): When checking the control's
  8359. parent use this instead of ctrl.parent so that null can be passed
  8360. to SelectNextControl. (I have unit tests for this).
  8361. - Remove unused var.
  8362. 2006-07-10 Chris Toshok <[email protected]>
  8363. * CurrencyManager.cs: correct one regression, the removal of the
  8364. finalType field. Also, add a MonoTODO on CanAddRows, implement
  8365. Refresh() correctly, and fix some event emission in
  8366. ListChangedHandler.
  8367. 2006-07-07 Alexander Olk <[email protected]>
  8368. * FileDialog.cs: Don't use brackets for new folders if they exist
  8369. under *nix. Instead use -(number of existing folders +1).
  8370. 2006-07-07 Alexander Olk <[email protected]>
  8371. * FileDialog.cs:
  8372. - Fixed really nasty bug #78771
  8373. - Don't block the whole GUI when reading directories with a lot of
  8374. entries. Use an other thread instead and call BeginInvoke to
  8375. update the ListView in MWFFileView
  8376. 2006-07-07 Chris Toshok <[email protected]>
  8377. * Control.cs (Dispose): release any Capture when disposing.
  8378. 2006-07-07 Chris Toshok <[email protected]>
  8379. * LinkLabel.cs (Select): if we chain up to the parent, set
  8380. focused_index to -1 so we'll search for the first available link
  8381. the next time the user tabs into us. Also, if the direction is
  8382. backward and focused_index == -1, start the search from the last
  8383. element.
  8384. 2006-07-07 Chris Toshok <[email protected]>
  8385. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  8386. is beyond the end of the text, don't do anything.
  8387. (CreateLinkPieces): set our ControlStyles.Selectable based on
  8388. whether or not we have any links.
  8389. (Link.Invalidate): use a loop instead of foreach.
  8390. (Link.set_Start): null out owner.sorted_links so it'll be
  8391. recreated by CreateLinkPieces.
  8392. 2006-07-06 Chris Toshok <[email protected]>
  8393. * LinkLabel.cs: revert the SetStyle change.
  8394. 2006-07-06 Chris Toshok <[email protected]>
  8395. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  8396. (OnEnableChanged): s/Refresh/Invalidate
  8397. (OnGotFocus): if we have a focused index already, refocus it (so
  8398. if we mouse out/in to the window it'll focus the right link).
  8399. (OnKeyDown): move the tab handling out of here.
  8400. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  8401. when we lose focus.
  8402. (OnMouseDown): don't Capture here - Control handles it. Also,
  8403. focus the active link.
  8404. (OnMouseUp): don't deal with Capture.
  8405. (OnPaintBackgroundInternal): remove.
  8406. (OnTextAlignChanged): CreateLinkPieces before calling the
  8407. superclass's method.
  8408. (OnTextChanged): call CreateLinkPieces before calling superclass's
  8409. method.
  8410. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  8411. move around.
  8412. (Select): implement this, moving the selection between different
  8413. links, and call parent.SelectNextControl if we don't have another
  8414. link to focus in the given direction.
  8415. (CreateLinkPieces): call Invalidate instead of Refresh.
  8416. 2006-07-06 Chris Toshok <[email protected]>
  8417. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  8418. new LinkLabel internals.
  8419. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  8420. over pieces looking for active/focused/etc links. also, deal with
  8421. runs of text (and links) with embedded \n's in them, and use
  8422. MeasureCharacterRanges instead of MeasureString to figure out the
  8423. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  8424. two-step.
  8425. 2006-07-04 Jackson Harper <[email protected]>
  8426. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  8427. XKB or key auto repeat, do it manually. Without key auto repeat,
  8428. when a key is held down we get key press, key release, key press,
  8429. key release, ... with auto repeat we get key press, key press, key
  8430. press ..., and then a release when the key is actually released.
  8431. 2006-07-03 Jackson Harper <[email protected]>
  8432. * TabControl.cs:
  8433. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  8434. rules, they are always control color regardless of the background
  8435. color.
  8436. 2006-07-02 Alexander Olk <[email protected]>
  8437. * FileDialog.cs: Added internal class MWFConfig.
  8438. Removed Registry support and replaced it with support for the new
  8439. MWFConfig class. See MWFConfig comments for more information.
  8440. 2006-06-30 Alexander Olk <[email protected]>
  8441. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  8442. rectangle. Added some patches from eno from bug #78490 and fixed
  8443. the arrow position for small up and down CPDrawScrollButtons.
  8444. 2006-06-30 Jackson Harper <[email protected]>
  8445. * InternalWindowManager.cs: Remove some debug code.
  8446. * Form.cs: When an MdiParent is set to null, the window is
  8447. "detatched" and becomes a normal window.
  8448. * MdiClient.cs: Don't bring the new child form to the front until
  8449. it is activated (setting it as active does this), this makes the
  8450. previously active forms titlebar get redrawn as inactive.
  8451. 2006-06-29 Peter Dennis Bartok <[email protected]>
  8452. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  8453. with later controls
  8454. 2006-06-29 Mike Kestner <[email protected]>
  8455. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  8456. arrow in keynav state. Fixes #78682.
  8457. 2006-06-28 Atsushi Enomoto <[email protected]>
  8458. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  8459. order (fixes #78393)
  8460. 2006-06-28 Jonathan Pobst <[email protected]>
  8461. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  8462. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  8463. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  8464. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  8465. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  8466. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  8467. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  8468. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  8469. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  8470. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  8471. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  8472. values)
  8473. 2006-06-28 Mike Kestner <[email protected]>
  8474. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  8475. 2006-06-28 Atsushi Enomoto <[email protected]>
  8476. * PropertyGrid.cs,
  8477. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  8478. item lines from other area (It also makes BackColor consistent and
  8479. compatible with .NET). Fixed bug #78564.
  8480. 2006-06-28 Jonathan Chambers <[email protected]>
  8481. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  8482. Patch from Eno for #78555.
  8483. 2006-06-27 Chris Toshok <[email protected]>
  8484. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  8485. * DataGridColumnStyle.cs: same.
  8486. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  8487. * DataGridDrawingLogic.cs: nuke.
  8488. 2006-06-27 Chris Toshok <[email protected]>
  8489. * DataGridTableStyle.cs: clean up the constructors, and build the
  8490. list of child relations for this table. I have no idea if this is
  8491. where we should be doing it (it probably isn't), but since we're
  8492. already iterating over the properties..
  8493. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  8494. struct and array for keeping track of row information, similar to
  8495. what's shown in a hack on
  8496. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  8497. * Theme.cs: be consistent about the naming of DataGrid methods,
  8498. prefering ColumnWidths and RowHeights over columnsWidths and
  8499. RowsHeights.
  8500. * ThemeWin32Classic.cs: same, and also add support for variable
  8501. sized rows (and the +/- expansion icons for related rows).
  8502. 2006-06-27 Peter Dennis Bartok <[email protected]>
  8503. * TextBoxBase.cs: Applied Eno's patch from #78660
  8504. 2006-06-27 Peter Dennis Bartok <[email protected]>
  8505. * Form.cs (ScaleCore): We don't want to scale our form if it's
  8506. state is minimized or maximized, but we still need to scale our
  8507. child windows. Also, added try/finally block to ensure layout
  8508. gets reset (Fixes #78697)
  8509. 2006-06-27 Peter Dennis Bartok <[email protected]>
  8510. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  8511. 2006-06-27 Peter Dennis Bartok <[email protected]>
  8512. * Form.cs: Fixed c+p error and added check to resize form if minimum
  8513. size is bigger than current size (Fixes #78709)
  8514. 2006-06-26 Peter Dennis Bartok <[email protected]>
  8515. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  8516. 2006-06-26 Mike Kestner <[email protected]>
  8517. * ComboBox.cs: only do Keypress handling in the combo when there
  8518. are items in the collection. Fixes #78710.
  8519. 2006-06-26 Chris Toshok <[email protected]>
  8520. * Binding.cs: make this work bi-directionally. also, clear up
  8521. other mixups between Push/Pull Data (e.g. we're supposed to pull
  8522. data when validating).
  8523. * BindingManagerBase.cs: trim some fully qualified collection
  8524. types.
  8525. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  8526. 2006-06-23 Chris Toshok <[email protected]>
  8527. * PropertyManager.cs: It appears (according to the unit tests)
  8528. that PropertyManager doesn't use
  8529. PropertyDescriptor.AddValueChanged to track propery value changes
  8530. in its datasource, but uses the same scheme as Binding, where it
  8531. looks for a <Property>Changed event and binds to it.
  8532. Also, according to the docs, IsSuspended always returns false for
  8533. a property manager with a non-null datasource.
  8534. 2006-06-22 Peter Dennis Bartok <[email protected]>
  8535. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  8536. need to update the actual DialogResult. (Fixes #78613)
  8537. 2006-06-22 Peter Dennis Bartok <[email protected]>
  8538. * Form.cs (ShowDialog): Release any captures before running the
  8539. new message pump (fixes #78680)
  8540. 2006-06-22 Mike Kestner <[email protected]>
  8541. * ListView.cs: Layout column widths properly in details mode even
  8542. if HeaderStyle.None is set. Fixes #78691.
  8543. 2006-06-21 Peter Dennis Bartok <[email protected]>
  8544. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  8545. 2006-06-21 Peter Dennis Bartok <[email protected]>
  8546. * Control.cs (ContainsFocus): Using new driver method to get focused
  8547. window, instead of trying to use internal tracking var, which can
  8548. recursion issues (Fixes #78685)
  8549. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  8550. XplatUIWin32.cs: Added GetFocus method to return focused window
  8551. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  8552. * ColorDialog.cs: when the mouse button is pressed inside the color
  8553. matrix, don't let the cursor move out of it until the button is
  8554. released, which is the behavior on windows. Changed 'colours' by
  8555. 'colors' to use the same word consistently.
  8556. 2006-06-21 Chris Toshok <[email protected]>
  8557. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  8558. child relation and back, using a stack). Also, remove
  8559. GetDataSource and the code that calls it - it's not needed. Also,
  8560. track CurrencyManager.ListName's removal.
  8561. 2006-06-21 Chris Toshok <[email protected]>
  8562. * CurrencyManager.cs: push some of the original type checking from
  8563. BindingContext.CreateBindingManager to here, and remove some of
  8564. the finalType stuff. Need more tests to make sure I've got the
  8565. ListName part right, and we might need more in SetDataSource.
  8566. * PropertyManager.cs: add a ctor that takes just the datasource,
  8567. and no property name. Make SetDataSource work with a null
  8568. property_name, and make Current return the data_source if the
  8569. property descriptor is null. this makes 'string foo = "hi";
  8570. BindingContext[foo].Current' return "hi" as it should.
  8571. * RelatedCurrencyManager.cs: make this code more generic - there's
  8572. no reason the parent manager has to be CurrencyManager, and
  8573. there's no reason to pass the DataRelation. It suffices to use a
  8574. BindingManagerBase and PropetyDescriptor.
  8575. * RelatedPropertyManager.cs: make a similar change here.
  8576. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  8577. flower I knew it could be.
  8578. 2006-06-20 Chris Toshok <[email protected]>
  8579. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  8580. data in the source has changed and we need to update the control,
  8581. so s/PullData/PushData.
  8582. * CurrencyManager.cs: Refresh is meant to update the control from
  8583. data in the datasource. So, s/PullData/PushData.
  8584. * BindingContext.cs: add more ugliness (we weren't handling the
  8585. case where data_source = DataTable and data_member = column_name).
  8586. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  8587. from the perspective of the datasource. PullData pulls from the
  8588. control, PushData pushes to the control.
  8589. 2006-06-20 Chris Toshok <[email protected]>
  8590. * BindingContext.cs: rewrite the CreateBindingManager code to
  8591. handle navigation paths more or less properly. This could
  8592. definitely stand some more work, in particular to push the
  8593. recursion up to the toplevel. But that relies on fixes in other
  8594. places (System.Data comes to mind).
  8595. Also, move to a flat hashtable (and encode the twolevel nature of
  8596. the dictionary into the hash key). This lets us implement the
  8597. IEnumerable.GetEnumerator method.
  8598. * RelatedCurrencyManager.cs: new class. Update our view based on
  8599. our relation and our parent CurrencyManager's position.
  8600. * CurrencyManager.cs: split out some logic from the ctor into
  8601. SetView, so it can be called from the new RelatedCurrencyManager
  8602. subclass.
  8603. * RelatedPropertyManager.cs: new class. Update our datasource
  8604. based on the position of our parent CurrencyManager.
  8605. * PropertyManager.cs: split out some logic from the ctor into
  8606. SetDataSource, so it can be called from the new RelatedDataSource
  8607. subclass. Also, make the Current getter return the value
  8608. of the PropertyDescriptor, not the data_source.
  8609. * Binding.cs: no need to duplicate the string splitting code here.
  8610. 2006-06-19 Peter Dennis Bartok <[email protected]>
  8611. * Control.cs:
  8612. - set_Enabled: OnEnabledChanged is not called if the inherited state
  8613. of the control is not altered, even though we might be changing the
  8614. internal state of the control (#78458)
  8615. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  8616. OnEnabledChanged, to allow easy altering of any child window state
  8617. - OnEnabledChanged: Added code to enable/disable driver window state
  8618. - OnParentEnabledChanged: Instead of firing the event, call
  8619. OnEnabledChanged, which will fire the event and also a) set driver
  8620. window state and pass the enabled state to any grandchildren (#78458)
  8621. 2006-06-19 Jackson Harper <[email protected]>
  8622. * InternalWindowManager.cs: We don't set the cursor explicitly
  8623. thats done via the response to NCHITTESTs.
  8624. - Don't need to adjust for titlebar heights anymore, the
  8625. coordinates are coming in the correct coordinates now (see peters
  8626. last patch).
  8627. 2006-06-19 Peter Dennis Bartok <[email protected]>
  8628. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  8629. being translated relative to whole window, instead of client window.
  8630. That caused broken offsets on mouseclick (and caused gas for our
  8631. InternalWindowManager)
  8632. 2006-06-15 Peter Dennis Bartok <[email protected]>
  8633. * TextControl.cs:
  8634. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  8635. - Undo(): Added replay of cursor move on DeleteChars action; added
  8636. calling Undo() again if a recorded cursor move is invalid (to
  8637. ensure that some action is performed on Undo)
  8638. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  8639. 2006-06-16 Jackson Harper <[email protected]>
  8640. * MdiClient.cs: Instead of just sizing maximized windows when
  8641. there is a resize we also have to adjust the Y of minimized
  8642. windows, so they stay pinned to the bottom of the mdi container.
  8643. - Eliminate separate tracking of the active control, we can just
  8644. get this from the controls collection.
  8645. - Paint the decorations for the newly activated titlebar so we get
  8646. a pretty blue bar.
  8647. * InternalWindowManager.cs:
  8648. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  8649. even if they are a tool window.
  8650. 2006-06-15 Peter Dennis Bartok <[email protected]>
  8651. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  8652. undo buffer, these can happen when text was deleted and the cursor
  8653. was recorded first. Since we will also have a recorded cursor
  8654. after the delete this is not an issue. (Fixes #78651)
  8655. 2006-06-14 Peter Dennis Bartok <[email protected]>
  8656. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  8657. instead properly track control states internally (allows us to
  8658. remove is_selected from Control)
  8659. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  8660. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  8661. whose width is not a multiple of 8.
  8662. 2006-06-13 Jackson Harper <[email protected]>
  8663. * MdiClient.cs: Only maximize the next child if the current one
  8664. is maximized.
  8665. 2006-06-13 Chris Toshok <[email protected]>
  8666. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  8667. modified. Also, guard against grid or grid_drawing being null in
  8668. Invalidate.
  8669. * DataGrid.cs: Reformat tons of getters/setters. In the
  8670. DataMember setter, just call SetNewDataSource instead of
  8671. duplicating some of its functionality. In SetNewDataSource, don't
  8672. check ListManager for null, since the property getter creates the
  8673. object if needed.
  8674. * DataGridTableStyle.cs: don't set TableStyle or call
  8675. SetDataGridInternal on the column here, it's done in
  8676. GridColumnStylesCollection.Add.
  8677. * GridColumnStylesCollection.cs: fix all the explicit interface
  8678. implementations to just call our methods. Nuke AddInternal() and
  8679. move the body of it to Add(). Also, add a call to
  8680. column.SetDataGridInternal to Add().
  8681. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  8682. base()+duplicate code. Also, use the Format property instead of
  8683. format to generate an Invalidate ala MS. Lastly, create the
  8684. textbox here, unconditionally.
  8685. (set_Format): call Invalidate.
  8686. (get_TextBox): no need to call EnsureTextBox.
  8687. (Commit): remove the message box.
  8688. (Edit) remove the call to EnsureTextBox.
  8689. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  8690. (EnterNullValue): no need to check textbox for null.
  8691. (HideEditBox): no need to check textbox for null.
  8692. (SetDataGridInColumn): add the textbox to the grid's controls.
  8693. (EnsureTextBox): nuke.
  8694. 2006-06-13 Jackson Harper <[email protected]>
  8695. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  8696. and redraw the buttons when needed. Unhook when the window is
  8697. unmaximized.
  8698. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  8699. needs this so that it can redraw its buttons when the menu is
  8700. repainted.
  8701. * InternalWindowManager.cs:
  8702. * Form.cs: The method order has changed for DrawMaximizedButtons,
  8703. so that it can be a PaintEventHandler.
  8704. 2006-06-13 Jackson Harper <[email protected]>
  8705. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  8706. window is activated and maximized, even if it wasn't before.
  8707. - When a new window is activated repaint the decorations of the
  8708. old one, so that it no longer has the Active "look" (the blue
  8709. titlebar).
  8710. * InternalWindowManager.cs: Open up CreateButtons to base classes
  8711. so they can recreate the buttons on state changes.
  8712. - If a window is maximized give it all three buttons
  8713. * MdiWindowManager.cs: Create the titlebar buttons when the state
  8714. is changed, this is needed because a toolwindow will not have all
  8715. three buttons until it is maximized.
  8716. 2006-06-13 Atsushi Enomoto <[email protected]>
  8717. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  8718. Fixed bug #78609.
  8719. 2006-06-12 Jackson Harper <[email protected]>
  8720. * KeysConverter.cs: Make sure we handle the Ctrl special case
  8721. if its the only key.
  8722. 2006-06-12 Jackson Harper <[email protected]>
  8723. * Theme.cs: Add a method to get the size of a managed window
  8724. toolbar button.
  8725. * InternalWindowManager.cs: Remove the ButtonSize property, this
  8726. should be retrieved from the theme.
  8727. * MdiWindowManager.cs: Get the button size from the theme
  8728. * ThemeWin32Classic.cs: Make the method to get the managed window
  8729. titlebar button size public.
  8730. - Handle the different button sizes of maximized toolwindows
  8731. (should match any maximized window).
  8732. - Get the titlebar height from the theme, not the WM (which gets
  8733. it from the theme).
  8734. 2006-06-12 Jackson Harper <[email protected]>
  8735. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  8736. event down to the mdi window manager.
  8737. - Expose some extra stuff to base classes
  8738. - Make sure to end the Capture on an NC Mouse up, so that we can
  8739. get double clicks properly, and the sizing doens't stick.
  8740. - When doing PointToClient contain it in the workable desktop
  8741. area, this prevents windows from changing size when the cursor is
  8742. pulled outside of the working area while sizing.
  8743. * MdiWindowManager.cs: When we get a double click maximize the
  8744. window.
  8745. - Reset the cursor after handling mode changes.
  8746. 2006-06-12 Peter Dennis Bartok <[email protected]>
  8747. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  8748. current desktop, instead of just assuming a 0, 0 origin. This
  8749. is needed for our internal window manager, to know the top
  8750. margin of the desktop
  8751. 2006-06-12 Chris Toshok <[email protected]>
  8752. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  8753. we need this to get rid of the selected background in the bool
  8754. column.
  8755. (CancelEditing): move the ConcedeFocus call to above the Abort
  8756. call. Also, set is_changing to false and invalidate the row
  8757. header if we were changing before.
  8758. (ProcessKeyPreviewInternal): remove, since noone outside this
  8759. class calls it anymore. Roll the code into ProcessKeyPreview.
  8760. (EndEdit): remove the internal version.
  8761. (InvalidateCurrentRowHeader): make private.
  8762. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  8763. Keys.Escape handling (and with it the last call to
  8764. DataGrid.EndEdit from outside the class.)
  8765. 2006-06-12 Chris Toshok <[email protected]>
  8766. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  8767. (OnKeyPress): set isedit to true.
  8768. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  8769. already handled by the grid.
  8770. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  8771. right. ugh.
  8772. (set_DataSource): SetDataSource always returns true, so stop
  8773. putting it in an if statement.
  8774. (EndEdit): get rid of some {}'s
  8775. (ProcessGridKey): return true in case Keys.Escape.
  8776. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  8777. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  8778. PositionChanged, stopped connecting to CurrentChanged.
  8779. (GetDataSource): simplify this a bunch.
  8780. (SetDataSource): change return type from bool to void.
  8781. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  8782. to this, and make sure we don't set ListManager.Position inside
  8783. set_CurrentCell.
  8784. (OnListManagerItemChanged): if we're passed an actual index,
  8785. redraw that row.
  8786. * CurrencyManager.cs (set_Position): don't call PullData here.
  8787. 2006-06-09 Jackson Harper <[email protected]>
  8788. * TreeNode.cs: Recalculate the visible order before doing the
  8789. Expand/Collapse Below calls, because those calls generate an
  8790. expose.
  8791. - Reduce calls to the TreeView property, which is mildly expensive
  8792. by using a local var.
  8793. * Form.cs: Layout the MDI child windows when creating the parent
  8794. form.
  8795. - Don't use the internal constructor anymore
  8796. * MdiClient.cs: use the parent form width/height (if available)
  8797. when laying out the child windows, we do this because the
  8798. mdiclient isn't docked yet when the initial layout is done.
  8799. - Don't need an internal constructor anymore.
  8800. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  8801. * FileDialog.cs: handle access errors when trying to create a folder
  8802. or changing to a directory. No need to initialize out parameters.
  8803. 2006-06-08 Alexander Olk <[email protected]>
  8804. * FileDialog.cs: Append a number when creating a new folder if the
  8805. folder already exists (use parenthesis instead of square brackets)
  8806. 2006-06-08 Alexander Olk <[email protected]>
  8807. * FileDialog.cs:
  8808. - Disabled registry support for windows and added better registry
  8809. error checking for other systems (need to investigate why it
  8810. works perfectly on my system)
  8811. - If a folder already exist show an error MessageBox instead of
  8812. trying to create an indexed name.
  8813. - Fixed a non intentional typo.
  8814. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  8815. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  8816. 2006-06-08 Alexander Olk <[email protected]>
  8817. * FileDialog.cs: When creating a new folder don't crash if the
  8818. folder already exists.
  8819. 2006-06-08 Alexander Olk <[email protected]>
  8820. * FileDialog.cs: Allmost a complete rewrite.
  8821. - added a "virtual" file system that handles the differences
  8822. between unix and windows file systems (especially the directory
  8823. structure). Moved most of the directory and file handling code
  8824. into the vfs.
  8825. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  8826. UnixFileSystem and FSEntry.
  8827. - Recently used folder/directory, size, location and used file names
  8828. (file name ComboBox) are now stored in the registry and get read
  8829. before the dialog shows up (fixes part 6 of bug #78446).
  8830. - Creation of new folders/directories is now possible (context menu
  8831. or ToolBar). Added TextEntryDialog for this that fills in the gap
  8832. until ListView.LabelEdit works.
  8833. - Fixed cursor handling (bug #78527) and focus handling for
  8834. PopupButtonPanel
  8835. - Various "Search in" ComboBox enhancements. The content of the
  8836. dropdown listbox now almost matches ms.
  8837. - Changed the behaviour when the user switches to SpecialFolder
  8838. Recent to show the ListView in View.Details.
  8839. - Beside using the ToolBar to change the View property of the
  8840. file ListView it is now possible to use the context menu too.
  8841. 2006-06-08 Alexander Olk <[email protected]>
  8842. * ComboBox.cs: Don't create a new ObjectCollection when an item
  8843. gets inserted. Just insert the item in the existing object_items
  8844. ArrayList.
  8845. 2006-06-08 Jackson Harper <[email protected]>
  8846. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  8847. that the treeview and root node checks are done also, this fixes a
  8848. regression i caused in the unit tests.
  8849. 2006-06-07 Wade Berrier <[email protected]>
  8850. * RichTextBox.cs: More ISO8859-1 -> unicode
  8851. 2006-06-07 Mike Kestner <[email protected]>
  8852. * ComboBox.cs : use items to hold highlight/selection so that
  8853. collection insertions don't require synchronization.
  8854. 2006-06-07 Jackson Harper <[email protected]>
  8855. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  8856. routine. We now always keep the sized edge at the cursor instead
  8857. of computing movement and adjusting rects. There is one buglet
  8858. with this method though when the cursor is moved over area that
  8859. the window can not expand too (such as the toolbars on the desktop).
  8860. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  8861. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  8862. here. Fixes crash on startup in AlbumSurfer.
  8863. 2006-06-07 Peter Dennis Bartok <[email protected]>
  8864. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  8865. values
  8866. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  8867. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  8868. statement to avoid calling XNextEvent which will block if another thread
  8869. took the event that we were expecting. Fixes bug #78605.
  8870. 2006-06-07 Mike Kestner <[email protected]>
  8871. * ListView.cs : isolated checkbox clicking from the selection logic.
  8872. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  8873. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  8874. * Form.cs: Check that the value passed to Form.DialogResult
  8875. is a valid enum value.
  8876. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  8877. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  8878. Computer'. Clicking it in the network view goes to 'My Computer'.
  8879. Added CIFS filesystem type. Display the mount point of filesystems.
  8880. Avoid duplicate mount points (happens for me with CIFS);
  8881. 2006-06-06 Jackson Harper <[email protected]>
  8882. * InternalWindowManager.cs: Draw the maximized windows buttons
  8883. when resizing.
  8884. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  8885. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  8886. all other dialogs. Fixes bug #78585.
  8887. 2006-06-06 Mike Kestner <[email protected]>
  8888. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  8889. Only invalidate checkbox on checkstate changes to avoid flicker.
  8890. * ListBox.cs : avoid unselect/select when clicking selected item.
  8891. avoid reselection flicker for already multiselected items.
  8892. Fixes #78382.
  8893. 2006-06-06 Jackson Harper <[email protected]>
  8894. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  8895. the parent form so that the menu is removed if needed.
  8896. 2006-06-06 Mike Kestner <[email protected]>
  8897. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  8898. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  8899. 2006-06-06 Mike Kestner <[email protected]>
  8900. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  8901. 2006-06-06 Jackson Harper <[email protected]>
  8902. * Control.cs: Use the property (instead of the field) to get the
  8903. default cursor so it is instantiated correctly.
  8904. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  8905. resizes so we need to manually repaint the window decorations here.
  8906. - Set the titlebar button locations as soon as they are created,
  8907. otherwise they are not set correctly on win32.
  8908. 2006-06-06 Chris Toshok <[email protected]>
  8909. * CurrencyManager.cs (set_Position): call PullData before
  8910. OnCurrentChanged.
  8911. (AddNew): after calling IBindingList.AddNew, update our
  8912. listposition, and call OnCurrentChanged/OnPositionChanged (without
  8913. calling PullData).
  8914. (OnCurrentChanged): remove the call to PullData from here.
  8915. (OnItemChanged): remove the call to PushData from here.
  8916. (OnPositionChanged): change the test from == null to != null to
  8917. match the other methods.
  8918. (ListChangedHandler): the grossest part of the patch. Implement
  8919. this such that it passes the unit tests in CurrencyManagerTest and
  8920. the output more or less matches that of MS's implementation.
  8921. 2006-06-06 Mike Kestner <[email protected]>
  8922. * ListView.cs : only update check state on single click.
  8923. * ThemeWin32Classic.cs : fix focus drawing for details view without
  8924. fullrowselect. Fixes #78454.
  8925. * XplatUIX11.cs : fix for double click emission.
  8926. 2006-06-05 Jonathan Chambers <[email protected]>
  8927. * PropertyGridView.cs : Applied Atsushi's patch to fix
  8928. font dialog bug (#78197).
  8929. 2006-06-05 Jackson Harper <[email protected]>
  8930. * TreeNode.cs: Compute the next node for expanding/collapsing
  8931. correctly. We now factor in nodes without a NextNode
  8932. correctly. (Fixes somes cases in nunit-gui).
  8933. * InternalWindowManager.cs: Set the bounds when updating the
  8934. virtual position of a tool window.
  8935. 2006-06-05 Chris Toshok <[email protected]>
  8936. * DataGrid.cs: rename cached_currencymgr to list_manager.
  8937. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  8938. some.
  8939. (CurrentRow, CurrentColumn): single accessors so we can make the
  8940. cursor movement code a lot easier to understand.
  8941. (CurrentRowIndex): implement this in terms of CurrentRow.
  8942. (BeginEdit): clean this up a bit.
  8943. (CancelEditing): sort out the is_editing/is_changing/is_adding
  8944. stuff a little.
  8945. (EndEdit): minor changes.
  8946. (OnKeyDown): add a comment about a (most likely) unnecessary
  8947. check.
  8948. (OnMouseDown): cancel editing when we click on a row header. And
  8949. use the CurrentRow setter, not CurrentCell.
  8950. (ProcessDialogKey): directly call ProcessGridKey.
  8951. (UpdateSelectionAfterCursorMove): factor out this common block of
  8952. code (it's used everywhere that we move the cursor by updating row
  8953. or column).
  8954. (ProcessGridKey): pretty substantial overhaul. Use the
  8955. CurrentRow/CurrentColumn properties to make the code a lot more
  8956. readable. Only use the CurrentCell property when we have to
  8957. modify both row and column at once. Tab behavior is still broken,
  8958. and Delete is untested.
  8959. (Select): if we have no selected rows, set selection_start to
  8960. @row.
  8961. (EditCurrentCell): rename EditCell this. It was only ever invoked
  8962. with CurrentCell as the arg, so drop the arg and rename it.
  8963. * DataGridColumnStyle.cs: clean up the constructors a little, and
  8964. drop CommonConstructor().
  8965. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  8966. actually get notified when the user hits it.
  8967. (ProcessKeyMessage): *substantially* simplify this method.
  8968. There's no reason (that I can see) for the textbox to be making
  8969. calls into the datagrid at all. Remove all of them but the ones
  8970. for Enter handling. those will take some more work.
  8971. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  8972. calling HideEditBox.
  8973. (HideEditBox): if we have an active textbox, render it invisible
  8974. without causing a re-layout of the datagrid.
  8975. 2006-06-05 Mike Kestner <[email protected]>
  8976. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  8977. collection changes by resetting it to Items[0]. Fixes #78587.
  8978. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  8979. * MessageBox.cs: if the height of the text is larger than the icon_size,
  8980. use that. Fixes bug #78575.
  8981. 2006-06-05 Jackson Harper <[email protected]>
  8982. * TreeView.cs: Fix line drawing when scrolling. To do this each
  8983. node is basically responsible for drawing its entire horizontal
  8984. area. When drawing a node it draws its parent node lines if
  8985. needed.
  8986. - Adjust the clip area to the viewport rectangle
  8987. - Fix Left/Right key handling to match MS. (It expand/collapses
  8988. and moves to parents/first child but does not move selection to
  8989. sibling nodes).
  8990. - Fix SetTop to work with new bound calculation code
  8991. - When scrollbars are no longer needed we need to reset scrolling
  8992. vars and recalculate the visible order so the redraw is correct
  8993. * TreeNode.cs: We can't expand/collapse nodes with no children.
  8994. 2006-06-03 John Luke <[email protected]>
  8995. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  8996. so the colors work without dev packages
  8997. 2006-06-02 Peter Dennis Bartok <[email protected]>
  8998. * Control.cs
  8999. - Select: Implemented to just use activate. Seems to match MS
  9000. behaviour closest. Documented to only do actual control walking
  9001. based on it's parameters if in a container control so I moved
  9002. the code there.
  9003. - Removed selection check logic from our internal Select() method
  9004. * ContainerControl.cs:
  9005. - Select: Moved selection logic from Control here, since MS documents
  9006. that containers obey the bool arguments. No longer calling base
  9007. 2006-06-02 Jackson Harper <[email protected]>
  9008. * TreeView.cs: If the selected node isn't changed when we get
  9009. focus update the previously selected node so that we see the
  9010. selection box.
  9011. 2006-06-02 Mike Kestner <[email protected]>
  9012. * ComboBox.cs: restructure grab and general mouse event handling.
  9013. Make the composite control raise mouse events like it was a single
  9014. control for leaves/enters/motion/up/down events. fix dropdown list
  9015. coordinate mangling and refactor it into the scrollbar subclass to
  9016. reduce code duplication. Fixes #78282 #78361 and #78457.
  9017. 2006-06-02 Mike Kestner <[email protected]>
  9018. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  9019. automatically in the Control.WndProc.
  9020. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  9021. * FileDialog.cs: fix crash when running SharpChess, which sets the
  9022. FilterIndex to 2 with only one Filter.
  9023. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  9024. * ToolBar.cs: add SizeSpecified property.
  9025. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  9026. try to figure out our real size, otherwise fallback to what the
  9027. container says.
  9028. 2006-06-01 Peter Dennis Bartok <[email protected]>
  9029. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  9030. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  9031. up the event
  9032. 2006-06-01 Mike Kestner <[email protected]>
  9033. * ListView.cs: revamp the focus management in ListView. It still
  9034. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  9035. better than not handling focus at all. Will revisit when pdb feels
  9036. the general focus handling is solid. Fixes #78526.
  9037. 2006-06-01 Jackson Harper <[email protected]>
  9038. * TreeView.cs: Set the default border style in the constructor.
  9039. - Move painting to use OnPaintInternal instead of capturing
  9040. WM_PAINT, this is the correct way of doing things
  9041. - UpdateBelow shouldn't invalidate the scrollbar area
  9042. - Cap the top on update below in case the node was above the top
  9043. of the viewport rectangle.
  9044. - ExpandBelow and Collapse below need to obey Begin/End Update.
  9045. * TreeNode.cs: Make is_expanded internal so the treenode
  9046. collection can change it without firing the whole event chain.
  9047. * TreeNodeCollection.cs: When clearing all the child nodes make
  9048. sure to recalc the visible order.
  9049. - Improve algo for remove the top node
  9050. 2006-06-01 Peter Dennis Bartok <[email protected]>
  9051. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  9052. SendMessage directly calling window procedures, which in turn might
  9053. call SetFocus()
  9054. 2006-06-01 Peter Dennis Bartok <[email protected]>
  9055. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  9056. has focus (works around X11 sending a FocusIn after our SetFocus)
  9057. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  9058. 2006-06-01 Alexander Olk <[email protected]>
  9059. * Mime.cs: Fix for the NET_2_0 build.
  9060. NameValueCollection needs StringComparer now.
  9061. 2006-05-31 Chris Toshok <[email protected]>
  9062. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  9063. return (via an out parameter) the starting X of the column.
  9064. (UpdateVisibleColumn): track change to FromPixelToColumn.
  9065. (HitTest): add a ColumnResize case here.
  9066. (DrawResizeLine): new function, probably poorly named.
  9067. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  9068. only need to keep one reference.
  9069. (set_ListManager): same.
  9070. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  9071. Also, add support for HitTestType.ColumnResize.
  9072. (OnMouseMove): add column resize behavior here, and change the
  9073. cursor to the correct one as we move around the datagrid.
  9074. (OnMouseUp): terminate the column resize if we're resizing.
  9075. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  9076. for the current cell.
  9077. (ConnectListManagerEvents): use cached_currencymgr.
  9078. (DisconnectListManagerEvents): fill this in, using
  9079. cached_currencymgr.
  9080. (SetCurrentCell): remove cached_currencymgr_events handling.
  9081. (SetDataMember): only call DisconnectListManagerEvents if
  9082. cached_currencymgr is != null.
  9083. (SetDataSource): same.
  9084. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  9085. cached_currencymgr.
  9086. 2006-05-31 Jackson Harper <[email protected]>
  9087. * BindingManagerBase.cs: Remove somedebug code that creeped into
  9088. SVN.
  9089. * TreeNode.cs: We get the indent level dynamically right now, so
  9090. don't track it as a member.
  9091. * TreeNodeCollection.cs: Make sure all nodes added to the list
  9092. have parents, treeviews/topnodes setup properly.
  9093. - Don't attempt to track indent level.
  9094. 2006-05-30 Jackson Harper <[email protected]>
  9095. * BindingContext.cs: Create the currency manager tables here.
  9096. This allows us to more easily create null tables (when bad data
  9097. members are used), and more easily create related currency
  9098. managers.
  9099. * CurrencyManager.cs: All the table creation stuff is done by the
  9100. binding context now.
  9101. - Current should throw an exception if listposition is -1.
  9102. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  9103. been bound yet.
  9104. 2006-05-30 Mike Kestner <[email protected]>
  9105. * ListView.cs: allow reexpansion of zero-width column headers.
  9106. Fixes #78528.
  9107. 2006-05-28 Chris Toshok <[email protected]>
  9108. * CurrencyManager.cs (get_Current): after the late binding
  9109. listposition = -1 fix, we need to guard against it here and return
  9110. null, otherwise we raise an exception (which is swallowed
  9111. elsewhere, and breaks datagrid databinding.)
  9112. 2006-05-26 Peter Dennis Bartok <[email protected]>
  9113. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  9114. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  9115. 2006-05-26 Jackson Harper <[email protected]>
  9116. * ControlPaint.cs:
  9117. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  9118. values, it's faster and it's all we care about (we don't care if
  9119. the names aren't equal).
  9120. * KeyboardLayouts.cs: Eliminate some dead code.
  9121. - Lazy init things
  9122. * X11Keyboard.cs: Lazy init keyboard detection.
  9123. - Cleanup access modifiers a little.
  9124. 2006-05-26 Peter Dennis Bartok <[email protected]>
  9125. * XplatUIX11.cs: Once again, attempting to get layout just right.
  9126. 2006-05-26 Peter Dennis Bartok <[email protected]>
  9127. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  9128. the sizes of each link section, that will result in sizes that
  9129. match DrawString's layout (Fixes #78391)
  9130. 2006-05-27 Alexander Olk <[email protected]>
  9131. * FileDialog.cs: If AddExtension property is true autocomplete the
  9132. extensions in SaveFileDialog correctly. Fixes bug #78453.
  9133. Set MyNetwork and MyComputer to "C:\" for windows. This should
  9134. fix part 8 of bug #78446 for now.
  9135. 2006-05-26 Chris Toshok <[email protected]>
  9136. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  9137. invalidate the current row header if we need to, but presumably
  9138. we'll invalidate the row corrsponding to the bounds or
  9139. editingControl.
  9140. (GridHScrolled): switch back to this method, as it's part of the
  9141. public api. *sigh*.
  9142. (GridVScrolled): same.
  9143. (OnMouseWheel): hack up something that more or less works. Call
  9144. GridHScrolled/GridVScrolled directly, instead of duplicating much
  9145. of their code here.
  9146. (EnsureCellVisibility): reinstate a bunch of this code, since we
  9147. can't just set the scrollbar Value and expect to do all the work
  9148. in the ValueChanged handler. Also, Call Update() after scrolling
  9149. in one direction so the other XplatX11.ScrollWindow call has the
  9150. proper stuff in the proper places.
  9151. (EditCell): set is_editing to true before calling .Edit.
  9152. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  9153. don't bother comparing first.
  9154. (OnKeyPress): call grid.ColumnStartedEditing before calling
  9155. base.OnKeyPress. this will set is_changing and invalidate the row
  9156. header if necessary.
  9157. (ProcessKeyMessage): for WM_CHAR messages, call
  9158. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  9159. and WM_KEYDOWN.
  9160. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  9161. it's done in the DataGrid.
  9162. (NextState): call grid.ColumnStartedEditing, which takes care of
  9163. invalidating the row header (and setting is_changing).
  9164. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  9165. here. it's done in the DataGrid.
  9166. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  9167. * Control.cs: allow changing the cursor when the mouse position is
  9168. out of bounds but Capture is set.
  9169. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  9170. linklabel but released somewhere else.
  9171. 2006-05-25 Jackson Harper <[email protected]>
  9172. * TreeView.cs: When we get focus if there is no selected node make
  9173. it the top node
  9174. - Remove some uneeded setup code from Draw.
  9175. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  9176. a new node is inserted make the new node the top.
  9177. * XplatUIX11.cs:
  9178. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  9179. be used (should be faster).
  9180. 2006-05-25 Chris Toshok <[email protected]>
  9181. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  9182. problem with the last commit.
  9183. 2006-05-25 Chris Toshok <[email protected]>
  9184. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  9185. need the invalidate call here, while scrolling right-to-left via
  9186. the left arrow key (i.e. moving the editing cell while scrolling).
  9187. * DataGrid.cs (.ctor): remove the initialization of
  9188. ctrl_pressed/shift_pressed. We no longer track them using key
  9189. up/down handlers, but by using Control.ModifierKeys. Also, switch
  9190. to using ValueChanged handlers on the scrollbars instead of
  9191. Scrolled event handlers. This simplifies a bunch of the scrolling
  9192. code.
  9193. (GridHValueChanged): rename from GridHScrolled, and change it to
  9194. work with the new event args.
  9195. (GridVValueChanged): same.
  9196. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  9197. (OnMouseWheel): actually scroll the datagrid. Don't change the
  9198. selected cell.
  9199. (ProcessGridKey): correct all the keyboard navigation stuff I
  9200. could find. Ctrl up/down/left/right/home/end work now.
  9201. (EnsureCellVisibility): correct method name spelling. Also,
  9202. simplify this a touch by not explicitly calling the
  9203. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  9204. scrollbar value.
  9205. (OnKeyUpDG): no need for this method now.
  9206. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  9207. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  9208. Fixes bug #78392.
  9209. 2006-05-25 Chris Toshok <[email protected]>
  9210. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  9211. r61019.
  9212. 2006-05-25 Peter Dennis Bartok <[email protected]>
  9213. * Application.cs: Moved setting of is_modal and closing to before
  9214. we create the control, to allow the event handlers called as a
  9215. result of creation affect closing. Also removed Gonzalo's previous
  9216. change to setting DialogResult, the behaviour has been moved to
  9217. Form.ShowDialog()
  9218. * Form.cs:
  9219. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  9220. handle it instead
  9221. - ShowDialog(): If no dialog result is set, we need to return Cancel
  9222. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  9223. the close is cancelled
  9224. 2006-05-25 Jackson Harper <[email protected]>
  9225. * StatusBar.cs: We only need to update the sizes of the other
  9226. panels when we have auto size contents. Also we are only updating
  9227. the contents of the panel, not the borders, so compensate for the
  9228. border width (TODO: get this width from the theme somehow).
  9229. * TreeView.cs: Scrollable is true by default
  9230. - Use invalidate instead of refresh where needed
  9231. - Factor the scrollable value into scrollbar updating
  9232. - Update the scrollbars if the Scrollable property is altered
  9233. - Update the selected node if its ImageIndex is changed
  9234. - Handle null nodes in UpdateNode (mainly so we don't have to
  9235. check if selected is null when updating it
  9236. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  9237. are factored into the visible count
  9238. - Use VisibleCount for clarity in the code
  9239. - When the font is changed we need to recurse through all the
  9240. nodes and invalidate their sizes
  9241. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  9242. * Application.cs: set the DialogResult to fixed when the main form is
  9243. hidden or destroyed while being modal.
  9244. 2006-05-25 Miguel de Icaza <[email protected]>
  9245. * Theme.cs: Use Tangoified messagebox icons.
  9246. (GetSizedResourceImage): Also cope with width = 0 and do not
  9247. trigger a warning in that case (0 means "give me your icon from
  9248. the resouce, no special size needed).
  9249. 2006-05-25 Peter Dennis Bartok <[email protected]>
  9250. * Application.cs: Leave runloop if the the main modal form is
  9251. hidden (fixes #78484)
  9252. 2006-05-25 Atsushi Enomoto <[email protected]>
  9253. * BindingContext.cs : reject null datasource in Contains() and
  9254. Item[].
  9255. * CurrencyManager.cs : check data_member validity when data_source
  9256. is dataset. When it is late binding, the initial position is -1.
  9257. 2006-05-24 Jackson Harper <[email protected]>
  9258. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  9259. inserted nodes that aren't visible. This changes the
  9260. max_visible_order which confuses scrollbar settings.
  9261. - Use the enumerator to get the prev node instead of duplicating
  9262. code.
  9263. * TreeView.cs: Use new method for setting scrollbar values
  9264. - Don't set the bounds every time the scrollbar is updated
  9265. - When updating below the root node use an invalidate instead of a
  9266. refresh to prevent the child controls (scrollbars) from being
  9267. refreshed. (UpdateBelow still needs to be reworked anyways).
  9268. - Reenable SetBottom now that visible orders are set correctly,
  9269. added some debug code incase we ever get bad values there again.
  9270. - Set the scrollbar max to 2 less then the max value, this
  9271. compensates for the max value being one above the node count, and
  9272. for scrollbars adding one extra "notch".
  9273. - When drawing image nodes if there is an imagelist we draw the
  9274. first image in the list if the supplied image index is out of the
  9275. image list's bounds.
  9276. 2006-05-24 Peter Dennis Bartok <[email protected]>
  9277. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  9278. we receive a size change from the WM (Fixes #78503)
  9279. 2006-05-24 Peter Dennis Bartok <[email protected]>
  9280. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  9281. rectangle (Fixes #78501)
  9282. 2006-05-24 Peter Dennis Bartok <[email protected]>
  9283. * ButtonBase.cs:
  9284. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  9285. as a bitfield.
  9286. - Fixed MouseMove to no longer switch pressed state unless the left
  9287. mouse button is pressed. Atsushi provided the original patch (#78485)
  9288. 2006-05-24 Jackson Harper <[email protected]>
  9289. * ScrollBar.cs: New internal methods that allow us to change a
  9290. couple values on the scrollbar (the most common case is maximum
  9291. and large change) without getting multiple invalidates.
  9292. 2006-05-24 Chris Toshok <[email protected]>
  9293. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  9294. (Edit): save off the original state in oldState, and set
  9295. grid.is_editing to true.
  9296. (OnKeyDown): abort editing if escape is pressed. also, call
  9297. NextState if space is pressed.
  9298. (OnMouseDown): call NextState.
  9299. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  9300. here. Also, only invalidate the row header once (on the initial
  9301. is_changing switch) to save on redraws.
  9302. 2006-05-24 Chris Toshok <[email protected]>
  9303. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  9304. if the value in the cell is different than it was before. This
  9305. keeps us from triggering a layout when we move around a datarid
  9306. with a highlighted cell.
  9307. (Edit): suspend layout when creating/positining the text box, and
  9308. resume passing false so we don't ever actually re-layout.
  9309. (ReleaseHostedControl): same.
  9310. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  9311. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  9312. control-key sequences should go to the datagrid - remove that
  9313. lock. Also, modify the conditions under which we move between
  9314. cells when moving the cursor within a cell, and remove the "this"
  9315. and "base" from field accesses. We weren't even consistent, given
  9316. they all were in the base class.
  9317. 2006-05-24 Atsushi Enomoto <[email protected]>
  9318. * Binding.cs : (.ctor)
  9319. An obvious NRE fix for BindingTest.CtorNullTest().
  9320. 2006-05-23 Chris Toshok <[email protected]>
  9321. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  9322. them between lines. This fixes some quirks editing cells in the
  9323. datagrid.
  9324. 2006-05-23 Jackson Harper <[email protected]>
  9325. * TreeView.cs: Use begin/end update when doing expand/collapse all
  9326. so that we don't get flicker on the scrollbar.
  9327. 2006-05-23 Jackson Harper <[email protected]>
  9328. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  9329. treenode calculations to be independant of the painting code. To
  9330. do this nodes track a visible order which is calculated by the
  9331. treeview.
  9332. - Call new methods for expanding/collapsing nodes. These methods
  9333. use scrollwindow so we don't have to update everything below the
  9334. node.
  9335. * TreeView.cs: Refactored drawing and scrolling code. We don't
  9336. need to update nodes when drawing anymore or calculate scrollbar
  9337. stuff.
  9338. - Added new methods for expanding/collapsing nodes. These methods
  9339. use ScrollWindow so as to not have to redraw all the nodes below.
  9340. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  9341. we add/remove nodes or sort.
  9342. - Handle removing the selected and the top node properly.
  9343. 2006-05-23 Chris Toshok <[email protected]>
  9344. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  9345. maybe this should actually happen in the datagrid code?
  9346. (EndEdit): no need to invalidate anything, given that
  9347. ReleaseHostedControl causes the datagrid to relayout, which
  9348. invalidates everything anyway.
  9349. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  9350. in SetCurrentCell).
  9351. (set_SelectionBackColor): call InvalidateSelection instead of
  9352. Refresh.
  9353. (set_SelectionForeColor): same.
  9354. (BeginEdit): Flesh this out a bit.
  9355. (CancelEditing): only do any of this if we're editing/adding.
  9356. (EndEdit): same.
  9357. (OnMouseDown): there's no need to cancel editing here, it's done
  9358. in SetCurrentCell.
  9359. (SetCurrentCell): only invalidate the current row header if it's a
  9360. different row than the new one.
  9361. (ShiftSelection): fix this to work like MS does.
  9362. (ResetSelection): factor out the invalidation of selected_rows to
  9363. InvalidateSelection.
  9364. (SetDataSource): cancel any editing that's going on.
  9365. * DataGridColumnStyle.cs
  9366. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  9367. call the non-interface version.
  9368. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  9369. header rectangle with the clip rectangle so we don't redraw the
  9370. entire header for just a small area. Gets rid of the last flicker
  9371. when horizontally scrolling.
  9372. (DataGridPaintRow): same.
  9373. 2006-05-23 Mike Kestner <[email protected]>
  9374. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  9375. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  9376. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  9377. Critical bug report.
  9378. 2006-05-23 Peter Dennis Bartok <[email protected]>
  9379. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  9380. and this fixes #78493
  9381. 2006-05-23 Miguel de Icaza <[email protected]>
  9382. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  9383. size is not found.
  9384. * FileDialog.cs: Do not change the background for the side bar as
  9385. it wont work nicely with the theme, and also reduces the artifacts
  9386. in rendering the icons (which I want to fix too).
  9387. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  9388. resources, not resgen resources.
  9389. (PlatformDefaultHandler): Pull images using the new API.
  9390. 2006-05-23 Peter Dennis Bartok <[email protected]>
  9391. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  9392. a reference to the hwnd and will not remove it unless there are
  9393. no pending exposures (fixes #78341)
  9394. * XplatUI.cs: Improved debug
  9395. 2006-05-23 Atsushi Enomoto <[email protected]>
  9396. * MenuAPI.cs : don't handle OnClick event when it was not the left
  9397. button. Fixed bug #78487.
  9398. 2006-05-23 Mike Kestner <[email protected]>
  9399. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  9400. prefer submenus to the top menu for item lookup, to avoid popping down
  9401. top-row items.
  9402. 2006-05-23 Alexander Olk <[email protected]>
  9403. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  9404. Graphics.FillRectangle as the visual results are really bad (even
  9405. on win). We now draw perfect arrows (and perfect shadows when the
  9406. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  9407. Pen.DashPattern to draw the dots of each line.
  9408. 2006-05-22 Alexander Olk <[email protected]>
  9409. * FileDialog.cs: Update the filename combobox when navigating through
  9410. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  9411. 2006-05-22 Mike Kestner <[email protected]>
  9412. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  9413. Fixes #78463.
  9414. 2006-05-22 Mike Kestner <[email protected]>
  9415. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  9416. requests. Fix a misspelled parameter and a copy paste exception error
  9417. in Select.
  9418. 2006-05-22 Peter Dennis Bartok <[email protected]>
  9419. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  9420. to get the same width/height (5/13) on X11 as the default font has on
  9421. win32. This means that our DefaultFont emSize is smaller than the
  9422. the MS SWF equivalent (even thought the width/height stays the same)
  9423. 2006-05-20 Jackson Harper <[email protected]>
  9424. * MdiClient.cs:
  9425. * MdiWindowManager.cs:
  9426. * InternalWindowManager.cs: Make sure to use the border width from
  9427. the theme.
  9428. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  9429. * PrintDialog.cs: Implements printer details
  9430. 2006-05-19 Alexander Olk <[email protected]>
  9431. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  9432. Fixes part 1 and 2 of bug #78446
  9433. 2006-05-19 Peter Dennis Bartok <[email protected]>
  9434. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  9435. instead of sticking to the first ever calculated value
  9436. 2006-05-19 Mike Kestner <[email protected]>
  9437. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  9438. PointToClient, since Capture is set. Fixes #78344.
  9439. 2006-05-19 Mike Kestner <[email protected]>
  9440. * ListView.cs: match MS behavior in Details view where items are not
  9441. drawn if Columns.Count == 0.
  9442. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  9443. Use a separate pen to draw the check, since changing the width affects
  9444. the box as well. Fixes #78454.
  9445. 2006-05-18 Miguel de Icaza <[email protected]>
  9446. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  9447. exception should throw the name of the invalid argument.
  9448. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  9449. there are no files listed.
  9450. 2006-05-18 Jackson Harper <[email protected]>
  9451. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  9452. up.
  9453. 2006-05-18 Peter Dennis Bartok <[email protected]>
  9454. * Control.cs: Brought back our old UpdateZOrder method as a private
  9455. function and switched our calls from UpdateZOrder to the new one.
  9456. This fixes the Paint.Net canvas disappearing bug.
  9457. 2006-05-18 Jackson Harper <[email protected]>
  9458. * Theme.cs:
  9459. * ThemeWin32Classic.cs:
  9460. * InternalWindowManager.cs: Move the drawing into the theme,
  9461. expose everything the theme should need from the window manager.
  9462. 2006-05-18 Peter Dennis Bartok <[email protected]>
  9463. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  9464. from the call to NativeWindow to avoid walking up the parent chain
  9465. further than needed (speeds up setting cursors and avoids setting
  9466. the wrong cursor if a parent has another cursor defined)
  9467. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  9468. the icon as hotspot, not what's contained as hotspot in the icon
  9469. file. This fixes the perceived drawing offset seen with Paint.Net
  9470. 2006-05-18 Peter Dennis Bartok <[email protected]>
  9471. * XplatUIX11.cs:
  9472. - Store the calculated rectangle in Hwnd object and use it when
  9473. setting the client size
  9474. - Force Toolwindows to always be type Dock, to ensure they're on top
  9475. 2006-05-18 Mike Kestner <[email protected]>
  9476. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  9477. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  9478. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  9479. Substantial refactoring to remove confusing nested classes. Coding
  9480. standard and Get+Set->property refactorings. Shift to index based
  9481. highlighting in ComboListBox instead of constantly using IndexOf and
  9482. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  9483. in FileDialog growth. Draw borders manually since Simple mode needs
  9484. to look like two independent controls. Make listbox border
  9485. conditional to DropDownStyle. Improved OwnerDraw support.
  9486. 2006-05-18 Sebastien Pouliot <[email protected]>
  9487. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  9488. Don't set the disposed graphics to null, so we can throw the "right"
  9489. exception if the graphics is reused later (added a flag to avoid
  9490. double disposing). Some behaviours are different under 2.0 and are
  9491. filled under bug #78448.
  9492. 2006-05-18 Peter Dennis Bartok <[email protected]>
  9493. * Control.cs: When double-buffering is enabled, we need to reset
  9494. our graphics context between paint calls. Otherwise, any
  9495. transformations and other alterations on the context will
  9496. become cumulative (#77734)
  9497. 2006-05-18 Mike Kestner <[email protected]>
  9498. * ListView.cs: do focused item selection like MS on clicks.
  9499. Rework focus handling for ItemControl so LostFocus invalidates as
  9500. well.
  9501. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  9502. the ListView ItemControl has focus.
  9503. 2006-05-17 Peter Dennis Bartok <[email protected]>
  9504. * XplatUIX11.cs: If client_window ends up being width or height zero
  9505. due to border settings, move it off window inside whole_window (#78433)
  9506. 2006-05-17 Alexander Olk <[email protected]>
  9507. * Mime.cs: Shrink the mime file cache correctly.
  9508. 2006-05-17 Alexander Olk <[email protected]>
  9509. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  9510. 2006-05-16 Peter Dennis Bartok <[email protected]>
  9511. * XplatUIX11.cs (AddExpose): More sanity checks
  9512. 2006-05-16 Peter Dennis Bartok <[email protected]>
  9513. * XplatUIX11.cs:
  9514. - AddExpose: Don't add expose ranges outside the size of our
  9515. window
  9516. - Cast opacity values to Int32 to avoid crashes with certain
  9517. values
  9518. - Added disabled code paths that protect against illegal cross-
  9519. thread painting (Developers.exe)
  9520. 2006-05-16 Peter Dennis Bartok <[email protected]>
  9521. * ProgressBar.cs: Invalidate the control when it's resized
  9522. since block size is based on control size. (#78388)
  9523. 2006-05-16 Miguel de Icaza <[email protected]>
  9524. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  9525. of setting the incoming argument to the "reset" value, we set the
  9526. this.datamember to string.empty (before we were invalidating the
  9527. incoming data).
  9528. Fixes 78420
  9529. 2006-05-16 Peter Dennis Bartok <[email protected]>
  9530. * Form.cs: Only apply transparency settings after the form
  9531. is created. (Fixes #77800)
  9532. 2006-05-16 Peter Dennis Bartok <[email protected]>
  9533. * ApplicationContext.cs: Grab the HandleDestroyed event so
  9534. we know when to fire OnMainFormClosed
  9535. 2006-05-16 Peter Dennis Bartok <[email protected]>
  9536. * Application.cs: Introduced sub-class to allow tracking of
  9537. threads and centralized triggering of the event mess for
  9538. ThreadExit, AppExit, etc.. (#76156)
  9539. 2006-05-16 Alexander Olk <[email protected]>
  9540. * MimeIcon.cs:
  9541. - Do not return a null icon index value for a mime subclass.
  9542. Instead try the main mime type class too.
  9543. - Seems that some newer distributions don't have a link to some
  9544. gnome default icons anymore. So check the default gnome dir too.
  9545. 2006-05-16 Jackson Harper <[email protected]>
  9546. * MdiClient.cs: Don't paint the parent background image if we have
  9547. our own background image.
  9548. 2006-05-16 Peter Dennis Bartok <[email protected]>
  9549. * Control.cs:
  9550. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  9551. controls, all filled controls are supposed to overlap (#78080)
  9552. - UpdateZOrder is supposed to update the control's z-order in the
  9553. parent's z-order chain. Fixed to behave like that
  9554. - BringToFront: Removed obsolete code
  9555. - SendToBack: Simplyfied
  9556. - SetChildIndex: Trigger layout calculations when Z-order changes
  9557. since layout is done by z-order
  9558. 2006-05-16 Chris Toshok <[email protected]>
  9559. [ fixes bug #78410 ]
  9560. * DataGrid.cs (set_AlternatingBackColor): use
  9561. grid_drawing.InvalidateCells instead of Refresh().
  9562. (set_BackColor): call grid_drawing.InvalidateCells.
  9563. (set_BackgroundColor): use Invalidate instead of Refresh.
  9564. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  9565. invalidate the cell area.
  9566. 2006-05-15 Chris Toshok <[email protected]>
  9567. [ fixes bug #78011 ]
  9568. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  9569. on to DataGridPaintRow.
  9570. (DataGridPaintRow): take a clip argument, and only draw the cells
  9571. which intersect it. same with the not_usedarea.
  9572. * Theme.cs (DataGridPaintRow) add @clip parameter.
  9573. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  9574. XplatUI.ScrollWindow.
  9575. (ScrollToRow): same.
  9576. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  9577. with last column which was causing a gray swath to appear with the
  9578. XplatUI.ScrollWindow code.
  9579. 2006-05-15 Chris Toshok <[email protected]>
  9580. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  9581. use XplatUI.ScrollWindow.
  9582. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  9583. 2006-05-15 Peter Dennis Bartok <[email protected]>
  9584. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  9585. 2006-05-15 Peter Dennis Bartok <[email protected]>
  9586. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  9587. file since there are no equivalent X11 cursors
  9588. 2006-05-15 Atsushi Enomoto <[email protected]>
  9589. * MonthCalendar.cs : DateTimePicker should reflect selected date
  9590. on mouse*up*, not mouse*down*. Fixed originally reported part of
  9591. bug #76474.
  9592. 2006-05-15 Atsushi Enomoto <[email protected]>
  9593. * TabControl.cs : When argument index is equal or more than tab
  9594. count, just ignore. Fixed bug #78395.
  9595. 2006-05-15 Peter Dennis Bartok <[email protected]>
  9596. * Control.cs: Dispose all child controls when control is diposed (#78394)
  9597. 2006-05-14 Alexander Olk <[email protected]>
  9598. * ColorDialog.cs: Finally it is possible to select the color with
  9599. the text boxes
  9600. 2006-05-14 Alexander Olk <[email protected]>
  9601. * PrintDialog.cs: Fix typo
  9602. 2006-05-14 Alexander Olk <[email protected]>
  9603. * PrintDialog.cs: PrintDialog is not resizable
  9604. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  9605. color. Made some ToolBar drawing methods protected virtual.
  9606. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  9607. * PrintDialog.cs: Implementation of the PrintDialog
  9608. 2006-05-12 Chris Toshok <[email protected]>
  9609. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  9610. thumb, instead use MoveThumb. This has the side effect of making
  9611. most of the other thumb moving machinery use MoveThumb as well.
  9612. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  9613. need to actually invalidate the rectangle where the new thumb will
  9614. go.
  9615. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  9616. We force an Update() after, so it's not as fast as it could be,
  9617. but at least there's zero flicker and no droppings.
  9618. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  9619. (UpdateThumbPos): add another argument (dirty), which says whether
  9620. or not to calculate/add dirty regions which we later invalidate.
  9621. For cases where we know we're going to use MoveThumb, we pass
  9622. false for this. Otherwise, pass true.
  9623. 2006-05-12 Jackson Harper <[email protected]>
  9624. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  9625. the status bar.
  9626. 2006-05-12 Peter Dennis Bartok <[email protected]>
  9627. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  9628. and GetClipRegion methods and UserClipWontExposeParent property.
  9629. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  9630. overriding UserClipWontExposeParent property, setting to false, since
  9631. Win32 handles the required expose messages to draw our clipped parent
  9632. areas internally
  9633. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  9634. PaintEventStart to set the user clip region if set.
  9635. * Control.cs:
  9636. - Now internally tracking the Region for the control since we need to
  9637. store it if the handle is not yet created and only set it when it
  9638. becomes created. Before setting the region forced handle creation
  9639. - Added code to draw the parents underneath a user-clipped region
  9640. * Hwnd.cs: Added UserClip property
  9641. 2006-05-12 Chris Toshok <[email protected]>
  9642. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  9643. (set_Maximum): same.
  9644. (set_Minimum): same.
  9645. (set_SmallChange): same.
  9646. (OnMouseUpSB): remove the call to refresh when releasing the
  9647. thumb. We shouldn't need it.
  9648. 2006-05-12 Miguel de Icaza <[email protected]>
  9649. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  9650. AutoSize set to None, we do not need to relayout everything, we
  9651. just need to invalidate the current region.
  9652. (Draw): Do not draw the entire ClientArea, just redraw the
  9653. clip area being passed.
  9654. * MdiClient.cs: Make MdiClient constructor with the Form argument
  9655. internal.
  9656. 2006-05-12 Jackson Harper <[email protected]>
  9657. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  9658. parents background image, but strangely not their own.
  9659. - (DrawStatusBarPanel): Take into account horizontal alignment
  9660. when drawing the strings and icons.
  9661. 2006-05-12 Mike Kestner <[email protected]>
  9662. * ListBox.cs: avoid invalidations for focus when the collection is
  9663. empty.
  9664. 2006-05-12 Chris Toshok <[email protected]>
  9665. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  9666. invalidate the entire thumb area. Call InvalidateDirty which
  9667. limits the redraw to the thumb itself and surrounding pixels.
  9668. * XplatUIX11.cs (ScrollWindow): optimize copying.
  9669. 2006-05-12 Chris Toshok <[email protected]>
  9670. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  9671. Figure out the positioning/layout in a single pass instead of
  9672. multiple recursive invocations. Speeds up the initial display of
  9673. the data grid. Also, make many things private that were
  9674. originally public but unused outside this class.
  9675. 2006-05-11 Jackson Harper <[email protected]>
  9676. * MdiClient.cs: Improved layout code.
  9677. 2006-05-11 Jonathan Chambers <[email protected]>
  9678. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  9679. not SelectedObject.
  9680. 2006-05-11 Chris Toshok <[email protected]>
  9681. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  9682. union of that will always be {0,0,width,height}.
  9683. 2006-05-11 Jackson Harper <[email protected]>
  9684. * Form.cs: Match MS's DefaultSize for forms (they must have
  9685. changed the size in sp2).
  9686. 2006-05-11 Atsushi Enomoto <[email protected]>
  9687. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  9688. 2006-05-11 Atsushi Enomoto <[email protected]>
  9689. * TextControl.cs : Fixed bug #78109. This incorrect position
  9690. comparison caused crash on automatic line split.
  9691. * TextBoxBase.cs : reduce duplicate code.
  9692. 2006-05-10 Jackson Harper <[email protected]>
  9693. * MdiClient.cs: Active form is only sent to the back when using
  9694. the Next form functionality, when a form is clicked the current
  9695. active shouldn't be sent to the back.
  9696. - Layout the mdi windows when the container is first made visible.
  9697. * Form.cs: Give the MdiClient a ref to the containing form when we
  9698. create it.
  9699. 2006-05-10 Atsushi Enomoto <[email protected]>
  9700. * LinkLabel.cs : link_font could be uninitialized, so populate one
  9701. before actual use. Fixed bug #78340.
  9702. 2006-05-10 Atsushi Enomoto <[email protected]>
  9703. * XplatUIX11.cs : clipboard format native value is IntPtr.
  9704. Fixed bug #78283.
  9705. 2006-05-10 Peter Dennis Bartok <[email protected]>
  9706. * Control.cs:
  9707. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  9708. which is passed up the parent chain by DefWndProc
  9709. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  9710. to DefWndProc (#77956)
  9711. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  9712. 2006-05-10 Jackson Harper <[email protected]>
  9713. * MdiClient.cs: We need to remove the controls from the mdi
  9714. collection, when we close the window.
  9715. * MdiWindowManager.cs: Special handling of closing mdi windows.
  9716. * InternalWindowManager.cs: Make the close method virtual so the
  9717. mdi window manager can handle it specially.
  9718. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  9719. * DataGrid.cs:
  9720. - Recalculate grid when the data source has changed
  9721. - Matches styles provided by user from all data sources types
  9722. * DataGridTableStyle.cs: For columns that provided by the user set the
  9723. with the preferred value is there was unassigned.
  9724. * CurrencyManager.cs: throw OnItemChanged event
  9725. 2006-05-10 Peter Dennis Bartok <[email protected]>
  9726. * PictureBox.cs: Don't animate until handle is created. Start animation
  9727. when handle is created.
  9728. 2006-05-10 Peter Dennis Bartok <[email protected]>
  9729. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  9730. current codebase.
  9731. * XEventQueue.cs: We don't need to provide the extra info
  9732. 2006-05-10 Jackson Harper <[email protected]>
  9733. * MdiClient.cs: If the mdi clients parent form has a background
  9734. image set, we draw that background image for the mdi area's
  9735. background.
  9736. 2006-05-10 Peter Dennis Bartok <[email protected]>
  9737. * TextBoxBase.cs: Set IBeam cursor (#78347)
  9738. 2006-05-10 Mike Kestner <[email protected]>
  9739. * ToolBar.cs: fix some text padding issues with ButtonSize
  9740. calculation. Update the default size to match MS documentation.
  9741. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  9742. button size. Fixes #78296.
  9743. 2006-05-10 Mike Kestner <[email protected]>
  9744. * ListBox.cs: use is_visible for scrollbar positioning in case the
  9745. control isn't on screen yet. Fix off by one with Right vs Width
  9746. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  9747. 2006-05-10 Jackson Harper <[email protected]>
  9748. * X11Dnd.cs: Drop to a control with another control on top of it.
  9749. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  9750. be modified in click handlers. TODO: Look for similar problems in
  9751. other controls.
  9752. 2006-05-09 Jackson Harper <[email protected]>
  9753. * Form.cs: Window managers need the old window state when setting
  9754. window state now.
  9755. * InternalWindowManager.cs: Allow the base mdi window manager to
  9756. handle more of the MDI only stuff (like maximize buttons).
  9757. * MdiWindowManager.cs: Fix some snafus in changing the window
  9758. state. Add all the menu functionality, for both popup and
  9759. maximized menus.
  9760. * MdiClient.cs: When a new form is selected the currently
  9761. activated form is sent to the back, this matches MS.
  9762. - Implement a new method to activate the next mdi child window.
  9763. 2006-05-08 Peter Dennis Bartok <[email protected]>
  9764. * Control.cs:
  9765. - Added new InternalCapture method to allow controls to prevent
  9766. the capture behaviour on the click handlers
  9767. - Switched to use InternalCapture
  9768. * ComboBox.cs:
  9769. - Using InternalCapture to prevent mouse captures from being released
  9770. on mouse button release (Fixes #78100)
  9771. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  9772. returns Form borders if a caption is present. (Fixes #78310)
  9773. 2006-05-08 Peter Dennis Bartok <[email protected]>
  9774. * TreeNode.cs: Changed serialization .ctor to not require every field
  9775. to be present. (#78265)
  9776. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  9777. 2006-05-05 Alexander Olk <[email protected]>
  9778. * MimeIcon.cs: for is faster than foreach for strings.
  9779. 2006-05-05 Mike Kestner <[email protected]>
  9780. * CheckedListBox.cs: update check handling code to not use selected.
  9781. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  9782. behavior for visual feedback, motion response, shift/ctrl handling,
  9783. and properly deal with all 4 selection modes. Updates to bounds
  9784. handling logic. Add scroll wheel support. [Fixes #77842]
  9785. 2006-05-05 Peter Dennis Bartok <[email protected]>
  9786. * ListView.cs:
  9787. - Moved adding of Implicit controls into .ctor. That way, subsequent
  9788. creation of the controls will not cause them to think they are
  9789. toplevel windows (fixes #78200 header problem)
  9790. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  9791. - Switched visibility setting of header control to use internal field
  9792. to avoid triggering handle creation
  9793. - Now checking if handle is created before causing a refresh when items
  9794. are added (This makes us now match handle creation time with MS)
  9795. * Splitter.cs: Removed loading of private splitter cursor, switched to
  9796. Cursors version now that that is loading the right ones
  9797. * Cursors.cs: Load proper splitter cursors from resources
  9798. * Cursor.cs: Added second method of loading resource cursors for the
  9799. VS.Net users amongst us
  9800. 2006-05-05 Mike Kestner <[email protected]>
  9801. * ListView.cs: give header_control a minimum size based on the
  9802. ListView size.
  9803. 2006-05-05 Peter Dennis Bartok <[email protected]>
  9804. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  9805. window seems to do that with metacity, so set that type. (#78120)
  9806. 2006-05-05 Mike Kestner <[email protected]>
  9807. * ListViewItem.cs: fix Details mode checkbox layout bug.
  9808. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  9809. at the end of the header, if it exists. [Fixes for #78200]
  9810. 2006-05-04 Jackson Harper <[email protected]>
  9811. * MdiClient.cs: Add a helper property to get the container form.
  9812. * MdiWindowManager.cs: We have to make sure to use the menu origin
  9813. when drawing the icons and buttons, this fixes maximized window
  9814. icons/buttons on win32.
  9815. * InternalWindowManager.cs: Reset the restore captions when a
  9816. window goes from Maximized to Minimized and vice versa. Move the
  9817. DrawMaximizedButtons into the MdiWindowManager source, tool
  9818. windows can't be maximized. NOTE: This could use a little
  9819. refactoring if time ever permits.
  9820. 2006-05-03 Jonathan Chambers <[email protected]>
  9821. * TextBox.cs: Add MWFCategoryAttributes
  9822. * TextBoxBase.cs: Add MWFCategoryAttributes
  9823. * Form.cs: Add MWFCategoryAttributes
  9824. 2006-05-03 Jonathan Chambers <[email protected]>
  9825. * Control.cs: Add MWFCategoryAttributes
  9826. * ScrollableControl.cs: Add MWFCategoryAttributes
  9827. 2006-05-03 Alexander Olk <[email protected]>
  9828. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  9829. Divider is true. Fix a little glitch in PropertyToolBar
  9830. drawing code
  9831. 2006-05-02 Peter Dennis Bartok <[email protected]>
  9832. * Control.cs:
  9833. - Dispose: Call base.Dispose, this causes the disposed event
  9834. to be fired (and probably other, more important stuff)
  9835. - SetVisibleCore: Set is_visible to true after creating the
  9836. window so that the window still gets created invisible (if
  9837. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  9838. to generate a WM_ACTIVE message
  9839. * Form.cs: Call Dispose when we want to destroy the window, instead of
  9840. just destroying the handle (Dispose will do that for us)
  9841. * XplatUIX11.cs:
  9842. - RootWindow also needs a queue, so we can properly process the
  9843. property change events from RootWindow (like Activate)
  9844. - Generatic synthetic WM_ACTIVE message when the active window is
  9845. being destroyed
  9846. 2006-05-01 Peter Dennis Bartok <[email protected]>
  9847. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  9848. bounds are changed
  9849. 2006-05-01 Peter Dennis Bartok <[email protected]>
  9850. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  9851. for determining width and height (image might not be assigned if
  9852. we're drawing an imagelist)
  9853. 2006-05-01 Peter Dennis Bartok <[email protected]>
  9854. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  9855. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  9856. height from system
  9857. * Theme.cs: No longer returns hardcoded menu height, instead calls
  9858. new driver method
  9859. * Form.cs (OnLoad): Scaling happens before triggering Load events
  9860. on MS (# 78257)
  9861. 2006-05-01 Mike Kestner <[email protected]>
  9862. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  9863. 2006-04-30 Peter Dennis Bartok <[email protected]>
  9864. * TextBoxBase.cs: Removed Fixme
  9865. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  9866. 2006-04-30 Peter Dennis Bartok <[email protected]>
  9867. * XplatUIX11.cs:
  9868. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  9869. the rectangle relative to the parent, considering borders. We
  9870. don't really want that.
  9871. - ScrollWindow: Fixed warning to be more understandable
  9872. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  9873. scrollbars and scroll only the visible area
  9874. * RichTextBox.cs: Removed debug output
  9875. 2006-04-29 Peter Dennis Bartok <[email protected]>
  9876. * NumericUpDown.cs (Text): Just use base
  9877. * UpDownBase.cs: Ensure txtView is created before using it
  9878. 2006-04-29 Peter Dennis Bartok <[email protected]>
  9879. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  9880. casting to IntPtr to avoid 64bit overflow errors
  9881. 2006-04-29 Peter Dennis Bartok <[email protected]>
  9882. * Control.cs:
  9883. - AllowDrop: Don't force handle creation.
  9884. - CreateHandle: Added call to tell driver if we're allowed to drop
  9885. 2006-04-27 Alexander Olk <[email protected]>
  9886. * FileDialog.cs: Remember the last directory not only for the
  9887. current instance but also for new FileDialog instances.
  9888. 2006-04-29 Peter Dennis Bartok <[email protected]>
  9889. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  9890. broke sending async messages
  9891. 2006-04-29 Peter Dennis Bartok <[email protected]>
  9892. * XplatUIX11.cs:
  9893. - ScrollWindow: Fixed method. We finally generate expose events again
  9894. for scrolled areas. This was causing 'garbage' when scrolling
  9895. textbox and other controls that used ScrollWindow
  9896. - Switched from using the regular queue for paint events to the MS
  9897. model of 'generating' paint events when the queue is empty.
  9898. We use the new XQueueEvent.Paint subclass to store which windows
  9899. need painting.
  9900. - AddExpose now takes the x/y/width/height of the exposed area
  9901. and inserts the window into the paint queue if not already there
  9902. - InvalidateWholeWindow: Switched to use new AddExpose method
  9903. - UpdateMessageQueue: Added which queue to monitor for paint events
  9904. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  9905. the unlikely case nothing above handles it. We reset the expose
  9906. pending states to get them off the queue.
  9907. - GetMessage: Now pulls a paint event if no other events are in the
  9908. queue
  9909. - Invalidate: Switched to new AddExpose method
  9910. - PeekMessage: Updated to understand pending paint events
  9911. - UpdateWindow: Fixed logic bug. We were only updating if the window
  9912. didn't need updating. Also switched to sending WM_PAINT directly,
  9913. like MS does.
  9914. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  9915. and random access Remove(). The random access is needed to handle
  9916. UpdateWindow() where a WM_PAINT is sent directly without accessing
  9917. the queue.
  9918. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  9919. allow for better feedback when scrolling. Scrollbars are small and
  9920. the immediate update should make it 'feel' more responsive without
  9921. slowing things down. ScrollBar still needs it's invaliate logic
  9922. updated to not always invalidate the whole bar on certain changes.
  9923. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  9924. * Control.cs:
  9925. (BackColor): if the control does not support a transparent background,
  9926. return the default backcolor when the parent backcolor is transparent.
  9927. 2006-04-28 Peter Dennis Bartok <[email protected]>
  9928. * Application.cs: Updated to new StartLoop/GetMessage API
  9929. * RichTextBox.cs: Provide some output on RTF parsing errors
  9930. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  9931. new queue_id argument to GetMessage and PeekMessage to allow faster
  9932. handling of per-thread queues in drivers.
  9933. * Hwnd.cs: Added Queue tracking and property
  9934. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  9935. * XEventQueue.cs: Added thread trackingA
  9936. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  9937. * XplatUIX11.cs:
  9938. - Implemented new per-thread queue
  9939. - GetMessage: Fixed return/break behaviour on several cases. We were
  9940. returning stale messages in some cases, instead of just processing
  9941. the next message
  9942. 2006-04-27 Jonathan Chambers <[email protected]>
  9943. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  9944. 2006-04-27 Peter Dennis Bartok <[email protected]>
  9945. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  9946. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  9947. 2006-04-27 Jonathan Chambers <[email protected]>
  9948. * PropertyGridView.cs: Fix drop down width.
  9949. 2006-04-27 Alexander Olk <[email protected]>
  9950. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  9951. a mess in DrawToolBar, so I removed one of them.
  9952. 2006-04-27 Alexander Olk <[email protected]>
  9953. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  9954. needed (clip). Otherwise we get artifacts.
  9955. 2006-04-26 Peter Dennis Bartok <[email protected]>
  9956. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  9957. dimension is fixed
  9958. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  9959. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  9960. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  9961. if it matches the scale base font (avoids unneeded scaling)
  9962. 2006-04-26 Alexander Olk <[email protected]>
  9963. * X11DesktopColors.cs: One gtk_init_check should be enough
  9964. 2006-04-26 Peter Dennis Bartok <[email protected]>
  9965. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  9966. match MS behaviour
  9967. 2006-04-26 Peter Dennis Bartok <[email protected]>
  9968. * TextBoxBase.cs:
  9969. - Generate OnTextChanged for Backspace even if we're only deleting
  9970. the current selection
  9971. - When setting the Text property, only select all text if the
  9972. control does not have focus when it is being set. Otherwise
  9973. just place the cursor at the beginning of the control
  9974. 2006-04-26 Alexander Olk <[email protected]>
  9975. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  9976. Added a little helper to draw PropertyGrid ToolBar with a different
  9977. border and a different BackColor.
  9978. * PropertyGrid.cs: Some background parts didn't get painted with the
  9979. correct background color. Added a class that helps us to draw the
  9980. correct border for PropertyGridView and a class that helps us to
  9981. draw ToolBars with a different backcolor
  9982. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  9983. 2006-04-25 Jonathan Chambers <[email protected]>
  9984. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  9985. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  9986. 2006-04-25 Peter Dennis Bartok <[email protected]>
  9987. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  9988. into the palette entries. Also, since we're working on a copy
  9989. we needed to copy the palette back onto the bitmap.
  9990. * Cursor.cs: Same fix as XplatUIWin32.cs.
  9991. 2006-04-25 Peter Dennis Bartok <[email protected]>
  9992. * ImageListStreamer.cs: Need to read the var (or we're off)
  9993. 2006-04-25 Peter Dennis Bartok <[email protected]>
  9994. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  9995. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  9996. TextBoxBase.cs: Unused var fixes
  9997. * AxHost.cs: Small 2.0 fix
  9998. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  9999. as it seems that is what at least Metacity expects. This will make
  10000. icons show up on 64bit platforms. We still have some 64bit size
  10001. issues, though, since the startup app window size still won't match.
  10002. 2006-04-25 Mike Kestner <[email protected]>
  10003. * *.cs: cleanup newly reported exception var unused warnings.
  10004. 2006-04-25 Alexander Olk <[email protected]>
  10005. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  10006. ms
  10007. 2006-04-25 Alexander Olk <[email protected]>
  10008. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  10009. image. The image position is always the same, no matter if the
  10010. button is pressed or not.
  10011. 2006-04-25 Alexander Olk <[email protected]>
  10012. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  10013. selection and set the correct filename for SaveFileDialog.
  10014. Patch by Emery Conrad.
  10015. 2006-04-24 Mike Kestner <[email protected]>
  10016. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  10017. check for item.X outside the ClientRect instead of item.Y. Fixes
  10018. #78151.
  10019. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  10020. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  10021. trust that value blindly and do some sanity check. Fixes bug #77814.
  10022. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  10023. * ImageListStreamer.cs: save the mask as a 1bpp image.
  10024. 2006-04-21 Mike Kestner <[email protected]>
  10025. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  10026. pass Checked and Indeterminate to the Theme Engine. Improve
  10027. encapsulation with ListBox.
  10028. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  10029. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  10030. nested types. Move all CheckState functionality to CheckedListBox.
  10031. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  10032. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  10033. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  10034. single base list. Fix scrollbar sizing and placement to mirror MS.
  10035. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  10036. used.
  10037. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  10038. for CheckedListBox by using new DrawItemState info. Center the
  10039. checkboxes on the items. Use new StringFormat property.
  10040. 2006-04-18 Jackson Harper <[email protected]>
  10041. * Form.cs: MdiChildren don't do default locations the same way as
  10042. regular forms. This prevents a crash when trying to position the
  10043. mdi windows.
  10044. 2006-04-17 Jonathan Chambers <[email protected]>
  10045. * PropertyGridTextBox.cs: Formatting, copyright
  10046. * PropertiesTab.cs: Formatting
  10047. * PropertyGrid.cs: Formatting
  10048. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  10049. click toggling of values
  10050. 2006-04-17 Peter Dennis Bartok <[email protected]>
  10051. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  10052. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  10053. every time a control is created
  10054. * Application.cs: Removed obsolete EnableRTLMirroring method
  10055. 2006-04-18 Gert Driesen <[email protected]>
  10056. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  10057. SelectedIndex to -1. Fixes bug #78121.
  10058. 2006-04-17 Jackson Harper <[email protected]>
  10059. * Binding.cs: Handle null values for Current and BindingContext.
  10060. This occurs when binding is a little delayed.
  10061. * CurrencyManager.cs: return null for Current when there are no
  10062. items in the list.
  10063. - Hookup to the listchanged event on the DataView and update
  10064. bindings when the list is changed. This fixes late binding of
  10065. controls.
  10066. 2006-04-17 Jackson Harper <[email protected]>
  10067. * X11Dnd.cs:
  10068. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  10069. Ringenbach.
  10070. 2006-04-15 Alexander Olk <[email protected]>
  10071. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  10072. place
  10073. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  10074. with the correct ButtonState
  10075. 2006-04-14 Peter Dennis Bartok <[email protected]>
  10076. * XplatUIX11.cs: Improved distinguishing between window types to
  10077. tell the WM a type closer to what the app wants (Fixes #78107)
  10078. 2006-04-14 Alexander Olk <[email protected]>
  10079. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  10080. GrabHandle
  10081. 2006-04-14 Alexander Olk <[email protected]>
  10082. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  10083. drawing code to reflect the size grip changes
  10084. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  10085. * ImageListStreamer.cs: fix handling of the mask that follows the main
  10086. bitmap when deserializing and serialize it properly. The generated mask
  10087. should better be a 1bpp image, but I'll do that later.
  10088. 2006-04-13 Alexander Olk <[email protected]>
  10089. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  10090. path doesn't fit into some of our Current.Places
  10091. 2006-04-13 Jackson Harper <[email protected]>
  10092. * ComboBox.cs: Use borders instead of drawing our own decorations,
  10093. try to obey correct rules for heights.
  10094. * Theme.cs:
  10095. * ThemeNice.cs:
  10096. * ThemeClearLooks.cs:
  10097. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  10098. this is now handled by borders.
  10099. - Remove unused DrawListBoxDecorationSize method.
  10100. 2006-04-13 Mike Kestner <[email protected]>
  10101. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  10102. reported by Alex.
  10103. 2006-04-13 Alexander Olk <[email protected]>
  10104. * ThemeWin32Classic.cs:
  10105. - Fixed CPDrawStringDisabled
  10106. - Corrected drawing of disabled menu items
  10107. - Fixed drawing of disabled radio buttons (bug #78095)
  10108. - Draw check in a disabled CheckBox with color ControlDark
  10109. 2006-04-12 Peter Dennis Bartok <[email protected]>
  10110. * Form.cs: Use the provided width when calculating the menu size;
  10111. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  10112. and ClientSize.Width won't be updated yet
  10113. * Application.cs: Use Visible instead of Show() to make form visible,
  10114. this way we create the handle later and menusize is considered
  10115. 2006-04-12 Mike Kestner <[email protected]>
  10116. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  10117. reporting.
  10118. 2006-04-12 Peter Dennis Bartok <[email protected]>
  10119. * TextBox.cs: Implemented context menu
  10120. 2006-04-12 Mike Kestner <[email protected]>
  10121. * ListView.cs: implement box selection. fixes #77838.
  10122. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  10123. 2006-04-12 Peter Dennis Bartok <[email protected]>
  10124. * XplatUIX11.cs: Added setting of window type when transient window
  10125. is created (metacity would move it otherwise)
  10126. * X11Structs.cs: Added WINDOW_TYPE atoms
  10127. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  10128. background (the control is Opaque but still wants transparent
  10129. backgrounds)
  10130. 2006-04-12 Peter Dennis Bartok <[email protected]>
  10131. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  10132. that set Opaque but don't mean it (like all ButtonBase-derived
  10133. controls) to still draw their background
  10134. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  10135. the background
  10136. 2006-04-12 Peter Dennis Bartok <[email protected]>
  10137. * Control.cs (PaintControlBackground): Set the graphics object
  10138. on our PaintEvent to null to prevent it from being disposed
  10139. when the PaintEvent gets disposed
  10140. 2006-04-12 Alexander Olk <[email protected]>
  10141. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  10142. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  10143. 2006-04-12 Peter Dennis Bartok <[email protected]>
  10144. * Control.cs:
  10145. - Added transparency check to BackColor property. Transparent
  10146. backgrounds are only allowed if the control styles permit it
  10147. - Added recursive painting of parent control background and
  10148. foreground if a control with a transparent backcolor is drawn
  10149. (Thanks to Tim Ringenback for providing his 'hack' as a base
  10150. for this patch) Fixes #77985 and #78026.
  10151. - Added Opaque style check before calling OnPaintBackground, no
  10152. need to draw the background if the control is opaque
  10153. - Removed ControlAccessibleObject owner variable (inherited from
  10154. base, no need to define again)
  10155. - Added some documentation links explaining the drawing events
  10156. and styles
  10157. 2006-04-11 Peter Dennis Bartok <[email protected]>
  10158. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  10159. that the affected control is the located at the left border of our
  10160. parent (Fixes #77936)
  10161. 2006-04-11 Peter Dennis Bartok <[email protected]>
  10162. * TextBoxBase.cs: When rendering disabled or readonly controls,
  10163. draw the background with 'Control' instead of 'Window' color as
  10164. long as the user hasn't specifically set a color
  10165. 2006-04-11 Peter Dennis Bartok <[email protected]>
  10166. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  10167. since that won't be updated if the user types text (only if it's
  10168. programatically set)
  10169. 2006-04-11 Peter Dennis Bartok <[email protected]>
  10170. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  10171. layout changes do to app-triggered resizes will have the proper
  10172. display rectangle for layout
  10173. 2006-04-11 Alexander Olk <[email protected]>
  10174. * ThemeWin32Classic.cs:
  10175. - Make use of the SystemBrushes and SystemPens wherever possible
  10176. - Corrected some highlight colors
  10177. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  10178. drawing
  10179. * Theme.cs: Added Empty field to CPColor struct
  10180. 2006-04-11 Peter Dennis Bartok <[email protected]>
  10181. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  10182. is displayed when calculating the display rectangle. Thanks to Mike
  10183. for teaching me the err of my ways.
  10184. 2006-04-10 Peter Dennis Bartok <[email protected]>
  10185. * ScrollableControl.cs:
  10186. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  10187. (instead of 0,0) and we now return the real width/height instead of
  10188. just the clientrectangle, adjusted for padding. The rectangle is
  10189. now cached and created by the new CalculateDisplayRectangle method.
  10190. - Created new CalculateDisplayRectange method, which basically does
  10191. what get_DisplayRectangle() did originally, but now using the
  10192. right edge instead of DisplayRectangle to determine the size of
  10193. our scrollbars
  10194. - get_Canvas(): Fixed it to properly calculate canvas for
  10195. right/bottom controls which seem to be placed to the right/bottom
  10196. of any controls that have a fixed location
  10197. - Removed TODO that's taken care of
  10198. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  10199. and SetDisplayRectLocation according to new MSDN2 docs
  10200. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  10201. event when that is called, this is added for compatibility
  10202. - ScrollControlIntoView(): Implemented.
  10203. - Switched scrollbars to be implicit, they shouldn't be selectable
  10204. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  10205. call it when the active control is set/changed
  10206. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  10207. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  10208. implicit_control variable (used for native Win32 message generation)
  10209. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  10210. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  10211. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  10212. * XplatUIStructs.cs: Added ScrollBarCommands enum
  10213. 2006-04-10 Jackson Harper <[email protected]>
  10214. * ButtonBase.cs:
  10215. * CheckedListBox.cs:
  10216. * ComboBox.cs:
  10217. * DataGrid.cs:
  10218. * DataGridView.cs:
  10219. * Form.cs:
  10220. * GroupBox.cs:
  10221. * ListBox.cs:
  10222. * PrintPreviewControl.cs:
  10223. * ProgressBar.cs:
  10224. * PropertyGrid.cs:
  10225. * Splitter.cs:
  10226. * StatusBar.cs:
  10227. * TrackBar.cs:
  10228. * UpDownBase.cs: Fixup base event overrides.
  10229. 2006-04-06 Mike Kestner <[email protected]>
  10230. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  10231. all user-initiated value changes to min <= value <= max-thumbsz+1.
  10232. (set_Value): check for vert/horiz when calculating new thumb position.
  10233. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  10234. like MS does.
  10235. (OnMouseMoveSB): refactor the thumb dragging code and refine
  10236. invalidation logic to reduce flicker.
  10237. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  10238. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  10239. (UpdateThumbPosition): small code readability cleanup
  10240. 2006-04-10 Alexander Olk <[email protected]>
  10241. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  10242. different
  10243. 2006-04-08 Alexander Olk <[email protected]>
  10244. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  10245. 2006-04-08 Alexander Olk <[email protected]>
  10246. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  10247. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  10248. This dramatically reduces the number of Pen.Dispose calls.
  10249. Where possible call ResPool methods only once instead of calling it
  10250. over and over again (for example for the same color).
  10251. 2006-04-06 Mike Kestner <[email protected]>
  10252. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  10253. Also remove an unused private field on the collection. Fixes #77972.
  10254. 2006-04-06 Alexander Olk <[email protected]>
  10255. * ThemeNice.cs: Added ToolBar drawing code
  10256. 2006-04-06 Mike Kestner <[email protected]>
  10257. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  10258. I'm assuming that means we need to look up the toplevel for the
  10259. provided control. Fixes the crash trace in #77911 but exposes another
  10260. crash in some strange reflection usage in NDocGui.
  10261. 2006-04-06 Alexander Olk <[email protected]>
  10262. * ThemeNice.cs: Gave it a little silver touch and added Images
  10263. method
  10264. * FontDialog.cs: FontDialog is not resizable
  10265. * FileDialg.cs: Added SizeGripStyle.Show
  10266. 2006-04-05 Jackson Harper <[email protected]>
  10267. * KeyboardLayouts.cs: Remove warning.
  10268. 2006-04-05 Jackson Harper <[email protected]>
  10269. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  10270. all of our controls instead of Paint +=.
  10271. * ListBox.cs:
  10272. * ListView.cs:
  10273. * MenuAPI.cs:
  10274. * MessageBox.cs:
  10275. * NotifyIcon.cs:
  10276. * ProgressBar.cs:
  10277. * ScrollBar.cs:
  10278. * Splitter.cs:
  10279. * StatusBar.cs:
  10280. * TabControl.cs:
  10281. * TextBoxBase.cs:
  10282. * ToolBar.cs:
  10283. * TrackBar.cs:
  10284. * UpDownBase.cs:
  10285. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  10286. use OnPaintInternal. Remove Width/Height and Visible checks in
  10287. paint handler, this is done at a higher level now.
  10288. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  10289. * PaintEventArgs.cs: Add a handled flag so controls that don't
  10290. want anymore painting after OnPaintInternal can make sure OnPaint
  10291. isn't called.
  10292. 2006-04-05 Mike Kestner <[email protected]>
  10293. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  10294. state of the form, so that we don't process events when Modal dialogs
  10295. are up. Fixes #77922.
  10296. 2006-04-05 Alexander Olk <[email protected]>
  10297. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  10298. checking is done.
  10299. 2006-04-05 Mike Kestner <[email protected]>
  10300. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  10301. 2006-04-05 Mike Kestner <[email protected]>
  10302. * ListView.cs (HeaderMouseMove): null guarding for the over column
  10303. when setting up the drag_to_index. Fixes #78015.
  10304. 2006-04-04 Peter Dennis Bartok <[email protected]>
  10305. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  10306. in the taskbar. Transient windows seem to accomplish that.
  10307. 2006-04-04 Peter Dennis Bartok <[email protected]>
  10308. * Form.cs:
  10309. - Re-enabled CreateParams.X/Y code for FormStartPosition
  10310. - Added code for manual placement when creating the Control
  10311. - Incomplete patch to treat MDI forms differently when
  10312. setting the ClientSizeCore. (Still need to figure out handling
  10313. x/y coords there)
  10314. * XplatUIX11.cs:
  10315. - When we're explicitly setting the X/Y position of a non-Child
  10316. window, let the WM know. Metacity really wants this.
  10317. 2006-04-04 Alexander Olk <[email protected]>
  10318. * ThemeNice.cs: Added CPDrawButton
  10319. 2006-04-04 Alexander Olk <[email protected]>
  10320. * ThemeNice.cs: Changed the color for focused buttons and activated
  10321. the arrows for small scroll buttons.
  10322. 2006-04-04 Alexander Olk <[email protected]>
  10323. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  10324. anymore. Changed some method modifiers to protected (virtual)
  10325. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  10326. changes
  10327. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  10328. Updated drawing of menus, buttons and progressbars; added
  10329. CPDrawBorder3D
  10330. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  10331. * ImageListStreamer.cs: implemented serialization/deserialization
  10332. of the images.
  10333. 2006-04-03 Alexander Olk <[email protected]>
  10334. * ThemeWin32Classic.cs:
  10335. - Removed all the DrawFrameControl stuff; CPDrawButton,
  10336. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  10337. inside the methods
  10338. - Updated and corrected the drawing code of CPDrawButton,
  10339. CPDrawCheckBox and CPDrawRadioButton to better match ms
  10340. - Updated theme checkbox and radiobutton code to use the CP*
  10341. methods
  10342. 2006-03-31 Peter Dennis Bartok <[email protected]>
  10343. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  10344. bug is fixed
  10345. 2006-03-31 Jackson Harper <[email protected]>
  10346. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  10347. sometimes.
  10348. * UpDownBase.cs: Don't CreateGraphics manually, use a
  10349. Refresh. Ideally we would invalidate the correct areas here.
  10350. 2006-03-31 Peter Dennis Bartok <[email protected]>
  10351. * XplatUIX11.cs:
  10352. - We now track the mapping state of windows. If a window (or
  10353. one of it's parents) is not mapped we no longer permit
  10354. WM_PAINT messages to be generated since we'd otherwise get
  10355. lots of BadMatch X errors. Jackson did all the work figuring
  10356. out the problem.
  10357. - Destroying the caret if the window it's contained in is
  10358. destroyed. Can't use regular DestroyCaret method since it
  10359. might fall into a drawing function (trying to remove the
  10360. caret) and with that generate new BadMatch errors. Again,
  10361. Jackson tracked this down.
  10362. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  10363. make sure we send the messages to all windows. (The old code
  10364. would send the WM_DESTROY to the window, and then all child
  10365. windows would be 'gone' because the WM_DESTROY handle lookup
  10366. would no longer find the destroyed window)
  10367. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  10368. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  10369. 2006-03-31 Jackson Harper <[email protected]>
  10370. * ScrollableControl.cs: Dont recalc if we are not visible.
  10371. 2006-03-31 Mike Kestner <[email protected]>
  10372. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  10373. the visibility branch.
  10374. 2006-03-31 Jackson Harper <[email protected]>
  10375. * ScrollBar.cs: Cap values when incrementing/decrementing.
  10376. 2006-03-31 Mike Kestner <[email protected]>
  10377. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  10378. * ToolTip.cs: guard against timer expirations with no active control.
  10379. Not sure why it happened.
  10380. 2006-03-31 Mike Kestner <[email protected]>
  10381. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  10382. text.
  10383. * ToolTip.cs: Position the tooltip based on where the cursor is at
  10384. popup time, not at MouseEnter time. Add a Down state so that we don't
  10385. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  10386. positioning offset. Lookup DisplaySize at positioning time, since it
  10387. can theoretically change during invocation.
  10388. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  10389. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  10390. 2006-03-31 Alexander Olk <[email protected]>
  10391. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  10392. Fixes behaviour when the Text property of the box is String.Empty
  10393. 2006-03-31 Peter Dennis Bartok <[email protected]>
  10394. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  10395. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  10396. a window)
  10397. 2006-03-31 Alexander Olk <[email protected]>
  10398. * FileDialog.cs: Visual enhancement for the popup buttons in
  10399. PopupButtonPanel
  10400. 2006-03-31 Alexander Olk <[email protected]>
  10401. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  10402. code
  10403. 2006-03-30 Alexander Olk <[email protected]>
  10404. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  10405. highlighted menu items to match ms
  10406. 2006-03-30 Peter Dennis Bartok <[email protected]>
  10407. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  10408. 2006-03-30 Mike Kestner <[email protected]>
  10409. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  10410. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  10411. go active to account for HotLight to Selected transition.
  10412. * MenuItem.cs: add internal Selected prop. Fill out the Status
  10413. property by calculating it from item info. Add HotLight,
  10414. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  10415. 2006-03-30 Mike Kestner <[email protected]>
  10416. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  10417. 2006-03-29 Jackson Harper <[email protected]>
  10418. * Form.cs: Implement TODO.
  10419. 2006-03-29 Peter Dennis Bartok <[email protected]>
  10420. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  10421. missing proper dialog setup in the constructor
  10422. 2006-03-29 Peter Dennis Bartok <[email protected]>
  10423. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  10424. * Control.cs:
  10425. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  10426. - Fixed ResetBindings and removed TODO
  10427. - Added check for cross-thread calls to get_Handle()
  10428. - Added Marshaller attribute for set_Font to satisfy class status
  10429. * FontDialog.cs: Removed TODOs that seemed implemented
  10430. * UpDownBase.cs: Removed unneeded TODO and Fixme
  10431. * MessageBox.cs: Implemented support for Default button and removed TODO
  10432. * FileDialog.cs: Removed obsolete TODO
  10433. * DomainUpDown.cs: Removed obsolete TODO
  10434. * ButtonBase.cs: Removed obsolete TODO
  10435. * XplatUIWin32.cs: Removed obsolete TODO
  10436. * Form.cs:
  10437. - Removed obsolete TODO
  10438. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  10439. internal status updates
  10440. - Making sure the active control is selected when the control is created
  10441. * CurrencyManager.cs: Removed obsolete TODO
  10442. 2006-03-29 Mike Kestner <[email protected]>
  10443. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  10444. of PrintPreviewDialog and RichTextBox.
  10445. 2006-03-29 Alexander Olk <[email protected]>
  10446. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  10447. DarkDark, Light and LightLight colors for a specific color
  10448. * ThemeWin32Classic.cs:
  10449. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  10450. Appearance = Button
  10451. - Make use of the new ResPool helper CPColor
  10452. - Draw ProgressBar and StatusBar with correct 3D borders
  10453. 2006-03-29 Alexander Olk <[email protected]>
  10454. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  10455. 2006-03-28 Mike Kestner <[email protected]>
  10456. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  10457. calculating col/row counts.
  10458. 2006-03-28 Mike Kestner <[email protected]>
  10459. * ColumnHeader.cs:
  10460. * ListView.cs:
  10461. * ListViewItem.cs:
  10462. * Menu.cs:
  10463. switch to explicit interface method implementation for some methods
  10464. corcompare identifies as inconsistent with MS.
  10465. 2006-03-28 Mike Kestner <[email protected]>
  10466. * MainMenu.cs:
  10467. * Menu.cs:
  10468. add a few missing methods from the class status output.
  10469. 2006-03-28 Alexander Olk <[email protected]>
  10470. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  10471. correct.
  10472. 2006-03-28 Mike Kestner <[email protected]>
  10473. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  10474. 2006-03-27 Mike Kestner <[email protected]>
  10475. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  10476. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  10477. 2006-03-27 Alexander Olk <[email protected]>
  10478. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  10479. 2006-03-25 Alexander Olk <[email protected]>
  10480. * ThemeWin32Classic.cs:
  10481. - GroupBox: Inserted a little gap between the text and the lines
  10482. on the right side
  10483. - Made the code in CPDrawBorder3D more readable
  10484. - Corrected the drawing location of the up and down arrows in
  10485. CPDrawScrollButton
  10486. 2006-03-25 Alexander Olk <[email protected]>
  10487. * ControlPaint.cs: Corrected line widths in DrawBorder for
  10488. ButtonBorderStyle Inset and Outset
  10489. 2006-03-25 Alexander Olk <[email protected]>
  10490. * ThemeWin32Classic.cs:
  10491. - Rewrote the totally broken CPDrawBorder3D method. That was
  10492. one of the main problems for the terrific ThemeWin32Classic
  10493. look
  10494. - Updated and corrected Button drawing
  10495. - Correct the dimensions of the SizeGrip to match ms ones
  10496. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  10497. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  10498. Border3DStyle.Sunken to match ms.
  10499. 2006-03-25 Alexander Olk <[email protected]>
  10500. * ThemeWin32Classic.cs: First small part of the "de-uglify
  10501. ThemeWin32Classic" effort, SizeGrip
  10502. 2006-03-24 Jackson Harper <[email protected]>
  10503. * XplatUIX11.cs: Give a max idle time of one second, this matches
  10504. MS and forces an Idle event every second when there are no other
  10505. events in the queue.
  10506. 2006-03-24 Mike Kestner <[email protected]>
  10507. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  10508. * ListView.Item.cs: fix layout issues with null image lists and images
  10509. smaller than checkbox size.
  10510. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  10511. mode like MS does. It's weird, but consistent. ;-)
  10512. Fixes #77890.
  10513. 2006-03-24 Mike Kestner <[email protected]>
  10514. * ListView.cs: Scroll wheel support for the item control. Fixes
  10515. #77839.
  10516. 2006-03-23 Jackson Harper <[email protected]>
  10517. * ScrollableControl.cs: Special case negative sized areas, not
  10518. zero.
  10519. * MonthCalendar.cs: Save the rect of the clicked date so we can
  10520. use it for invalidation.
  10521. - Try to cut down on the number of invalidates
  10522. - Invalidate the rect the mouse is over and was over when moving
  10523. the mouse, so we get the focus box following the cursor.
  10524. 2006-03-23 Mike Kestner <[email protected]>
  10525. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  10526. focus rectangle drawing. Fixes #77835.
  10527. 2006-03-23 Mike Kestner <[email protected]>
  10528. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  10529. the if and else if and reverting back to the original == check on the
  10530. None conditional.
  10531. 2006-03-23 Alexander Olk <[email protected]>
  10532. * FontDialog.cs: Update the example panel if the selected index of
  10533. the fontListBox changes.
  10534. 2006-03-23 Alexander Olk <[email protected]>
  10535. * FileDialog.cs: Make FileDialog remember which directory it was in
  10536. last in the same execution.
  10537. 2006-03-22 Mike Kestner <[email protected]>
  10538. * FileDialog.cs: make the DropDownMenu on the toolbar display
  10539. RadioChecks since they are mutually exclusive and that's what MS does.
  10540. 2006-03-22 Mike Kestner <[email protected]>
  10541. * Theme.cs: add Color param to CPDrawMenuGlyph.
  10542. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  10543. checks and radio marks and arrows are visible on highlighted items.
  10544. * ControlPaint.cs: update to use new Theme signature.
  10545. 2006-03-22 Mike Kestner <[email protected]>
  10546. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  10547. is active. Fixes #77870.
  10548. 2006-03-22 Alexander Olk <[email protected]>
  10549. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  10550. to be focused/selected after startup
  10551. 2006-03-22 Alexander Olk <[email protected]>
  10552. * ColorDialog.cs:
  10553. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  10554. CustomColors and ShowHelp properties
  10555. - Some internal rewrites to get better results when using the
  10556. ColorMatrix
  10557. 2006-03-22 Mike Kestner <[email protected]>
  10558. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  10559. HoverSelection. Fixes #77836.
  10560. 2006-03-22 Mike Kestner <[email protected]>
  10561. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  10562. ToggleButtons. (De)Sensitize the Back button around a stack count of
  10563. 1, not 0. Update ButtonSize based on a pixel count of the win32
  10564. control. Adjust the toolbar size/location for new button size.
  10565. 2006-03-22 Jackson Harper <[email protected]>
  10566. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  10567. true.
  10568. * ScrollBar.cs: When doing increments and decrements we need to
  10569. set the Value property so that ValueChanged gets raised. A
  10570. possible optimization here would be to make an internal SetValue
  10571. that doesn't invalidate immediately.
  10572. * ToolTip.cs: Tooltips get added to their container (when
  10573. supplied) so they get disposed when the container is disposed.
  10574. - Don't create tooltips for String.Empty. This prevents all these
  10575. little 2-3 pixel windows from showing up when running nunit-gui
  10576. and driving me mad.
  10577. * Form.cs: Don't set topmost when setting the owner if the handles
  10578. haven't been created yet. The topmost set will happen when the
  10579. handles are created.
  10580. 2006-03-22 Peter Dennis Bartok <[email protected]>
  10581. * XplatUIX11.cs:
  10582. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  10583. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  10584. visible (to allow them to recalculate their sizes)
  10585. 2006-03-21 Mike Kestner <[email protected]>
  10586. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  10587. methods. Removed a ton of redundant code. Still not really happy with
  10588. the border rendering, but I think that's mainly because of the
  10589. ControlDarkDark being black instead of a dark grey. Depending on how
  10590. close we want to be, we might want to revisit those color choices.
  10591. Among the new features added during the refactor were DropDownArrow
  10592. pressed rendering, Disabled image rendering. Proper flat appearance
  10593. boundary rendering. Removed the Divider and Wrapping dividers since I
  10594. can't figure out any combination of themes and conditions to make the
  10595. MS control draw a horizontal line on a toolbar despite what the
  10596. Divider property docs indicate.
  10597. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  10598. conditions and incorrect layout. Updated to coding standard.
  10599. * ToolBarButton.cs: refactored layout and positioning code from
  10600. ToolBar to here. Invalidate wherever possible instead of forcing
  10601. redraws of the whole toolbar.
  10602. (Known remaining issues: explicit ButtonSize smaller than provided
  10603. images.)
  10604. 2006-03-21 Mike Kestner <[email protected]>
  10605. * ContextMenu.cs (Show): use the position parameter instead of just
  10606. showing at the MousePosition.
  10607. 2006-03-21 Jackson Harper <[email protected]>
  10608. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  10609. control handle this.
  10610. * TreeNodeCollection.cs: If we are clearing the root node we need
  10611. to reset top_node so calcs can still happen.
  10612. * ThemeWin32Classic.cs: This is a Flags so we need to check
  10613. properly.
  10614. 2006-03-21 Jackson Harper <[email protected]>
  10615. * DataGrid.cs: Create columns when the binding context has been
  10616. changed.
  10617. * X11Structs.cs: Keysyms are uints.
  10618. - Add size to fix build.
  10619. 2006-03-21 Peter Dennis Bartok <[email protected]>
  10620. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  10621. XplatUIOSX.cs:
  10622. - Added ResetMouseHover method to allow controls to retrigger
  10623. hovering if they need it more than once
  10624. - Implemented MouseHoverTime and MouseHoverSize properties
  10625. * Timer.cs: Start() must reset the interval
  10626. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  10627. properties
  10628. 2006-03-21 Jackson Harper <[email protected]>
  10629. * X11Keyboard.cs: improved layout detection. Move the nonchar
  10630. tables into this file.
  10631. * KeyboardLayouts.cs: Move the tables into resource files.
  10632. 2006-03-21 Mike Kestner <[email protected]>
  10633. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  10634. 2006-03-21 Alexander Olk <[email protected]>
  10635. * Mime.cs: Various speed optimizations. Looking up mime types
  10636. is now 2 times faster than before
  10637. 2006-03-17 Peter Dennis Bartok <[email protected]>
  10638. * CreateParams.cs: Added internal menu field
  10639. * Control.cs:
  10640. - Switched call order for UpdateBounds; now we always call
  10641. the one that also takes ClientSize, and we're calculating the
  10642. client size via driver method in the others. The previous
  10643. method of tracking client size by difference wasn't working
  10644. for forms where even the starting client size wouldn't match
  10645. the overall form size (due to borders) (Part of fix for #77729)
  10646. - CreateParams(): Do not use parent.Handle unless the handle is
  10647. already created. Causes havoc with Nexxia and throws off our
  10648. creation of controls
  10649. * XplatUIX11.cs:
  10650. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  10651. - Switched handling of ConfigureNotify over to new PerformNCCalc
  10652. method (consolidates code)
  10653. - Changed RequestNCRecalc to use new PerformNCCalc method
  10654. - Added calls to RequestNCRecalc when menus and borders are changed
  10655. to allow app to set NC size. (Part of fix for #77729) This matches
  10656. when MS send a WM_NCRECALC on Win32 windows.
  10657. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  10658. (Part of fix for #77729). This matches what MS does, they also
  10659. send that message when the form is made visible.
  10660. - XException.GetMessage: Improved usability of X errors by including
  10661. a translation of the window into Hwnd and Control class
  10662. - Improved debug info for window creation, reparenting and destruction
  10663. - Created helper method WindowIsMapped() [Currently not used]
  10664. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  10665. * Form.cs:
  10666. - CreateParams: Now setting our menu on the new internal menu field
  10667. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  10668. avoid calculating the same property twice
  10669. * Hwnd.cs:
  10670. - Improved usability of ToString() for debugging purposes
  10671. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  10672. determine the height of the menu, instead of just the font. This
  10673. required to also create a graphics context and to keep a bmp
  10674. around (for performance reasons)
  10675. 2006-03-17 Peter Dennis Bartok <[email protected]>
  10676. * MenuAPI.cs: Added OnMouseUp method
  10677. * Form.cs:
  10678. - Now remembering the requested client size, avoids size errors
  10679. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  10680. instead of base if the menu is active. This is required due to
  10681. control now capturing and releasing on down/up and it would
  10682. prematurely release our menu capture
  10683. 2006-03-17 Jackson Harper <[email protected]>
  10684. * KeyboardLayouts.cs: Add the czech layouts.
  10685. 2006-03-16 Jackson Harper <[email protected]>
  10686. * Control.cs: Use the viewport space when sizing not the controls
  10687. client size, so things like ScrollableControl that effect the
  10688. viewport size (when scrollbars are added) are computed correctly.
  10689. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  10690. of ManagerEntrys.
  10691. - Handle creating BindingManagers for null data sources.
  10692. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  10693. source, otherwise when rows are added they are added to the 'fake'
  10694. datasource and we will crash when trying to set the position in
  10695. those rows.
  10696. - Use Implicit scrollbars on the datagrid so they arent
  10697. selectable.
  10698. 2006-03-16 Jackson Harper <[email protected]>
  10699. * Binding.cs:
  10700. * InternalWindowManager.cs:
  10701. * MdiWindowManager.cs:
  10702. * X11Keyboard.cs: I really want Mike to love me again (fix
  10703. compiler warnings).
  10704. 2006-03-16 Peter Dennis Bartok <[email protected]>
  10705. * DataGrid.cs:
  10706. - OnMouseDown: Switch to editing mode when clicking on the cell
  10707. even if we're clicking on the cell that's currently
  10708. selected
  10709. - ProcessGridKey: Left/Right now wrap like MS.Net does
  10710. - ProcessGridKey: Tab now knows to add a new row when tab is
  10711. pressed in the cell of the last column of the
  10712. last row
  10713. - ProcessGridKey: Enter now adds another row if pressed in the last
  10714. row and selectes the new row, same column cell
  10715. - ProcessGridKey: Home/End navigate columns, not rows, like
  10716. originally implemented
  10717. - Broke ProcessKeyPreview code out into an extra Internal method
  10718. so it can be called from the edit code
  10719. * DataGridTextBox.cs (ProcessKeyMessage):
  10720. - Switched to accept Tab keypresses
  10721. - Added F2 handling to allow jumping to the end of the edited cell
  10722. - Added logic to allow moving caret left/right inside edited cell
  10723. and making the edited cell jump when the caret hits cell borders
  10724. - Tab and Enter are now passed to the datagrid after being handled
  10725. * TextBoxBase.cs:
  10726. - Removed capture code now that Control handles it
  10727. - set_SelectionStart now ensures caret is visible
  10728. 2006-03-16 Jackson Harper <[email protected]>
  10729. * TrackBar.cs: Debackwards the increment/decrement for handling
  10730. mouse clicks on the bar with vertical trackbars.
  10731. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  10732. bottom to match MS.
  10733. 2006-03-16 Mike Kestner <[email protected]>
  10734. * ListView.cs: make shift/ctrl keyboard and mouse selection
  10735. consistent with the MS control. Fix a bug in
  10736. SelectedListViewItemCollection.Clear that was pissing me off for the
  10737. better part of a day because the collection was being altered
  10738. underneath us as we walked the list.
  10739. 2006-03-16 Peter Dennis Bartok <[email protected]>
  10740. * Control.cs: Not sure how we could miss this so long, but it seems
  10741. that MS.Net has Capture set all the way from before calling
  10742. OnMouseDown through sending the mouse events until after
  10743. OnMouseUp. This will fix DataGrid's selection being set to end
  10744. at the location of the MouseUp.
  10745. 2006-03-15 Jackson Harper <[email protected]>
  10746. * BindingContext.cs: Check the binding after its added so that it
  10747. can initialize the binding managers and hookup to events.
  10748. * Binding.cs: Data members seem to sometimes include rows/cols in
  10749. the format Row.Column we now take this into account.
  10750. - Hookup to the position changed event so we can update the
  10751. control when the position has changed in the data set.
  10752. * CurrencyManager.cs: Take into account the row/col naming
  10753. convention when creating dataset tables.
  10754. * BindingContext.cs: Using a newer better way of storing
  10755. datasource/datamember pairs. Hopefully this better matches MS for
  10756. looking up binding managers.
  10757. 2006-03-15 Jackson Harper <[email protected]>
  10758. * BindingContext.cs: The currency manager needs the data member
  10759. name, if the member is a data set we use the name to find the
  10760. correct table.
  10761. * CurrencyManager.cs: When creating the list prefer an IList over
  10762. an IListSource.
  10763. - Attempt to create a DataTable from a DataSet (TODO: might need
  10764. some better error checking here, although MS doesn't seem to have much)
  10765. - If we have a DataTable create a view and use it as our list.
  10766. 2006-03-15 Mike Kestner <[email protected]>
  10767. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  10768. keyboard navigation. Support Up/Down/Left/Right selection correctly
  10769. for all 4 View modes.
  10770. * ListViewItem.cs: add internal row/col fields for icon layouts.
  10771. 2006-03-15 Jackson Harper <[email protected]>
  10772. * TabControl.cs: Redraw the tabs when we resize so their newly
  10773. calculated sizes are drawn on screen.
  10774. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  10775. composite characters.
  10776. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  10777. - filter events so that composite characters can be created
  10778. patches by peter
  10779. * X11Structs.cs: Add XIMProperties enum.
  10780. 2006-03-14 Peter Dennis Bartok <[email protected]>
  10781. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  10782. unless it's created
  10783. 2006-03-14 Peter Dennis Bartok <[email protected]>
  10784. * Control.cs (PerformLayout): We don't need to consider visiblity
  10785. for anchoring, only for docking. This fixes 'whacky' alignment
  10786. in listbox and other controls that use implicit scrollbars after
  10787. the previous PerformLayout patch
  10788. * ListBox.cs: Switched to use implicit scrollbars
  10789. 2006-03-14 Mike Kestner <[email protected]>
  10790. * ToolBar.cs:
  10791. * VScrollBar.cs:
  10792. - chain up the "new event" overrides to base and use
  10793. OnEvent to raise them. Part of fix for bug #76509.
  10794. 2006-03-14 Alexander Olk <[email protected]>
  10795. * FileDialog.cs: Do not select an item in the parent directory
  10796. on backspace
  10797. 2006-03-14 Peter Dennis Bartok <[email protected]>
  10798. * Control.cs (PerformLayout): It would seem that we considered
  10799. invisible windows for our layout. Not quite the right thing
  10800. to do. Now we don't any longer, thereby fixing bug #76889.
  10801. 2006-03-14 Peter Dennis Bartok <[email protected]>
  10802. * Control.cs (CanFocus): I goofed. A control can have focus
  10803. even though it's not selectable. Made it match MS docs.
  10804. 2006-03-13 Peter Dennis Bartok <[email protected]>
  10805. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  10806. center by default (fixes #76895)
  10807. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  10808. all uses of Border3DSides.All with the explicit ORd together
  10809. Left|Right|Top|Bottom because I assume that nobody was aware
  10810. that All also implies a center fill. Most places I checked had
  10811. a fill right above.
  10812. * ProgressBarStyle.cs: Added
  10813. 2006-03-13 Mike Kestner <[email protected]>
  10814. * ListView.cs: fix breakage in drag shadow header positioning
  10815. from Peter's csc compilation fix.
  10816. 2006-03-13 Mike Kestner <[email protected]>
  10817. * ListView.cs: fix NRE produced by backspacing twice in a focused
  10818. FileDialog.
  10819. 2006-03-13 Mike Kestner <[email protected]>
  10820. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  10821. 2006-03-13 Peter Dennis Bartok <[email protected]>
  10822. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  10823. be changed
  10824. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  10825. the allowed size before making programmatic size changes
  10826. 2006-03-13 Peter Dennis Bartok <[email protected]>
  10827. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  10828. set, metacity is broken and will still use the emty sizes in
  10829. the struct. (Fix for #77089)
  10830. 2006-03-13 Peter Dennis Bartok <[email protected]>
  10831. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  10832. WindowExStyles and marked both enums as Flags
  10833. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  10834. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  10835. to match WindowStyles split
  10836. * XplatUIX11.cs:
  10837. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  10838. - Updated to match WindowStyles split
  10839. * XplatUIWin32.cs:
  10840. - Fixed FosterParent creation, was using ExStyle on the Style field
  10841. (This should help with Popup focus issues)
  10842. - Updated to match WindowStyles split
  10843. 2006-03-13 Jackson Harper <[email protected]>
  10844. * MdiWindowManager.cs: Use the system menu height. Fixes some
  10845. strange sizing issues.
  10846. 2006-03-12 Peter Dennis Bartok <[email protected]>
  10847. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  10848. * TextBoxBase.cs:
  10849. - Scroll to caret after inserting text (#77672)
  10850. - Make scroll range one pixel higher, fixes off-by-one error (and
  10851. makes underlines visible on the last line)
  10852. 2006-03-12 Peter Dennis Bartok <[email protected]>
  10853. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  10854. the keyboard state from being stuck with keys in 'pressed' state when
  10855. focus is switched away via keyboard
  10856. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  10857. reset the keyboard if no X11 KeyUp events are expected to come
  10858. * X11Structs.cs: Switched type of Visible to bool to match driver
  10859. 2006-03-12 Peter Dennis Bartok <[email protected]>
  10860. * TextControl.cs:
  10861. - Switched caret to be just 1 pixel wide, matches MS and looks less
  10862. clunky
  10863. - Moved caret display 1 pixel down from the top of the control
  10864. to improve view
  10865. - InsertCharAtCharet: Update the selection start if moving the caret
  10866. (fixes bug #77696; based on patch suggested by [email protected])
  10867. - No longer always creating the caret when the caret methods are
  10868. called. Only the actual ShowCaret/HideCaret will do that now
  10869. - Only setting caret visible if the owner control has focus
  10870. - UpdateView: Added invalidation-shortcut logic for center and right
  10871. aligned text. Previously we'd update all according to the left
  10872. logic which caused drawing errors. Also fixed height of invalidated
  10873. areas, now properly invalidating the whole area (was off-by-one)
  10874. - owner_HandleCreated: Always generate the document when the
  10875. handle is created; this ensures that
  10876. * TextBoxBase.cs:
  10877. - Fixed situation where caret would disappear under the right
  10878. window border, also improved scrolling behaviour on left-
  10879. aligned textboxes
  10880. - Fixed right-aligned textboxes to have a border to the
  10881. right instead of the caret being under the right border
  10882. * XplatUIX11.cs:
  10883. - Switched from 'nested' to simple visible/not visible tracking
  10884. for caret (part of fix for #77671)
  10885. - No longer passing through translated FocusIn/FocusOut messages
  10886. since we were notifying too often and the wrong windows. Instead
  10887. we just notify our focussed window of receiving or loosing focus
  10888. * XplatUIWin32.cs: Switched from 'nested' show/hide
  10889. counting for caret to simple visible yes/no behaviour (part of
  10890. fix for #77671)
  10891. 2006-03-11 Alexander Olk <[email protected]>
  10892. * Mime.cs: Remove debug code...
  10893. 2006-03-11 Alexander Olk <[email protected]>
  10894. * MimeGenerated.cs: Removed
  10895. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  10896. and subclasses) from /usr/(local/)share/mime and
  10897. $HOME/.local/share/mime.
  10898. 2006-03-10 Jackson Harper <[email protected]>
  10899. * MdiWindowManager.cs: Recalc the NC area when a window is
  10900. maximized/restored so that the menu area is drawn on forms that
  10901. don't have a menu.
  10902. 2006-03-10 Peter Dennis Bartok <[email protected]>
  10903. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  10904. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  10905. us to force a WM_NCCALCRESIZE message being sent. This is needed
  10906. for MDI maximizing.
  10907. 2006-03-10 Jackson Harper <[email protected]>
  10908. * Form.cs: We need to use the ActiveMenu when calculating menu
  10909. height.
  10910. - Fix nullref when the window manager hasn't been created yet.
  10911. * Control.cs: Fix nullref when we try to bring a control to the
  10912. front that has no parent.
  10913. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  10914. height.
  10915. - Add a dummy item to the maximized menu so it always has the
  10916. correct height. Otherwise when there are no menus we don't get our
  10917. icon and buttons.
  10918. 2006-03-10 Jackson Harper <[email protected]>
  10919. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  10920. stuff.
  10921. * Form.cs: Make the window_state internal so the window managers
  10922. can track it.
  10923. - When an MDI child is maximized let its window manager create the
  10924. main menu (so it can add its icon).
  10925. - Notify the window managers of state changes
  10926. - Let the window manager paint its buttons and handle button
  10927. clicks on the menu when it is maximized.
  10928. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  10929. window manager, since tool windows don't use it, only mdi windows.
  10930. - Tell the main form that we don't want it to handle NCPAINT
  10931. itself to avoid extra painting.
  10932. - Handle clicks on a maximized windows menu.
  10933. - Handle window state changes
  10934. - Handle minimize/maximize clicks correctly by setting the window state.
  10935. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  10936. when clicking on the forms icon).
  10937. - New method to create a forms maximized menu. This is its normal
  10938. menu + an icon.
  10939. - Handle window state changes.
  10940. - Handle sizing of maximized windows. Maximized windows are just
  10941. drawn bigger then the parent visible area. All controls are still
  10942. there, they are just outside the visible area (this matches windows).
  10943. * MdiClient.cs: No scrollbars when a child window is maximized.
  10944. - Let the children windows figure out how big they should be when
  10945. sizing maximized windows.
  10946. - Implement a version of ArrangeIconicWindows somewhat similar to
  10947. Windows version. There are some little differences, but I don't
  10948. think any app will rely on the layout of minimized mdi windows.
  10949. 2006-03-10 Peter Dennis Bartok <[email protected]>
  10950. * Padding.cs: Several fixes to allow compiling with csc 2.0
  10951. 2006-03-09 Jackson Harper <[email protected]>
  10952. * Menu.cs:
  10953. * MenuItem.cs: Cheap hack so we can add items to the list without
  10954. the events being raised. This allows adding mdi items during
  10955. drawing. TODO: Should probably find a better time to add the items.
  10956. 2006-03-10 Peter Dennis Bartok <[email protected]>
  10957. * ThemeWin32Classic.cs:
  10958. - CheckBox_DrawText: Added logic to not wrap if not enough space
  10959. is available (Fix for bug #77727)
  10960. - RadioButton_DrawText: Added logic not to wrap if not enough
  10961. space is available (Fix for bug #77727). Also removed some
  10962. duplicate code, DrawString always drawing the regular text
  10963. before hitting the if statement.
  10964. 2006-03-10 Peter Dennis Bartok <[email protected]>
  10965. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  10966. 2006-03-10 Peter Dennis Bartok <[email protected]>
  10967. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  10968. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  10969. methods. Moved the new 2.0 properties into alphabetical order with
  10970. other properties and added MonoTODO tags
  10971. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10972. * AutoScaleMode.cs: Added. Fix build.
  10973. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10974. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  10975. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  10976. and was requiring premature handle creation for calls from above
  10977. * Form.cs, Control.cs: Removed handle arguments from calls to
  10978. CalculateClientRect()
  10979. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10980. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  10981. drag_column.column_rect is MarshalByRef and can't be used that way
  10982. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10983. * AxHost.cs: Added deserialization constructor for
  10984. AxHost+State (fixes 77743)
  10985. 2006-03-09 Mike Kestner <[email protected]>
  10986. * ListView.cs:
  10987. - Added column drag reordering for details view.
  10988. - fixed behavior when mouse is dragged off column and
  10989. AllowColumnReorder is false.
  10990. * ColumnHeader.cs: clone the format too in Clone.
  10991. * Theme.cs: add DrawListViewHeaderDragDetails method.
  10992. * ThemeWin32Classic.cs:
  10993. - impl new method for drawing drag column shadows and targets.
  10994. - support column offset for details mode in DrawListViewItem.
  10995. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10996. * TextControl.cs: Reset the char_count when the document is cleared
  10997. (Fixes bug reported on mono-winforms mailing list)
  10998. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10999. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  11000. of calling base we simply process the key ourselves, since both
  11001. DefWindowProc and the handled method would set m.Result.
  11002. (Fixes #77732)
  11003. 2006-03-09 Peter Dennis Bartok <[email protected]>
  11004. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  11005. method also moves the window; instead implemented a copy of
  11006. Control.ScaleCore (Part of fix for #77456)
  11007. * TextBoxBase.cs:
  11008. - Created new CreateGraphicsInternal method to allow providing
  11009. a graphics context when no handle is created without triggering
  11010. handle creation. (Part of fix for #77456)
  11011. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  11012. * TextControl.cs:
  11013. - Switched Constructor to require TextBoxBase instead of Control (to
  11014. allow uncast access to CreateGraphicsInternal)
  11015. - Safeguarded use of owner.Handle property. No longer accessing it
  11016. unless the handle is already created.
  11017. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  11018. - Now triggering a recalc when owning control becomes visible
  11019. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  11020. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  11021. premature handle creation (Part of fix for #77456)
  11022. * Control.cs:
  11023. - We now only destroy our double-buffering buffers when the
  11024. control is resized or disposed, but not when visibility
  11025. changes. (The code even re-created them twice every time)
  11026. - Now requiring a redraw of the buffer on visibility changes
  11027. (fixes bug 77654 part 2)
  11028. - Not passing OnParentVisibleChanged up unless the control
  11029. is visible
  11030. - CanFocus: Fixed to match MS documentation
  11031. - Focus: Fixed to return actual focus state and to check if
  11032. setting focus is legal before setting it
  11033. 2006-03-08 Peter Dennis Bartok <[email protected]>
  11034. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  11035. when to draw focus rectangle by looking at parent focus and
  11036. selected state instead. This fixes TabPages on Linux sometimes
  11037. having none or multiple focus rectangles.
  11038. * XplatUIX11.cs (SetFocus):
  11039. - Don't set the focus if the same window already has focus
  11040. - Use SendMessage instead of PostMessage (like it's Win32
  11041. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  11042. to match MS behaviour
  11043. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  11044. are not selectable.
  11045. 2006-03-07 Jackson Harper <[email protected]>
  11046. * PictureBox.cs: Revert line I accidently committed last week.
  11047. 2006-03-07 Peter Dennis Bartok <[email protected]>
  11048. * Control.cs:
  11049. - Added new IsRecreating and ParentIsRecreating properties to
  11050. allow testing if RecreateHandle has been called on ourselves
  11051. or one of our parents
  11052. - WndProc(WM_DESTROY): If our control handle is being recreated
  11053. we immediately need to create the handle when receiving the
  11054. destroy, that way our child windows find a valid parent handle
  11055. when they themselves are being recreated upon WM_DESTROY receipt
  11056. (fix for bug #77654 part 1)
  11057. * XplatUIX11.cs:
  11058. - DestroyWindow: WM_DESTROY must be sent to our own window before
  11059. notifying any child windows. MS documents that child windows
  11060. are still valid when WM_DESTROY is received. (Control now relies on
  11061. this behaviour)
  11062. - Added some fine-grain debug options
  11063. 2006-03-06 Jackson Harper <[email protected]>
  11064. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  11065. box and base calculations off this.
  11066. * MdiChildContext.cs:
  11067. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  11068. anymore.
  11069. 2006-03-06 Peter Dennis Bartok <[email protected]>
  11070. * Splitter.cs: In situations where the affected control is added
  11071. to the parent's control list after the splitter, we would not
  11072. populate affected. Now we try populating it on mousedown, if
  11073. it's not already set, and force it to be re-set whenever our
  11074. parent changes.
  11075. 2006-03-03 Matt Hargett <[email protected]>
  11076. * Control.cs: implement Control.Padding
  11077. * Padding.cs: -Padding.All returns -1 when constructing with the
  11078. implicit default ctor
  11079. -Padding.ToString() matches MS.NET
  11080. * ContainerControl.cs: implement
  11081. ContainerControl.AutoScaleDimensions
  11082. * ListControl.cs: implement ListControl.FormattingEnabled
  11083. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  11084. * ButtonBase.cs:
  11085. * TabPage.cs: Implement UseVisualStyleBackColor.
  11086. * PictureBox.cs: Implement PictureBox.InitialImage.
  11087. 2006-03-03 Mike Kestner <[email protected]>
  11088. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  11089. event declarations to proxy to base event.
  11090. * ListViewItem.cs: update to use ItemControl.
  11091. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  11092. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  11093. column header label rendering for 0 width columns.
  11094. 2006-03-03 Peter Dennis Bartok <[email protected]>
  11095. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  11096. that causes the control to be created. Fixes #77476.
  11097. 2006-03-02 Jackson Harper <[email protected]>
  11098. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  11099. expose_pending.
  11100. 2006-03-02 Peter Dennis Bartok <[email protected]>
  11101. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  11102. passed in for the EventArgs (fixes #77690)
  11103. 2006-03-01 Jackson Harper <[email protected]>
  11104. * ScrollBar.cs: Refresh afterbeing resized.
  11105. 2006-02-28 Mike Kestner <[email protected]>
  11106. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  11107. Clean up a tracker compile warning.
  11108. * MenuItem.cs: add internal PerformPopup method.
  11109. [Fixes #77457]
  11110. 2006-02-28 Peter Dennis Bartok <[email protected]>
  11111. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  11112. implicit expose) when the text is set to null
  11113. 2006-02-28 Peter Dennis Bartok <[email protected]>
  11114. * RichTextBox.cs (FlushText): When newline is true, we always
  11115. need to split the line, even if no text is on it and we may
  11116. never eat newlines. (Fixes #77669)
  11117. 2006-02-28 Mike Kestner <[email protected]>
  11118. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  11119. and set Selected instead.
  11120. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  11121. collections.
  11122. 2006-02-28 Peter Dennis Bartok <[email protected]>
  11123. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  11124. 2006-02-28 Alexander Olk <[email protected]>
  11125. * FontDialog.cs:
  11126. - Got rid of the panel. All controls are now directly added to
  11127. the dialog form
  11128. - It is now possible to set a font with the Font property
  11129. - MinSize and MaxSize property do now what they should
  11130. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  11131. - Searching and selecting a font with the font textbox works now,
  11132. the same applies to the style and size textbox
  11133. - Draw the correct 3D border in the example panel
  11134. - Fixed a little mem leak (unused fonts didn't get disposed)
  11135. - Many other internal updates/rewrites...
  11136. - Fix typo
  11137. 2006-02-27 Peter Dennis Bartok <[email protected]>
  11138. * TextControl.cs:
  11139. - InsertRTFFromStream: Added 'number of characters inserted' argument
  11140. - set_SelectedRTF: Now using the number of characters to calculate
  11141. the new location for the selection and cursor (x/y cannot be used
  11142. due to potentially already wrapped text)
  11143. 2006-02-27 Peter Dennis Bartok <[email protected]>
  11144. * TextControl.cs: Added property and implemented means to allow
  11145. disabling recalculation of a document (can be used to speed up
  11146. multiple inserts and is needed to make RTF inserts predictable, see
  11147. bug #77659)
  11148. * RichTextBox.cs: Using the new NoRecalc property of Document to
  11149. keep x/y insert locations predictable. Also makes it faster inserting
  11150. large chunks of RTF
  11151. 2006-02-27 Peter Dennis Bartok <[email protected]>
  11152. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  11153. it's easier for a child control to handle the other messages without
  11154. having to duplicate the special functionality
  11155. * TextBoxBase.cs
  11156. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  11157. code to handle processing the key ourselves, in order to get
  11158. access to the result of KeyEventArgs.Handled. We now only call
  11159. ProcessKey if they key hasn't been handled already. Fixes #77526.
  11160. - set_Text: If null or empty string is given, just clear the
  11161. document. Fixes part of #77526
  11162. 2006-02-27 Jackson Harper <[email protected]>
  11163. * SizeGrip.cs: Paint the background color before painting the grip
  11164. so things look right.
  11165. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  11166. 2006-02-27 Mike Kestner <[email protected]>
  11167. * ListView.cs:
  11168. - Restructure layout and invalidation model to remove a ton of
  11169. flicker from the control and speed up performance in general.
  11170. - Add manual column resize, flickers like crazy, but I already have
  11171. some ideas on how I'll fix that. (#76822)
  11172. - Merge the three Icon-based views into a single layout method.
  11173. - Move item selection interaction logic from the item since
  11174. interaction with the collections is more appropriate to the view.
  11175. - Deselection on non-item clicks.
  11176. * ListViewItem.cs:
  11177. - Encapsulate most of the layout. Add some internal props to trigger
  11178. layout. Move to a model where Items invalidate themselves instead
  11179. of just invalidating the whole control every time something changes.
  11180. - Invalidate on Text/Caption changes.
  11181. - switch to an offset based layout model to avoid having to absolute
  11182. position every element on item moves.
  11183. - correct checkbox layout to conform to MS layout.
  11184. * ThemeWin32Classic.cs:
  11185. - refactor some column header drawing code.
  11186. - fix string justification for column headers (#76821)
  11187. - make SmallIcon labels top justified for compat with MS impl.
  11188. * ThemeClearlooks.cs:
  11189. - adjust to new ListViewItem internal checkbox bounds api.
  11190. 2006-02-27 Jackson Harper <[email protected]>
  11191. * Control.cs: Change where implicit controls fall in the zorder.
  11192. They are now on top of all children.
  11193. - Synced AddImplicit code with Add
  11194. - Removed unused enumerator.
  11195. * SizeGrip.cs: Remove the TODO as its been TODONE.
  11196. 2006-02-26 Peter Dennis Bartok <[email protected]>
  11197. * TextControl.cs(Insert): Combine the last lines unless the insertion
  11198. string ends with \n\n, otherwise we leave one line too many (Fixes
  11199. something I noticed with the testapp for #77526; the bug itself was
  11200. already fixed in the previous checkin)
  11201. 2006-02-26 Peter Dennis Bartok <[email protected]>
  11202. * RichTextBox.cs:
  11203. - SelectionColor and SelectionFont methods no longer set absolute
  11204. styles. Instead, the keep font or color respectively (This
  11205. resolves a long-standing FIXME in the code)
  11206. - When flushing RTF text, the insert code now considers text trailing
  11207. behind the insertion point (Fixes the bug where when replacing
  11208. the selected text via SelectedRTF the remainder of the line behind
  11209. the selection would stay on the first insertion line)
  11210. * TextBoxBase.cs:
  11211. - AppendText now updates the selection points after inserting text
  11212. - AppendText now ensures that the last tag (sometimes 0-length) of
  11213. the document is used for the style information (Fixes part of
  11214. bug #77220)
  11215. * TextControl.cs:
  11216. - Created new FontDefiniton class to allow describing partial style
  11217. changes
  11218. - StreamLine() now takes a lines argument, to allow it to decide
  11219. whether an encountered zero-length tag is the last in the document
  11220. (which must be kept to not loose the font/color contained in it,
  11221. for later appends)
  11222. - Created Combine() and Split() methods for Marker structs, to
  11223. support marker updates due to reformatted documents (soft line
  11224. wraps)
  11225. - Implemented Document.CaretTag setter
  11226. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  11227. of the last line (Not the cause, but also exposed by bug #77220)
  11228. - Added LineTag argument to InsertString method, to allow callers
  11229. to force a certain tag to be used (required to force use of the
  11230. trailing zero-length tag of a document)
  11231. - Now updating markers in Combine(), to avoid stale tag markers
  11232. - Added some method descriptions to aid maintenance
  11233. - Implemented new FormatText concept, allowing additive/subtractive
  11234. formatting by only specifying the components that are to be
  11235. changed. This was needed for resolving the RTB.SelectedColor/
  11236. RTB.SelectedFont fixmes
  11237. - Added Break() support method to allow breaking up linetags (used
  11238. for partial formatting)
  11239. - Added GenerateTextFormat() method. It is used for partial
  11240. formatting and allows to generate a full font/color from given
  11241. attributes and an existing tag.
  11242. 2006-02-26 Jackson Harper <[email protected]>
  11243. * XplatUIX11.cs: Use the correct caption height.
  11244. - Translate hittest coordinates to screen coords to match MS.
  11245. * XplatUIWin32.cs: When we create MDI windows we need to reset
  11246. some of the style flags, so we get a nice blank window, and can
  11247. draw all the decorations ourselves.
  11248. - Set a clipping rectangle on the non client paint event, the
  11249. window manager drawing code needs one.
  11250. * Form.cs: The window manager needs to know when the window state
  11251. has been updated.
  11252. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  11253. don't need to factor in border and title sizes in these
  11254. methods. TODO: Remove the args and fix the call points.
  11255. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  11256. properly.
  11257. - Let the driver set the cursors.
  11258. - Improve active window handling
  11259. - Correct sizes for title bars and buttons.
  11260. - Match MS drawing better
  11261. * MdiWindowManager.cs: We don't need to handle border style
  11262. updates specially anymore.
  11263. - Check for scrollbars when windows are done moving
  11264. - Handle Active properly.
  11265. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  11266. correctly. I am spewing the exception though, so we don't hide the
  11267. bugs.
  11268. 2006-02-26 Pedro Martinez Julia <[email protected]>
  11269. * DataGridViewRowPostPaintEventArgs.cs,
  11270. DataGridViewCellPaintingEventArgs.cs,
  11271. DataGridViewRowCollection.cs,
  11272. DataGridViewRowPrePaintEventArgs.cs,
  11273. DataGridViewCell.cs: Clear a few warnings and implement a few
  11274. exceptions that should be thrown.
  11275. 2006-02-22 Peter Dennis Bartok <[email protected]>
  11276. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  11277. 'inheriting' our parent's (non-default) cursor. (Part of
  11278. the fix for #77479)
  11279. 2006-02-22 Peter Dennis Bartok <[email protected]>
  11280. * XplatUIX11.cs: Fixed cast to make csc happy
  11281. 2006-02-22 Peter Dennis Bartok <[email protected]>
  11282. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  11283. it's for the client area (part of fix for #77479 and needed
  11284. for MDI window cursor handling)
  11285. * XplatUIX11.cs
  11286. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  11287. the appropriate default cursors and also passing the message
  11288. up the parent chain
  11289. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  11290. for non-client areas
  11291. 2006-02-15 Jackson Harper <[email protected]>
  11292. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  11293. is a real MDI window
  11294. 2006-02-14 Alexander Olk <[email protected]>
  11295. * X11DesktopColors.cs: Instead of checking the desktop session
  11296. string for "KDE" check if it starts with "KDE"
  11297. 2006-02-10 Jackson Harper <[email protected]>
  11298. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  11299. systems).
  11300. 2006-02-10 Alexander Olk <[email protected]>
  11301. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  11302. errors
  11303. * ColorDialog.cs:
  11304. - Got rid of the panel. All controls are now directly added to
  11305. the dialog form
  11306. - Changed to mono coding style
  11307. 2006-02-10 Jackson Harper <[email protected]>
  11308. * InternalWindowManager.cs: We don't need the set visibility to
  11309. false hack anymore now that peter has written beautiful shutdown
  11310. code.
  11311. 2006-02-10 Peter Dennis Bartok <[email protected]>
  11312. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  11313. where already explicitly destroyed
  11314. 2006-02-10 Jackson Harper <[email protected]>
  11315. * MdiClient.cs: Handle the case where windows are too high or to
  11316. the left and we need scrollbars.
  11317. 2006-02-10 Alexander Olk <[email protected]>
  11318. * MimeIcon.cs: Added some icons
  11319. * FileDialog.cs:
  11320. - Fixed bug #77477
  11321. - Got rid of the panel. All controls are now directly added to
  11322. the dialog form
  11323. - Changed to mono coding style
  11324. - On Linux "My Computer" and "My Network" will now show some
  11325. more usefull information. A new class, MasterMount, gathers
  11326. this information from /proc/mount. Updated MWFFileView to make
  11327. use of this information
  11328. - Fixed a bug that caused FileDialog to crash when
  11329. ".recently_used" file had a zero size
  11330. - FilterIndex does now what it should
  11331. - Some Refactoring
  11332. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  11333. FileDialog changes
  11334. 2006-02-09 Jackson Harper <[email protected]>
  11335. * ComboBox.cs: Don't touch if null.
  11336. 2006-02-09 Peter Dennis Bartok <[email protected]>
  11337. * Cursor.cs: 64bit safeness fix
  11338. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  11339. 2006-02-09 Jackson Harper <[email protected]>
  11340. * Form.cs: If a form is made into an MDI form update the styles so
  11341. all the props can get set correctly.
  11342. - Kill the mdi_container when we dont need it anymore.
  11343. * InternalWindowManager.cs: Add missing NOT
  11344. 2006-02-08 Jackson Harper <[email protected]>
  11345. * InternalWindowManager.cs: Respek clipping when drawing MDi
  11346. decorations.
  11347. 2006-02-08 Jackson Harper <[email protected]>
  11348. * Hwnd.cs: Add bits to track non client expose events.
  11349. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  11350. gives us a proper invalid rect and will allow for some nice
  11351. optimizations with NC client drawing
  11352. - MDI windows are children windows, so move their style handling
  11353. into the child window block.
  11354. * InternalWindowManager.cs: Remove a state reset that was
  11355. getting invoked at the wrong time. Fixes managed windows getting
  11356. into a 'stuck' captured state.
  11357. 2006-02-07 Peter Dennis Bartok <[email protected]>
  11358. * TextControl.cs (Document.ctor): Now initializing
  11359. selection_anchor. Fixes #77493
  11360. 2006-02-07 Jackson Harper <[email protected]>
  11361. * TrackBar.cs: The increment/decrements were backwards.
  11362. 2006-02-07 Mike Kestner <[email protected]>
  11363. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  11364. to the instance itself.
  11365. 2006-02-07 Peter Dennis Bartok <[email protected]>
  11366. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  11367. on ulongs and pointers, the size differs between 32bit and 64bit
  11368. systems.
  11369. 2006-02-07 Mike Kestner <[email protected]>
  11370. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  11371. for 64 bit platforms to work around a metacity bug.
  11372. 2006-02-07 Jackson Harper <[email protected]>
  11373. * TrackBar.cs: Process the input keys we need, and hookup to
  11374. KeyDown instead of using WndProc, so we get key messages.
  11375. 2006-02-06 Peter Dennis Bartok <[email protected]>
  11376. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  11377. machine we're on.
  11378. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  11379. we need to translate the XdndVersion atoms array before sending it
  11380. 2006-02-06 Peter Dennis Bartok <[email protected]>
  11381. * XplatUIX11.cs:
  11382. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  11383. number of bits for the property, not the number of bytes. The
  11384. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  11385. but would not crash since it specified 8 bits instead of 4 bits)
  11386. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  11387. defined as XID -> long in the C headers)
  11388. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  11389. references since those are now IntPtr to begin with
  11390. - Switched all Atom.XXX 'int' casts to IntPtr casts
  11391. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  11392. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  11393. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  11394. * X11Structs.cs:
  11395. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  11396. - Changed atom in HoverStruct to be IntPtr
  11397. * X11DnD.cs:
  11398. - Removed local DllImports, switched code to use those from XplatUIX11
  11399. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  11400. 2006-02-06 Mike Kestner <[email protected]>
  11401. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  11402. method signatures in the import region. There may still be some
  11403. lingering struct marshaling issues, as I didn't drill down into those.
  11404. Yet.
  11405. 2006-02-06 Jackson Harper <[email protected]>
  11406. * ComboBox.cs: Dont manually set the top_item, this is computed
  11407. when the scrollbar position is set.
  11408. 2006-02-06 Mike Kestner <[email protected]>
  11409. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  11410. startup crashes on amd64. There's other fixes needed. All pinvoke
  11411. usage of Atom needs to be mapped to IntPtr for example. And there are
  11412. likely other int/long issues to be addressed.
  11413. 2006-02-04 Alexander Olk <[email protected]>
  11414. * FileDialog.cs: One more...
  11415. 2006-02-03 Alexander Olk <[email protected]>
  11416. * FileDialog.cs: Next try
  11417. 2006-02-03 Alexander Olk <[email protected]>
  11418. * FileDialog.cs: First part of fix for #77464
  11419. 2006-02-03 Alexander Olk <[email protected]>
  11420. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  11421. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  11422. AcceptButton border drawing.
  11423. 2006-02-03 Peter Dennis Bartok <[email protected]>
  11424. * Form.cs: Moved positioning of form after auto scaling is applied,
  11425. otherwise it would possibly use wrong form size.
  11426. 2006-02-03 Peter Dennis Bartok <[email protected]>
  11427. * Control.cs (RecreateHandle): No need to re-create any child
  11428. controls, the child windows will get destroyed automatically by
  11429. the windowing system or driver, and re-created when the handle
  11430. is being accessed the first time. Fixes #77456
  11431. * Form.cs: No longer setting the form to closing if the handle is
  11432. being recreated. This seems like the right thing to do, don't
  11433. have a bug or testcase for this, though.
  11434. 2006-02-02 Peter Dennis Bartok <[email protected]>
  11435. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  11436. controls to avoid unwanted side effects
  11437. 2006-02-02 Peter Dennis Bartok <[email protected]>
  11438. * Control.cs:
  11439. - ScaleCore needs to scale the bounds, not the ClientSize of the
  11440. control. Fixes #77416.
  11441. - DefaultSize is 0,0 for control
  11442. * TextBoxBase.cs:
  11443. - DefaultSize is 100, 20
  11444. - SetBoundsCore: Now enforcing the height, no matter if the provided
  11445. height is more or less than the preferred one, as long as AutoSize
  11446. is on
  11447. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  11448. 2006-02-02 Peter Dennis Bartok <[email protected]>
  11449. * Control.cs:
  11450. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  11451. call unless both performLayout is true *and* we have a pending
  11452. layout change
  11453. - ResumeLayout: MS does not completely nest Suspend and Resume,
  11454. they bottom out at 0, fixed our code to match that.
  11455. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  11456. SetBoundsCore, we were updating even when we shouldn't. This fixes
  11457. swf-anchors mis-anchoring when resizing the app fast and lots.
  11458. - UpdateDistances: Now only setting the left and top distance if
  11459. we have a parent and are not suspended, this is based on
  11460. a suggestion by Don Edvaldson in bug #77355.
  11461. - OnVisibleChanged: Fixed logic when to create the control. We may
  11462. not create the control if we have no parent or if it's not visible;
  11463. switched to using Visible property instead of is_visible field
  11464. since the property also considers parent states. This fixes a bug
  11465. when starting Paint.Net
  11466. 2006-02-02 Jackson Harper <[email protected]>
  11467. * Form.cs: If the forms handle hasn't been created yet don't call
  11468. into xplatui to make it top most, just set the topmost flag on the
  11469. form in CreateParams
  11470. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  11471. 2006-02-01 Jackson Harper <[email protected]>
  11472. * ScrollableControl.cs: Refactored the Recalculate method a
  11473. little, this wasn't handling all the variants of bottom and right
  11474. bars needed to be added and added/removed based on their
  11475. counterparts being added/removed (which changes the drawable
  11476. size). Also we special case client widths and heights of 0 and
  11477. don't add the scrollbar for those.
  11478. 2006-02-01 Peter Dennis Bartok <[email protected]>
  11479. * XplatUIX11.cs:
  11480. - Added method to get AbsoluteGeometry(); currently unused, but might
  11481. be used in the future, if we try again to figure out toplevel
  11482. coordinates with some more crappy window managers
  11483. - Added FrameExtents() method to retrieve the WM set decoration size
  11484. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  11485. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  11486. * Hwnd.cs:
  11487. - Added whacky_wm tracking var for metacity
  11488. - Added logic to have default menu height if the actual menu height
  11489. has not yet been calculated (part of fix for #77426)
  11490. * Form.cs: Keep track whether client size has been set and re-set
  11491. it if a menu is added/removed afterwards (Fixes #77426)
  11492. 2006-01-31 Jackson Harper <[email protected]>
  11493. * Control.cs: When a new Site is set on the component attempt to
  11494. pull the AmbientProperties from it.
  11495. 2006-01-31 Peter Dennis Bartok <[email protected]>
  11496. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  11497. in the background of the owning form. Fixes #77332
  11498. 2006-01-31 Alexander Olk <[email protected]>
  11499. * MimeIcon.cs: Fix for #77409
  11500. 2006-01-31 Alexander Olk <[email protected]>
  11501. * XplatUIX11GTK.cs: Initial import
  11502. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  11503. * FixedSizeTextBox: fixes class signature
  11504. 2006-01-30 Jackson Harper <[email protected]>
  11505. * FixedSizeTextBox.cs: New internal class that represents a
  11506. textBox that will not be scaled.
  11507. * TreeView.cs:
  11508. * ComboBox.cs:
  11509. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  11510. standard TextBox.
  11511. 2006-01-30 Peter Dennis Bartok <[email protected]>
  11512. * XplatUIX11.cs: Retrieve default screen number instead of
  11513. assuming 0. Attempted fix for #77318
  11514. 2006-01-30 Peter Dennis Bartok <[email protected]>
  11515. * XplatUIWin32.cs:
  11516. - GetWindowPos: When a window is parented by FosterParent, use
  11517. the desktop instead of FosterParent as the base to get coordinates
  11518. - CreateWindow: Don't make FosterParent the parent window for Popups
  11519. if we don't want a taskbar entry, Popups automatically don't get one
  11520. * Hwnd.cs: Need to call remove to actually remove the key from the
  11521. hash table
  11522. 2006-01-30 Mike Kestner <[email protected]>
  11523. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  11524. 2006-01-30 Jackson Harper <[email protected]>
  11525. * TreeView.cs:
  11526. * TreeNode.cs: Raise events no matter how the treenode is
  11527. checked. Patch by Don Edvalson.
  11528. 2006-01-30 Jackson Harper <[email protected]>
  11529. * TreeNode.cs: Signature fix.
  11530. 2006-01-29 Alexander Olk <[email protected]>
  11531. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  11532. 2006-01-20 Mike Kestner <[email protected]>
  11533. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  11534. event forwarding when menus are active.
  11535. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  11536. Most of the patch is pdb's with a little rework.
  11537. 2006-01-26 Peter Dennis Bartok <[email protected]>
  11538. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  11539. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  11540. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  11541. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  11542. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  11543. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  11544. the PaintWindowDecorations method
  11545. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  11546. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  11547. * MenuAPI.cs: Made tracker window invisible
  11548. * XplatUIWin32.cs:
  11549. - Removed GetMenuDC and ReleaseMenuDC methods
  11550. - Implemented the client=false path for PaintEventStart and
  11551. PaintEventEnd
  11552. 2006-01-26 Peter Dennis Bartok <[email protected]>
  11553. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  11554. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  11555. styles
  11556. * Form.cs:
  11557. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  11558. the style
  11559. - CreateParams: Reworked the styles to match MS look'n'feel,
  11560. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  11561. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  11562. 2006-01-26 Peter Dennis Bartok <[email protected]>
  11563. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  11564. window is not mapped, since otherwise every form that's being
  11565. created is considered minimized, which is wrong.
  11566. * Form.cs: Catching the exception and returning our internal value
  11567. instead
  11568. 2006-01-26 Peter Dennis Bartok <[email protected]>
  11569. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  11570. SetWindowMinMax() to have means to tell the driver about the minimum,
  11571. maximum and maximized state window sizes. (Part of the fix for #76485)
  11572. * Form.cs:
  11573. - Implemented tracking of minimum and maximum window size, now calling
  11574. new SetWindowMinMax() driver method to tell the driver (Part of the
  11575. fix for #76485)
  11576. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  11577. (Completes fix for #76485)
  11578. - Calling new SetWindowMinMax driver method when the handle for a
  11579. form is created, to make sure the driver knows about it even if
  11580. the values have been set before the window was created
  11581. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  11582. to avoid messing up our anchoring calculations (partial fix
  11583. for #77355)
  11584. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  11585. * XplatUIX11.cs:
  11586. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  11587. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  11588. (and presumably other freedesktop.org compliant WMs). Left the
  11589. assumption unmapped=minimized, needed for SetVisible to work.
  11590. - Now setting the window state when creating windows
  11591. - Fixed SetVisible to consider/set the window state when mapping
  11592. a Form. We cannot set the state before it's mapped, and we cannot
  11593. use Form.WindowState once it's mapped (since it would ask the
  11594. driver and get 'normal'. Therefore, we grab the state before
  11595. mapping, map, and then set state.
  11596. - Implmemented SetWindowMinMax method; Metacity does not seem to
  11597. honor the ZoomHints, though.
  11598. * XplatUIWin32.cs:
  11599. - Removed MINMAXINFO (moved to XplatUIStructs)
  11600. - Added SetWindowMinMax stub (on Win32 the only way to set that
  11601. information is in response to the WM_GETMINMAXINFO message, which
  11602. is handled in Form.cs)
  11603. - Added logic to SetVisible to set the proper window state when a
  11604. form is made visible (fixes #75720)
  11605. 2006-01-26 Jackson Harper <[email protected]>
  11606. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  11607. same way we handle them with Invoke.
  11608. 2006-01-25 Peter Dennis Bartok <[email protected]>
  11609. * Form.cs:
  11610. - Added tracking of window state so CreateParams can return
  11611. the appropriate style
  11612. - Moved setting of WS_CAPTION style in CreateParams to allow
  11613. styles without caption
  11614. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  11615. control if the TextBox property is accessed. Fixes #77345
  11616. * Control.cs:
  11617. - get_Created: now uses is_disposed and is_created to determine
  11618. return value (suggested by Jackson)
  11619. - CreateHandle: No longer exits if the handle is being recreated
  11620. - RecreateHandle: If the handle is not yet created call the
  11621. appropriate method to create either control or handle. If the
  11622. control is already created CreateHandle will simply exit instead
  11623. of just creating the handle
  11624. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  11625. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  11626. is called.
  11627. * XplatUIX11.cs:
  11628. - When DestroyWindow is called, instead of waiting for the
  11629. DestroyNotification from X11, we directly post it to the WndProc
  11630. and immediately dispose the hwnd object.
  11631. Same applies to DestroyChildWindows, and this obsoletes the
  11632. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  11633. child windows before our own, to avoid X11 errors.
  11634. - Removed the direct sending of WM_PAINT on UpdateWindow
  11635. * XplatUIWin32.cs:
  11636. - Reworked DoEvents and GetMessage to allow access to internal queue
  11637. even when trying non-blocking access to the queue. Fixes #77335.
  11638. Based on a patch suggestion by Don Edvalson. The new private
  11639. GetMessage can now also be used as a backend for a PeekMessage
  11640. frontend version.
  11641. * XplatUI.cs: Improved debug output for CreateWindow
  11642. 2006-01-25 Jackson Harper <[email protected]>
  11643. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  11644. 2006-01-24 Jackson Harper <[email protected]>
  11645. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  11646. when we have a MaxDropItems lower then the selected index.
  11647. 2006-01-24 Jackson Harper <[email protected]>
  11648. * Control.cs: Don't allow selection of non visible controls, allow
  11649. selection of controls without parents.
  11650. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  11651. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  11652. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  11653. 2006-01-23 Jackson Harper <[email protected]>
  11654. * UpDownBase.cs: Make the textbox handle all the selection and
  11655. tabbing. This fixes tabing to updown controls.
  11656. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  11657. * TextBoxBase.cs: fixes exception thown the object was null
  11658. 2006-01-23 Jackson Harper <[email protected]>
  11659. * ButtonBase.cs: Just use the base CreateParams. They set
  11660. visibility and enabled correctly.
  11661. * ComboBox.cs:
  11662. * TrackBar.cs:
  11663. * MonthCalendar.cs: Lets let the base set as much of the
  11664. createparams as possible so we don't have duplicate code all over
  11665. the place.
  11666. 2006-01-22 Alexander Olk <[email protected]>
  11667. * ThemeGtk.cs: Added TrackBar and some experimental code to
  11668. get double buffering back
  11669. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  11670. * DataGrid.cs: Allows row number set internally higher than the last
  11671. when creating a new row. Restores the editing functionality.
  11672. 2006-01-20 Mike Kestner <[email protected]>
  11673. * MimeIcon.cs: delay Image creation until the icons are accessed
  11674. instead of creating 190 scaled images on GnomeHandler startup.
  11675. 2006-01-19 Peter Dennis Bartok <[email protected]>
  11676. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  11677. first call base before processing the event. Fixes #77279
  11678. 2006-01-19 Peter Dennis Bartok <[email protected]>
  11679. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  11680. that the stride for the GDI bitmap would match the stride of
  11681. a DIB or a Cursor.
  11682. 2006-01-19 Alexander Olk <[email protected]>
  11683. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  11684. 2006-01-19 Jackson Harper <[email protected]>
  11685. * ComboBox.cs: Hookup the text controls keydown event so we get
  11686. those when the text control has the focus.
  11687. 2006-01-18 Peter Dennis Bartok <[email protected]>
  11688. * Label.cs: Now using the base events instead of defining new ones;
  11689. this allows us to just call the base properties without having to
  11690. duplicate all base property logic
  11691. 2006-01-18 Peter Dennis Bartok <[email protected]>
  11692. * Label.cs: A label by default is not a tabstop (Fixes one of our
  11693. failing nunit tests)
  11694. 2006-01-18 Peter Dennis Bartok <[email protected]>
  11695. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  11696. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  11697. 2006-01-18 Peter Dennis Bartok <[email protected]>
  11698. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  11699. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  11700. This fixes #77218
  11701. * XplatUIWin32.cs:
  11702. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  11703. constructor creates images that can't be saved. Part of the fix
  11704. for #76103
  11705. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  11706. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  11707. bug fix for handling window state in forms properly)
  11708. 2006-01-18 Alexander Olk <[email protected]>
  11709. * ThemeGtk.cs: Simplify ScrollBar drawing
  11710. 2006-01-18 Jackson Harper <[email protected]>
  11711. * Splitter.cs: Set the default dock style for the splitter control
  11712. in the constructor.
  11713. 2006-01-18 Alexander Olk <[email protected]>
  11714. * ThemeGtk.cs: Corrected StateType and ShadowType for
  11715. gtk_paint_box
  11716. 2006-01-18 Alexander Olk <[email protected]>
  11717. * Control.cs: Make use of Theme.DoubleBufferingSupported
  11718. * ThemeGtk.cs:
  11719. - Added drawing for flat style buttons
  11720. - Added ScrollBar drawing
  11721. 2006-01-18 Alexander Olk <[email protected]>
  11722. * ThemeClearlooks.cs: Removed some unneeded code.
  11723. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  11724. 2006-01-17 Peter Dennis Bartok <[email protected]>
  11725. * LinkLabel.cs: We need to update the hover drawing when
  11726. leaving the control as well.
  11727. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  11728. * DataGrid.cs: Clicking on non empty areas in the columns
  11729. area was giving an exception
  11730. 2006-01-17 Jackson Harper <[email protected]>
  11731. * ThemeWin32Classic.cs:
  11732. * ListView.cs: Do not draw/clip the headers when the header style
  11733. is None.
  11734. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  11735. * DataGrid.cs: Fixes 77260
  11736. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  11737. * DataGrid.cs: Clicking on a column on a empty grid was giving
  11738. an exception
  11739. 2006-01-17 Peter Dennis Bartok <[email protected]>
  11740. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  11741. or any keypress will crash the grid.
  11742. 2006-01-17 Mike Kestner <[email protected]>
  11743. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  11744. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  11745. invisible/previously-visible items.
  11746. [Fixes #76909]
  11747. 2006-01-17 Alexander Olk <[email protected]>
  11748. * ThemeClearlooks.cs:
  11749. - Added CL_Draw_Button method; now other theme controls that are
  11750. not derived from button or do not have a button can draw buttons
  11751. too
  11752. - Updated ComboBox drawing
  11753. - Beautified RadioButton drawing
  11754. - Corrected drawing of bottom and left tabs
  11755. - Beautified DateTimePicker and MonthCalendar
  11756. - Added CPDrawButton and CPDrawRadioButton
  11757. 2006-01-16 Jackson Harper <[email protected]>
  11758. * ComboBox.cs: Set the initial value of the scrollbar to the
  11759. current index. Reduce the numbers of refreshs and IndexOfs called.
  11760. 2006-01-14 Alexander Olk <[email protected]>
  11761. * FileDialog.cs: When the file listview is focused hitting the
  11762. backspace key moves the fileview to the parent directory
  11763. 2006-01-13 Peter Dennis Bartok <[email protected]>
  11764. * Form.cs:
  11765. - Added RecreateHandle call when changing taskbar visibility to
  11766. trigger reparenting in Win32 driver (Fixes #75719)
  11767. - If a window has minimize or maximize buttons, it cannot have
  11768. a help button
  11769. * XplatUIWin32.cs:
  11770. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  11771. the toplevel form with FosterParent (A toolwindow not on the
  11772. taskbar) (Fixes #75719)
  11773. - Made FosterParent a toolwindow
  11774. 2006-01-13 Alexander Olk <[email protected]>
  11775. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  11776. 2006-01-13 Alexander Olk <[email protected]>
  11777. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  11778. is currently over that control, make sure that tooltip_window.Text
  11779. gets updated
  11780. 2006-01-13 Mike Kestner <[email protected]>
  11781. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  11782. 2006-01-13 Jackson Harper <[email protected]>
  11783. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  11784. value passed. Also redraw the selected node when we recieve
  11785. focus, so tabbing between trees works correctly.
  11786. 2006-01-13 Alexander Olk <[email protected]>
  11787. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  11788. ~/.gconf/%gconf-tree.xml, so use
  11789. .gconf/desktop/gnome/interface/%gconf.xml
  11790. 2006-01-13 Peter Dennis Bartok <[email protected]>
  11791. * TextControl.cs: Draw text in gray if control is disabled
  11792. 2006-01-13 Peter Dennis Bartok <[email protected]>
  11793. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  11794. make sure it's always visible. Fixes #76680.
  11795. 2006-01-13 Peter Dennis Bartok <[email protected]>
  11796. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  11797. 2006-01-13 Jonathan Chambers <[email protected]>
  11798. * PageSetupDialog.cs: Added.
  11799. * PrintDialog.cs: Attributes.
  11800. * PrintPreviewControl.cs: Updates.
  11801. * PrintPreviewDialog.cs: Updates.
  11802. 2006-01-12 Peter Dennis Bartok <[email protected]>
  11803. * Control.cs: Undid my selection check fix, since it's not needed
  11804. * TextBoxBase.cs:
  11805. - Now considering the presence of hscroll/vscroll when sizing
  11806. vscroll/hscroll respectively. Fixed bug #77077
  11807. - Added Left/Up/Down/Right to IsInputKey list to prevent
  11808. ContainerControl from stealing them. This fixes what I broke
  11809. with my last checkin.
  11810. 2006-01-12 Peter Dennis Bartok <[email protected]>
  11811. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  11812. I finally understand how the property can be set without a setter :-)
  11813. 2006-01-12 Peter Dennis Bartok <[email protected]>
  11814. * Application.cs:
  11815. - Switched RunLoop to use static Message.Create to create a
  11816. Message object
  11817. - Added PreProcessMessage call in runloop for keyboard events; this
  11818. is part of the fix for #77219, I overlooked this originally in the
  11819. MSDN doc for PreProcessMessage
  11820. * Control.cs:
  11821. - Removed call to PreProcessMessage from handling of keyboard
  11822. messages; it's supposed to be done in the message pump
  11823. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  11824. per MSDN documentation.
  11825. - IsInputChar: All chars are input chars by default; removed the
  11826. parent calling chain, MS does not document that
  11827. - PreProcessMessage: If IsInputChar is true, we want to return false
  11828. to allow dispatching of the message
  11829. - When selecting the next control, now also check that we're not
  11830. selecting ourselves again and therefore return a false positive.
  11831. * TextBoxBase.cs:
  11832. - Tried to match return values for IsInputKey and ProcessDialogKey
  11833. to what MS returns; moved processing of our special keys outside
  11834. ProcessDialogKey since MS does not seem to return true on those.
  11835. - Moved code that previously was in ProcessDialogKey into new private
  11836. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  11837. - Reworked handling of WM_CHAR to not have to duplicate code from
  11838. Control.cs anymore, instead we simply call down to base.
  11839. 2006-01-12 Jackson Harper <[email protected]>
  11840. * ComboBox.cs: We always need to refresh the text area when
  11841. EndUpdate is called. Fixes the combobox in the file dialog.
  11842. * Control.cs: Don't create the creator_thread until the controls
  11843. handle is created. Also in InvokeRequired we check if the
  11844. creator_thread is null. This gives the effect of InvokeRequired
  11845. returning true if the controls handle is not created yet, and
  11846. matches MS.
  11847. 2006-01-12 Peter Dennis Bartok <[email protected]>
  11848. * XplatUI.cs:
  11849. - Added StartLoop() driver method. This is used to allow drivers to
  11850. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  11851. loop for a particular thread
  11852. - Added EndLoop() driver method. This is called once the message
  11853. pump for the thread is shut down
  11854. - Added SupportsTransparency method to allow the driver to indicate
  11855. opacity support for windows
  11856. * Form.cs:
  11857. - Removed TODO attribute, completed AllowTransparency property
  11858. - Added documented logic to Opacity
  11859. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  11860. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  11861. versions of CompatibleTextRendering
  11862. * X11Structs.cs: Added opacity atom to our atom enumeration
  11863. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  11864. of a form might be set before it's reparented by the WM, and we need
  11865. the opacity value without calling up to Form)
  11866. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  11867. SupportsTransparency() driver methods
  11868. * Application.cs: Now calling StartLoop and EndLoop driver methods
  11869. * XplatUIX11.cs:
  11870. - Added opacity atom registration
  11871. - Added StartLoop()/EndLoop() methods. They're empty right now but
  11872. will need to get implemented when we switch to a per-thread queue
  11873. - Implemented SupportsTransparency() method
  11874. - Implemented SetWindowTransparency() method
  11875. - Added support for setting the opacity value when a window is
  11876. reparented (since the opacity needs to be set on the WM frame)
  11877. * XplatUIOSX.cs, XplatUIWin32.cs:
  11878. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  11879. 2006-01-12 Alexander Olk <[email protected]>
  11880. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  11881. 2006-01-12 Alexander Olk <[email protected]>
  11882. * FileDialog.cs: Added ToolTip for MWFFileView
  11883. * MimeIcon.cs: Rewrote GnomeHandler.
  11884. - Get currently used gnome icon theme from
  11885. ($HOME)/.gconf/%gconf-tree.xml
  11886. - Make use of inherited icon themes
  11887. - Support SVG icon themes like Tango via librsvg
  11888. 2006-01-12 Miguel de Icaza <[email protected]>
  11889. Revert's Jackson's revert which broke 2.0 builds. Fix both
  11890. builds.
  11891. * Application.cs: Move the use_compatible_text_rendering outside
  11892. the NET_2_0 define. If we ever need to use the
  11893. use_compatible_text_rendering on the individual controls they will
  11894. access the variable from the common shared code paths.
  11895. 2006-01-12 Peter Dennis Bartok <[email protected]>
  11896. * XplatUI.cs:
  11897. - Added more granular debug options
  11898. - Added method to print both window text and id
  11899. - Switched debug output to use new Window() debug method
  11900. - Added IsEnabled() driver method
  11901. - Added EnableWindow() driver method
  11902. * Form.cs:
  11903. - Removed end_modal; no longer needed, new loop handles termination
  11904. via 'closing' variable
  11905. - If form is modal, setting DialogResult will now initiate loop
  11906. termination via 'closing' variable
  11907. - Added support for is_enabled/WS_DISABLED to CreateParams
  11908. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  11909. does all the work
  11910. - Removed code that's now in RunLoop from ShowDialog()
  11911. - Added various documented sanity checks to ShowDialog()
  11912. - Added handling of WM_DESTROY message; we set 'closing' on getting
  11913. the message to indicate the message pump to terminate
  11914. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  11915. send by the Application.ExitThread method. (We send the message
  11916. to destroy the window after all other events have been
  11917. processed through the queue, instead of destroying the handle
  11918. directly)
  11919. - Moved code from Close() method to WM_CLOSE handler; added logic
  11920. to only send close-related events if the form is not displayed
  11921. modal
  11922. * Splitter.cs (..ctor): Fixed typo in resource name
  11923. * Control.cs:
  11924. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  11925. brush now
  11926. - set_Cursor: Now only setting calling into XplatUI if the handle for
  11927. the control is already created; this avoids implict handle creation
  11928. or crashes if it's not created
  11929. - set_Enabled: Now setting the enabled state via the new driver method
  11930. instead of just tracking it
  11931. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  11932. - CreateControl: Reordered event firing and method calls to more
  11933. closely fire events in the order MS does. Now setting the
  11934. enabled state in the driver when creating the control.
  11935. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  11936. match MS order
  11937. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  11938. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  11939. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  11940. * Hwnd.cs:
  11941. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  11942. - Added EnabledHwnd property to easily allow a driver to find the
  11943. handle of the first enabled window in the parent chain (this is
  11944. used by drivers to pass up input events of disabled windows)
  11945. * XplatUIDriver.cs: Added IsEnabled() method
  11946. * Application.cs:
  11947. - Removed crude and obsolete exiting tracking variable
  11948. - Removed internal ModalRun(); replaced by RunLoop()
  11949. - Implemented private CloseForms() method to allow closing all
  11950. windows owned by a particular (or all) threads
  11951. - Exit() now properly closes all windows without forcing the message
  11952. pump to quit
  11953. - Removed obsolete InternalExit() method
  11954. - Changed Run() methods to use new RunLoop() message pump
  11955. - Implemented new RunLoop() method for both modal and non-modal forms
  11956. * CommonDialog.cs:
  11957. - get_CreateParams: Added setting of WS_DISABLED
  11958. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  11959. invoked via Form.ShowDialog()
  11960. * NativeWindow.cs: We don't remove the window from the collection when
  11961. the handle is destroyed; there might still be messages for it in the
  11962. queue (mainly the resulting WM_DESTROY); instead it will be removed
  11963. when Control calls InvalidateHandle in the WM_DESTROY handler
  11964. * XplatUIX11.cs:
  11965. - CreateWindow: Added logic to handle the WS_DISABLED window style
  11966. - EnableWindow: Implemented based on Hwnd.Enabled
  11967. - GetMessage: Reset PostQuitState so the method can be called again
  11968. - Implemented support for disabled windows (passing messages to the
  11969. first enabled parent) in handling all input messages
  11970. - Added optimizations for handling Expose events
  11971. - Implemeted new driver method IsEnabled()
  11972. - Now always resetting paint pending tracking vars when we start paint
  11973. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  11974. * XplatUIOSX.cs: Added IsEnabled method stub
  11975. * XplatUIWin32.cs: Implemented new IsEnabled() method
  11976. 2006-01-11 Jackson Harper <[email protected]>
  11977. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  11978. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  11979. variables a little.
  11980. * ColorDialog.cs: Clear out the old form before adding the new
  11981. panel.
  11982. 2006-01-11 Jackson Harper <[email protected]>
  11983. * X11Dnd.cs: Make sure to add all the text formats when adding
  11984. strings to the data object.
  11985. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  11986. do some redrawing too. Also change the UpdateNode to an
  11987. UpdateBelow so the newly added node gets painted.
  11988. 2006-01-11 Miguel de Icaza <[email protected]>
  11989. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  11990. LinkLabel.cs, PropertyGrid.cs: Implement the
  11991. UseCompatibleTextRendering property for 2.x
  11992. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  11993. 2006-01-11 Jackson Harper <[email protected]>
  11994. * TreeView.cs: Use the property for setting the selected node so
  11995. the correct events get raised.
  11996. * TreeNode.cs: Update the tree when the fore/back colours of a
  11997. node are set.
  11998. 2006-01-10 Jackson Harper <[email protected]>
  11999. * TreeView.cs: Allow setting SelectedNode to null.
  12000. 2006-01-9 Jonathan Chambers <[email protected]>
  12001. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  12002. 2006-01-9 Jonathan Chambers <[email protected]>
  12003. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  12004. 2006-01-9 Jonathan Chambers <[email protected]>
  12005. * PrintDialog.cs: Added attributes and set default property values.
  12006. 2006-01-9 Jonathan Chambers <[email protected]>
  12007. * PrintControllerWithStatusDialog.cs:
  12008. Added PrintControllerWithStatusDialog.
  12009. 2006-01-9 Jonathan Chambers <[email protected]>
  12010. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  12011. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  12012. 2006-01-9 Jonathan Chambers <[email protected]>
  12013. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  12014. 2006-01-09 Jonathan Chambers <[email protected]>
  12015. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  12016. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  12017. 2006-01-08 Alexander Olk <[email protected]>
  12018. * MimeIcon.cs: Added internal class SVGUtil.
  12019. 2006-01-08 Alexander Olk <[email protected]>
  12020. * FileDialog.cs: Don't crash if there are two files with the
  12021. same name but different locations.
  12022. 2006-01-08 John BouAntoun <[email protected]>
  12023. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  12024. dates across multiple month grids. Used to not highlight entire
  12025. month, but does now.
  12026. 2006-01-06 Jackson Harper <[email protected]>
  12027. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  12028. message loop. Change timer intervals to numbers that seem more
  12029. natural.
  12030. 2006-01-06 John BouAntoun <[email protected]>
  12031. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  12032. object for location info since screen object is now implemented.
  12033. 2006-01-05 Jackson Harper <[email protected]>
  12034. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  12035. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  12036. AsyncMethodResult, this is because we ALWAYS want the
  12037. ManualResetEvent to get set.
  12038. * Control.cs: When disposing use an async invoke to call shutdown
  12039. code, so that thigns don't block on the finalizer thread. Also
  12040. check if we even have a message loop before trying to send
  12041. messages, if we don't then don't bother sending messages.
  12042. - No more weak references for async methods
  12043. * XplatUIDriver.cs: No more weak references for async methods.
  12044. 2006-01-04 Alexander Olk <[email protected]>
  12045. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  12046. returns two FontFamily with the same name
  12047. 2006-01-04 Peter Dennis Bartok <[email protected]>
  12048. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  12049. drawing disabled text. Instead using the ColorGrayText color
  12050. 2006-01-04 Jackson Harper <[email protected]>
  12051. * TreeNode.cs: redraw the node when its image index is changed.
  12052. 2006-01-04 Peter Dennis Bartok <[email protected]>
  12053. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  12054. time I checked there are no others like it.
  12055. 2006-01-04 Jackson Harper <[email protected]>
  12056. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  12057. this gives the behavoir I was looking for.
  12058. * Control.cs: Special case Invoking EventHandlers, this matches MS
  12059. and fixes part of bug #76326.
  12060. 2006-01-04 Alexander Olk <[email protected]>
  12061. * ThemeClearlooks.cs, FileDialog.cs:
  12062. - Reflect the latest Theme class changes
  12063. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  12064. with DateTime
  12065. 2006-01-04 Alexander Olk <[email protected]>
  12066. * Theme.cs: Cache UI resource images and resize them if needed
  12067. 2006-01-03 Peter Dennis Bartok <[email protected]>
  12068. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  12069. is called. This fixes the crash in Nexxia when setting the font
  12070. attributes in the chat. [However, RTF needs a look-over to make sure
  12071. that all SelectionXXX methods handle the special case that selection
  12072. is empty and therefore the change must be applied to all text starting
  12073. at the cursor/selection start]
  12074. 2006-01-03 Peter Dennis Bartok <[email protected]>
  12075. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  12076. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  12077. * X11Keyboard.cs: Switched to new way of calling PostMessage
  12078. 2006-01-03 Peter Dennis Bartok <[email protected]>
  12079. * Theme.cs: Added theme interface for images to allow the theme to
  12080. control what images are used for things like FileDialog, MessageBox
  12081. icons, etc.
  12082. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  12083. 2006-01-03 Alexander Olk <[email protected]>
  12084. * FileDialog.cs:
  12085. - Removed some dead code
  12086. - Opening a recently used file does work now
  12087. - Small UI enhancements
  12088. - Refactoring
  12089. 2006-01-02 Alexander Olk <[email protected]>
  12090. * FileDialog.cs: Forgot too add __MonoCS__
  12091. 2006-01-02 Alexander Olk <[email protected]>
  12092. * FileDialog.cs: We are able to read recently used files now let's
  12093. go on and write them.
  12094. 2006-01-01 Alexander Olk <[email protected]>
  12095. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  12096. button
  12097. * MimeIcon.cs: Do a check for the top level media type also
  12098. 2005-12-31 Alexander Olk <[email protected]>
  12099. * ThemeClearlooks.cs:
  12100. - Added CPDrawStringDisabled
  12101. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  12102. some chars if the text doesn't fit into text_rect
  12103. - DrawListViewItem: If View = View.LargeIcon center the image;
  12104. rewrote the drawing of ListViewItem.Text if View =
  12105. View.LargeIcon
  12106. 2005-12-31 Alexander Olk <[email protected]>
  12107. * MimeIcon.cs: Use default KDE icon theme if there is no
  12108. "48x48" directory for the current icon theme, fixes #77114
  12109. * Mime.cs: Disable not working and actually not used code.
  12110. * ThemeWin32Classic.cs:
  12111. - Replace "new SolidBrush" in GetControlBackBrush and
  12112. GetControlForeBrush with ResPool.GetSolidBrush
  12113. - Changed DrawListViewItem from private to protected virtual
  12114. * FileDialog.cs:
  12115. - Added form.MaximizeBox = true
  12116. - Don't throw an exception if there is a broken symbolic link
  12117. 2005-12-23 Jackson Harper <[email protected]>
  12118. * TabControl.cs: Give the panels focus, keyboard navigation is
  12119. fixed so this works correctly now.
  12120. - We need these key events also.
  12121. * ToolBar.cs: Remove some of the poor mans double buffering.
  12122. 2005-12-24 Alexander Olk <[email protected]>
  12123. * ComboBox.cs: The internal TextBox now returns the focus.
  12124. 2005-12-23 Jackson Harper <[email protected]>
  12125. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  12126. 2005-12-23 Peter Dennis Bartok <[email protected]>
  12127. * Control.cs: Removed debug code
  12128. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  12129. implicit children
  12130. 2005-12-23 Peter Dennis Bartok <[email protected]>
  12131. * Control.cs: When creating the control, update the Z-order after
  12132. all it's children are created, too. (Fixes nexxia not showing
  12133. picturebox bug)
  12134. 2005-12-23 Peter Dennis Bartok <[email protected]>
  12135. * Control.cs: Do not update the anchoring distances if layout is
  12136. suspended, instead do it once layout is resumed
  12137. 2005-12-22 Peter Dennis Bartok <[email protected]>
  12138. * Control.cs:
  12139. - After many hours of debugging, for both Jackson and
  12140. myself, it turns out that it helps to set the parent of a control
  12141. if you want to actually see it onscreen. In the spirit of that
  12142. discovery, we're now setting the parent of the control and
  12143. it's children when the control's handle is created. This fix
  12144. will make Lutz Roeder's Reflector run happily.
  12145. - now just creating the handle instead of the whole control when
  12146. getting a graphics context for the control.
  12147. 2005-12-22 Peter Dennis Bartok <[email protected]>
  12148. * ScrollableControl.cs: When calculating the canvas, don't consider
  12149. the scrollbar widths. Instead, predict if horizontal scrollbar
  12150. will affect canvas when deciding on vertical display and vice versa.
  12151. 2005-12-22 Peter Dennis Bartok <[email protected]>
  12152. * RichTextBox.cs: Set default RTF font for documents that don't
  12153. have a font table (Fixes #77076)
  12154. 2005-12-22 Jackson Harper <[email protected]>
  12155. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  12156. clipboard. This prevents a NullRef in that case.
  12157. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  12158. clipboard. PRIMARY is for the currently selected text only. (We
  12159. should implement PRIMARY at some point.
  12160. 2005-12-21 Peter Dennis Bartok <[email protected]>
  12161. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  12162. a Unicode function with a structure that was defined in Ansi way.
  12163. This fixes #76942.
  12164. 2005-12-21 Jackson Harper <[email protected]>
  12165. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  12166. on. Because thats how it rolls. (and this avoids it using ambient
  12167. colours).
  12168. * ThemeWin32Classic.cs: Use the proper back color for filling.
  12169. * Menu.cs: Use the system menu bar color for drawing menu
  12170. bars. Using the window back color will bring ambient colours into
  12171. the picture.
  12172. 2005-12-21 Alexander Olk <[email protected]>
  12173. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  12174. Bitmaps were created and not disposed.
  12175. 2005-12-21 Peter Dennis Bartok <[email protected]>
  12176. * Control.cs (CreateControl): Don't do anything if the control is
  12177. already created, otherwise we'd fire the OnCreated event more than
  12178. once
  12179. 2005-12-21 Peter Dennis Bartok <[email protected]>
  12180. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  12181. will always match. Instead return -1. Fixes #76464.
  12182. 2005-12-21 Peter Dennis Bartok <[email protected]>
  12183. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  12184. neither the beginning nor the end of the line (Fixes bug #76479)
  12185. 2005-12-21 Peter Dennis Bartok <[email protected]>
  12186. * Control.cs:
  12187. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  12188. where handle is invalid
  12189. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  12190. instead of slower linear search
  12191. * NativeWindow.cs: Don't remove the window from the hashtable until
  12192. after the driver has destroyed it (since the driver might use
  12193. Control.FromHandle to lookup the control object
  12194. * Hwnd.cs: Added DestroyPending property to track if a window is
  12195. already destroyed as far as the driver is concerned and only hasn't
  12196. yet notified the control
  12197. * XplatUIX11.cs:
  12198. - Activate(): Check if the window is still valid before using the
  12199. handle
  12200. - Implemented DestroyChildWindow() method to mark child windows as
  12201. destroyed when a window is destroyed. This prevents situations
  12202. where we might call an X method based on queued events for a
  12203. window that already has been destroyed but we haven't yet pulled
  12204. the destroy method from the queue.
  12205. - Added a call to the new DestroyChildWindow() method to the drivers
  12206. DestroyWindow code. Also now marking the destroyed window itself
  12207. as pending
  12208. 2005-12-20 Jackson Harper <[email protected]>
  12209. * StatusBar.cs:
  12210. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  12211. anymore. Just do them when needed, also track the rects of panels
  12212. so that we can optimize refreshing more in the future.
  12213. 2005-12-20 Alexander Olk <[email protected]>
  12214. * ColorDialog.cs: Fixed focus drawing in small color controls
  12215. 2005-12-19 Jackson Harper <[email protected]>
  12216. * InternalWindowManager.cs:
  12217. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  12218. moving windows works properly.
  12219. 2005-12-19 Peter Dennis Bartok <[email protected]>
  12220. * Control.cs:
  12221. - Removed call to InitLayout() from SetBoundsCore(); doc says
  12222. it's only called when a control is added to a container
  12223. - Split InitLayout logic, moved to separate UpdateDistances() method
  12224. since we need to perform those calculations more often than just
  12225. when adding the control to a container. (Needed to fix #77022)
  12226. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  12227. - Reduced the OnBindingContextChanged events count, don't send them
  12228. unless the control is created, we still aren't totally matching
  12229. MS, but I can't quite figure out some of their rules
  12230. 2005-12-18 Alexander Olk <[email protected]>
  12231. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  12232. stripes
  12233. 2005-12-18 Alexander Olk <[email protected]>
  12234. * ThemeClearlooks.cs:
  12235. - Updated ProgressBar drawing
  12236. - Corrected drawing of ScrollBars and scroll buttons
  12237. - Some temporary fixes for minor pixel artefacts
  12238. 2005-12-18 Peter Dennis Bartok <[email protected]>
  12239. * Control.cs:
  12240. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  12241. cause events to be sent in the same order as MS does.
  12242. - Added ChangeParent() method to trigger various OnXXXChanged events
  12243. that need to be fired when a parent changes (This is a reworking
  12244. of the patch from r54254, with the X11 errors fixed)
  12245. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  12246. since on MS we get OnLayoutChanged events when calling Clear()
  12247. - Changed Enabled property to consider parent state as well, if a
  12248. parent is not enabled, the control will not be either
  12249. - Changed Parent property to simply call Controls.Add() since that
  12250. now does all the work required, this way we avoid code duplication
  12251. - Threw in a few OnBindingsContextChanged calls to try and match
  12252. when MS sends them. We seem to send a few too many, though.
  12253. - Added call to CreateControl when adding the control to a parent.
  12254. We were never calling CreateControl. Still needs some work, in
  12255. some places we treat HandleCreated and ControlCreated as equal,
  12256. which is wrong
  12257. - Removed obsolete commented out code from UpdateZOrder()
  12258. 2005-12-18 Alexander Olk <[email protected]>
  12259. * ThemeClearlooks.cs: Updated TrackBar drawing.
  12260. 2005-12-17 Alexander Olk <[email protected]>
  12261. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  12262. 2005-12-17 Alexander Olk <[email protected]>
  12263. * FileDialog.cs: Add the Help button and the open readonly
  12264. checkbox only if needed
  12265. 2005-12-16 Jackson Harper <[email protected]>
  12266. * Control.cs: Make sure we have an active menu before trying to
  12267. process commands on it. Prevents menu-less forms from crashing
  12268. when Alt is pressed.
  12269. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  12270. Dieter Bremes.
  12271. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  12272. 2.0 build.
  12273. 2005-12-16 Jackson Harper <[email protected]>
  12274. * InternalWindowManager.cs: Don't translate tool windows screen
  12275. coordinates. This fixes windows 'bouncing' around when being moved.
  12276. 2005-12-15 Peter Dennis Bartok <[email protected]>
  12277. * TextBoxBase.cs:
  12278. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  12279. not quite MS compatible, MS uses that number only for single line
  12280. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  12281. the limit at 2GB)
  12282. - Now enforcing the MaxLength limit when entering characters
  12283. - Added argument to internal Paste() method to track if it's called
  12284. from programatically or via keyboard, since keyboard driven pastes
  12285. need to enforce max-length
  12286. - Added logic to Paste to only paste as many chars as MaxLength
  12287. allows
  12288. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  12289. * TextControl.cs:
  12290. - Added Length property to return number of characters in document
  12291. - Added private CharCount property which only tracks actual chars
  12292. in the document (no linefeeds) and fires event when CharCount
  12293. changes
  12294. - Added tracking of character count to all methods that alter it
  12295. - Added LengthChanged event to allow applications to subscribe
  12296. to any changes to the document
  12297. 2005-12-15 Peter Dennis Bartok <[email protected]>
  12298. * TextBox.cs:
  12299. - Removed local password_char field (moved to TextBoxBase)
  12300. - Now setting the document's password var when password is
  12301. set
  12302. * TextBoxBase.cs:
  12303. - Added password_char field (needed here so MultiLine can
  12304. access it)
  12305. - Added logic to MultiLine property setter to set the document's
  12306. variable when password display is allowed
  12307. - Removed debug code and made some debug code conditional
  12308. * TextControl.cs:
  12309. - Added RecalculatePasswordLine() method to handle special password
  12310. char only lines
  12311. - Added PasswordChar property, also added related tracking vars
  12312. - Draw() method now uses local text var for grabbing text to draw,
  12313. this var is set to line.text unless we're doing password display,
  12314. then it is set to the pre-generated all-password-chars line
  12315. - Added calling RecalculatePasswordLine() method for password lines
  12316. 2005-12-14 Peter Dennis Bartok <[email protected]>
  12317. * Hwnd.cs:
  12318. - Added Reparented property to allow tracking of Window Manager
  12319. reparenting actions (which affect X/Y calculations of toplevel
  12320. windows)
  12321. - Made ToString() print window handles in hex
  12322. * XplatUIX11.cs:
  12323. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  12324. determine if X/Y needs offsetting
  12325. - AddConfigureNotify(): Fixed offset calculations
  12326. - Now adds ReparentNotify messages into the queue
  12327. - Now processes ReparentNotify messages and causes a
  12328. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  12329. is reparented (as most likely it's X/Y coordinates are changed
  12330. due to that)
  12331. 2005-12-14 Jackson Harper <[email protected]>
  12332. * XplatUIX11.cs: Tool windows still need to respek focus.
  12333. 2005-12-14 Peter Dennis Bartok <[email protected]>
  12334. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  12335. have a working release
  12336. 2005-12-13 Jackson Harper <[email protected]>
  12337. * Form.cs: Update styles after setting the border style regardless
  12338. of whether or not the window is using a window manager.
  12339. 2005-12-13 Jackson Harper <[email protected]>
  12340. * Form.cs: We now hook into an internal window manager instead of just an
  12341. MDI subsystem, this is so we can have properly behaving tool windows.
  12342. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  12343. * InternalWindowManager.cs: New internal class that acts as a
  12344. window manager for tool windows and as a base for mdi windows.
  12345. * MdiWindowManager.cs: New class that acts as a window manager for
  12346. mdi windows.
  12347. 2005-12-12 Jackson Harper <[email protected]>
  12348. * Control.cs: Updates so we match behavoir for for implicit
  12349. controls. Fixes explosions in MDI.
  12350. 2005-12-12 Jackson Harper <[email protected]>
  12351. * Control.cs: Implement Invalidate (Region).
  12352. 2005-12-12 Peter Dennis Bartok <[email protected]>
  12353. * Control.cs:
  12354. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  12355. the same events as MS does. MS fires events for each property
  12356. except, for unknown reasons, Cursor, when the control is reparented.
  12357. I can't seem to totally match add/remove since MS also fires some
  12358. VisibleChanged events, which makes no sense. Consolidated the
  12359. parenting code into a separate method so it can be called from
  12360. both Add and Remove. set_Parent no longer needs any special logic
  12361. as it calls the parent's add method which implicitly fires
  12362. all events
  12363. - Removed some obsolete code and debug output
  12364. - Enabled state is inherited from parents, if this is enabled
  12365. 2005-12-08 Peter Dennis Bartok <[email protected]>
  12366. * Form.cs: Removed commented out code
  12367. 2005-12-08 Peter Dennis Bartok <[email protected]>
  12368. * Control.cs:
  12369. - Added internal version of Invoke, with additional argument
  12370. indicating if we're calling it from a Dispose() handler. That
  12371. way we can avoid BeginInvoke throwing an exception if we're
  12372. calling for an already destroyed window.
  12373. - Added a dispose argument to BeginInvokeInternal, and made the
  12374. check if a valid window handle chain exists conditional on
  12375. it not being a dispose call
  12376. - Removed code in DestroyHandle to destroy our children. Since we
  12377. now handle the WM_DESTROY message we will catch all our children
  12378. being destroyed.
  12379. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  12380. * Form.cs:
  12381. - Added a field to track the application context of the form.
  12382. - No need to set closing variable as response to WM_CLOSE, instead
  12383. we destroy the window. We also call PostQuitMessage if the form
  12384. has an application context (which makes it the main app form,
  12385. which, when closed terminates the app)
  12386. * XplatUI.cs:
  12387. - Dropped Exit() method, it's naming was confusing
  12388. - Added PostQuitMessage() which causes GetMessage to return false
  12389. once the message queue is empty
  12390. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  12391. PostQuitMessage()
  12392. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  12393. no longer a valid XplatUI method, but left it in since it's used
  12394. internally. Added empty PostQuitMessage() method.
  12395. * MenuAPI.cs: Replaced call to Exit() with call to
  12396. PostQuitMessage, even though this is probably no longer needed.
  12397. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  12398. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  12399. * Application.cs:
  12400. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  12401. - Removed old debug code that would call XplatUI for exception
  12402. display, enabled standard exception handling (Still not enabled
  12403. though, until NativeWindow's ExternalExceptionHandler define
  12404. is removed
  12405. * NativeWindow.cs:
  12406. - Added internal method to allow control to update NativeWindow
  12407. after a window has been destroyed
  12408. - Added handling of already destroyed windows when calling i
  12409. DestroyWindow
  12410. - Added removal of handle from list on ReleaseHandle
  12411. * XplatUIX11.cs:
  12412. - Dropped GetMessageResult var and related code
  12413. - Added PostQuitState to field to track if PostQuitMessage has been
  12414. called
  12415. - Dropped Exit() method
  12416. - Added PostQuitMessage() method
  12417. - GetMessage now will return false if PostQuitState is set and no
  12418. more messages are in the queue.
  12419. - Expose handler will no longer generate WM_PAINT messages if we are
  12420. in PostQuitState since it's very likely any windows have already
  12421. been destroyed, and since Hwnd won't get updated until we have
  12422. processed the DestroyNotify we'd be causing X errors.
  12423. 2005-12-07 Peter Dennis Bartok <[email protected]>
  12424. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  12425. Thanks to Mike for pointing out the err of my ways.
  12426. 2005-12-07 Peter Dennis Bartok <[email protected]>
  12427. * Control.cs(PreProcessMessage): Moved menu handling back, but
  12428. after all other key handling, to match MS (who handles Menu in
  12429. DefWndProc)
  12430. * Menu.cs (WndProc): Removed my brainfart
  12431. 2005-12-07 Peter Dennis Bartok <[email protected]>
  12432. * Control.cs(PreProcessMessage): Removed special menu handling
  12433. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  12434. 2005-12-07 Mike Kestner <[email protected]>
  12435. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  12436. state according in tracker.
  12437. * Menu.cs : promote tracker field to base class and provide a tracker
  12438. lookup capability. Add/Remove shortcuts dynamically if the top menu
  12439. has a tracker. Unparent items that are removed from the collection.
  12440. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  12441. * Theme*.cs: add always_show_hotkeys field to support configurability
  12442. of mnemonic display. win32 doesn't show mnemonics until Alt is
  12443. pressed.
  12444. 2005-12-07 Jackson Harper <[email protected]>
  12445. * MdiChildContext.cs: Use Control.ResetCursor.
  12446. * Control.cs: ResetCursor needs to set the property so that the
  12447. correct XplatUI call gets made.
  12448. 2005-12-07 Peter Dennis Bartok <[email protected]>
  12449. * Control.cs: More fixes to make our key events match MS. We
  12450. were not setting the modifier state on KeyData, and we were
  12451. not generating any events when Alt was pressed with a key
  12452. since handling of WM_SYSxxx was missing for the OnKey methods.
  12453. 2005-12-07 Jackson Harper <[email protected]>
  12454. * MdiChildContext.cs: reenable the sizing code.
  12455. - When the mouse leaves a window reset its cursor.
  12456. 2005-12-07 Alexander Olk <[email protected]>
  12457. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  12458. 2005-12-07 Peter Dennis Bartok <[email protected]>
  12459. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  12460. widths of Fixed3D borders
  12461. 2005-12-07 Jackson Harper <[email protected]>
  12462. * MdiClient.cs: Fix warnings. Earn Mike's love.
  12463. 2005-12-07 Alexander Olk <[email protected]>
  12464. * ThemeClearlooks.cs:
  12465. - Adjusted mouse over button color
  12466. - Added first parts of CheckBox drawing
  12467. - Added correct color for selected text background
  12468. - Fixed ComboBox drawing
  12469. - Added CPDrawBorder3D and CPDrawBorder
  12470. 2005-12-06 Peter Dennis Bartok <[email protected]>
  12471. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  12472. 2005-12-06 Peter Dennis Bartok <[email protected]>
  12473. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  12474. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  12475. alert users via sound. We could add an enum arg with different
  12476. types of alerts in the future
  12477. 2005-12-06 Peter Dennis Bartok <[email protected]>
  12478. * Control.cs: Fix behaviour problems pointed out by Mike
  12479. 2005-12-05 Mike Kestner <[email protected]>
  12480. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  12481. prop setters. Calls parent.Refresh for now, but could be maybe be
  12482. optimized with an internal method on StatusBar at some point.
  12483. [Fixes #76513]
  12484. 2005-12-05 Peter Dennis Bartok <[email protected]>
  12485. * RichTextBox.cs: Implemented get_SelectionColor
  12486. 2005-12-05 Alexander Olk <[email protected]>
  12487. * ThemeClearlooks.cs:
  12488. - Removed dead code
  12489. - Draw black button border only if button is Form.AcceptButton
  12490. - Draw correct button color for pressed RadioButton if the mouse
  12491. has entered the button
  12492. - Updated ProgressBar drawing!
  12493. - Updated CPDrawSizeGrip drawing
  12494. - Updated StatusBarPanel drawing
  12495. 2005-12-05 Mike Kestner <[email protected]>
  12496. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  12497. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  12498. 2005-12-04 Alexander Olk <[email protected]>
  12499. * ThemeClearlooks.cs: Initial check-in, activate with
  12500. export MONO_THEME=clearlooks
  12501. * ThemeEngine.cs: Added ThemeClearlooks
  12502. 2005-12-03 Mike Kestner <[email protected]>
  12503. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  12504. [Fixes #76897]
  12505. 2005-12-02 Jackson Harper <[email protected]>
  12506. * Form.cs: If the child form has no menu the default main menu is
  12507. used as the active menu.
  12508. 2005-12-02 Peter Dennis Bartok <[email protected]>
  12509. * ListBox.cs: Check if any items exist before trying to resolve
  12510. coordinates into items
  12511. 2005-12-02 Peter Dennis Bartok <[email protected]>
  12512. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  12513. as the second color for the background hatch
  12514. 2005-12-02 Peter Dennis Bartok <[email protected]>
  12515. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  12516. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  12517. sure that what we pass to FormatText is always 1-based. Fixes #76885
  12518. 2005-11-29 Miguel de Icaza <[email protected]>
  12519. * NumericUpDown.cs (EndInit): When we are done initializing,
  12520. reflect any updates on the UI.
  12521. 2005-12-02 Jackson Harper <[email protected]>
  12522. * ImplicitHScrollBar.cs:
  12523. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  12524. their container controls.
  12525. * TreeView.cs: Use the new implicit scrollbars.
  12526. 2005-12-02 Jackson Harper <[email protected]>
  12527. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  12528. can play with it.
  12529. * TreeNodeCollection.cs: If we remove the topnode we need to
  12530. update topnode to the next node in line.
  12531. - When clearing nodes go through the same process as removing
  12532. them, so they get depareneted and checked if they are top node.
  12533. 2005-12-01 Jackson Harper <[email protected]>
  12534. * TreeView.cs: When imagelists are used the image area is
  12535. selectable as well as the text.
  12536. - If there are no selected nodes select the first one.
  12537. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  12538. so don't do it more then we need to.
  12539. 2005-12-01 Jackson Harper <[email protected]>
  12540. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  12541. that arrows can be scaled.
  12542. 2005-12-01 Jackson Harper <[email protected]>
  12543. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  12544. fail. Patch by Dieter Bremes
  12545. 2005-11-30 Jackson Harper <[email protected]>
  12546. * Form.cs: Property is 2.0 only
  12547. * PrintDialog.cs: Signature fix.
  12548. 2005-11-30 Peter Dennis Bartok <[email protected]>
  12549. * TextControl.cs:
  12550. - No longer artificially moves text 2 pixels down (now that we have
  12551. borders this is no longer needed)
  12552. - Added calcs for left, hanging and right indent
  12553. 2005-11-23 Mike Kestner <[email protected]>
  12554. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  12555. 2005-11-30 Jackson Harper <[email protected]>
  12556. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  12557. get cloned as part of CloneMenu ().
  12558. * Menu.cs: Make sure the parent of the items get set correctly
  12559. when they are added. And the owners are notified of the changes.
  12560. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  12561. we can change the menu being displayed/handled by the form without
  12562. changing the menu assosciated with the form.
  12563. - Don't let Mdi children draw/handle menus.
  12564. 2005-11-30 Jackson Harper <[email protected]>
  12565. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  12566. a MenuChanged event. Just to make the API a little more
  12567. consistent.
  12568. * MainMenu.cs:
  12569. * MenuItem.cs: Use the new OnMenuChanged
  12570. * MdiChildContext.cs: Handle menu merging.
  12571. * Form.cs: Implement MergedMenu.
  12572. 2005-11-30 Jackson Harper <[email protected]>
  12573. * Menu.cs: We were misusing Add. Add goes behind the specified
  12574. index according to the docs, and does not replace the specified
  12575. index. So I added an Insert method.
  12576. 2005-11-30 Peter Dennis Bartok <[email protected]>
  12577. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  12578. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  12579. is for Jackson
  12580. * RichTextBox.cs: Added calls to base for DnD events
  12581. 2005-11-28 Peter Dennis Bartok <[email protected]>
  12582. * TextControl.cs:
  12583. - Fixed drag-selection related crash; style fixes
  12584. - Implemented undo class
  12585. o Implemented method to capture document state for specified
  12586. range in document tree
  12587. o Implemented method to restore captured document state
  12588. o Implemented cursor tracking
  12589. o Implemented basic undo stack
  12590. - Added undo cursor tracking to methods altering cursor location
  12591. - Added undo tracking to selection deletion (still missing
  12592. other text-altering hookups)
  12593. * RichTextBox.cs:
  12594. - Added SelectionLength property
  12595. - Implemented CanPaste()
  12596. - Implemented Paste()
  12597. - Added missing protected methods
  12598. - Fixed RTF->Document conversion; now uses font index 0 and color
  12599. index 0 as the default font for the parsed text
  12600. - Fixed RTF<->Document font size translation
  12601. - Fixed RTF generation, now properly handles cross-tag boundaries
  12602. for single line selection
  12603. - No longer always appends blank line to generated RTF
  12604. - Removed TODOs
  12605. - Added missing attributes
  12606. - Hooked up undo-related methods
  12607. * TextBoxBase.cs:
  12608. - Implemented Copy()
  12609. - Implemented Paste()
  12610. - Implemented Cut()
  12611. - Fixed caret mis-behaviour on backspace across line-boundaries
  12612. 2005-11-29 Jackson Harper <[email protected]>
  12613. * MdiClient.cs: Add a method for activating mdi children. Very
  12614. basic right now. I imagine someday it might need more girth.
  12615. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  12616. children windows names are added to the menu item.
  12617. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  12618. mdilist. This happens regardless of whether or not there are any
  12619. mdi windows to see in the list, and according to my tests happens
  12620. before the items are even added. Also happens if there isn't even
  12621. an mdi client to get windows from.
  12622. 2005-11-29 Alexander Olk <[email protected]>
  12623. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  12624. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  12625. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  12626. * DataGridTableStyle.cs:
  12627. - Create always the styles for the missing columns even if they are
  12628. provided by the user (not default table style)
  12629. * DataGrid.cs:
  12630. - Fixes bug 76770
  12631. - Fixes SetDataBinding (always re-attach source)
  12632. - Fixes SetNewDataSource (only clear styles if they are not for
  12633. this source)
  12634. - Expands OnTableStylesCollectionChanged to handle style refresh
  12635. and remove properly
  12636. 2005-11-29 Jackson Harper <[email protected]>
  12637. * FileDialog.cs: Implement missing bits, remove some dead
  12638. code.
  12639. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  12640. creation of the panel so that the options set on the dialog are
  12641. seen when the panel is created.
  12642. * TreeView.cs: raise a click when items are clicked.
  12643. 2005-11-29 Jackson Harper <[email protected]>
  12644. * MdiClient.cs: Pass some signature methods through to base.
  12645. 2005-11-28 Jackson Harper <[email protected]>
  12646. * ListView.cs: Raise the click event when items are clicked.
  12647. 2005-11-28 Jackson Harper <[email protected]>
  12648. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  12649. a nullref.
  12650. 2005-11-27 Alexander Olk <[email protected]>
  12651. * ThemeNice.cs: - Removed 1 pixel bitmaps
  12652. - Use SmoothingMode.AntiAlias where it makes sense
  12653. (ScrollButton arrow for example)
  12654. - Enhanced Button focus drawing
  12655. - Fixed ComboBox drawing (no artefacts anymore, focus
  12656. rectangle is back again, reduced size of ComboButton, etc.)
  12657. - Fixed RadioButton focus drawing for Appearence.Button
  12658. - Slight ScrollButton redesign
  12659. - Some LinearGradientBrush size fixes
  12660. - GroupBoxes have now rounded edges
  12661. - Fixed StatusBar drawing
  12662. 2005-11-25 Alexander Olk <[email protected]>
  12663. * ThemeNice.cs: - Remove dead code
  12664. - use correct background colors for menus, etc.
  12665. - Fake pixel drawing with 1 pixel bitmaps
  12666. 2005-11-24 Jackson Harper <[email protected]>
  12667. * MdiClient.cs: Size the scrollbars when resizing the window.
  12668. - Resize the maximized windows when the client is resized
  12669. * Form.cs: Make the child context available
  12670. 2005-11-23 Jackson Harper <[email protected]>
  12671. * MdiChildContext.cs: Don't size windows if they are maximized.
  12672. 2005-11-23 Mike Kestner <[email protected]>
  12673. * ContextMenu.cs: use MenuTracker.
  12674. * Control.cs: remove menu handle usage.
  12675. * Form.cs: remove menu handle usage.
  12676. * Hwnd.cs: remove menu handle usage.
  12677. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  12678. motion and clicks to the new Tracker handlers.
  12679. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  12680. and handle usage.
  12681. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  12682. Killed the MENU and MENUITEM data types and associated collections
  12683. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  12684. MenuTracker class that exposes the leftovers from the old MenuAPI
  12685. static methods. Restructured Capture handling so that only one grab is
  12686. done for the entire menu hierarchy instead of handing off grabs to
  12687. submenus. Tracker now has an invisible control to Capture when active.
  12688. * MenuItem.cs: add sizing accessors, kill Create
  12689. and handle usage.
  12690. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  12691. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  12692. MENU(ITEM). remove menu handle usage, use Menu directly.
  12693. * XplatUIDriver.cs: remove menu handle usage.
  12694. * XplatUIOSX.cs: remove menu handle usage.
  12695. * XplatUIWin32.cs: remove menu handle usage.
  12696. * XplatUIX11.cs: remove menu handle usage.
  12697. 2005-11-22 Jackson Harper <[email protected]>
  12698. * Hwnd.cs: Don't compute the menu size for
  12699. DefaultClientRectangle.
  12700. - Reenable menu sizes being computed for GetClienRectangle.
  12701. * Form.cs: Remove comment of trechery
  12702. 2005-11-22 Jackson Harper <[email protected]>
  12703. * Hwnd.cs: The adjustments for the menu bar are made when it is
  12704. attached to the form.
  12705. 2005-11-19 Jackson Harper <[email protected]>
  12706. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  12707. (just like on windows).
  12708. 2005-11-19 Jackson Harper <[email protected]>
  12709. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  12710. use real buttons anymore because they are in non client area. The
  12711. one TODO here is that I need to somehow invalidate a section of
  12712. the non client area.
  12713. 2005-11-18 Jackson Harper <[email protected]>
  12714. * Control.cs: Put the enum check back in now that MDI doesnt have
  12715. to use this to set border styles.
  12716. * Form.cs: Only set mdi child windows borders if the handle has
  12717. been created.
  12718. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  12719. this directly on to the driver.
  12720. - Get the move start position before adjusting for the titlebar
  12721. height, this fixes the windows "skipping" when they are first
  12722. moved.
  12723. 2005-11-18 Jackson Harper <[email protected]>
  12724. * XplatUIX11.cs: Just compute the mdi borders separately as they
  12725. don't totally match up with normal form borders.
  12726. 2005-11-18 Jackson Harper <[email protected]>
  12727. * Control.cs: Set WS_ styles for borders, so that the driver does
  12728. not have to retrieve the control instance to figure out what kind
  12729. of borders it should have.
  12730. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  12731. driver can know its an mdi child easily.
  12732. * XplatUIX11.cs: Get the border styles and whether the window is
  12733. MDI from the Styles and ExStyles params instead of having to get a
  12734. control. This prevents a chicken and egg problem.
  12735. 2005-11-18 Jackson Harper <[email protected]>
  12736. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  12737. 2005-11-18 Jackson Harper <[email protected]>
  12738. * MdiClient.cs: Calculate when to add and remove scrollbars
  12739. correctly.
  12740. * MdiChildContext.cs: Adjust the y position to take the titlebar
  12741. into account.
  12742. - No height for FormBorderStyle.None
  12743. 2005-11-18 Jackson Harper <[email protected]>
  12744. * Control.cs: Allow non enum values to be used for
  12745. InternalBorderStyle. MDI does this to set a special border style.
  12746. - New utility methods for converting points to/from client coords
  12747. - Add the newly created control to the Controls collection before
  12748. updating its style. This way UpdateStyle can walk the control
  12749. heirarchy to find the control if needed.
  12750. so I don't need to create a new Point object all the time.
  12751. * Form.cs: Let MDI windows handle their border styles.
  12752. - Set styles on MDI windows so the correct title style is derived.
  12753. * MdiChildContext.cs: Move all the painting and window handling
  12754. into the non client area.
  12755. - Use correct sizing and put correct buttons on frames based on
  12756. the FormBorderStyle.
  12757. - Notify the mdi client about scrolling
  12758. - Need to handle the buttons ourselves now, because they are all
  12759. in non client areas and we can't add controls there.
  12760. * MdiClient.cs: Halfway to scrolling, this implementation is
  12761. somewhat broken though, we need to check to make sure other
  12762. windows aren't causing scrolling before removing the bars. Also
  12763. the bars need to be drawn on top, maybe I can switch implicit
  12764. controls to be on top.
  12765. * Hwnd.cs: caption_height and tool_caption_height are now
  12766. properties of an hwnd, this way they can be set by the driver
  12767. based on the type of window they are. In X11 the window manager
  12768. handles the decorations so caption_height is zero unless its an
  12769. MDI window.
  12770. - Add 3 pixel borders for MDI windows (0xFFFF).
  12771. - Get rid of some code duplication, have DefaultClientRectanle
  12772. just call GetClientRectangle.
  12773. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  12774. Hwnd now.
  12775. - Set border styles differently for mdi windows.
  12776. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  12777. Hwnd now.
  12778. 2005-11-15 Mike Kestner <[email protected]>
  12779. * Menu.cs: when adding an item to the collection, if item is already
  12780. parented, remove it from the parent.
  12781. 2005-11-13 Alexander Olk <[email protected]>
  12782. * X11DesktopColors.cs: Added KDE support
  12783. 2005-11-11 Peter Dennis Bartok <[email protected]>
  12784. * XplatUIWin32.cs:
  12785. - Clipboard methods now can translate Rtf format
  12786. - No longer removes clipboard contents whenever a new format is added
  12787. to allow placing multiple formats on the clipboard
  12788. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  12789. will place all formats contained in it onto the clipboard. Also
  12790. now cleans the clipboard before placing a new object onto it
  12791. * RichTextBox.cs:
  12792. - Implemented set_Rtf
  12793. - Implemented set_SelectedRtf
  12794. - Created InsertRTFFromStream() method to allow single code base
  12795. for all properties and methods that insert RTF into document
  12796. - Removed debug output
  12797. * TextControl.cs:
  12798. - Fixed Delete(int) to fix up line numbers
  12799. - Fixed ReplaceSelection to combine start and end line
  12800. - Fixed serious DeleteChars bug that would leave the document tree
  12801. broken
  12802. - Improved DumpTree with several logic checks to detect broken
  12803. document trees
  12804. - Removed debug lines
  12805. - Fixed Caret.WordForward/WordBack moving code, now always also
  12806. updates caret.tag (fixes crash when word-selecting across tag
  12807. boundaries via keyboard)
  12808. - Added Insert() method for inserting multiline text into documents
  12809. - Fixed DeleteChars() calculation errors that would cause a broken
  12810. tag chain with multiple tag lines
  12811. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  12812. - Split() no longer moves caret if split is at caret location
  12813. - ReplaceSelection() now updates the cursor and re-displays it
  12814. - ReplaceSelection() now uses new Insert() method to avoid code
  12815. duplication
  12816. - FormatText() can now handle formatting partial lines
  12817. * TextBoxBase.cs:
  12818. - Append now uses new TextControl.Insert() method (this avoids
  12819. duplicate code)
  12820. - Implemented Ctrl-X (Cut) (
  12821. - Implemented Ctrl-C (Copy)
  12822. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  12823. regeneration when pasting text; roundtripping Copy&Paste within
  12824. edit control still fails due to some calculation bugs in GenerateRTF)
  12825. - The Delete key will now remove the current selection if it is visible
  12826. * TextBox.cs: Removed debug lines
  12827. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  12828. driver to be initialized and can't therefore be done via a static ctor)
  12829. 2005-11-10 Peter Dennis Bartok <[email protected]>
  12830. * TextControl.cs: Added backend code for finding char arrays and strings
  12831. * TextBoxBase.cs:
  12832. - Added mouse wheel scroll support
  12833. - Added support for VScroll and HScroll events
  12834. * RichTextBox.cs:
  12835. - Implemented all seven Find() variants
  12836. - Implemented GetCharFromPosition()
  12837. - Implemented GetCharIndexFromPosition()
  12838. - Implemented GetLineFromIndex()
  12839. - Implemented GetPositionFromCharIndex();
  12840. - Implemented SaveFile for PlainText and UnicodeText
  12841. - Fixed set_Font, now setting a new font applies that font to
  12842. the whole document
  12843. - Implemented generic Document to RTF converter
  12844. - Implemented SaveFile for RichText format (still missing unicode
  12845. conversion for non-ansi chars)
  12846. - Implemented get_Rtf
  12847. - Implemented get_SelectedRtf
  12848. 2005-11-09 Peter Dennis Bartok <[email protected]>
  12849. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  12850. to allow any captures to be released before triggering OnClick. This
  12851. way a click handler may capture the mouse without interference.
  12852. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  12853. This way we send them even though X may not allow a grab (if the window
  12854. isn't visible, for example)
  12855. 2005-11-08 Pedro Martinez Julia <[email protected]>
  12856. * DataGridViewRowEventArgs.cs: DataGridView implementation
  12857. * DataGridViewElement.cs: DataGridView implementation
  12858. * DataGridViewComboBoxCell.cs: DataGridView implementation
  12859. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  12860. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  12861. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  12862. * ImageLayout.cs: DataGridView implementation
  12863. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  12864. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  12865. * DataGridViewSelectionMode.cs: DataGridView implementation
  12866. * IDataGridViewEditingControl.cs: DataGridView implementation
  12867. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  12868. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  12869. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  12870. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  12871. * DataGridViewColumnSortMode.cs: DataGridView implementation
  12872. * DataGridView.cs: DataGridView implementation
  12873. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  12874. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  12875. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  12876. * Padding.cs: DataGridView implementation
  12877. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  12878. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  12879. * DataGridViewRowEventHandler.cs: DataGridView implementation
  12880. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  12881. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  12882. * DataGridViewButtonCell.cs: DataGridView implementation
  12883. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  12884. * DataGridViewEditMode.cs: DataGridView implementation
  12885. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  12886. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  12887. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  12888. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  12889. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  12890. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  12891. * DataGridViewCellEventHandler.cs: DataGridView implementation
  12892. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  12893. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  12894. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  12895. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  12896. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  12897. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  12898. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  12899. * QuestionEventArgs.cs: DataGridView implementation
  12900. * IDataGridViewEditingCell.cs: DataGridView implementation
  12901. * DataGridViewTriState.cs: DataGridView implementation
  12902. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  12903. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  12904. * DataGridViewColumnCollection.cs: DataGridView implementation
  12905. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  12906. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  12907. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  12908. * DataGridViewColumn.cs: DataGridView implementation
  12909. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  12910. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  12911. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  12912. * DataGridViewRow.cs: DataGridView implementation
  12913. * DataGridViewImageCellLayout.cs: DataGridView implementation
  12914. * DataGridViewImageCell.cs: DataGridView implementation
  12915. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  12916. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  12917. * DataGridViewHeaderCell.cs: DataGridView implementation
  12918. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  12919. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  12920. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  12921. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  12922. * QuestionEventHandler.cs: DataGridView implementation
  12923. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  12924. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  12925. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  12926. * DataGridViewCell.cs: DataGridView implementation
  12927. * DataGridViewCellEventArgs.cs: DataGridView implementation
  12928. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  12929. * DataGridViewCellStyle.cs: DataGridView implementation
  12930. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  12931. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  12932. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  12933. * TextFormatFlags.cs: DataGridView implementation
  12934. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  12935. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  12936. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  12937. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  12938. * DataGridViewButtonColumn.cs: DataGridView implementation
  12939. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  12940. * HandledMouseEventArgs.cs: DataGridView implementation
  12941. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  12942. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  12943. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  12944. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  12945. * DataGridViewRowCollection.cs: DataGridView implementation
  12946. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  12947. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  12948. * DataGridViewHitTestType.cs: DataGridView implementation
  12949. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  12950. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  12951. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  12952. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  12953. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  12954. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  12955. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  12956. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  12957. * DataGridViewContentAlignment.cs: DataGridView implementation
  12958. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  12959. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  12960. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  12961. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  12962. * DataGridViewPaintParts.cs: DataGridView implementation
  12963. * DataGridViewCellCollection.cs: DataGridView implementation
  12964. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  12965. * DataGridViewImageColumn.cs: DataGridView implementation
  12966. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  12967. * DataGridViewElementStates.cs: DataGridView implementation
  12968. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  12969. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  12970. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  12971. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  12972. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  12973. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  12974. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  12975. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  12976. * DataGridViewTextBoxCell.cs: DataGridView implementation
  12977. * DataGridViewBand.cs: DataGridView implementation
  12978. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  12979. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  12980. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  12981. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  12982. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  12983. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  12984. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  12985. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  12986. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  12987. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  12988. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  12989. 2005-11-08 Peter Dennis Bartok <[email protected]>
  12990. * ThemeWin32Classic.cs:
  12991. - Draw the outside focus rectangle around buttons
  12992. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  12993. doesn't use end caps for every dash of a line anymore. This
  12994. workaround ignores the forecolor.
  12995. 2005-11-08 Kornél Pál <[email protected]>
  12996. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  12997. endian safe.
  12998. 2005-11-07 Jackson Harper <[email protected]>
  12999. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  13000. 2005-11-07 Jackson Harper <[email protected]>
  13001. * ScrollableControl.cs: Calculate the maximum and change vars
  13002. (more) correctly so that scrollbars appear as a sensible size.
  13003. 2005-11-04 Jackson Harper <[email protected]>
  13004. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  13005. collection.
  13006. * TreeView.cs: When the tree is sorted null out the top_node so
  13007. that it is recalculated.
  13008. - Use dotted lines instead of dashed lines to match MS better.
  13009. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  13010. * ListView.cs:
  13011. - Implements key search for items. Useful when browsing files with FileDialog
  13012. - When changing view mode or when clear the items reset scrollbar positions
  13013. 2005-11-04 Jackson Harper <[email protected]>
  13014. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  13015. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  13016. as to what the method may do as there is no real way of creating a
  13017. derived CurrencyManager and calling the method.
  13018. 2005-11-03 Jackson Harper <[email protected]>
  13019. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  13020. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  13021. method which seems to just be used internally to refresh the tabs.
  13022. 2005-11-03 Jackson Harper <[email protected]>
  13023. * TabControl.cs: Implement the remove method. Fix some broken
  13024. comments.
  13025. 2005-11-03 Peter Dennis Bartok <[email protected]>
  13026. * DateTimePicker.cs:
  13027. - Added missing DateTimePickerAccessibleObject class
  13028. - Added missing events
  13029. - Added OnFontChanged method
  13030. * Form.cs: Added missing attributes
  13031. * TreeView.cs: Added missing attributes
  13032. 2005-11-03 Peter Dennis Bartok <[email protected]>
  13033. * GridItemCollection.cs: Fix signatures
  13034. 2005-11-03 Peter Dennis Bartok <[email protected]>
  13035. * XplatUI.cs: Updated build rev/date
  13036. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  13037. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  13038. * Application.cs: Trigger context-specific ExitThread events
  13039. 2005-11-03 Jackson Harper <[email protected]>
  13040. * Menu.cs:
  13041. * MainMenu.cs:
  13042. * GridTableStylesCollection.cs:
  13043. * Timer.cs:
  13044. * TabPage.cs:
  13045. * HelpProvider.cs:
  13046. * StatusBar.cs:
  13047. * MonthCalendar.cs: Signature fixes
  13048. 2005-11-03 Jackson Harper <[email protected]>
  13049. * TreeNodeCollection.cs: Remove should not be virtual.
  13050. * TreeView.cs: Implement the last of the missing methods.
  13051. 2005-11-03 Jackson Harper <[email protected]>
  13052. * TreeNodeConverter.cs: Implement to get off my class-status back.
  13053. 2005-11-03 Jackson Harper <[email protected]>
  13054. * TreeView.cs: Hookup the bits for drag and drop.
  13055. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  13056. that nodes can be moved from tree to tree easily this just causes
  13057. all sorts of problems.
  13058. * TreeNodeCollection: Don't need to give treenodes an index and
  13059. treeview anymore when they are added, these are computed on the
  13060. fly. Also make sure to remove a node before its added.
  13061. 2005-11-03 Peter Dennis Bartok <[email protected]>
  13062. * TextControl.cs:
  13063. - Added CaretSelection enum
  13064. - Added comparison methods to Marker struct, makes selection code
  13065. more readable
  13066. - Added SelectionStart and SelectionEnd as 'moveable' location for
  13067. the CaretDirection enum and handler
  13068. - Added selection_prev variable to track optimized invalidation for
  13069. word and line selection
  13070. - Added SelectionVisible property (returns true if there is a valid
  13071. selection)
  13072. - Switched CaretHasFocus to only display the caret if there is no
  13073. visible selection
  13074. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  13075. using the direct character index; should be much faster
  13076. - Added various conditional debug statements
  13077. - Fixed invalidation calculation for selection ranges
  13078. - Added ExpandSelection() method to support word and line selection
  13079. - Switched SetSelectionToCaret to use new Marker compare overloads
  13080. - Added central IsWordSeparator() method to determine word
  13081. separators/whitespace and FindWordSeparator() to streamline common
  13082. usage of IsWordSeparator()
  13083. * TextBoxBase.cs:
  13084. - Removed unneeded grabbed variable, it was just mirroring
  13085. Control.Capture
  13086. - No longer firing OnTextChanged event when Text setter is called,
  13087. since the base will fire the event for us
  13088. - Added handling of Ctrl-Up/Down selection
  13089. - Added handling of Shift-Cursorkey selection
  13090. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  13091. words
  13092. - Added handling of Shift and Ctrl-Shift-Home/End selection
  13093. - Removed some debug output
  13094. - Added handling for single/double/tripple-click to place caret/
  13095. select word/select line respectively (Fixes bug #76031)
  13096. - Added support for drag expansion of word/line selection
  13097. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  13098. current selection
  13099. 2005-11-02 Jackson Harper <[email protected]>
  13100. * X11Dnd.cs: If the drag is going to and from a MWF window just
  13101. copy the data instead of sending it out through the X Selection
  13102. mechanism.
  13103. 2005-11-02 Jackson Harper <[email protected]>
  13104. * X11Dnd.cs:
  13105. * XplatUIX11.cs: When in a drag we don't want motion notify
  13106. messages to get passed on to the other controls. This prevents
  13107. mouse move messages from showing up in the drag source.
  13108. 2005-11-02 Jackson Harper <[email protected]>
  13109. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  13110. the correct button is release to end a drag.
  13111. * XplatUIX11.cs: Make the button state internal so the drag system
  13112. can access it. Dragging needs to know about all button releases,
  13113. not just left button.
  13114. 2005-11-02 Miguel de Icaza <[email protected]>
  13115. * Form.cs (Icon): If the icon is null, reset the icon to the
  13116. default value.
  13117. * Cursor.cs: When writing the AND-mask bitmap do not include the
  13118. number of colors, but hardcode those to two (black and white),
  13119. fixes the loading of color cursors (Paint Dot Net).
  13120. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  13121. turn off autoscaling.
  13122. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  13123. 2005-11-02 Jackson Harper <[email protected]>
  13124. * X11Dnd.cs: Make sure to send a status message if the pointer
  13125. enters a control that can not accept a drop, otherwise the cursor
  13126. isn't updated correctly. Also tried to compress the lines of code
  13127. a bit.
  13128. 2005-11-02 Jackson Harper <[email protected]>
  13129. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  13130. set actions correctly. This isn't perfect as XDND and win32 have
  13131. some differences on how you allow actions. I'll clear this up by
  13132. adding a path for drag from MWF to MWF windows.
  13133. * XplatUIX11.cs: Hook into the dnd system.
  13134. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  13135. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  13136. previously shown but they are no longer need it. Very obvious when
  13137. browsing files with FileDialog.
  13138. 2005-11-01 Peter Dennis Bartok <[email protected]>
  13139. * Control.cs: We always need to call OnPaintBackground. We pretty much
  13140. ignore AllPaintingInWmPaint and always do the painting there, whether
  13141. it's set or not, since we always ignore the WM_ERASEBKGND message
  13142. (which we don't generate on X11). This fixes #76616.
  13143. * Panel.cs: Removed unneeded background painting. This happens properly
  13144. in Control.cs already
  13145. 2005-10-31 Mike Kestner <[email protected]>
  13146. * Menu.cs: Add items to collection before setting their index.
  13147. * MenuItem.cs : add range checking with ArgumentException like MS.
  13148. [Fixes #76510]
  13149. 2005-10-31 Jackson Harper <[email protected]>
  13150. * ListBox.cs: Invalidate if the area is visible at all not just
  13151. contained in the visible rect. Fixes unselection of semi visible
  13152. items.
  13153. 2005-10-31 Jackson Harper <[email protected]>
  13154. * Control.cs: Consistently name the dnd methods. Make them
  13155. internal so we can override them to match some MS behavoir
  13156. internally.
  13157. * Win32DnD.cs: Use the new consistent names.
  13158. 2005-10-31 Jackson Harper <[email protected]>
  13159. * TreeView.cs: Don't draw the selected node when we lose focus.
  13160. 2005-10-31 Jackson Harper <[email protected]>
  13161. * X11Dnd.cs: We still need to reset the state even though a full
  13162. reset isn't being done, otherwise status's still get sent all over
  13163. the place.
  13164. 2005-10-31 Jackson Harper <[email protected]>
  13165. * Control.cs: Make the dnd_aware flag internal so the dnd
  13166. subsystem can check it. Catch exceptions thrown in dnd handlers to
  13167. match MS behavoir.
  13168. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  13169. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  13170. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  13171. flags to reduce the number of dnd enters/status's sent.
  13172. 2005-10-31 Jackson Harper <[email protected]>
  13173. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  13174. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  13175. * PictureBox.cs: Fixes 76512
  13176. 2005-10-28 Jackson Harper <[email protected]>
  13177. * X11Dnd.cs: Early implementation to support winforms being a drag
  13178. source for data on X11. Also restructured the converters so they
  13179. can go both ways now.
  13180. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  13181. 2005-10-27 Peter Dennis Bartok <[email protected]>
  13182. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  13183. clipboard requests
  13184. 2005-10-27 Jackson Harper <[email protected]>
  13185. * TreeNode.cs: Implement serialization so my DnD examples will work.
  13186. 2005-10-24 Kornél Pál <[email protected]>
  13187. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  13188. TreeView.cs: Don't dispose objects that are not owned.
  13189. 2005-10-24 Peter Dennis Bartok <[email protected]>
  13190. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  13191. should retrieve the current cursor and report that, but XplatUI
  13192. doesn't (yet) have an interface for that (and I'm not sure I even
  13193. can, on X11)
  13194. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  13195. until any message loop processing is done (and the WM_SETCURSOR
  13196. replaces the cursor to the proper one)
  13197. * XplatUIX11.cs:
  13198. - Fixed override behaviour, we can't set the cursor globally on X11,
  13199. just for our windows.
  13200. - Invalidating the System.Drawing X11 display handle when we are
  13201. shutting down
  13202. * Control.cs: Fix to make csc happy
  13203. 2005-10-23 Peter Dennis Bartok <[email protected]>
  13204. * TextBoxBase.cs:
  13205. - get_Text: Add last line (without trailing newline) to returned
  13206. value (Fixes 76212)
  13207. - get_TextLength: Count last line in returned length
  13208. - ToString: Call Text property instead of duplicating code
  13209. 2005-10-23 Kornél Pál <[email protected]>
  13210. * ImageList.cs: Dispose ImageAttributes objects.
  13211. 2005-10-22 Kornél Pál <[email protected]>
  13212. * ImageList.cs: Use attribute constructors with less arguments where
  13213. possible.
  13214. 2005-10-22 Kornél Pál <[email protected]>
  13215. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  13216. Use typeof instead of strings when assembly is referenced. Added
  13217. some more comments.
  13218. 2005-10-21 Jackson Harper <[email protected]>
  13219. * ListView.cs: Raise a double click event. Also tried to somewhat
  13220. fix when the selectedindexchanged event is raised. Its still
  13221. broken though.
  13222. 2005-10-21 Jackson Harper <[email protected]>
  13223. * TreeView.cs: New method to invalidate the plus minus area of a
  13224. node without invalidating the whole node (maybe this can be used
  13225. in some more places).
  13226. * TreeNodeCollection.cs: When adding to an empty node we need to
  13227. invalidate its plus minus area so the little block shows up.
  13228. 2005-10-21 Jackson Harper <[email protected]>
  13229. * TreeView.cs: Make sure that when we invalidate a node the bounds
  13230. are big enough to cover the selected box and the focus
  13231. rectangle. Use a different colour for the lines connecting nodes
  13232. so they show up with all themes.
  13233. 2005-10-21 Peter Dennis Bartok <[email protected]>
  13234. * NativeWindow.cs: Don't call anything that could call into the driver,
  13235. we might be on a different thread.
  13236. 2005-10-21 Peter Dennis Bartok <[email protected]>
  13237. * Control.cs(Dispose): Since Dispose might run on a different thread,
  13238. make sure that we call methods that could call into the driver via
  13239. invoke, to avoid thread issues
  13240. 2005-10-21 Peter Dennis Bartok <[email protected]>
  13241. * XplatUI.cs: Removed finalizer
  13242. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  13243. not allowing to be called on the finalizer thread.
  13244. 2005-10-21 Kornél Pál <[email protected]>
  13245. * ImageList.cs:
  13246. - Reverted r51889 and r51891.
  13247. - Added ImageListItem class that stores unmodified image items and image
  13248. properties required to create list images until handle is created.
  13249. - Added AddItem and moved image creation logic to AddItemInternal.
  13250. - Added CreateHandle method that creates images based on unmodified items.
  13251. - Added DestroyHandle that changes state to store unmodified items.
  13252. - Add and AddStrip methods no more create handle.
  13253. - ReduceColorDepth has no return value.
  13254. - Dispose destroys handle.
  13255. - Modified other methods to reflect the above changes.
  13256. - Implemented key support.
  13257. - Added profile 2.0 members and attributes.
  13258. - Added private Reset and ShouldSerialize methods that provide the same
  13259. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  13260. them as they are private.
  13261. - Added some more comments about implementation details.
  13262. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  13263. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  13264. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  13265. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  13266. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  13267. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  13268. * DataGridColumnStyle.cs: Remove debug message
  13269. 2005-10-20 Jackson Harper <[email protected]>
  13270. * TreeView.cs: We can always get input keys regardless of whether
  13271. or not editing is enabled. They are used for navigation.
  13272. 2005-10-20 Jackson Harper <[email protected]>
  13273. * TreeNode.cs: Use the viewport rect for determining if a node
  13274. needs to be moved for visibility. Don't use Begin/End edit. This
  13275. calls a full refresh when its done.
  13276. * TreeView.cs: New SetBottom works correctly. Make the viewport
  13277. rect property internal so the treenodes can see it. When clicking
  13278. on a node we need to ensure that its visible because it might just
  13279. be partly visible when clicked.
  13280. 2005-10-20 Jackson Harper <[email protected]>
  13281. * TreeNodeCollection.cs: Remove debug code.
  13282. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  13283. * Datagrid.cs: Implements column sorting in Datagrid
  13284. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  13285. 2005-10-20 Jackson Harper <[email protected]>
  13286. * TreeNodeCollection.cs: Remove items properly. Update the correct
  13287. area after removing them.
  13288. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  13289. * Datagrid.cs: Should not call base.OnPaintBackground
  13290. 2005-10-20 Peter Dennis Bartok <[email protected]>
  13291. * XplatUIX11.cs (GetMessage):
  13292. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  13293. window instead of client window
  13294. - Now properly calculates NC_xBUTTONUP message coordinates
  13295. - ScreenToMenu now properly calculates it's coordinates of whole
  13296. window, since menus are in the whole window, not in the client
  13297. window
  13298. - Added WholeToScreen coordinate translation method
  13299. 2005-10-20 Peter Dennis Bartok <[email protected]>
  13300. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  13301. want to return a message, loop back to the beginning of the function
  13302. and grab the next real message to process instead.
  13303. 2005-10-20 Peter Dennis Bartok <[email protected]>
  13304. * Splitter.cs: Properly set limits if no filler control is used
  13305. 2005-10-19 Jackson Harper <[email protected]>
  13306. * ColorDialog.cs: Don't show the help button if it is not enabled
  13307. instead of disabling it (this is what MS does). Don't create the
  13308. panel until the dialog is run, otherwise the vars (such as
  13309. ShowHelp) are not set yet.
  13310. 2005-10-19 Jackson Harper <[email protected]>
  13311. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  13312. are reduced when adding nodes.
  13313. * TreeNode.cs:
  13314. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  13315. tree.
  13316. 2005-10-19 Jackson Harper <[email protected]>
  13317. * FolderBrowserDialog.cs: End editing our treeview so the window
  13318. actually gets refreshed.
  13319. 2005-10-18 Peter Dennis Bartok <[email protected]>
  13320. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  13321. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  13322. inside of WM_PAINT
  13323. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  13324. * MenuAPI.cs: Returns after Hidding window
  13325. * XplatUIX11.cs: Added TODO found while debugging menu issues
  13326. 2005-10-18 Peter Dennis Bartok <[email protected]>
  13327. * XplatUIX11.cs: Do not re-map the whole window when it's size
  13328. becomes non-zero unless it's supposed to be actually visible
  13329. 2005-10-18 Jackson Harper <[email protected]>
  13330. * TreeView.cs: We don't need to keep a count anymore.
  13331. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  13332. use the Grow method.
  13333. 2005-10-18 Jackson Harper <[email protected]>
  13334. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  13335. implement it manually here.
  13336. 2005-10-18 Jackson Harper <[email protected]>
  13337. * ImageList.cs: Dont kill the list when the colour depth is
  13338. changed, just change the colour depth of all the images.
  13339. - Same goes for setting the image size. Just resize them all
  13340. instead of killing the list softly.
  13341. 2005-10-18 Jackson Harper <[email protected]>
  13342. * Control.cs: Don't invalidate empty rectangles.
  13343. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  13344. * ListViewItem.cs:
  13345. - Adds checked item to the Checked/Item lists (where empty before)
  13346. - Do not add items to the Selected lists if they are already present
  13347. * ListView.cs:
  13348. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  13349. - When deleting items make sure that we delete them for the Selected
  13350. and Checked list also.
  13351. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  13352. * Label.cs: Dispose objects no longer used
  13353. * ThemeWin32Classic.cs: Dispose objects no longer used
  13354. 2005-10-18 Jackson Harper <[email protected]>
  13355. * TabControl.cs: Don't refresh the whole control when the tabs are
  13356. scrolled, we just need to refresh the tab area.
  13357. 2005-10-17 Jackson Harper <[email protected]>
  13358. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  13359. after handle when we need it.
  13360. 2005-10-17 Peter Dennis Bartok <[email protected]>
  13361. * Control.cs: When the parent size changes, recalculate anchor
  13362. positions. Partial fix for #76462
  13363. 2005-10-17 Peter Dennis Bartok <[email protected]>
  13364. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  13365. drawn. Fixes #76462
  13366. 2005-10-17 Jackson Harper <[email protected]>
  13367. * MonthCalendar.cs: Don't create the numeric up down until our
  13368. handle is created. Otherwise our handle is created in the
  13369. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  13370. yet.
  13371. 2005-10-17 Jackson Harper <[email protected]>
  13372. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  13373. correctly.
  13374. 2005-10-17 Rafael Teixeira <[email protected]>
  13375. * TreeNode.cs : small logical fix (was using local var instead of field)
  13376. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  13377. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  13378. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  13379. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  13380. 2005-10-16 Peter Dennis Bartok <[email protected]>
  13381. * Control.cs:
  13382. - Re-implemented anchoring code. My first version was really broken.
  13383. This fixes bug #76033. Unlike the previous implementation we will
  13384. no longer have round errors since all numbers are calculated from
  13385. scratch every time. Removed various anchor-related obsolete vars.
  13386. - InitLayout no longer causes layout event firing and layout to be
  13387. performed
  13388. 2005-10-16 Jackson Harper <[email protected]>
  13389. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  13390. which was broken).
  13391. 2005-10-16 Jackson Harper <[email protected]>
  13392. * TabControl.cs: Remove debug code.
  13393. 2005-10-16 Jackson Harper <[email protected]>
  13394. * XEventQueue.cs: Increase the default queue size (very simple
  13395. apps needed to grow the queue).
  13396. * Hwnd.cs: No finalizer so we don't need to suppress
  13397. finalization. Compute the invalid area manually so a new rectangle
  13398. does not newto be created.
  13399. * ScrollableControl.cs: Don't set any params (otherwise visibility
  13400. isn't set correctly).
  13401. * MdiChildContext.cs: New constructor takes the mdi parent so it
  13402. doesn't have to be computed and avoids a crash on windows. Draw
  13403. the window icon properly, and allow the text to be seen.
  13404. * Form.cs: Use new MdiChildContext constructor. Make sure the
  13405. child context isn't null in wndproc.
  13406. * TabControl.cs: Don't set focus, this is muddling keyboard
  13407. behavoir. Expand the tab rows when a window size increase will
  13408. allow extra tabs to be seen. Don't allow tabs smaller than the
  13409. width of a window to be scrolled out of view.
  13410. * TreeNode.cs:
  13411. * TreeView.cs: Use measure string to calculate a nodes width, the
  13412. width is cached and only updated when the text or the font is
  13413. changed. Don't check for expand/collapse clicks on the first level
  13414. nodes if root lines are disabled.
  13415. 2005-10-16 Ritvik Mayank <[email protected]>
  13416. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  13417. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  13418. * DataGridBoolColumn.cs: fixes warning
  13419. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  13420. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  13421. to match more to match more precisely the MS Net behavior
  13422. 2005-10-13 Peter Dennis Bartok <[email protected]>
  13423. * Hwnd.cs: Added field to track if window is mapped
  13424. * XplatUIX11.cs:
  13425. - Unmap windows if they become 0-size, re-map when
  13426. they are >0 again; fixes #76035
  13427. - Re-set our error handler after initializing X11Desktop
  13428. to override any error handlers Gtk or whatever was called
  13429. may have set.
  13430. 2005-10-13 Peter Dennis Bartok <[email protected]>
  13431. * CheckedListBox.cs: Removed unused vars
  13432. * ListView.cs: Fixed signatures
  13433. * RichTextBox.cs: Removed unused vars
  13434. * TextBoxBase.cs: Removed unused vars
  13435. * XplatUIWin32.cs: Removed unused vars
  13436. * XplatUIX11.cs: Removed unused vars
  13437. * XplatUI.cs: Updated version and date to latest published
  13438. 2005-10-13 Peter Dennis Bartok <[email protected]>
  13439. * Cursor.cs: Added private .ctor to work around a bug in
  13440. resourceset (Thanks to Geoff Norton for the help on this)
  13441. * SplitterEventArgs.cs: Made fields accessible so we don't
  13442. waste boatloads of objects and can reuse the same one
  13443. in Splitter
  13444. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  13445. any captions and borders when generating screen coordinates
  13446. * Splitter.cs: Reimplemented control, now fully complete, uses
  13447. rubberband drawing, supports and obeys all properties, has
  13448. proper cursors
  13449. 2005-10-13 Miguel de Icaza <[email protected]>
  13450. * Form.cs (Form): Setup default values for autoscale and
  13451. autoscale_base_size; Make these instance variables, not static
  13452. variables.
  13453. (OnLoad): on the first load, adjust the size of the form.
  13454. 2005-10-13 Peter Dennis Bartok <[email protected]>
  13455. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  13456. width argument to DrawReversibleRectangle()
  13457. * XplatUIWin32.cs, XplatUIX11.cs:
  13458. - Implemented width for DrawReversibleRectangle()
  13459. - Added logic to DrawReversibleRectangle that recognizes a zero
  13460. width or height and only draws a line in that situation
  13461. 2005-10-12 Peter Dennis Bartok <[email protected]>
  13462. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  13463. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  13464. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  13465. method (it uses our FosterParent window to get a graphics context)
  13466. 2005-10-12 Peter Dennis Bartok <[email protected]>
  13467. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  13468. and SetWindowBackground methods
  13469. * Control.cs:
  13470. - Setting proper ControlStyles
  13471. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  13472. EraseWindowBackground, instead we draw the window background
  13473. ourselves in PaintControlBackground. This behaviour is
  13474. required to match MS, where, when OnPaintBackground is not
  13475. called, the background is not drawn.
  13476. - Removed unneeded Refresh() in set_Text
  13477. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  13478. * XplatUIX11.cs:
  13479. - Created DeriveStyles method to translate from CreateParams to
  13480. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  13481. matches FormBorderStyle enum values)
  13482. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  13483. style calculations into single DeriveStyles method
  13484. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  13485. from redrawing the whole window on any resize or expose.
  13486. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  13487. all styles were applied to our whole/client window appropriately
  13488. - Removed EraseWindowBackground() and SetWindowBackground() methods
  13489. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  13490. no longer clear/redraw the background through X
  13491. - Removed handling of erase_pending bit, we have no use for it (or
  13492. so it seems)
  13493. * XplatUIOSX.cs:
  13494. - Removed generation and handling of WM_ERASEBKGND message
  13495. - Removed EraseWindowBackground() and SetWindowBackground() methods
  13496. - Removed handling of hwnd.ErasePending flag
  13497. * XplatUIWin32.cs:
  13498. - Removed EraseWindowBackground() and SetWindowBackground() methods
  13499. - We no longer call EraseWindowBackground on PaintEventStart, we
  13500. ignore the fErase flag, erasing is handled in Control in the
  13501. background handler
  13502. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  13503. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  13504. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  13505. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  13506. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  13507. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  13508. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  13509. 2005-10-12 Jonathan Chambers <[email protected]>
  13510. * PropertyGrids.cs: Get sub properties
  13511. * PropertyGridView.cs: Fix drawing code
  13512. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  13513. * ListBox.cs: Fixes 76383
  13514. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  13515. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  13516. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  13517. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  13518. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  13519. * ComboBox.cs: Fixes border drawing
  13520. 2005-10-10 Miguel de Icaza <[email protected]>
  13521. * MimeIcon.cs: Ignore errors if the file can not be read.
  13522. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  13523. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  13524. - Fixed border calculations
  13525. - Fixed horizontal scrolling in single column listboxes
  13526. - Fixed drawing issues
  13527. 2005-10-10 Peter Dennis Bartok <[email protected]>
  13528. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  13529. FormBorderStyle enum
  13530. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  13531. code to determine FormBorderStyles from CreateParams
  13532. * Form.cs:
  13533. - Fixed bug where we'd set the wrong window styles if we were
  13534. not creating an MDI window
  13535. - Added call to XplatUI.SetBorderStyle when form borders are set
  13536. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  13537. * Hwnd.cs:
  13538. - Removed obsolete edge style
  13539. - Switched from BorderStyle to FormBorderStyle
  13540. 2005-10-10 Jackson Harper <[email protected]>
  13541. * Form.cs: Use the property to get the window handle instead of
  13542. accessing it directly. Prevents a null reference exception.
  13543. 2005-10-10 Jackson Harper <[email protected]>
  13544. * TreeView.cs: Don't adjust the rect given to DrawString now that
  13545. our libgdiplus draws correctly.
  13546. 2005-10-08 Jackson Harper <[email protected]>
  13547. * TreeView.cs: Don't try to find the clicked on node if there are
  13548. no nodes in the tree.
  13549. 2005-10-08 Alexander Olk <[email protected]>
  13550. * RichTextBox.cs:
  13551. restore
  13552. 2005-10-08 Alexander Olk <[email protected]>
  13553. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  13554. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  13555. ErrorProvider.cs:
  13556. Use ResPool for brushes and dispose System.Drawing objects that
  13557. are not used anymore.
  13558. 2005-10-07 Jackson Harper <[email protected]>
  13559. * MdiChildContext.cs: Use the new borders instead of drawing them
  13560. ourselves.
  13561. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  13562. * Calling UpdateBounds after changing the window's BorderStyle
  13563. since the style can change the ClientSize
  13564. 2005-10-06 Peter Dennis Bartok <[email protected]>
  13565. * Control.cs: Made PaintControlBackground virtual
  13566. * Panel.cs: Overriding PaintControlBackground instead of using paint
  13567. event; paint event method was interfering with 'real' users of the
  13568. event.
  13569. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  13570. * ThemeWin32Classic.cs: remove border drawing since it is handled
  13571. by the base control class now and was causing double border drawing.
  13572. 2005-10-06 Peter Dennis Bartok <[email protected]>
  13573. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  13574. but it does seem to match MS behaviour. This fixes bug #75324
  13575. 2005-10-06 Peter Dennis Bartok <[email protected]>
  13576. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  13577. somewhat hackish looking
  13578. 2005-10-06 Peter Dennis Bartok <[email protected]>
  13579. * TextBoxBase.cs:
  13580. - We now accept Enter even if AcceptEnter is false, if the containing
  13581. form does not have an AcceptButton configured (fixes bug #76355)
  13582. - Calculations are now fixed to no longer use Width/Height, but
  13583. ClientSize.Width/Height, since we now support borders (this was
  13584. a result of fixing borders and therefore bug #76166)
  13585. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  13586. true (fixes bug #76354)
  13587. 2005-10-06 Peter Dennis Bartok <[email protected]>
  13588. * Control.cs:
  13589. - Defaulting BorderStyle and setting it in XplatUI when our window
  13590. is created
  13591. - Added enum check to InternalBorderStyle setter
  13592. * XplatUIX11.cs:
  13593. - Added drawing of window borders
  13594. - Now properly calculates WM decorations offset for toplevel
  13595. windows (fixes bug #74763)
  13596. * XplatUIWin32.cs:
  13597. - Implemented BorderStyles for windows (we're letting win32 draw
  13598. the border for us)
  13599. - Fixed the signature for SetWindowLong
  13600. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  13601. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  13602. setting borders
  13603. * UpDownBase.cs: Remove drawing of borders, this is handled by
  13604. the driver, outside the client area
  13605. * ListView.cs: Removed bogus border calculations. The control should
  13606. be oblivious to borders, since those are not part of the client
  13607. area.
  13608. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  13609. * ThemeWin32Classic.cs: Removed border calculations from ListView
  13610. drawing code
  13611. 2005-10-06 Jackson Harper <[email protected]>
  13612. * MdiChildContext.cs: Clear out the old virtual position remove
  13613. all the unneeded calls to CreateGraphics.
  13614. 2005-10-06 Peter Dennis Bartok <[email protected]>
  13615. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  13616. 2005-10-06 Peter Dennis Bartok <[email protected]>
  13617. * Form.cs:
  13618. - Added loading and setting of our new default icon
  13619. - Only set icon if window is already created
  13620. 2005-10-06 Peter Dennis Bartok <[email protected]>
  13621. * Label.cs:
  13622. - Do not explicitly set the foreground and background colors, to
  13623. allow inheriting from parents (fixes #76302)
  13624. - Use Control's InternalBorderStyle property to deal with borders
  13625. 2005-10-06 Jackson Harper <[email protected]>
  13626. * MdiChildContext.cs: Use the new xplatui function to draw a
  13627. reversible rect.
  13628. 2005-10-06 Jackson Harper <[email protected]>
  13629. * Form.cs: Add the parent before creating the child context cause
  13630. we need the parent when setting up the child.
  13631. 2005-10-06 Jackson Harper <[email protected]>
  13632. * FolderBrowserDialog.cs: redo the tree population code so a
  13633. second thread isn't used. Should be a lot faster and more stable
  13634. now.
  13635. 2005-10-05 Jackson Harper <[email protected]>
  13636. * TreeView.cs: There are no expand/collapse boxes if the node has
  13637. no children.
  13638. 2005-10-05 Jackson Harper <[email protected]>
  13639. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  13640. 2005-10-05 Alexander Olk <[email protected]>
  13641. * FileDialog.cs: Fix InitialDirectory
  13642. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  13643. * ComboBox.cs:
  13644. - Fixes changing between styles
  13645. - Fixes simple mode
  13646. - Fixes last item crashing when navigating with keyboard
  13647. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  13648. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  13649. 2005-10-05 Jackson Harper <[email protected]>
  13650. * TreeView.cs: If updating the root node do a full refresh.
  13651. * TreeNode.cs: The root node should be expanded by default. Also
  13652. added a utility prop to tell if we are the root node.
  13653. * TreeNodeCollection.cs: Only refresh if the node we are being
  13654. added to is expanded. Also added a comment on a potential
  13655. optimization.
  13656. 2005-10-04 Peter Dennis Bartok <[email protected]>
  13657. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  13658. in dispose method. Fixes #76330
  13659. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  13660. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  13661. - Implements vertical and horizontal scrolling using XplatUI
  13662. - Fixes keyboard navagation
  13663. - Fixes EnsureVisible
  13664. - Drawing fixes
  13665. - Handles and draws focus properly
  13666. 2005-10-04 Kornél Pál <[email protected]>
  13667. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  13668. Create handle. NET_2_0: Destroy handle when value is null.
  13669. 2005-10-03 Jackson Harper <[email protected]>
  13670. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  13671. revert and a new patch to prevent the thumb from refreshing so
  13672. much.
  13673. 2005-10-02 Jackson Harper <[email protected]>
  13674. * ScrollBar.cs: Don't update position if it hasn't actually
  13675. changed. This occurs when you hold down the increment/decrement
  13676. buttons and the thumb gets to the max/min.
  13677. 2005-10-01 Jackson Harper <[email protected]>
  13678. * Form.cs:
  13679. * MdiChildContext.cs:
  13680. * MdiClient.cs: Implement ActiveMdiChild in Form.
  13681. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  13682. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  13683. 2005-10-01 Peter Dennis Bartok <[email protected]>
  13684. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  13685. be found
  13686. 2005-09-30 Jackson Harper <[email protected]>
  13687. * ListBox.cs: Don't do a full refresh unless some data has
  13688. actually changed.
  13689. 2005-09-30 Jackson Harper <[email protected]>
  13690. * TreeView.cs: Make sure that the checkboxes size is factored in
  13691. even when not visible.
  13692. 2005-09-30 Peter Dennis Bartok <[email protected]>
  13693. * FileDialog.cs: Fix Jordi's build break
  13694. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  13695. * FileDialog.cs:
  13696. - Use standard the Windows colours for the combobox as espected
  13697. - Dispose objects that use resouces when no longer need them
  13698. 2005-09-30 Peter Dennis Bartok <[email protected]>
  13699. * X11DesktopColors.cs: Initial incomplete implementation
  13700. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  13701. 2005-09-30 Peter Dennis Bartok <[email protected]>
  13702. * Theme.cs:
  13703. - Switched Theme color names to match the names defined in
  13704. System.Drawing.KnownColors. Life's hard enough, no need to make
  13705. it harder.
  13706. - Added setters to all theme color properties so themes can set
  13707. their color schemes. The setters also propagate the color changes
  13708. to System.Drawing.KnownColors via reflection
  13709. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  13710. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  13711. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  13712. use the new, more logical theme color names
  13713. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  13714. post-NT colors
  13715. * ThemeWin32Classic.cs:
  13716. - Removed code to set the old classic Windows colors. Instead it
  13717. now relies on the colors returned by System.Drawing.KnownColors
  13718. which will be either modern static colors (Unix) or colors
  13719. read from the user's configuration (Win32)
  13720. - Updated to use the new, more logical theme color names
  13721. - Switched DataGrid drawing code to use only Theme colors instead of
  13722. a mix of System.Drawing.KnownColors and Theme colors
  13723. - DrawFrameControl(): Removed code that fills the button area, the
  13724. fill would overwrite any previous fill done by a control. This
  13725. fixes bug #75338
  13726. - Added DrawReversibleRectangle() stub
  13727. * ScrollableControl.cs: Set visible state to false when scrollbars
  13728. are removed (pdn fix)
  13729. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  13730. DrawReversibleRectangle() method to allow drawing primitive
  13731. 'rubber bands'
  13732. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  13733. 2005-09-30 Kornél Pál <[email protected]>
  13734. * ImageList.cs: Add(Icon): Create handle.
  13735. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  13736. * ListView.cs:
  13737. * ThemeWin32Classic.cs:
  13738. - Fixes detail mode
  13739. - Sets clippings
  13740. - Issues with drawing
  13741. 2005-09-30 Kornél Pál <[email protected]>
  13742. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  13743. source has to be the ImageList.
  13744. 2005-09-30 Kornél Pál <[email protected]>
  13745. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  13746. 2005-09-30 Kornél Pál <[email protected]>
  13747. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  13748. 2005-09-30 Kornél Pál <[email protected]>
  13749. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  13750. 2005-09-29 Jonathan Chambers <[email protected]>
  13751. * GridItem.cs: Fixed TODOs
  13752. * GridItemCollection.cs: Added ICollection interface
  13753. 2005-09-30 Kornél Pál <[email protected]>
  13754. * ImageList.cs: Resize icons when needed.
  13755. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  13756. * ListViewItem.cs
  13757. - Fixes GetBounds and returns on screen rects
  13758. * ListView.cs:
  13759. - Fixes vertical and horzintal scrolling of items
  13760. * ThemeWin32Classic.cs:
  13761. - Fixes drawing
  13762. 2005-09-29 Raja R Harinath <[email protected]>
  13763. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  13764. 2005-09-29 Kornél Pál <[email protected]>
  13765. * ImageList.cs: Added comments about handle creation. Moved Handle,
  13766. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  13767. Handle is created in Add methods.
  13768. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  13769. * DataGridDrawingLogic.cs:
  13770. - Takes rows into account on Colum calculations
  13771. - Returns the column when clickig
  13772. * DataGrid.cs:
  13773. - Fixes default HitTestInfo values
  13774. - Fixes HitTestInfo.ToString
  13775. - Fixes ResetBackColor
  13776. 2005-09-28 Jackson Harper <[email protected]>
  13777. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  13778. sizing or cursor changes). Also added some temp code to draw the
  13779. titlebars text (Makes dev a little easier).
  13780. 2005-09-28 Kornél Pál <[email protected]>
  13781. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  13782. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  13783. * ListBox.cs: Fixes bug 76253
  13784. 2005-09-28 Kornél Pál <[email protected]>
  13785. * ImageList.cs: Added comments about the current implementation. Added
  13786. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  13787. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  13788. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  13789. with Bitmap.LockBits for better performance. Revised the whole file to
  13790. match MS.NET behaviour and provide better performance. Non-public
  13791. interface members are calling public members even when they throw
  13792. NotSupportedException for better maintainability. Moved ColorDepth,
  13793. ImageSize, ImageStream and TransparentColor implementations to
  13794. ImageCollection for better performance as these properties are not used
  13795. by ImageList.
  13796. * ImageListStreamer.cs: Added a new internal constructor that takes an
  13797. ImageList.ImageCollection and serializes Images based on
  13798. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  13799. match ImageList property name.
  13800. 2005-09-28 Kazuki Oikawa <[email protected]>
  13801. * ListBox.cs: Fixes IndexFromPoint for last item
  13802. 2005-09-27 Jackson Harper <[email protected]>
  13803. * Form.cs: Set the position of new mdi children correctly.
  13804. 2005-09-27 Jackson Harper <[email protected]>
  13805. * MdiClient.cs: New mdi children need to be added to the back of
  13806. the controls collection so the zorder is set correctly. Also add a
  13807. count of all the child windows that have been created.
  13808. 2005-09-27 Jackson Harper <[email protected]>
  13809. * Form.cs (CreateParams): Setup MDI forms correctly.
  13810. 2005-09-27 Jackson Harper <[email protected]>
  13811. * MdiChildContext.cs:
  13812. * MonthCalendar.cs:
  13813. * UpDownBase.cs:
  13814. * ListBox.cs:
  13815. * ListView.cs:
  13816. * TextBoxBase.cs:
  13817. * TreeView.cs:
  13818. * ScrollableControl.cs:
  13819. * ComboBox.cs: Add implicit controls using the new implict control
  13820. functionality in ControlCollection. Also try to block multiple
  13821. control add in a suspend/resume layout to save some cycles.
  13822. 2005-09-27 Jackson Harper <[email protected]>
  13823. * Control.cs: Add functionality to the controls collection to add
  13824. 'implicit controls' these are controls that are created by the
  13825. containing control but should not be exposed to the user. Such as
  13826. scrollbars in the treeview.
  13827. * Form.cs: The list var of the ControlsCollection is no longer
  13828. available because of the potential of implicit controls getting
  13829. ignored by someone accessing the list directly.
  13830. 2005-09-26 Peter Dennis Bartok <[email protected]>
  13831. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  13832. loose it's parent. (Fixed bug introduced in r49103 when we added
  13833. setting the child parent to null on Remove)
  13834. 2005-09-26 Gert Driesen <[email protected]>
  13835. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  13836. * Splitter.cs: Added missing attributes for BorderStyle property.
  13837. * TextBoxBase.cs: Marked Calculate* methods internal.
  13838. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  13839. MS.NET.
  13840. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  13841. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  13842. 2005-09-25 Jackson Harper <[email protected]>
  13843. * TreeView.cs: Update the node bounds correctly regardless of
  13844. whether the node is visible.
  13845. 2005-09-25 Jackson Harper <[email protected]>
  13846. * ImageList.cs: Don't dispose the image after it is added to the
  13847. image list. Only reformat images that need to be resized.
  13848. 2005-09-25 Jackson Harper <[email protected]>
  13849. * ImageList.cs: Don't set the format when changing the image.
  13850. 2005-09-25 Jackson Harper <[email protected]>
  13851. * TreeView.cs: We can't just assume the node has a font. Use the
  13852. treeviews font if no node font is available.
  13853. 2005-09-25 Jackson Harper <[email protected]>
  13854. * TreeView.cs: Allow the scrollbars to be reset with negative
  13855. values.
  13856. - Don't add scrollbars to negative sized windows.
  13857. 2005-09-23 Jackson Harper <[email protected]>
  13858. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  13859. old Mono.Posix. Also remove some stray code that shouldn't have
  13860. been committed.
  13861. 2005-09-23 Jackson Harper <[email protected]>
  13862. * TreeView.cs: Attempt at proper sizing of the horizontal
  13863. scrollbar. Also don't resize the scrollbars unless they are
  13864. visible.
  13865. 2005-09-23 Jackson Harper <[email protected]>
  13866. * TreeView.cs: We don't need to expand the invalid area when the
  13867. selection changes, as this is all drawn in the node's bounding
  13868. box. The area needs to be expanded (previous typo was contracting
  13869. it) when the focus rect moves.
  13870. 2005-09-23 Jackson Harper <[email protected]>
  13871. * TreeView.cs: Display the selection box under the correct
  13872. circumstances. We were rendering white text with no selection box
  13873. before.
  13874. 2005-09-23 Peter Dennis Bartok <[email protected]>
  13875. * TextControl.cs(Split): Now updates selection start/end if it points
  13876. into a line that's being split. Fixes a FIXME and bug #75258
  13877. 2005-09-23 Jackson Harper <[email protected]>
  13878. * Binding.cs:
  13879. * ListControl.cs: Don't use the path when retrieving binding
  13880. managers from the binding context. My bat sense tells me that the
  13881. path is only used on insertion.
  13882. 2005-09-22 Jackson Harper <[email protected]>
  13883. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  13884. 2005-09-22 Jackson Harper <[email protected]>
  13885. * Splitter.cs: There are special cursors used for splitting.
  13886. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  13887. 2005-09-22 Jackson Harper <[email protected]>
  13888. * Splitter.cs: Change the cursor appropriately when the splitter
  13889. is moused over, so the user actually knows there is a splitter
  13890. there.
  13891. 2005-09-22 Hisham Mardam Bey <[email protected]>
  13892. * Label.cs : Fix ToString method to give same output as MS.NET
  13893. 2005-09-22 Jackson Harper <[email protected]>
  13894. * TreeView.cs: Create the scrollbars when the handle is created
  13895. and add them right away, just make them invisble. Also account for
  13896. the window being shrunk vertically to the point that the vert
  13897. scrollbar needs to be added.
  13898. - Remove some 0.5 adjustments to get around anti aliasing issues.
  13899. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  13900. * MainMenu.cs: Fixes default value
  13901. * MenuItem.cs: Fixes default value
  13902. 2005-09-22 Kazuki Oikawa <[email protected]>
  13903. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  13904. 2005-09-21 Jackson Harper <[email protected]>
  13905. * Control.cs: Don't try to set the border style on the window if
  13906. it hasn't been created. When the window is created the border
  13907. style will be used.
  13908. 2005-09-21 Peter Dennis Bartok <[email protected]>
  13909. * Control.cs (Update): Don't call XplatUI if we don't have a
  13910. window handle yet
  13911. 2005-09-21 Peter Dennis Bartok <[email protected]>
  13912. * ContainerControl.cs: Instead of throwing an exception, print
  13913. a one-time warning about Validate not being implemented
  13914. * XplatUIWin32.cs: Removed debug output
  13915. 2005-09-21 Peter Dennis Bartok <[email protected]>
  13916. * Control.cs: Only set XplatUI background if we expect the windowing
  13917. system to handle the background. This stops controls that draw their
  13918. own background from flickering
  13919. * XplatUIX11.cs: Support custom visuals and colormaps for window
  13920. creation. This allows, amongst other things, using MWF X11 windows
  13921. with OpenGL.
  13922. 2005-09-21 Peter Dennis Bartok <[email protected]>
  13923. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  13924. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  13925. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  13926. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  13927. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  13928. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  13929. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  13930. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  13931. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  13932. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  13933. GridColumnStylesCollection.cs,
  13934. IDataGridColumnStyleEditingNotificationService.cs,
  13935. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  13936. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  13937. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  13938. TreeNodeCollection.cs, AmbientProperties.cs,
  13939. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  13940. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  13941. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  13942. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  13943. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  13944. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  13945. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  13946. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  13947. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  13948. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  13949. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  13950. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  13951. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  13952. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  13953. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  13954. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  13955. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  13956. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  13957. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  13958. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  13959. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  13960. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  13961. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  13962. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  13963. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  13964. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  13965. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  13966. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  13967. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  13968. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  13969. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  13970. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  13971. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  13972. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  13973. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  13974. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  13975. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  13976. 2005-09-21 Jackson Harper <[email protected]>
  13977. * TreeNode.cs: Call Before/After Expand not Collapse when
  13978. expanding.
  13979. 2005-09-20 Jackson Harper <[email protected]>
  13980. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  13981. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  13982. * ListViewItem.cs:
  13983. - Fixes bug 76120
  13984. - Fixes proper storing of subitems
  13985. - Fixes not updated items
  13986. 2005-09-20 Peter Dennis Bartok <[email protected]>
  13987. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  13988. things if our window handle isn't created yet. Also disabled
  13989. debug for TextBoxBase
  13990. 2005-09-20 Peter Dennis Bartok <[email protected]>
  13991. * MenuAPI.cs: Remove filtering of events to allow menu usage
  13992. 2005-09-20 Miguel de Icaza <[email protected]>
  13993. * Cursor.cs: Allow null to be passed to Cursor.Current.
  13994. 2005-09-20 Alexander Olk <[email protected]>
  13995. * ThemeWin32Classic.cs:
  13996. - Change some private methods/fields to protected virtual so that
  13997. they can be accessed and overriden in derived classes
  13998. - First refactoring of some methods. Derived themes now don't
  13999. need to duplicate the complete code from ThemeWin32Classic
  14000. * ThemeNice.cs:
  14001. - Added nice StatusBar
  14002. - Derive from ThemeWin32Classic and not Theme
  14003. - Removed duplicate ThemeWin32Classic code
  14004. 2005-09-20 Miguel de Icaza <[email protected]>
  14005. * Control.cs (ControlCollection.Add): If the value null is passed
  14006. the control is ignored.
  14007. Optimize this loop.
  14008. 2005-09-19 Peter Dennis Bartok <[email protected]>
  14009. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  14010. PostQuitMessage state.
  14011. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  14012. 2005-09-19 Peter Dennis Bartok <[email protected]>
  14013. * Application.cs: Our constructor will never get called, move
  14014. initialization to fields; fixes bug #75933
  14015. 2005-09-19 Hisham Mardam Bey <[email protected]>
  14016. * FileDialog.cs :
  14017. - Allow files to be selected properly using file name
  14018. combo box.
  14019. - Add ability to change diretory (absolute / relative)
  14020. using file name combo box.
  14021. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  14022. * ListBox.cs:
  14023. - Fixes Multicolumn listboxes item wrong calculations
  14024. - Allows to click when only one item is in the listbox
  14025. - Fixes crash when no items using keyboard navigation
  14026. 2005-09-16 Alexander Olk <[email protected]>
  14027. * ComboBox.cs: Reverted almost everything from the latest patch which
  14028. broke ComboBox
  14029. 2005-09-16 Kazuki Oikawa <[email protected]>
  14030. * ToolTip.cs:
  14031. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  14032. * ComboBox.cs:
  14033. - When DropDownStyle is Simple, it does not show scrollbar
  14034. to the last item of the list.
  14035. - When DropDownStyle is Simple, it crashed when the list was
  14036. scrolled down with the down cursor key.
  14037. - Fixed a bug that when DropDownStyle is DropDownList, the
  14038. selected item was not shown.
  14039. - The position of the selected item was not preserved when
  14040. the next dropdown happened.
  14041. * ThemeWin32Classic.cs:
  14042. - Items were wrapped at the right end.
  14043. * CheckedListBox.cs:
  14044. - Fixed Add method
  14045. * ListBox.cs:
  14046. - Items should be fully shown.
  14047. - When resizing and vertical scrollbar disappeared, the item
  14048. of index 0 should be on the top of the list.
  14049. - GetItemRectangle should consider the size of ver. scrollbar
  14050. * StatusBar.cs:
  14051. - SizingGrip area should not be allocated when it is not
  14052. displayed.
  14053. - Now it reflects MinWidth of the containing panel and
  14054. fixed a crash that happens when its width becomes so small.
  14055. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  14056. * CheckedListBox.cs: Fixes bug 76028
  14057. * ListBox.cs: Fixes bug 76028
  14058. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  14059. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  14060. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  14061. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  14062. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  14063. 2005-09-09 Jonathan Chambers <[email protected]>
  14064. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  14065. 2005-09-09 Jonathan Chambers <[email protected]>
  14066. * IRootGridEntry.cs: Added
  14067. * PropertyGridCommands.cs: Added
  14068. * PropertiesTab.cs: Added missing methods and property
  14069. * PropertyGridView.cs: Made class internal
  14070. * PropertyGridTextBox.cs: Made class internal
  14071. 2005-09-09 Alexander Olk <[email protected]>
  14072. * MimeIcon.cs: Try to check some other environment variables
  14073. if "DESKTOP_SESSION" returns "default"
  14074. 2005-09-09 Alexander Olk <[email protected]>
  14075. * ThemeNice.cs: Corrected background colors (e.g. menus)
  14076. * ColorDialog.cs: Use correct background colors for controls
  14077. 2005-09-09 Alexander Olk <[email protected]>
  14078. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  14079. 2005-09-08 Peter Dennis Bartok <[email protected]>
  14080. * RichTextBox.cs: Added initial implementation
  14081. * lang.cs: Removed. Was accidentally checked in long time ago
  14082. * TODO: Removed. Contents were obsolete
  14083. 2005-09-06 Jonathan Chambers <[email protected]>
  14084. * PropertiesTab.cs : Added
  14085. 2005-09-06 Jonathan Chambers <[email protected]>
  14086. * PropertyGrid.cs : Update
  14087. * PropertyGridView.cs : Update
  14088. * System.Windows.Forms.resx : Added images and strings
  14089. 2005-09-06 Peter Dennis Bartok <[email protected]>
  14090. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  14091. 2005-09-06 Peter Dennis Bartok <[email protected]>
  14092. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  14093. a busy loop right after the Ungrab the X11 display is otherwise
  14094. blocked
  14095. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  14096. * ThemeWin32Classic.cs: Optimise the use of clipping
  14097. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  14098. * DataGrid.cs: fixes recursion bug
  14099. 2005-09-03 Alexander Olk <[email protected]>
  14100. * ThemeNice.cs:
  14101. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  14102. - Cleanup
  14103. 2005-09-02 Alexander Olk <[email protected]>
  14104. * ThemeNice.cs: Draw nice ProgressBars
  14105. 2005-09-01 Miguel de Icaza <[email protected]>
  14106. * VScrollBar.cs: Another buglet found by Aaron's tool.
  14107. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  14108. bug finder.
  14109. 2005-08-30 Alexander Olk <[email protected]>
  14110. * ThemeNice.cs:
  14111. - Added nicer menu drawing
  14112. - Updated DrawTab
  14113. - some refactoring
  14114. 2005-08-30 Peter Dennis Bartok <[email protected]>
  14115. * CreateParams.cs (ToString): Made output match MS
  14116. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  14117. handle is already created (to avoid forcing window creation)
  14118. * XplatUIX11.cs: Set window text to caption after creating window,
  14119. in case Text was set before window was created
  14120. * Form.cs: Use this.Text instead of a static string as caption
  14121. 2005-08-30 Peter Dennis Bartok <[email protected]>
  14122. * NotifyIcon.cs: Don't set the window to visible; this screws
  14123. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  14124. OnPaint without a bitmap)
  14125. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  14126. happen very often anyway; we could add the check to the WM_PAINT
  14127. event generation code
  14128. 2005-08-30 Peter Dennis Bartok <[email protected]>
  14129. * NotifyIcon.cs: Fill the icon area with a background color, to
  14130. avoid 'residue' when transparent icons are drawn
  14131. * XplatUIX11.cs:
  14132. - Handle whole_window == client_window when destroying windows
  14133. - SystrayAdd(): Set client_window to whole_window value to
  14134. get mouse and other events passed to NotifyIcon
  14135. 2005-08-30 Peter Dennis Bartok <[email protected]>
  14136. * Form.cs: Set proper default for Opacity property
  14137. * NotifyIcon.cs:
  14138. - ShowSystray(): Don't bother creating telling the OS
  14139. about the systray item if no icon is provided
  14140. - Now handles WM_NCPAINT message to deal with whole/client window
  14141. split
  14142. - Create window as visible to not get caught by Expose optimization
  14143. * Hwnd.cs: Removed debug message
  14144. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  14145. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  14146. PaintEventStart/End to use new client argument
  14147. * TextBoxBase.cs:
  14148. - Commented out debug messages
  14149. - Switched PaintEventStart/End to use new client argument
  14150. * XplatUI.cs: Added client window bool to PaintEventStart()/
  14151. PaintEventEnd() calls, to support drawing in non-client areas
  14152. * XplatUIDriver.cs:
  14153. - Added client window bool to PaintEventStart()/PaintEventEnd()
  14154. calls, to support drawing in non-client areas
  14155. - Added conditional compile to allow using MWF BeginInvoke
  14156. on MS runtime
  14157. * XplatUIX11.cs:
  14158. - Added some conditional debug output
  14159. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  14160. whole/client window split
  14161. - Implemented handling of client argument to PaintEventStart()/End()
  14162. * Control.cs:
  14163. - Throw exception if BeginInvoke() is called and the window handle
  14164. or one of the window's parent handles is not created
  14165. - Added conditional compile to allow using MWF BeginInvoke on
  14166. MS runtime
  14167. - get_Parent(): Only sets parent if handle is created. This avoids
  14168. forcing window handle creation when parent is set.
  14169. - Now fires Layout and Parent changed events in proper order
  14170. - Switched to use Handle instead of window.Handle for Z-Order setting,
  14171. the get_Parent() patch above causes us to possibly get null for 'window'
  14172. - Implemented handling of client argument to PaintEventStart()/End()
  14173. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  14174. default handling)
  14175. - Now sends a Refresh() to all child windows when Refresh() is called
  14176. 2005-08-29 Peter Dennis Bartok <[email protected]>
  14177. * Form.cs: Added (non-functional) Opacity property
  14178. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  14179. 2005-08-29 Alexander Olk <[email protected]>
  14180. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  14181. use export MONO_THEME=nice to activate it.
  14182. Currently supported controls:
  14183. - Button
  14184. - ComboBox
  14185. - ScrollBar
  14186. - TabControl (TabAlignment.Top only, other will follow)
  14187. * ThemeEngine.cs: Add theme nice
  14188. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  14189. if enabled
  14190. 2005-08-25 Jonathan Chambers <[email protected]>
  14191. * Splitter.cs: Resize docked control and its neighbor.
  14192. 2005-08-24 Rafael Teixeira <[email protected]>
  14193. -- Making Windows with Menus layout correctly --
  14194. * Form.cs : The first leg of the fix
  14195. Menu setter - adjust Client Size as needed to make space for the menu
  14196. SetClientSizeCore - doesn't call base version to be able to pass the
  14197. menu handle to XplatUI.CalculateWindowRect
  14198. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  14199. * XplatUIX11.cs: The critical second leg of the fix
  14200. GetWindowPos needs to use a recalculated client_rect
  14201. so that resizing the window doesn't break layout of child controls.
  14202. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  14203. Lots of \t\n killed
  14204. 2005-08-23 Peter Dennis Bartok <[email protected]>
  14205. * Label.cs: Now properly recalculates width and height on Font and Text
  14206. changes if AutoSize is set
  14207. 2005-08-19 Rafael Teixeira <[email protected]>
  14208. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  14209. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  14210. * ImageList.cs: Makes ToString method compatible with MS
  14211. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  14212. * MenuAPI.cs: fixes bug 75716
  14213. 2005-08-11 Umadevi S <[email protected]>
  14214. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  14215. 2005-08-11 Umadevi S <[email protected]>
  14216. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  14217. 2005-08-10 Umadevi S <[email protected]>
  14218. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  14219. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  14220. * Menu.cs: fixes bug 75700
  14221. * MenuAPI.cs: fixes navigation issues
  14222. 2005-08-09 Umadevi S <[email protected]>
  14223. * CheckedListBox.cs - simple fix for GetItemChecked.
  14224. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  14225. * ComboBox.cs: Serveral fixes
  14226. * ListBox.cs: Serveral fixes
  14227. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  14228. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  14229. * ListBox.cs: Fixes FindString methods
  14230. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  14231. * DataGrid.cs: fixes bugs exposed by new tests
  14232. 2005-08-04 Peter Dennis Bartok <[email protected]>
  14233. * Mime.cs: Compile Mono assembly references only if compiling
  14234. with Mono (Allows to build with VS.Net again)
  14235. 2005-07-28 Marek Safar <[email protected]>
  14236. * Control.cs (PaintControlBackground): Draw background image
  14237. corrrectly.
  14238. (CheckForIllegalCrossThreadCalls): Stubbed.
  14239. * Form.cs (OnCreateControl): Center when should be centered.
  14240. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  14241. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  14242. * Binding.cs: Binding to properties should be case unsensitive
  14243. 2005-07-18 [email protected]
  14244. * DataGrid.cs: fixes setmember order
  14245. 2005-07-07 Alexander Olk <[email protected]>
  14246. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  14247. * FileDialog.cs: FileDialog is now resizable and uses the new
  14248. MimeIconEngine
  14249. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  14250. * DataGridTextBoxColumn.cs: default value
  14251. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  14252. * GridTableStylesCollection.cs: fixes checking MappingName
  14253. * DataGridDrawingLogic.cs: fixes drawing logic issues
  14254. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  14255. * DataGrid.cs: fixes
  14256. 2005-07-06 Alexander Olk <[email protected]>
  14257. * MimeGenerated.cs: Use case sensitive comparer for
  14258. NameValueCollections
  14259. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  14260. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  14261. * ThemeWin32Classic.cs: bug fixes, code refactoring
  14262. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  14263. * DataGrid.cs: bug fixes, code refactoring
  14264. * DataGridTextBox.cs: bug fixes, code refactoring
  14265. * DataGridColumnStyle.cs: bug fixes, code refactoring
  14266. * Theme.cs: bug fixes, code refactoring
  14267. 2005-07-01 Peter Bartok <[email protected]>
  14268. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  14269. and other text box usage
  14270. 2005-07-01 Jackson Harper <[email protected]>
  14271. * TabControl.cs: Make sure the bottom of the tab covers the pages
  14272. border.
  14273. 2005-06-30 Peter Bartok <[email protected]>
  14274. * Form.cs (ShowDialog): Assign owner of the dialog
  14275. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  14276. might have been moved to a tag with different height
  14277. 2005-06-30 Jackson Harper <[email protected]>
  14278. * Form.cs: Don't create an infinite loop when setting focus
  14279. * MenuItem.cs: Don't dirty the parents if we don't have any
  14280. 2005-06-29 Ben Maurer <[email protected]>
  14281. * LibSupport.cs: Rename
  14282. 2005-06-29 Peter Bartok <[email protected]>
  14283. * TextBoxBase.cs: Re-align caret after deleting a character
  14284. * TextControl.cs:
  14285. - DeleteChars(): Ensure that tag covers the provided position
  14286. - StreamLine(): Drop reference for dropped tag
  14287. 2005-06-29 Peter Bartok <[email protected]>
  14288. * TextControl.cs:
  14289. - Selections now work properly, anchoring at the initial location
  14290. and properly extending in either direction (SetSelectionToCaret(),
  14291. SetSelectionStart() and SetSelectionEnd())
  14292. - No longer redraws the whole control on selection change, now
  14293. calculates delta between previous and new selection and only
  14294. invalidates/redraws that area
  14295. - Fixed FindPos() math off-by-one errors
  14296. - Changed DeleteChars() to verify the provided tag covers the
  14297. provided position, selections may have a tag that doesn't cover
  14298. the position if the selection is at a tag border
  14299. - Fixed off-by-one errors in DeleteChars()
  14300. - Added missing streamlining check in DeleteChars() to remove
  14301. zero-length tags
  14302. - Implemented Invalidate() method, now properly calculates exposures
  14303. between two given lines/positions
  14304. - Implemented SetSelection()
  14305. - Obsoleted and removed FixupSelection()
  14306. - Improved RecalculateDocument() logic, removing code duplication
  14307. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  14308. * LibSupport.cs: changes to match different input/output arguments.
  14309. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  14310. * LibSupport.cs: added libsupport.so init routine.
  14311. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  14312. * ControlBindingsCollection.cs
  14313. - Throws an exception on null datasource when adding
  14314. - Checks for duplicated bindings when adding
  14315. 2005-06-28 Jackson Harper <[email protected]>
  14316. * TreeView.cs (OnKeyDown): Support left and right properly
  14317. (navigates as well as expanding and collapsing.
  14318. - Add support for Multiply, this expands all the selected nodes
  14319. children.
  14320. - Fix some tabbing.
  14321. 2005-06-28 Jackson Harper <[email protected]>
  14322. * TreeView.cs: Implement keyboard navigation, currently supports,
  14323. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  14324. support for toggling checkboxes with the space bar.
  14325. 2005-06-28 Jackson Harper <[email protected]>
  14326. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  14327. tree.
  14328. 2005-06-28 Jackson Harper <[email protected]>
  14329. * TreeView.cs: Add missing event.
  14330. 2005-06-27 Peter Bartok <[email protected]>
  14331. * TextControl.cs:
  14332. - Made line ending size configurable (now allows for counting
  14333. lineendings as \n or \r\n)
  14334. - Added margin to viewport to keep caret visible on right side
  14335. - Fixed translation routines for line/pos to documentpos to consider
  14336. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  14337. - Fixed some line-endings to be unix style
  14338. - Fixed Document.FormatText to perform it's calculations 1-based
  14339. - Added descriptions for a few methods that might otherwise get
  14340. used wrong
  14341. - Added NOTE section with some basic conventions to remember at
  14342. the top of the file
  14343. - Major fixup for RichTextBox selection drawing:
  14344. * Fixed crashes when multiple tags on a single line were selected
  14345. * fixed selection box drawing not overlaying text
  14346. * fixed bogus offset calculation for tags not starting at index 1
  14347. * Switched behaviour from using multiple Substrings of a
  14348. StringBuilder.ToString() to using multiple
  14349. StringBuilder.ToString(start, length) statements, hoping this is
  14350. faster (kept original version commented out in the code, in case
  14351. original version was faster)
  14352. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  14353. alignment != Left
  14354. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  14355. call it as well
  14356. 2005-06-27 Jackson Harper <[email protected]>
  14357. * TabControl.cs: Move to the left and right with the arrow
  14358. keys. These keys don't cycle beyond first and last like
  14359. tab. Refresh all the tabs when scrolling them to the left or
  14360. right.
  14361. 2005-06-27 Jackson Harper <[email protected]>
  14362. * TabControl.cs:
  14363. - ToString: Added method
  14364. - CreateParams: Remove TODO and comment
  14365. - OnKeyDown: Cycle through bounds properly.
  14366. - SelectedIndex: Scroll to the right or left if we need to
  14367. display the newly selected tab.
  14368. 2005-06-23 Jackson Harper <[email protected]>
  14369. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  14370. set.
  14371. 2005-06-23 Jackson Harper <[email protected]>
  14372. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  14373. CTRL-SHIFT-TAB, and HOME, END are there any others?
  14374. 2005-06-23 Jackson Harper <[email protected]>
  14375. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  14376. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  14377. * DataGridTextBoxColumn.cs: fixes and enhancements
  14378. * ThemeWin32Classic.cs: fixes and enhancements
  14379. * DataGridBoolColumn.cs: fixes and enhancements
  14380. * DataGridDrawingLogic.cs: fixes and enhancements
  14381. * CurrencyManager.cs: fixes and enhancements
  14382. * DataGrid.cs: fixes and enhancements
  14383. * DataGridColumnStyle.cs: fixes and enhancements
  14384. 2005-06-22 Jackson Harper <[email protected]>
  14385. * TabControl.cs: Add some missing methods that just call into the
  14386. base. Make the TabPageCollection's IList interface behave in the
  14387. same manner as the MS implementation.
  14388. 2005-06-22 Peter Bartok <[email protected]>
  14389. * TextControl.cs: Added sanity check
  14390. * TextBoxBase.cs:
  14391. - Fixed wrapping behaviour, don't set wrap on single line controls
  14392. (this fixes the breakage of colordialog introduced in an earlier
  14393. checkin)
  14394. - Added rudimentary support for autoscrolling right-aligned controls
  14395. (still needs fixing, also, center alignment scroll is missing)
  14396. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  14397. * ScrollBar.cs: Fixes thumbpos on Maximum values
  14398. 2005-06-21 Jonathan Chambers <[email protected]>
  14399. * PropertyGridView.cs: Pass context information to UITypeEditors
  14400. 2005-06-21 Peter Bartok <[email protected]>
  14401. * TextBoxBase.cs:
  14402. - Now calling PositionCaret with absolute space coordinates
  14403. - Enabled vertical scrolling
  14404. - Better tracking of scrollbar changes, tied into WidthChange
  14405. event
  14406. - Improved cursor tracking
  14407. - Removed debug output
  14408. * TextControl.cs:
  14409. - PositionCaret coordinates are now works in absolute space, not
  14410. the canvas
  14411. - Improved tracking of document size
  14412. - Added events for width and height changes
  14413. 2005-06-21 Peter Bartok <[email protected]>
  14414. * Form.cs: Set focus to active control when form is activated
  14415. * TextControl.cs:
  14416. - Added word-wrap functionality to RecalculateLine()
  14417. - Added some short function descriptions for VS.Net to aid in
  14418. writing dependent controls
  14419. - Added Caret property, returning the current coords of the caret
  14420. - Added ViewPortWidth and ViewPortHeight properties
  14421. - Added Wrap property
  14422. - Added CaretMoved event
  14423. - Removed some old debug code
  14424. - Split() can now create soft splits
  14425. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  14426. - Added method to format existing text
  14427. - Fixed size/alignment calculations to use viewport
  14428. - RecalculateDocument now can handle changing line-numbers while
  14429. calculating lines
  14430. * TextBox.cs:
  14431. - Added some wrap logic, we don't wrap if alignment is not left
  14432. - Added casts for scrollbar var, base class switched types to
  14433. also support RichTextBoxA
  14434. - Implemented handling of scrollbar visibility flags
  14435. * TextBoxBase.cs:
  14436. - Switched scrollbars type to RichTextBoxScrollBars to support
  14437. RichTextBox
  14438. - Added tracking of canvas width/height
  14439. - Switched scrollbars to be not selectable (to keep focus on text)
  14440. - Added central CalculateDocument() method to handle all redraw
  14441. requirements
  14442. - Added ReadOnly support
  14443. - Added WordWrap support
  14444. - Fixed handling of Enter key (we now treat it as a DialogKey)
  14445. - Fixed caret positioning when h or v scroll is not zero
  14446. - Fixed placing/generation of vertical scrollbar
  14447. - Added CalculateScrollBars() method to allow updating scrollbar
  14448. limits and visibility
  14449. - Fixed handling of horizontal scroll
  14450. - Added handling of vertical scroll
  14451. - Implemented auto-'jump' when caret moves to close to a left or
  14452. right border and there is text to be scrolled into view (currently
  14453. there's the potential for a stack overflow, until a bug in
  14454. scrollbar is fixed)
  14455. 2005-06-21 Geoff Norton <[email protected]>
  14456. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  14457. 2005-06-19 Alexander Olk <[email protected]>
  14458. * Mime.cs:
  14459. - added inodes.
  14460. - return application/x-zerosize for files with size zero
  14461. (if no extension pattern matches).
  14462. - check matches collection for strings too.
  14463. - return only the first mime type if the name value
  14464. collection has more than one mime type.
  14465. 2005-06-18 Jonathan Chambers <[email protected]>
  14466. * PropertyGrid.cs: Cleaned up some TODOs
  14467. * PropertyGridView.cs: Added support for UITypeEditors
  14468. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  14469. * DataGrid.cs: clears cached value
  14470. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  14471. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  14472. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  14473. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  14474. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  14475. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  14476. * ThemeWin32Classic.cs: fixes colour
  14477. 2005-06-15 Peter Bartok <[email protected]>
  14478. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  14479. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  14480. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  14481. * Control.cs: Added some MWFCategory and MWFDescription attributes
  14482. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  14483. 2005-06-15 Alexander Olk <[email protected]>
  14484. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  14485. usage
  14486. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  14487. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  14488. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  14489. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  14490. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  14491. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  14492. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  14493. 2005-06-13 Jackson Harper <[email protected]>
  14494. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  14495. isn't printed when the user enables dropping. (X11 does accept
  14496. drops).
  14497. 2005-06-13 Jackson Harper <[email protected]>
  14498. * TreeView.cs: Remove some TODOS.
  14499. 2005-06-13 Jackson Harper <[email protected]>
  14500. * Form.cs: Hook into the mdi framework.
  14501. * MdiClient.cs: Use the base control collections add method so
  14502. parents get setup correctly. Set the default back colour and dock
  14503. style.
  14504. * MdiChildContext.cs: New class, this bad actor handles an
  14505. instance of an MDI window. Right now there is only basic
  14506. support. You can drag, close, and resize windows. Minimize and
  14507. Maximize are partially implemented.
  14508. 2005-06-13 Jackson Harper <[email protected]>
  14509. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  14510. freaky when both vals are negative. NOTE: There are probably other
  14511. places in XplatUIX11 that this needs to be done.
  14512. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  14513. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  14514. * DataGridColumnStyle.cs: fixes signature
  14515. 2005-06-12 Jackson Harper <[email protected]>
  14516. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  14517. windows.
  14518. 2005-06-11 Jackson Harper <[email protected]>
  14519. * StatusBarPanel.cs: Signature cleanups. Implement
  14520. BeginInit/EndInit.
  14521. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  14522. * DataGridTextBoxColumn.cs: Honors aligment
  14523. * GridColumnStylesCollection.cs: Contains is case unsensitive
  14524. * GridTableStylesCollection.cs: several fixes
  14525. * DataGridTableStyle.cs: default column creation
  14526. * DataGridDrawingLogic.cs: fixes
  14527. * CurrencyManager.cs: ListName property
  14528. * DataGrid.cs: multiple styles support
  14529. * DataGridColumnStyle.cs: fixes
  14530. 2005-06-10 Peter Bartok <[email protected]>
  14531. * Control.cs(Select): Moved SetFocus call to avoid potential
  14532. loops if controls change the active control when getting focus
  14533. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  14534. the up/down buttons
  14535. 2005-06-10 Matthias Felgner <[email protected]>
  14536. * ImageListConverter.cs: Implemented
  14537. 2005-06-10 John BouAntoun <[email protected]>
  14538. * MonthCalendar.cs: Wired in NumericUpDown control for year
  14539. 2005-06-10 John BouAntoun <[email protected]>
  14540. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  14541. DoubleClick events, since they are not meant to be fired.
  14542. 2005-06-09 Peter Bartok <[email protected]>
  14543. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  14544. Jonathan's standalone controls into MWF, implemented missing
  14545. events, attributes and methods; added xxxAccessible classes
  14546. * AccessibleObject.cs: Made fields internal so other classes
  14547. can change them if needed
  14548. 2005-06-09 Jonathan Gilbert <[email protected]>
  14549. * UpDownBase.cs: Complete implementation
  14550. * NumericUpDown.cs: Complete implementation
  14551. * DomainUpDown.cs: Complete implementation
  14552. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  14553. * DataGridTextBoxColumn.cs: drawing fixes
  14554. * DataGridCell.cs: fixes ToString method to match MSNet
  14555. * DataGridTableStyle.cs: fixes
  14556. * DataGridBoolColumn.cs: fixes, drawing
  14557. * DataGridDrawingLogic.cs: fixes, new methods
  14558. * DataGridTextBox.cs: Keyboard and fixes
  14559. * DataGrid.cs:
  14560. - Keyboard navigation
  14561. - Scrolling fixes
  14562. - Row selection (single, multiple, deletion, etc)
  14563. - Lots of fixes
  14564. 2005-06-07 Jackson Harper <[email protected]>
  14565. * ThemeWin32Classic.cs: Clear the background area when drawing
  14566. buttons.
  14567. 2005-06-06 Peter Bartok <[email protected]>
  14568. * ImageListStreamer.cs: Fixed signature for GetData
  14569. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  14570. * ComboBox.cs:
  14571. - Added missing ChildAccessibleObject class
  14572. - Added missing OnXXXFocus overrides, switched to using those
  14573. instead of the event handler
  14574. * Control.cs:
  14575. - Added Parent property for ControlAccessibleObject
  14576. - Fixed signatures
  14577. - Fixed attributes
  14578. - Added ResetBindings()
  14579. * ListBindingConverter.cs: Implemented some methods
  14580. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  14581. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  14582. * ContainerControl.cs: Fixed signature, now subscribing to the
  14583. ControlRemoved event instead of overriding the handler, LAMESPEC
  14584. * CurrencyManager.cs: Added missing attribute
  14585. * MonthCalendar.cs: Added missing properties
  14586. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  14587. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  14588. 2005-06-06 Gaurav Vaish and Ankit Jain
  14589. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  14590. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  14591. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  14592. * Control.cs: fixes CreateParams Width / Height.
  14593. 2005-06-05 Peter Bartok <[email protected]>
  14594. * Win32DnD.cs: Removed compilation warnings
  14595. 2005-06-05 Peter Bartok <[email protected]>
  14596. * Control.cs (CreateParams): Since we don't know if one of the
  14597. properties we use is overridden, lets make sure if we fail accessing
  14598. we continue with a backup plan
  14599. 2005-06-05 Peter Bartok <[email protected]>
  14600. * Win32DnD.cs:
  14601. - Removed debug output
  14602. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  14603. struct
  14604. - Plugged resource leak
  14605. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  14606. MS size
  14607. 2005-06-05 Peter Bartok <[email protected]>
  14608. * XplatUIWin32.cs: Removed DnD code
  14609. * Win32DnD.cs: Implemented drop source and drop target functionality
  14610. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  14611. * UpDownBase.cs: remove duplicate addition of event, enable some code
  14612. that was commented out.
  14613. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  14614. Validate input when a key is pressed. It works fine now for every
  14615. combination of Hexadecimal. Only missing some drawing love when sharing
  14616. space with other controls.
  14617. 2005-06-04 Peter Bartok <[email protected]>
  14618. * Control.cs:
  14619. - We need to pass a window for DragDrop, so enable callback events
  14620. - Added DnD callback events when being a DragSource
  14621. * XplatUI.cs (StartDrag): Added window handle argument
  14622. * XplatUIDriver.cs (StartDrag): Added window handle argument
  14623. * QueryContinueDragEventArgs: Made fields internally accessible so
  14624. drivers can set them
  14625. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  14626. can set them
  14627. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  14628. * DataGridTextBoxColumn.cs: column text editing
  14629. * DataGridTableStyle.cs: Respect columns styles created by the user
  14630. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  14631. * DataGridBoolColumn.cs: bool column editing
  14632. * DataGrid.cs: fixes to scrolling, properties, etc
  14633. * DataGridTextBox.cs: handle keyboard
  14634. * DataGridColumnStyle.cs: fixes
  14635. 2005-06-02 Jackson Harper <[email protected]>
  14636. * ImageListStreamer.cs: Somewhat broken implementation of
  14637. GetObjectData. The RLE needs some work to match MS properly.
  14638. 2005-06-02 Jackson Harper <[email protected]>
  14639. * X11Dnd.cs: Attempting to keep at least one file in MWF
  14640. monostyled.
  14641. 2005-06-02 Peter Bartok <[email protected]>
  14642. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  14643. that way
  14644. 2005-06-02 Peter Bartok <[email protected]>
  14645. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  14646. * XplatUI.cs: Added DoDragDrop() method
  14647. * XplatUIDriver.cs: Added DoDragDrop() method
  14648. 2005-06-02 Jackson Harper <[email protected]>
  14649. * Splitter.cs: Implement BorderStyle.
  14650. 2005-06-02 Jackson Harper <[email protected]>
  14651. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  14652. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  14653. X11 using XDND.
  14654. 2005-06-02 Peter Bartok <[email protected]>
  14655. * DataObject.cs:
  14656. - Added Data setter
  14657. - Fixed broken insertion code for SetData, now also
  14658. overwrites any existing entry of the same format name
  14659. * Hwnd.cs: Added list of pointers that automatically gets
  14660. freed when the window is disposed
  14661. * XplatUI.cs: Call driver initialization method when loading
  14662. a driver
  14663. * Control.cs:
  14664. - OnDragLeave takes EventArgs, not DragEventArgs
  14665. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  14666. supported
  14667. - Forces style update when drop state changes
  14668. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  14669. not perfect since we cannot (yet) call the IDataObject.GetData()
  14670. method, we keep getting 0x80004005 error, dunno why)
  14671. 2005-06-02 Peter Bartok <[email protected]>
  14672. * DragEventArgs.cs: Make fields internal so we can cache the
  14673. object and re-set the fields from XplatUI
  14674. 2005-06-02 Jackson Harper <[email protected]>
  14675. * Control.cs: Add some internal methods so the DnD subsystem can
  14676. raise DnD events. Also call into the driver when AllowDrop is set.
  14677. * XplatUI.cs:
  14678. * XplatUIDriver.cs: New method for setting whether or not a window
  14679. is allowed to accept drag and drop messages.
  14680. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  14681. * ScrollBar.cs: Make sure that values sent in Scroll events
  14682. are always between Maximum and Minimum.
  14683. 2005-06-01 Marek Safar <[email protected]>
  14684. * Menu.cs: Call MenuChanged when menuitem visibility has been
  14685. changed.
  14686. * MenuItem.cs: Rebuild menu when item is (not) visible.
  14687. * MainMenu.cs: MainMenu has special MenuChanged.
  14688. * Theme.cs: Caption and FrameBorderSize are not fixed.
  14689. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  14690. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  14691. * XplatUIX11.cs,
  14692. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  14693. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  14694. 2005-05-30 Jackson Harper <[email protected]>
  14695. * DataFormat.cs: We can't statically initialize this stuff because
  14696. it calls into the xplatui and could create a loop. So we lazy init
  14697. it.
  14698. 2005-05-28 Jackson Harper <[email protected]>
  14699. * Control.cs: Proper implementation of Product(Name/Version).
  14700. 2005-05-27 Jackson Harper <[email protected]>
  14701. * DataObject.cs: Dont crash if no data is found.
  14702. 2005-05-26 Rafael Teixeira <[email protected]>
  14703. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  14704. as per status page, guessing it should be set to true
  14705. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  14706. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  14707. * DataGridTableStyle.cs: set proper formatting text, def header text
  14708. * ThemeWin32Classic.cs: new themable paramaters
  14709. * DataGridBoolColumn.cs: paint check box, get data, fixes
  14710. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  14711. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  14712. * DataGridColumnStyle.cs: fixes
  14713. * Theme.cs: new themable paramaters
  14714. 2005-05-26 Peter Bartok <[email protected]>
  14715. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  14716. 2005-05-24 Jonathan S. Chambers <[email protected]>
  14717. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  14718. 2005-05-24 Peter Bartok <[email protected]>
  14719. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  14720. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  14721. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  14722. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  14723. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  14724. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  14725. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  14726. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  14727. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  14728. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  14729. missing attributes, etc
  14730. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  14731. 2005-05-24 Peter Bartok <[email protected]>
  14732. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  14733. when user tries to get help
  14734. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  14735. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  14736. to suppress warnings
  14737. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  14738. avoid unreachable code warning
  14739. 2005-05-20 Peter Bartok <[email protected]>
  14740. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  14741. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  14742. * DataGridTextBoxColumn.cs: Basic painting methods
  14743. * DataGridTableStyle.cs: Set table style in the column
  14744. * ThemeWin32Classic.cs: Use Theme for colors
  14745. * DataGridDrawingLogic.cs: Implement more drawing
  14746. * DataGrid.cs: drawing, theming, enhacements, fixes
  14747. * DataGridColumnStyle.cs: fixes, drawing
  14748. * Theme.cs: theming for Datagrid
  14749. 2005-05-20 Peter Bartok <[email protected]>
  14750. * Cursor.cs: Implemented GetObjectData() method
  14751. 2005-05-20 Peter Bartok <[email protected]>
  14752. * Cursors.cs: Added setting of cursor name
  14753. * Cursor.cs:
  14754. - Implemented constructors
  14755. - Implemented Draw and DrawStretched
  14756. - Implemented Current property
  14757. - Implemented == and != operators
  14758. - Implemented Dispose()
  14759. - Implemented ToString
  14760. - Added missing attributes
  14761. * XplatUIX11.cs:
  14762. - Added missing reset for OverrideCursor when DoEvents is called
  14763. - Fixed creation of cursor, logic was wrong
  14764. * XplatUIWin32.cs:
  14765. - Added missing reset for OverrideCursor when DoEvents is called
  14766. - Fixed creation of cursor, bit arrays were swapped
  14767. * Clipboard.cs: Removed obsolete MonoTODO attribute
  14768. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  14769. * ComboBox.cs: fixes OnSelectedItemChanged
  14770. * ControlBindingsCollection.cs: fixes item range check
  14771. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  14772. * UpDownBase.cs:
  14773. - Calc preferred height properly
  14774. - Implement missing properties
  14775. * NumericUpDown.cs: Implement missing events
  14776. 2005-05-19 Jackson Harper <[email protected]>
  14777. * TabControl.cs: New method that resizes the tab pages before
  14778. redrawing them. This as needed as the control is double buffered
  14779. and sizing will not be recalculated unless ResizeTabPages is
  14780. called.
  14781. * TabPage.cs: Set base.Text instead of Text in the constructor so
  14782. that UpdateOwner does not get called. Use the new Redraw method of
  14783. TabControl instead of Refresh so the sizing is recalculated.
  14784. * ThemeWin32Classic.cs: Draw the text for button tabs.
  14785. 2005-05-19 Jackson Harper <[email protected]>
  14786. * Control.cs: Paint control background images. Fix typo where
  14787. PaintControlBackground was not getting called correctly.
  14788. 2005-05-19 Peter Bartok <[email protected]>
  14789. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  14790. I can investigate, apparently I broke FileDialog
  14791. 2005-05-19 Marek Safar <[email protected]>
  14792. * AxHost.cs: Some simple properties.
  14793. * Control.cs: window must be accessible after ctor.
  14794. * Form.cs: Added TransparencyKey property.
  14795. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  14796. * XplatUIWin32.cs: SetBorderStyle implemented.
  14797. 2005-05-18 Peter Bartok <[email protected]>
  14798. * DataObject.cs: Entries are not global but particular to the
  14799. DataObject, now it behaves that way
  14800. * XplatUIWin32.cs: Implemented Clipboard methods
  14801. * Clipboard.cs: Implemented
  14802. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  14803. * XplatUIOSX.cs: Updated to final clipboard prototypes
  14804. * XplatUIX11.cs: Implemented Clipboard methods
  14805. * XplatUIDriver.cs: Updated to final clipboard prototypes
  14806. * XplatUIStructs.cs:
  14807. - Added BITMAPINFOHEADER struct
  14808. - Added ClipboardFormats enum
  14809. * X11Structs.cs:
  14810. - Added ClipboardStruct
  14811. - Added Atom enum items for clipboard types
  14812. - Fixed atom types for Selection event structures
  14813. * DataFormats.cs:
  14814. - Added internal properties and methods for drivers to enumerate
  14815. all known formats
  14816. - Switched initialization method to allow drivers to assign their
  14817. own IDs even for the MS predefined clipboard IDs
  14818. * XplatUI.cs: Updated to final clipboard interface
  14819. 2005-05-18 Jonathan S. Chambers <[email protected]>
  14820. * PropertyGridView.cs: Fixed compiler warnings.
  14821. 2005-05-18 Jonathan S. Chambers <[email protected]>
  14822. * PropertyGrid.cs: Added some event calls
  14823. * PropertyGridView.cs: Change drawing code to use double buffering
  14824. * PropertyGridTextBox.cs: Changed Text property name
  14825. * GridItem.cs: Added Bounds property.
  14826. * GridEntry.cs: Added Bounds property.
  14827. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  14828. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  14829. since GetType() may not return the correct type if the object is
  14830. a remoting proxy.
  14831. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  14832. * TreeNodeCollection.cs: fixes get/set item ranges
  14833. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  14834. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  14835. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  14836. * ComboBox.cs: Fix item range comparation
  14837. * ListView.cs: Fix item range comparation
  14838. 2005-05-03 Alexander Olk <[email protected]>
  14839. * FontDialog.cs:
  14840. - Clear example panel when OnPaint is called
  14841. - Better solution for displaying the example panel text
  14842. - Select default indexes in the ListBoxes
  14843. 2005-05-11 Geoff Norton <[email protected]>
  14844. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  14845. 2005-05-11 Peter Bartok <[email protected]>
  14846. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  14847. * SelectionRangeConverter.cs: Implemented
  14848. * PropertyGrid.cs: Fixed attribute value
  14849. * Control.cs:
  14850. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  14851. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  14852. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  14853. that's common to all drivers. First methods to go there are
  14854. Sebastien Pouliot's CAS Stack Propagation helper methods
  14855. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  14856. Sebastien Pouliot for CAS Stack Propagation
  14857. 2005-05-11 Geoff Norton <[email protected]>
  14858. * OSXStructs.cs:
  14859. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  14860. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  14861. * DataGridTextBoxColumn.cs: fixed some members
  14862. * GridColumnStylesCollection.cs: indexed column is case insensitive
  14863. * DataGridTableStyle.cs: fixes
  14864. * ThemeWin32Classic.cs: add new theme parameter
  14865. * Theme.cs: add new theme parameter
  14866. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  14867. * DataGrid.cs: fixes, new internal properties, etc.
  14868. * DataGridColumnStyle.cs: allows to set grid value
  14869. *
  14870. 2005-05-10 Peter Bartok <[email protected]>
  14871. * AccessibleObject.cs:
  14872. - Removed MonoTODO attribute on help, method is correct
  14873. - Fixed Bounds property
  14874. * AxHost.cs: Moved MonoTODO
  14875. * ButtonBase.cs: Now setting AccessibleObject properties
  14876. * RadioButton.cs: Setting proper AccessibleObject role
  14877. * CheckBox.cs: Setting proper AccessibleObject role
  14878. * ControlBindingsCollection.cs: Added properties, methods and attributes
  14879. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  14880. userdefined DataFormats.Format items as well
  14881. * ListControl.cs: Removed data_member from the public eye
  14882. * OpenFileDialog.cs:
  14883. - Made class sealed
  14884. - Added missing attributes
  14885. * SaveFileDialog.cs: Added missing attributes
  14886. * ImageListStreamer.cs: Fixed code that caused warnings
  14887. * LinkLabel.cs: Removed unreachable code
  14888. * TreeView.cs: Fixed code that caused warnings
  14889. * PropertyGridView.cs: Fixed code that caused warnings
  14890. * GridColumnStylesCollection.cs: Added missing attributes
  14891. * GridTableStylesCollection: Added missing attribute
  14892. * PropertyManager: Added .ctor
  14893. * SecurityIDType: Added
  14894. * DataObject.cs: Implemented class
  14895. * LinkArea.cs: Added missing attribute
  14896. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  14897. * RadioButton.cs: call base method to allow to fire OnClick event
  14898. * UpDownBase.cs: OnMouseUp call base method
  14899. * CheckedListBox.cs: call base method before returning
  14900. * TrackBar.cs: call base method before returning
  14901. 2005-05-10 Peter Bartok <[email protected]>
  14902. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  14903. for messages
  14904. 2005-05-10 Peter Bartok <[email protected]>
  14905. * DataFormats.cs: Implemented
  14906. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  14907. XplatUIX11.cs: Added Clipboard APIs
  14908. * XplatUIWin32.cs: Implemented Clipboard APIs
  14909. * FolderBrowserDialog.cs: Added missing event, attributes
  14910. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  14911. * CheckBox.cs: call base method to allow to fire OnClick event
  14912. 2005-05-09 Sebastien Pouliot <[email protected]>
  14913. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  14914. 2005-05-06 Peter Bartok <[email protected]>
  14915. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  14916. * Screen.cs: Implemented
  14917. * HelpNavigator.cs: Added
  14918. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  14919. property
  14920. * HelpProvider.cs: Implemented all we can do until we have a CHM
  14921. help library (which means that "What's This" does work now)
  14922. 2005-05-06 Jackson Harper <[email protected]>
  14923. * XplatUIX11.cs: Fix waking up the main loop.
  14924. 2005-05-05 Peter Bartok <[email protected]>
  14925. * XplatUI.cs: Updated revision
  14926. * Form.cs: Removed enless loop
  14927. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  14928. * Label.cs (OnPaint): Added call to base.OnPaint()
  14929. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  14930. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  14931. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  14932. * AxHost.cs: Added
  14933. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  14934. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  14935. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  14936. reuse of ToolTipWindow by other controls
  14937. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  14938. * XplatUIX11.cs: Now clipping drawing area (experimental)
  14939. * PictureBox.cs: Moved base.OnPaint() call to end of method
  14940. * Theme.cs: Fixed ToolTip abstracts to match new format
  14941. * ErrorProvider.cs: Implemented
  14942. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  14943. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  14944. * LinkLabel.cs:
  14945. - Adds cursors
  14946. - Handles focus
  14947. - Implements LinkBehavior
  14948. - Fixes many issues
  14949. 2005-05-03 Jackson Harper <[email protected]>
  14950. * ListView.cs: Calculate the scrollbar positioning on resize and
  14951. paint, so they get put in the correct place.
  14952. 2005-05-03 Alexander Olk <[email protected]>
  14953. * ColorDialogs.cs: The small color panels are now handled by
  14954. SmallColorControl. This fixes drawing of the focus rectangle
  14955. and adds a 3D border.
  14956. 2005-05-03 Peter Bartok <[email protected]>
  14957. * Control.cs: Modified version of Jonathan Chamber's fix for
  14958. double-buffering
  14959. 2005-05-03 Jackson Harper <[email protected]>
  14960. * ListView.cs: Remove redraw variable. Control now handles whether
  14961. or not a redraw needs to be done, and will only raise the paint
  14962. event if redrawing is needed.
  14963. 2005-05-03 Jackson Harper <[email protected]>
  14964. * Splitter.cs: No decorations for the splitter form. Cache the
  14965. hatch brush.
  14966. 2005-05-03 Jackson Harper <[email protected]>
  14967. * TreeView.cs: Use dashed lines to connect nodes. Use the
  14968. ControlPaint method for drawing the focus rect instead of doing
  14969. that in treeview.
  14970. 2005-05-02 Peter Bartok <[email protected]>
  14971. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  14972. 2005-04-29 Jackson Harper <[email protected]>
  14973. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  14974. entire image buffer. Just clear the clipping rectangle.
  14975. 2005-04-29 Jackson Harper <[email protected]>
  14976. * ThemeWin32Classic.cs: Don't draw list view items that are
  14977. outside the clipping rectangle.
  14978. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  14979. * ListBox.cs: added horizontal item scroll
  14980. 2005-04-29 Jackson Harper <[email protected]>
  14981. * ThemeWin32Classic.cs: Remove some old debug code that was
  14982. causing flicker with the new double buffering code.
  14983. 2005-04-29 John BouAntoun <[email protected]>
  14984. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  14985. behave like combobox and comboboxlist (still not sure if this is
  14986. correct though).
  14987. 2005-04-28 Jackson Harper <[email protected]>
  14988. * ThemeWin32Classic.cs: Don't fill the middle of progress
  14989. bars. This fills areas outside of the clip bounds that don't need
  14990. to be filled.
  14991. 2005-04-28 Jackson Harper <[email protected]>
  14992. * Control.cs: Don't expose functionality to touch the image buffers.
  14993. * ProgressBar.cs:
  14994. * ListView.cs: We do not need to (and no longer can) manipulate
  14995. the image buffers directly. All of this is handled by Control.
  14996. 2005-04-28 Peter Bartok <[email protected]>
  14997. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  14998. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  14999. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  15000. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  15001. * Combobox:
  15002. - Adjust control's height for non-simple comboboxes (bug fix)
  15003. - Remove dead code
  15004. * MenuAPI.cs: remove unused var
  15005. * ScrollBar.cs: remove unsed var
  15006. * ListBox.cs: unselect items when clearing
  15007. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  15008. * ListControl.cs: honors OnPositionChanged and default Selected Item
  15009. * ListBox.cs: unselect items when clearing
  15010. 2005-04-27 Jackson Harper <[email protected]>
  15011. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  15012. if a "correct" keyboard is not found. This will make us not crash,
  15013. but might give some users bad keyboard layouts...seems to be the
  15014. same thing rewind does.
  15015. 2005-04-27 Jackson Harper <[email protected]>
  15016. * BindingManagerBase.cs: Attach the current/position changed
  15017. handlers to their respective events.
  15018. 2005-04-27 Jackson Harper <[email protected]>
  15019. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  15020. not just a blit.
  15021. * ThemeWin32Classic.cs: Don't fill the background for picture
  15022. boxes. This could overright user drawing.
  15023. * ComboBox.cs: Just fill the clipping rect not the entire client
  15024. rect when drawing the background. This prevents pieces of the
  15025. image buffer from getting overwritten and is theoretically faster.
  15026. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  15027. * ComboBox.cs: Databinding support fixes, fire missing events
  15028. * ListControl.cs: implement missing methods and properties, fixes
  15029. * ThemeWin32Classic.cs: Databiding support on Drawing
  15030. * CheckedListBox.cs: Databinding support fixes, fire missing events
  15031. * ListBox.cs: Databinding support fixes, fire missing events
  15032. 2005-04-25 Peter Bartok <[email protected]>
  15033. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  15034. 2005-04-25 Jackson Harper <[email protected]>
  15035. * TreeView.cs: Use the horizontal scrollbars height not width when
  15036. determining how much of the client area is available.
  15037. 2005-04-25 Jackson Harper <[email protected]>
  15038. * Control.cs: Double buffering is handled differently now. As per
  15039. the spec, the extra buffer is created in the WM_PAINT message and
  15040. passed down to the control's drawing code.
  15041. * GroupBox.cs:
  15042. * Label.cs:
  15043. * CheckBox.cs:
  15044. * ProgressBar.cs:
  15045. * RadioButton.cs:
  15046. * ColorDialog.cs:
  15047. * ComboBox.cs:
  15048. * PropertyGridView.cs:
  15049. * UpDownBase.cs:
  15050. * MessageBox.cs:
  15051. * MenuAPI.cs:
  15052. * ListView.cs:
  15053. * ButtonBase.cs:
  15054. * SizeGrip.cs:
  15055. * ScrollBar.cs:
  15056. * ListBox.cs:
  15057. * TrackBar.cs:
  15058. * ToolBar.cs:
  15059. * PictureBox.cs:
  15060. * DateTimePicker.cs:
  15061. * StatusBar.cs:
  15062. * TreeView.cs: Update to new double buffering system.
  15063. * MonthCalendar.cs: Uncomment block, as Capture is now
  15064. working. Update to new double buffering
  15065. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  15066. * PaintEventArgs.cs: New internal method allows us to set the
  15067. graphics object. This is used for double buffering.
  15068. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  15069. rectangle. The internal paint_area var has been removed from
  15070. StatusBar. The clipping rect should be used instead.
  15071. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  15072. * TabPage.cs: The RefreshTabs method was removed, so just call the
  15073. tab controls Refresh method now.
  15074. * TabControl.cs: Update to new double buffering. Make sure the
  15075. handle is created before sizing the tab pages, otherwise we will
  15076. get stuck in a loop.
  15077. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  15078. * LinkLabel.cs: Fix typo, bug #74719; patch
  15079. from Borja Sanchez Zamorano
  15080. 2005-04-22 Jackson Harper <[email protected]>
  15081. * TreeNode.cs: Implement Handle stuff.
  15082. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  15083. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  15084. * DataGridTextBoxColumn.cs: call base constructors, fixes
  15085. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  15086. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  15087. * DataGridTableStyle.cs: implements create default column styles
  15088. * DataGridBoolColumn.cs: which types can handle
  15089. * DataGrid.cs: missing methods, fixes, new functionality
  15090. * DataGridColumnStyle.cs: fixes
  15091. 2005-04-20 Alexander Olk <[email protected]>
  15092. * FolderBrowserDialog.cs:
  15093. - Use a thread to fill the TreeView
  15094. - Adjusted some sizes
  15095. 2005-04-19 Peter Bartok <[email protected]>
  15096. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  15097. property. Fixes #74360.
  15098. 2005-04-19 Jackson Harper <[email protected]>
  15099. * XEventQueue.cs: Lock when getting the lockqueue size.
  15100. * PictureBox.cs: Call base OnPaint
  15101. 2005-04-19 Peter Bartok <[email protected]>
  15102. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  15103. messages were no longer being processed (this broke BeginInvoke)
  15104. 2005-04-18 Jackson Harper <[email protected]>
  15105. * TreeView.cs: buglet that caused node images to get drawn
  15106. regardless of whether or not they were in the clipping rectangle.
  15107. 2005-04-18 Jackson Harper <[email protected]>
  15108. * CurrencyManager.cs: There are four rules for GetItemProperties:
  15109. - If the type is an array use the element type of the array
  15110. - If the type is a typed list, use the type
  15111. - If the list contains an Item property that is not an object, use
  15112. that property
  15113. - use the first element of the list if there are any elements in
  15114. the list.
  15115. 2005-04-17 Jackson Harper <[email protected]>
  15116. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  15117. click. This handles offsets for scrolling properly and reduces
  15118. memory. Also fixed GetNode to not offset now that TopNode works
  15119. properly.
  15120. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  15121. 2005-04-17 Jackson Harper <[email protected]>
  15122. * CursorConverter.cs: Initial implementation.
  15123. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  15124. * ListControl.cs: work towards complex data binding support on ListControl
  15125. * CurrencyManager.cs: work towards complex data binding support on ListControl
  15126. * ListBox.cs: work towards complex data binding support on ListControl
  15127. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  15128. * GridTableStylesCollection.cs: fixes name and constructor
  15129. * DataGridTableStyle.cs: fixes
  15130. * DataGridBoolColumn.cs: fixes names and constructors
  15131. * DataGrid.cs: define methods and properties. Some init implementations
  15132. * DataGridCell.cs: define methods and properties. Some init implementations
  15133. * GridTablesFactory.cs: Define methods and properties
  15134. 2005-04-15 Geoff Norton <[email protected]>
  15135. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  15136. graphics port changes. We still want the coordinates in global screen
  15137. coordinates.
  15138. 2005-04-14 Jackson Harper <[email protected]>
  15139. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  15140. check plus minus or checkbox clicks unless those features are enabled.
  15141. 2005-04-14 Jackson Harper <[email protected]>
  15142. * TreeView.cs: Add methods for setting the top and bottom visible
  15143. nodes. TreeNode::EnsureVisible uses these methods.
  15144. * TreeNode.cs: Implement EnsureVisible
  15145. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  15146. * Form.cs: Pospone menu assignation if the window has not been created yet
  15147. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  15148. size and position
  15149. 2005-04-12 Jackson Harper <[email protected]>
  15150. * TreeView.cs: Set the TopNode properly when scrolling
  15151. occurs. This has the added benifit of reducing the amount of
  15152. walking that needs to be done when drawing. Also removed an old
  15153. misleading TODO.
  15154. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  15155. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  15156. * Timer.cs: fixes interval setting when the timer is already enabled
  15157. 2005-04-10 Alexander Olk <[email protected]>
  15158. * FolderBrowserDialog.cs: First approach
  15159. 2005-04-09 Peter Bartok <[email protected]>
  15160. * FolderBrowserDialog: Added
  15161. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  15162. * LinkLabel.cs: move drawing code into the theme
  15163. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  15164. * Theme.cs: define DrawLinkLabel method
  15165. 2005-04-05 Jackson Harper <[email protected]>
  15166. * BindingContext.cs: Use weak references so these bad actors don't
  15167. stay alive longer then they need to.
  15168. 2005-04-05 Jackson Harper <[email protected]>
  15169. * ListControl.cs: Basic implementation of complex databinding.
  15170. * ComboBox.cs:
  15171. * ListBox.cs: Add calls to ListControl databinding methods.
  15172. 2005-04-05 Alexander Olk <[email protected]>
  15173. * FileDialog.cs:
  15174. - Don't change PopupButtonState to Normal when the
  15175. PopupButton gets pressed several times.
  15176. - Renamed ButtonPanel to PopupButtonPanel
  15177. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  15178. * ColorDialog.cs: Use cached objects instead of creating them
  15179. * LinkLabel.cs: Use cached objects instead of creating them
  15180. * Splitter.cs: Use cached objects instead of creating them
  15181. * FontDialog.cs: Use cached objects instead of creating them
  15182. * PropertyGridView.cs: Use cached objects instead of creating them
  15183. * MessageBox.cs: Use cached objects instead of creating them
  15184. * FileDialog.cs: Use cached objects instead of creating them
  15185. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  15186. * TreeView.cs: Use cached objects instead of creating them
  15187. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  15188. * Control.cs: use Equals to compare the font since no == op
  15189. * ScrollBar.cs: use Equals to compare the font since no == op
  15190. 2005-04-04 Alexander Olk <[email protected]>
  15191. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  15192. 2005-04-01 Jackson Harper <[email protected]>
  15193. * Binding.cs: Implement IsBinding.
  15194. * BindingManagerBase.cs:
  15195. * PropertyManager.cs:
  15196. * CurrencyManager.cs: Add IsSuspended property.
  15197. 2005-04-01 Jackson Harper <[email protected]>
  15198. * Binding.cs: Had some IsAssignableFrom calls backwards.
  15199. 2005-04-01 Jackson Harper <[email protected]>
  15200. * Binding.cs: Handle null data members when pulling data.
  15201. * PropertyManager.cs: Handle the data member being a property that
  15202. does not exist.
  15203. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  15204. * DataGridTextBoxColumn.cs: fixes signature
  15205. * DataGrid.cs: calls right constructor
  15206. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  15207. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  15208. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  15209. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  15210. * DataGridTableStyle.cs: implements DataGridTableStyle
  15211. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  15212. * DataGridTextBox.cs: implements DataGridTextBox
  15213. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  15214. 2005-03-31 Alexander Olk <[email protected]>
  15215. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  15216. 2005-03-29 Peter Bartok <[email protected]>
  15217. * Application.cs:
  15218. - Properly implemented CompanyName property
  15219. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  15220. returns a path that includes CompanyName, ProductName and
  15221. Version (fixes bug #70330)
  15222. 2005-03-29 Stefan Buehler <[email protected]>
  15223. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  15224. fixes bug #72588.
  15225. 2005-03-28 Alexander Olk <[email protected]>
  15226. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  15227. - Added ReadOnly CheckBox
  15228. - Further refactoring: moved some code from Open-/SaveFileDialog
  15229. to FileDialog
  15230. 2005-03-28 Alexander Olk <[email protected]>
  15231. * OpenFileDialog.cs: Fixed CheckFileExists
  15232. * FileDialog.cs:
  15233. Moved FileView and DirComboBox outside FileDialog class.
  15234. They can now be used outside FileDialog
  15235. 2005-03-27 Alexander Olk <[email protected]>
  15236. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  15237. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  15238. 2005-03-27 Alexander Olk <[email protected]>
  15239. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  15240. - Added missing CreatePrompt property in SaveDialog
  15241. - Overall SaveDialog handling should be better now
  15242. - Added non standard ShowHiddenFiles property
  15243. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  15244. - Added InitialDirectory and RestoreDirectory support
  15245. 2005-03-26 Alexander Olk <[email protected]>
  15246. * FileDialog.cs: Made dirComboBox usable
  15247. 2005-03-24 Alexander Olk <[email protected]>
  15248. * FileDialog.cs: Added Filter support (case sensitiv)
  15249. 2005-03-24 Jackson Harper <[email protected]>
  15250. * TabControl.cs: Need a couple more pixels for the lines.
  15251. 2005-03-23 Jackson Harper <[email protected]>
  15252. * TabControl.cs: Give the tab page focus when it is selected.
  15253. 2005-03-23 Jackson Harper <[email protected]>
  15254. * TabControl.cs: Account for the drawing of tabs borders when
  15255. invalidating. If the slider was clicked dont do click detection on
  15256. the tabs.
  15257. 2005-03-23 Jackson Harper <[email protected]>
  15258. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  15259. 2005-03-22 Jonathan Chambers <[email protected]>
  15260. * CategoryGridEntry.cs: Added
  15261. * GridItem.cs: Added helper properties
  15262. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  15263. * GridEntry.cs: Updated code for collection
  15264. * PropertyGrid.cs: Cleaned up some formatting
  15265. * PropertyGridView.cs: Added drop down functionality for enums.
  15266. * GridItemCollection.cs: Added enumerator logic
  15267. * PropertyGridEntry.cs: Added
  15268. 2005-03-19 Alexander Olk <[email protected]>
  15269. * FileDialog.cs:
  15270. - Removed unnecessary commented code
  15271. - Fixed handling for entering the filename manually in the combobox
  15272. 2005-03-19 Alexander Olk <[email protected]>
  15273. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  15274. 2005-03-18 Peter Bartok <[email protected]>
  15275. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  15276. them being touching the border
  15277. 2005-03-18 Peter Bartok <[email protected]>
  15278. * TextControl.cs: Quick hack to center text better
  15279. 2005-03-18 Peter Bartok <[email protected]>
  15280. * ControlPaint.cs:
  15281. - Don't throw NotImplemented exceptions, just print a notice once
  15282. instead (requested by Miguel). This makes running existing SWF
  15283. apps a bit easier
  15284. * Control.cs:
  15285. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  15286. - Added context menu trigger on right click
  15287. * Panel.cs: Trigger invalidate on resize
  15288. * StatusBar.cs:
  15289. - Removed old double-buffer drawing
  15290. - Added ResizeRedraw style to force proper update of statusbar
  15291. * ListView.cs:
  15292. - Removed debug output
  15293. * ThemeWin32Classic.cs:
  15294. - Fixed drawing of status bar, now draws Text property if there
  15295. are no defined panels
  15296. 2005-03-18 Jackson Harper <[email protected]>
  15297. * ImageList.cs: When the image stream is set pull all the images
  15298. from it.
  15299. * ImageListStreamer.cs: Implement reading image list streams.
  15300. 2005-03-18 Peter Bartok <[email protected]>
  15301. * ThemeWin32Classic.cs (DrawPictureBox):
  15302. - Fixed calculations for centered drawing
  15303. - Fixed drawing for normal mode, not scaling the image on normal
  15304. 2005-03-18 Peter Bartok <[email protected]>
  15305. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  15306. textbox
  15307. * FileDialog.cs:
  15308. - Made Open/Save button the accept button for FileDialog
  15309. - Tied the cancel button to the IButtonControl cancel button
  15310. - Save/Open now properly builds the pathname
  15311. - Now handles user-entered text
  15312. - Preventing crash on right-click if no item is selected
  15313. - Fixed Text property, now uses contents of textbox
  15314. - Fixed SelectedText property, now just returns the text part that
  15315. is selected in the text box
  15316. 2005-03-18 Jackson Harper <[email protected]>
  15317. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  15318. rect, make sure to de-adjust the interior rect after drawing the
  15319. tab text.
  15320. 2005-03-18 Peter Bartok <[email protected]>
  15321. * MenuAPI.cs: Remove menu *before* executing selected action to
  15322. prevent the menu from 'hanging around'
  15323. 2005-03-17 Geoff Norton <[email protected]>
  15324. * XplatUIOSX.cs: Implemented WorkingArea property
  15325. 2005-03-17 Peter Bartok <[email protected]>
  15326. * XplatUIX11.cs: Fixed menu coord calculations
  15327. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  15328. for calculating offsets
  15329. 2005-03-17 Peter Bartok <[email protected]>
  15330. * Hwnd.cs: Do not consider menu presence for default client
  15331. rectangle location/size
  15332. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  15333. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  15334. translation functions
  15335. * FileDialog.cs: Fixed (what I presume is a) typo
  15336. 2005-03-17 Jonathan Gilbert <[email protected]>
  15337. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  15338. X access (avoids X-Async errors)
  15339. 2005-03-16 Jackson Harper <[email protected]>
  15340. * TabControl.cs: Raise the SelectedIndexChanged event.
  15341. 2005-03-16 Alexander Olk <[email protected]>
  15342. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  15343. - Removed vertical ToolBar and replaced it with a custom panel
  15344. (desktop and home button already work)
  15345. - Added Help button (some controls get resized or relocated then)
  15346. - Draw correct text depending on Open or Save.
  15347. - Fixed some typos...
  15348. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  15349. * ScrollBar.cs:
  15350. - Only change Maximum and Minimum when need it (bug fix)
  15351. 2005-03-15 Peter Bartok <[email protected]>
  15352. * Form.cs: Use Handle for icon, to trigger creation if
  15353. the window does not yet exist
  15354. * Control.cs:
  15355. - CanSelect: Slight performance improvement
  15356. - Focus(): Preventing possible recursion
  15357. - Invalidate(): Removed ControlStyle based clear flag setting
  15358. - WM_PAINT: fixed logic for calling OnPaintBackground
  15359. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  15360. EraseWindowBackground if the control doesn't paint background
  15361. * XplatUIWin32.cs:
  15362. - Moved EraseWindowBackground() method to internal methods
  15363. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  15364. is sent via SendMessage on BeginPaint call on Win32
  15365. * XplatUIX11.cs:
  15366. - Added EraseWindowBackground() method
  15367. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  15368. PaintEventStart, which more closely matches Win32 behaviour
  15369. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  15370. - Fixed SetFocus() to properly deal with client and whole windows
  15371. * Hwnd.cs: Added ErasePending property
  15372. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  15373. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  15374. 2005-03-12 Geoff Norton <[email protected]>
  15375. * XplatUIOSX.cs:
  15376. - Fix hard loop when timers exist.
  15377. - Fix bugs with middle and right click for 3 button mice.
  15378. 2005-03-11 Peter Bartok <[email protected]>
  15379. * XplatUIX11.cs:
  15380. - get_WorkingArea: Need to call X directly, GetWindowPos only
  15381. returns cached data now
  15382. - Added sanity check to GetWindowPos hwnd usage
  15383. 2005-03-11 Jackson Harper <[email protected]>
  15384. * BindingManagerBase.cs: This method isn't used anymore as
  15385. PullData now updates the data in the control.
  15386. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  15387. * Form.cs: fixes menu drawing on X11
  15388. * MenuAPI.cs: fixes menu drawing on X11
  15389. 2005-03-11 Peter Bartok <[email protected]>
  15390. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  15391. from Jonathan Gilbert; should fix bug #73606
  15392. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  15393. in Screen coordinates. Thanks, Jordi.
  15394. * Form.cs: Added missing attribute
  15395. 2005-03-11 Peter Bartok <[email protected]>
  15396. * Form.cs:
  15397. - Rudimentary Mdi support
  15398. - Removed outdated FormParent code
  15399. - Implemented lots of missing properties and methods, still missing
  15400. transparency support
  15401. - Added missing attributes
  15402. - Implemented support for MaximumBounds
  15403. - Added firing of various events
  15404. * XplatUI.cs: Added SetIcon() method
  15405. * XplatUIDriver.cs: Added SetIcon() abstract
  15406. * XplatUIOSX.cs: Stubbed out SetIcon() method
  15407. * XplatUIX11.cs:
  15408. - Implemented SetIcon() support
  15409. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  15410. - Switched to unix line endings
  15411. * XplatUIWin32.cs:
  15412. - Made POINT internal so for can access it as part of MINMAX
  15413. - Implemented SetIcon() support
  15414. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  15415. native Mdi support again, might have to go managed)
  15416. * Control.cs: Now fires the StyleChanged event
  15417. * MdiClient.cs: Added; still mostly empty
  15418. 2005-03-10 Peter Bartok <[email protected]>
  15419. * SaveFileDialog.cs: Added emtpy file
  15420. 2005-03-08 Peter Bartok <[email protected]>
  15421. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  15422. in turn triggers OnCreateContro) when creating a handle for the
  15423. first time.
  15424. * TextControl.cs: Fixed endless loop in certain cases when
  15425. replacing the current selection
  15426. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  15427. * ScrollBar.cs:
  15428. - Honors NewValue changes in Scroll events allowing apps to change it
  15429. - Adds First and Last Scroll events
  15430. - Fixes Thumb events
  15431. 2005-03-07 Peter Bartok <[email protected]>
  15432. * Hwnd.cs: Added DefaultClientRectangle property
  15433. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  15434. more detailed debug information
  15435. * XplatUIX11.cs:
  15436. - Fixed size-change feedback loop, where we would pull an old size
  15437. off the queue and mistakenly change our window's size to an
  15438. earlier value
  15439. - Now compressing ConfigureNotify events, to reduce looping and
  15440. redraw issues
  15441. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  15442. is called
  15443. 2005-03-07 Jackson Harper <[email protected]>
  15444. * Binding.cs: Push data pushes from data -> property. Check if the
  15445. property is readonly when attempting to set it.
  15446. 2005-03-07 Jackson Harper <[email protected]>
  15447. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  15448. instead of IsSubclassOf. Pulling data now sets the value on the
  15449. control.
  15450. * PropertyManager.cs:
  15451. * CurrencyManager.cs: Just need to pull data when updating now,
  15452. because PullData will set the value on the control.
  15453. 2005-03-04 Jackson Harper <[email protected]>
  15454. * Binding.cs: Implement data type parsing and converting on pulled
  15455. data. TODO: Are there more ways the data can be converted?
  15456. 2005-03-04 Jackson Harper <[email protected]>
  15457. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  15458. controls Validating method so we can repull the data when the
  15459. control loses focus.
  15460. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  15461. * ColumnHeader.cs:
  15462. - Fixes null string format
  15463. * ListView.cs:
  15464. - Adds enum type checks
  15465. - Fixes redrawing and recalc need after changing some properties
  15466. - Fixes on focus_item set after the event
  15467. - Fixes adding columns after the control has been created
  15468. * ThemeWin32Classic.cs:
  15469. - Fixes CheckBox focus rectangle
  15470. - Fixes ColumnHeader drawing
  15471. 2005-03-03 Jackson Harper <[email protected]>
  15472. * Binding.cs: Bind to <Property>Changed events so we can detect
  15473. when properties are changed and update the data.
  15474. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  15475. * ImageList.cs:
  15476. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  15477. - Fixes ImageList constructor with ImageList container
  15478. - Fixes image scaling (wrong parameters at DrawImage)
  15479. 2005-02-02 Jackson Harper <[email protected]>
  15480. * Binding.cs: Make property searches case-insensitive. Eliminate
  15481. some duplicated code.
  15482. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  15483. * ComboBox.cs:
  15484. - Handle focus event
  15485. - Fix scrollbar events
  15486. - Discard highlighted item if remove it
  15487. - Fixes SelectedItem with strings
  15488. 2005-03-01 Peter Bartok <[email protected]>
  15489. * Control.cs:
  15490. - Fixed Visible property, now follows (once again) parent chain
  15491. to return false if any control in the chain is visible=false
  15492. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  15493. - Fixed several places where is_visible instead of Visible was used
  15494. - Implemented FIXME related to focus selection when setting focused
  15495. control to be invisible
  15496. * XplatUIWin32.cs: Now using proper method to find out if window is
  15497. visible. Thanks to Jordi for pointing it out
  15498. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  15499. * ComboBox.cs: show/hide scrollbar instead of creating it
  15500. 2005-02-27 Jackson Harper <[email protected]>
  15501. * CurrencyManager.cs: Add PositionChanged stuff.
  15502. 2005-02-27 Peter Bartok <[email protected]>
  15503. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  15504. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  15505. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  15506. * XplatUIX11.cs:
  15507. - Implemented GetMenuDC()
  15508. - Implemented GetMenuOrigin()
  15509. - Implemented ReleaseMenuDC()
  15510. - Implemented generation of WM_NCPAINT message
  15511. - Implemented generation and handling of WM_NCCALCSIZE message
  15512. * Form.cs: Added debug helper message for Jordi's menu work
  15513. * Hwnd.cs:
  15514. - Modified ClientRect property; added setter, fixed getter to handle
  15515. setting of ClientRect
  15516. - Added MenuOrigin property
  15517. 2005-02-26 Peter Bartok <[email protected]>
  15518. * XplatUIX11.cs:
  15519. - Destroys the caret if a window that's being destroyed contains it
  15520. - Ignores expose events coming from the X11 queue for windows that
  15521. already are destroyed
  15522. - Now uses the proper variable for handling DestroyNotify, before we
  15523. marked the wrong window as destroyed
  15524. - Improved/added some debug output
  15525. 2005-02-26 Peter Bartok <[email protected]>
  15526. * X11Keyboard.cs: Fixes to work on 64bit systems
  15527. 2005-02-26 Peter Bartok <[email protected]>
  15528. * Control.cs:
  15529. - Now calling OnHandleDestroyed from DestroyHandle()
  15530. instead of Dispose()
  15531. - Removed bogus call to controls.Remove() from DestroyHandle()
  15532. 2005-02-26 Peter Bartok <[email protected]>
  15533. * Control.cs: Properly destroy child windows when our handle is
  15534. destroyed
  15535. 2005-02-25 Peter Bartok <[email protected]>
  15536. * XplatUI.cs:
  15537. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  15538. - Alphabetized Static Methods and Subclasses
  15539. * XplatUIX11.cs:
  15540. - Added XException class to allow custom handling of X11 exceptions
  15541. - Created custom X11 error handler, tied into XException class
  15542. - Added support for MONO_XEXCEPTIONS env var to allow the user
  15543. to either throw an exception on X errors or continue running
  15544. after displaying the error
  15545. - Added handling of DestroyNotify message
  15546. - Added handler for CreateNotify message (still disabled)
  15547. - Improved (tried to at least) Where method to provide file and lineno
  15548. * X11Structs.cs:
  15549. - Added XErrorHandler delegate
  15550. - Added XRequest enumeration (to suppor translation of errors)
  15551. 2005-02-25 Jackson Harper <[email protected]>
  15552. * PropertyManager.cs: Implement editing features
  15553. * CurrencyManager.cs:
  15554. * Binding.cs: First attempt at UpdateIsBinding
  15555. * BindingManagerBase.cs: Call UpdateIsBinding before
  15556. pushing/pulling data.
  15557. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  15558. * MenuAPI.cs: Respect disabled items
  15559. * ThemeWin32Classic.cs
  15560. - Caches ImageAttributes creation for DrawImageDisabled
  15561. - Fixes vertical menu line drawing
  15562. - Draws disabled arrows in disable menu items
  15563. 2005-02-24 Peter Bartok <[email protected]>
  15564. * Hwnd.cs:
  15565. - Added UserData property to allow associating arbitrary objects
  15566. with the handle
  15567. - Fixed leak; now removing Hwnd references from static windows array
  15568. * XplatUIWin32.cs:
  15569. - Fixed Graphics leak in PaintEventEnd
  15570. - Removed usage of HandleData, switched over to Hwnd class
  15571. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  15572. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  15573. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  15574. * ScrollBar.cs: Fixes bug
  15575. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  15576. keyboard navigation enhancements
  15577. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  15578. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  15579. * GroupBox.cs: Add control styles
  15580. * Label.cs: Add control styles
  15581. * UpDownBase.cs: Add control styles
  15582. * ListBox.cs: Add control styles
  15583. * XplatUIWin32.cs: Fixes wrong parameter order
  15584. 2005-02-23 Chris Bacon <[email protected]>
  15585. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  15586. 2005-02-23 Jackson Harper <[email protected]>
  15587. * PropertyManager.cs: Implement property binding. This doesn't
  15588. seem to work yet though as (I think) there are some bugs in
  15589. System.ComponentModel.PropertyDescriptor.
  15590. * BindingContext.cs: Use new PropertyManager constructor.
  15591. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  15592. * ProgressBar.cs: use clip region in ProgressBar
  15593. * ThemeWin32Classic.cs: use clip region in ProgressBar
  15594. 2004-02-22 Jackson Harper <[email protected]>
  15595. * BindingsCollection.cs: Remove some debug code.
  15596. 2005-02-22 Jackson Harper <[email protected]>
  15597. * BindingContext.cs:
  15598. * ControlBindingsCollection.cs:
  15599. * CurrencyManager.cs:
  15600. * Binding.cs:
  15601. * BindingManagerBase.cs: Initial implementation
  15602. * BindingsCollection.cs: Add an internal contains method that the
  15603. BindingManagerBase uses to ensure bindings aren't added twice to
  15604. the collection.
  15605. * PropertyManager.cs: Stubbed out.
  15606. * Control.cs:
  15607. * ContainerControl.cs: Hook up databinding
  15608. 2005-02-22 Geoff Norton <[email protected]>
  15609. * XplatUIOSX.cs:
  15610. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  15611. Fixed Invalidate/Update chain.
  15612. Fixed tons of other minor bugs (this is almost a complete rewrite).
  15613. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  15614. * ComboBox.cs: do subcontrol creation when the control is created
  15615. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  15616. * Label.cs: fixes image drawing (image and imagelist)
  15617. * ThemeWin32Classic.cs: cache brushes
  15618. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  15619. * Form.cs: Move menu drawing code to Theme class
  15620. * ComboBox.cs: Move ComboBox drawing code to Theme class
  15621. * MenuItem.cs: Move menu drawing code to Theme class
  15622. * MenuAPI.cs: Move menu drawing code to Theme class
  15623. * ThemeWin32Classic.cs: New methods
  15624. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  15625. * ListBox.cs: Move Listbox drawing code to Theme class
  15626. * Theme.cs: New methods
  15627. 2005-02-20 Peter Bartok <[email protected]>
  15628. * Control.cs:
  15629. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  15630. only process mnemonics on those)
  15631. - Fixed event sequence for key handling; first calling
  15632. ProcessKeyEventArgs now
  15633. * TextBoxBase.cs:
  15634. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  15635. for processing non-character keys
  15636. - Fixed WM_CHAR to generate proper event sequence before processing
  15637. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  15638. generation
  15639. 2005-02-19 Peter Bartok <[email protected]>
  15640. * UserControl.cs: Added TextChanged event; added attributes
  15641. * SizeGrip.cs: Implemented resizing and optional display of grip
  15642. * Form.cs: Fixed attribute
  15643. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  15644. Changed meaning of ScrollWindow bool argument; instead of the
  15645. clear attribute (which will be true usually anyway), it gives the
  15646. option of moving child controls as well.
  15647. * XplatUIX11.cs:
  15648. - Changed to match new ScrollWindow argument
  15649. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  15650. now handles the implicit parent window a WM puts around us
  15651. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  15652. to work)
  15653. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  15654. * TreeView.cs: Adjusted to new ScrollWindow arguments
  15655. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  15656. * Form.cs: Menu integration with non-client area
  15657. * MenuItem.cs: Menu integration with non-client area
  15658. * MenuAPI.cs: Menu integration with non-client area
  15659. 2005-02-18 Peter Bartok <[email protected]>
  15660. * MethodInvoker.cs: Added
  15661. * MdiLayout.cs: Added
  15662. * SendKeys.cs: Started implementation
  15663. * ErrorIconAlignment.cs: Added
  15664. 2005-02-18 Peter Bartok <[email protected]>
  15665. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  15666. * Form.cs: Added handling for Menu-related Non-client messages
  15667. 2005-02-17 Peter Bartok <[email protected]>
  15668. * UpDownBase.cs: Fixed typo, compilation errors
  15669. * DomainUpDown.cs: Fixed attribute value
  15670. 2005-02-16 Miguel de Icaza <[email protected]>
  15671. * UpDownBase.cs: Attach entry events.
  15672. Propagate events.
  15673. Add ForeColor property, Focused, InterceptArrowKeys (interception
  15674. does not work yet).
  15675. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  15676. * Form.cs:
  15677. - Redraw non client are on Setmenu
  15678. - Calc proper menu starting point
  15679. 2005-02-17 Peter Bartok <[email protected]>
  15680. * Application.cs: Fixed message_filter check
  15681. 2005-02-17 Peter Bartok <[email protected]>
  15682. * Application.cs: Now calls registered message filters
  15683. * DockStyle.cs: Fixed attribute
  15684. * Form.cs: Fixed attribute
  15685. * Menu.cs: Fixed attribute
  15686. * ToolTip.cs: Fixed attribute
  15687. * TreeNode.cs: Added missing attributes and arranged in regions
  15688. * PropertyGrid.cs: Fixed signatures
  15689. * TreeNodeCollection.cs: Added attributes
  15690. * Splitter.cs: Added missing attributes; arranged into regions
  15691. * TabPage.cs: Added missing attributes; arranged into regions
  15692. * TextBoxBase.cs: Added missing attributes
  15693. * TextBox.cs: Added missing attributes
  15694. * ArrangeDirection.cs: Added missing attributes
  15695. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  15696. * ToolBarButton.cs: Fixed attributes
  15697. * AnchorStyles.cs: Fixed attribute
  15698. * TrackBar.cs: Fixed attributes
  15699. * TabControl.cs: Added missing attributes and arranged into regions
  15700. * ToolBar.cs: Fixed attribute
  15701. * StatusBar.cs: Fixed signature, organized into regions and added
  15702. attributes
  15703. * StatusBarPanel.cs: Fixed attributes
  15704. * ContentsResizedEventArgs.cs: Implemented
  15705. * ContentsResizedEventHandler.cs: Implemented
  15706. * DateBoldEventArgs.cs: Implemented
  15707. * DateBoldEventHandler.cs: Implemented
  15708. * UpDownEventArgs.cs: Implemented
  15709. * UpDownEventHandler.cs: Implemented
  15710. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  15711. * Form.cs: first Menu NC refactoring
  15712. * MenuAPI.cs: first Menu NC refactoring
  15713. 2005-02-16 Peter Bartok <[email protected]>
  15714. * ImeMode.cs: Added missing attributes
  15715. * Menu.cs: Fixed attribute
  15716. * GroupBox.cs: Fixed attribute
  15717. * Label.cs: Fixed attribute
  15718. * ColorDialog.cs (RunDialog): Removed TODO attribute
  15719. * ComboBox.cs: Fixed attributes
  15720. * ListControl.cs: Added missing attributes
  15721. * PropertyGrid.cs: Fixed attributes
  15722. * Control.cs: Fixed attributes
  15723. * ListViewItem.cs: Added TypeConverter attribute
  15724. * NotifyIcon.cs: Fixed attributes
  15725. * ListView.cs: Fixed attributes
  15726. * ButtonBase.cs: Fixed attribute
  15727. * ImageList.cs: Added missing attributes
  15728. * ContainerControl.cs: Fixed signature
  15729. * CheckedListBox.cs: Fixed attribute; added missing attributes
  15730. * Panel.cs: Fixed attributes
  15731. * PropertyTabChangedEventArgs.cs: Added missing attribute
  15732. * PropertyValueChangedEventArgs.cs: Added missing attribute
  15733. * Binding.cs: Fixed attribute
  15734. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  15735. * ListBox.cs: Fixed attribute; added missing attributes;
  15736. * ScrollableControl.cs: Added missing attributes
  15737. * PictureBox.cs: Added missing attributes; implemented missing property
  15738. * DateTimePicker.cs: Added missing attributes
  15739. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  15740. * MonthCalendar.cs: Fixed attributes
  15741. * StatusBarPanel.cs: Added missing attributes
  15742. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  15743. 2005-02-16 Peter Bartok <[email protected]>
  15744. * TextBoxBase.cs: The previous method to enforce height yet remember
  15745. the requested high was less than ideal, this is an attempt to do
  15746. it better.
  15747. * Control.cs: Added comment about possible problem
  15748. * Copyright: Updated format
  15749. * GridItemType.cs: Fixed swapped values
  15750. 2005-02-15 Jackson Harper <[email protected]>
  15751. * BaseCollection.cs: Use property so we never access an
  15752. uninitialized list. Also initialize the list in the property.
  15753. 2005-02-15 Peter Bartok <[email protected]>
  15754. * GroupBox.cs (ProcessMnemonic): Implemented
  15755. * Label.cs (ProcessMnemonic): Implemented
  15756. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  15757. hotkeys
  15758. 2005-02-15 Peter Bartok <[email protected]>
  15759. * RadioButton.cs (ProcessMnemonic): Implemented
  15760. * CheckBox.cs (ProcessMnemonic): Implemented
  15761. * Control.cs:
  15762. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  15763. handling
  15764. - Added internal method to allow calling ProcessMnemonic from other
  15765. controls
  15766. * ContainerControl.cs:
  15767. - Started support for handling validation chain handling
  15768. - Implemented ProcessMnemonic support
  15769. - Added Select() call to Active, to make sure the active control
  15770. receives focus
  15771. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  15772. FormParent rewrite)
  15773. * ThemeWin32Classic.cs:
  15774. - DrawCheckBox(): Fixed stringformat to show hotkeys
  15775. - DrawRadioButton(): Fixed stringformat to show hotkeys
  15776. * CommonDialog.cs: Removed WndProc override, not needed
  15777. 2005-02-14 Peter Bartok <[email protected]>
  15778. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  15779. missed those in the rewrite
  15780. 2005-02-14 Miguel de Icaza <[email protected]>
  15781. * NumericUpDown.cs (Increment, ToString): Add.
  15782. (DecimalPlaces): implement.
  15783. Add attributes.
  15784. * UpDownBase.cs: Add the designer attributes.
  15785. 2005-02-13 Peter Bartok <[email protected]>
  15786. * Panel.cs: Removed border_style, now in Control
  15787. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  15788. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  15789. 2005-02-13 Peter Bartok <[email protected]>
  15790. * MouseButtons.cs: Added missing attributes
  15791. * XplatUIStructs.cs: Added enumeration for title styles
  15792. * LeftRightAlignment.cs: Added missing attributes
  15793. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  15794. it compatible with Graphics.FromHwnd()
  15795. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  15796. * Keys.cs: Added missing attributes
  15797. * SelectionRange.cs: Added missing attributes
  15798. * SelectionRangeConverter.cs: Added
  15799. * XplatUI.cs:
  15800. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  15801. ReleaseMenuDC methods
  15802. - Renamed ReleaseWindow to UngrabWindow
  15803. - Added proper startup notice to allow version identification
  15804. * Form.cs:
  15805. - Added missing attributes
  15806. - Removed FormParent concept
  15807. * Label.cs: Removed border_style field, now in Control
  15808. * RadioButton.cs: Now properly selects RadioButton when focus is
  15809. received
  15810. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  15811. * Control.cs:
  15812. - Added missing attributes
  15813. - Added borderstyle handling
  15814. - Removed FormParent concept support
  15815. - Fixed calls to XplatUI to match changed APIs
  15816. - Fixed bug that would case us to use disposed Graphics objects
  15817. - Removed unneeded internal methods
  15818. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  15819. - SelectNextControl(): Fixed to properly check common parents
  15820. * TextBoxBase.cs: Removed border_style field (now in Control)
  15821. * MessageBox.cs:
  15822. - Patch by Robert Thompson ([email protected]): Added icon support,
  15823. fixed calculations for form size
  15824. - Added support for localized strings and icons
  15825. - Improved form size calculations, added border
  15826. * ListView.cs: Removed border_style field (now in Control)
  15827. * X11Structs.cs: Moved several structs from X11 driver here
  15828. * X11Keyboard.cs: Changed debug message
  15829. * Application.cs: Removed FormParent concept support
  15830. * CommonDialog.cs:
  15831. - Resetting end_modal flag
  15832. - Removed FormParent concept support
  15833. * NativeWindow.cs: Removed FormParent concept support
  15834. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  15835. Client area and Non-Client whole window to allow support for WM_NC
  15836. messages
  15837. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  15838. prevent using it until it supports Hwnd as per Geoff Norton's request
  15839. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  15840. * PictureBox.cs: Removed border_style field, now in Control
  15841. * XplatUIWin32.cs: Added new driver methods
  15842. 2005-02-12 Peter Bartok <[email protected]>
  15843. * OpacityConverter.cs: Implemented
  15844. * Hwnd.cs: Internal class to support drivers that need to emulate
  15845. client area/non-client area window behaviour
  15846. 2005-02-11 Peter Bartok <[email protected]>
  15847. * KeysConverter.cs: Implemented
  15848. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  15849. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  15850. * LinkLabel: Added missing attributes
  15851. * MainMenu.cs: fixes ToString
  15852. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  15853. * ListBox.cs: fixes event position
  15854. * TrackBar.cs: adds missing attributes and events
  15855. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  15856. * MenuItem.cs: Use SystemInformation and bug fixes
  15857. * MenuAPI.cs: Use SystemInformation and bug fixes
  15858. 2005-02-09 Jackson Harper <[email protected]>
  15859. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  15860. their keystate otherwise things like VK_MENU get stuck "on".
  15861. 2005-02-09 Kazuki Oikawa <[email protected]>
  15862. * ListBox.cs: Fixes AddRange bug
  15863. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  15864. * ProgressBar.cs
  15865. - Add missing attributes
  15866. - Add missing method
  15867. * CheckedListBox.cs: Added missing attributes
  15868. - Add missing attributes
  15869. - Remove extra method
  15870. * ComboBox.cs: Added missing attributes
  15871. * VScrollBar.cs: Added missing attributes
  15872. * ScrollBar.cs: Added missing attributes
  15873. * ListBox.cs: Fixes signature, add missing consts
  15874. * LinkArea.cs: Added missing attributes
  15875. 2005-02-08 Peter Bartok <[email protected]>
  15876. * Menu.cs: Added missing attributes
  15877. * MainMenu.cs: Added missing attributes
  15878. * GroupBox.cs: Added missing attributes
  15879. * Label.cs: Added missing attributes
  15880. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  15881. * ColorDialog.cs:
  15882. - Added Instance and Options properties
  15883. - Added missing attributes
  15884. * Cursor.cs: Made Serializable
  15885. * NotifyIcon: Added missing attributes
  15886. * MenuItem.cs: Added missing attributes
  15887. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  15888. * Panel.cs: Added Missing attributes
  15889. * MonthCalendar.cs: Fixed CreateParams
  15890. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  15891. * LinkLabel.cs:
  15892. - Fixes signature
  15893. - Fixes issues with links
  15894. - Adds the class attributes
  15895. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  15896. * ComboBox.cs:
  15897. - Fixes button when no items available in dropdown
  15898. - Fixes repainting problems
  15899. - Adds the class attributes
  15900. 2005-02-07 Geoff Norton <[email protected]>
  15901. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  15902. the current theme. Cache these on startup.
  15903. 2005-02-07 Jackson Harper <[email protected]>
  15904. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  15905. the scrollbar buttons when they are depressed.
  15906. 2005-02-07 Geoff Norton <[email protected]>
  15907. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  15908. Get the display size from the main displayid. We currently dont
  15909. support multiple display configurations.
  15910. 2005-02-07 Geoff Norton <[email protected]>
  15911. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  15912. 2005-02-07 Miguel de Icaza <[email protected]>
  15913. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  15914. 2005-02-05 Jonathan Chambers <[email protected]>
  15915. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  15916. 2005-02-04 Jackson Harper <[email protected]>
  15917. * ThemeWin32Classic.cs: Respect the clipping rect when
  15918. drawing. Only fill the intersection of clips and rects so there
  15919. isn't a lot of large fills.
  15920. * ScrollBar.cs: Pass the correct clipping rect to the theme
  15921. engine. Remove some debug code.
  15922. 2005-02-05 John BouAntoun <[email protected]>
  15923. * DateTimePicker.cs:
  15924. - Fixed crash on DateTime.Parse, use Constructor instead
  15925. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  15926. * MenuItem.cs:
  15927. * MenuAPI.cs:
  15928. - Owner draw support (MeasureItem and DrawItem)
  15929. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  15930. * Menu.cs:
  15931. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  15932. - Fixes MenuItems.Add range
  15933. * MenuItem.cs:
  15934. - MergeMenu and Clone and CloneMenu functions
  15935. 2005-02-03 Jackson Harper <[email protected]>
  15936. * ScrollBar.cs: Make abstract
  15937. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  15938. is abstract.
  15939. 2005-02-03 Jackson Harper <[email protected]>
  15940. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  15941. all the unneeded refreshes and uses invalidates with properly
  15942. computed rects.
  15943. 2005-02-03 Peter Bartok <[email protected]>
  15944. * ComponentModel.cs: Added
  15945. * IDataGridEditingService.cs: Added
  15946. * Timer.cs: Added missing attributes
  15947. * ToolTip.cs: Added missing attributes
  15948. 2005-02-03 Jonathan Chambers <[email protected]>
  15949. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  15950. 2005-02-03 Peter Bartok <[email protected]>
  15951. * ListBox.cs: Added missing attributes
  15952. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  15953. * ListBox.cs:
  15954. - Fixes font height after font change
  15955. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  15956. 2005-02-02 Peter Bartok <[email protected]>
  15957. * HandleData.cs: Introduced static methods to allow class
  15958. to be more self-contained and track it's own HandleData objects
  15959. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  15960. HandleData to use new static methods
  15961. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  15962. * Combobox.cs:
  15963. - Fixes default size and PreferredHeight
  15964. - Missing events
  15965. - ObjectCollection.Insert implementation
  15966. * ListControl.cs
  15967. - Fixes signature
  15968. * ListBox.cs:
  15969. - Several fixes
  15970. - ObjectCollection.Insert implementation
  15971. - No selection after clean
  15972. - Small fixes
  15973. 2005-01-31 John BouAntoun <[email protected]>
  15974. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  15975. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  15976. * Combobox.cs:
  15977. - Caches ItemHeight calculation for OwnerDrawVariable
  15978. - Handles dropdown properly
  15979. - Fixes several minor bugs
  15980. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  15981. * ListBox.cs:
  15982. - Fixes 71946 and 71950
  15983. - Fixes changing Multicolumn on the fly
  15984. - Fixes keyboard navigation on Multicolumn listboxes
  15985. 2005-01-31 Geoff Norton <[email protected]>
  15986. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  15987. crash reporter log.
  15988. 2005-01-31 Geoff Norton <[email protected]>
  15989. * XplatUIOSX.cs: Allow applications to actually exit.
  15990. 2005-01-31 Geoff Norton <[email protected]>
  15991. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  15992. their parent at creation time rather than lazily later. Fixes a major
  15993. regression we were experiencing.
  15994. 2005-01-31 John BouAntoun <[email protected]>
  15995. * ThemeWin32Classic.cs: more date time picker painting fixes
  15996. * DateTimePicker.cs: more monthcalendar drop down fixes
  15997. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  15998. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  15999. * ScrollBar.cs:
  16000. - When moving the thumb going outside the control should stop the moving
  16001. - Adds the firing of missing events
  16002. - Fixes no button show if Size is not specified
  16003. - End / Home keys for keyboard navigation
  16004. 2005-01-30 Peter Bartok <[email protected]>
  16005. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  16006. sanity check to prevent theoretical loop
  16007. * XplatUIWin32.cs (SetVisible): Removed debug output
  16008. * XplatUIX11.cs (SystrayChange): Added sanity check
  16009. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  16010. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  16011. behaviour, valid until the X11 client window rewrite is done
  16012. * TextBox.cs (ctor): Setting proper default foreground and background
  16013. colors
  16014. 2005-01-30 John BouAntoun <[email protected]>
  16015. * Theme: Added DrawDateTimePicker to interface
  16016. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  16017. * DateTimePicker.cs: Created (still needs keys and painting code)
  16018. * DateTimePickerFormat.cs: added
  16019. * MonthCalendar.cs: fixed CreateParams for popup window mode
  16020. 2005-01-29 Peter Bartok <[email protected]>
  16021. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  16022. this should also the calculations for ligher/darker
  16023. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  16024. 2005-01-29 Peter Bartok <[email protected]>
  16025. * ArrangeDirection.cs: Added
  16026. * ArrangeStartingPositon.cs: Added
  16027. * SystemInformation.cs: Implemented
  16028. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  16029. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  16030. used by SystemInformation class
  16031. * X11Strucs.cs: Added XSizeHints structure
  16032. * MenuAPI.cs:
  16033. - Fixed CreateParams to make sure the menu window is always visible
  16034. - TrackPopupMenu: Added check to make sure we don't draw the
  16035. menu offscreen
  16036. 2005-01-29 Peter Bartok <[email protected]>
  16037. * HandleData.cs: Added method for altering invalid area
  16038. * TextBoxBase.cs: Implemented TextLength
  16039. 2005-01-28 Peter Bartok <[email protected]>
  16040. * XplatUIX11.cs: Improvement over last patch, not sending
  16041. the WM_PAINT directly anymore, instead we scroll any pending
  16042. exposed areas and let the system pick out the WM_PAINT later
  16043. 2005-01-28 Peter Bartok <[email protected]>
  16044. * SWF.csproj: Deleted, no longer used. Instead,
  16045. Managed.Windows.Forms/SWF.csproj should be used
  16046. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  16047. directly, to avoid a potential race condition with the next
  16048. scroll
  16049. 2005-01-28 Peter Bartok <[email protected]>
  16050. * XplatUI.cs: Made class internal
  16051. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  16052. * CheckedListBox.cs:
  16053. - Draw focus
  16054. - Fixed Drawing
  16055. - Missing methods and events
  16056. 2005-01-27 Peter Bartok <[email protected]>
  16057. * Application.cs (Run): Don't use form if we don't have one
  16058. 2005-01-27 Peter Bartok <[email protected]>
  16059. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  16060. 2005-01-27 Peter Bartok <[email protected]>
  16061. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  16062. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  16063. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  16064. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  16065. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  16066. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  16067. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  16068. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  16069. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  16070. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  16071. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  16072. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  16073. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  16074. * Combobox.cs:
  16075. - Draw focus on Simple Combobox
  16076. - Fixes drawing issues
  16077. - fixes 71834
  16078. 2005-01-27 Peter Bartok <[email protected]>
  16079. * Form.cs:
  16080. - Place window in default location, instead of hardcoded 0/0
  16081. - Send initial LocationChanged event
  16082. * Control.cs:
  16083. - UpdateBounds after creation to find out where the WM placed us
  16084. - Make sure that if the ParentForm changes location the Form
  16085. is notified
  16086. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  16087. to the root, but to whatever the WM placed around us.
  16088. Translate to root coordinates before returning toplevel
  16089. coordinates
  16090. * XplatUIWin32.cs: Removed debug output
  16091. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  16092. flag to GetWindowPos, to allow translation of coordinates on X11
  16093. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  16094. * ListBox.cs: connect LostFocus Event
  16095. 2005-01-27 Peter Bartok <[email protected]>
  16096. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  16097. XplatUIX11.cs: Extended the Systray API
  16098. * Form.cs: Removed debug output
  16099. * Application.cs: Fixed focus assignment, always need to call
  16100. XplatUI.Activate() since Form.Activate() has rules that may
  16101. prevent activation
  16102. * NotifyIcon.cs: Should be complete now
  16103. * ToolTip.cs: Worked around possible timer bug
  16104. 2005-01-27 Jackson Harper <[email protected]>
  16105. * TabControl.cs:
  16106. - Only invalidate the effected tabs when the
  16107. selected index changes. This reduces drawing and gets rid of some
  16108. flicker.
  16109. - Only refresh if the tabs need to be shifted, otherwise only
  16110. invalidate the slider button.
  16111. - On windows the tabs are not filled to right if the slider is
  16112. visible.
  16113. 2005-01-27 Jackson Harper <[email protected]>
  16114. * TabControl.cs: Only refresh on mouseup if we are showing the
  16115. slider. Also only invalidate the button whose state has changed.
  16116. 2005-01-26 Peter Bartok <[email protected]>
  16117. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  16118. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  16119. and SystrayRemove() methods
  16120. * XplatUIOSX.cs: Stubbed Systray methods
  16121. * XplatUIX11.cs:
  16122. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  16123. methods
  16124. - Fixed broken XChangeProperty calls (marshalling messed up things)
  16125. * X11Structs.cs: Added enums and structs required for Size hinting
  16126. * NotifyIcon.cs: Added & implemented
  16127. 2005-01-26 Jackson Harper <[email protected]>
  16128. * TabControl.cs: Space vertically layed out tabs properly.
  16129. 2005-01-26 Peter Bartok <[email protected]>
  16130. * Form.cs (CreateClientParams): Always set the location to 0,0
  16131. since we're a child window.
  16132. * Control.cs (SetVisibleCore): Always explicitly setting the location
  16133. of a toplevel window, apparently X11 doesn't like to move windows
  16134. while they're not mapped.
  16135. 2005-01-26 Jackson Harper <[email protected]>
  16136. * TabControl.cs: Implement FillToRight size mode with vertically
  16137. rendered tabs.
  16138. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  16139. * ControlPaint.cs, ThemeWin32Classic.cs
  16140. - Fixes DrawFocusRectangle
  16141. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  16142. * MenuAPI.cs:
  16143. - MenuBar tracking only starts when item is first clicked
  16144. - Fixes menu hidding for multiple subitems
  16145. - Unselect item in MenuBar when item Executed
  16146. - Fixes bug 71495
  16147. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  16148. * ListControl.cs:
  16149. - IsInputKey for ListBox
  16150. * ListBox.cs:
  16151. - Focus item
  16152. - Shift and Control item selection
  16153. - Implement SelectionMode.MultiExtended
  16154. - Fixes RightToLeft
  16155. * ComboBox.cs:
  16156. - IsInputKey implemented
  16157. - Do not generate OnTextChangedEdit on internal txt changes
  16158. 2005-01-23 Peter Bartok <[email protected]>
  16159. * AccessibleObject.cs: Partially implemented Select()
  16160. * MonthCalendar.cs: Added missing attributes and events
  16161. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  16162. form can properly override CreateParams.
  16163. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  16164. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  16165. Control performs Invalidate & Update
  16166. * NativeWindow (CreateHandle): Added special handling for Form
  16167. and Form.FormParent classes to allow overriding of From.CreateParams
  16168. * Control.cs:
  16169. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  16170. name 'owner'
  16171. - ControlNativeWindow: Added Owner property
  16172. - Removed usage of Refresh() on property changes, changed into
  16173. Invalidate(), we need to wait until the queue is processed for
  16174. updates, direct calls might cause problems if not all vars for
  16175. Paint are initialized
  16176. - Added call to UpdateStyles() when creating the window, to set any
  16177. styles that CreateWindow might have ignored.
  16178. - Added support for Form CreateParent overrides to UpdateStyles()
  16179. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  16180. CreateParams are now properly overridable
  16181. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  16182. CreateParams are now properly overridable
  16183. 2005-01-23 Miguel de Icaza <[email protected]>
  16184. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  16185. OnTextBoxChanged.
  16186. Capture LostFocus and OnTextBoxChanged. The later introduces a
  16187. recursive invocation that I have not figured out yet.
  16188. Reset the timer when not using (it was accumulating).
  16189. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  16190. user has made changes that require validation.
  16191. Reset changing to avoid loops.
  16192. 2005-01-22 Miguel de Icaza <[email protected]>
  16193. * NumericUpDown.cs: Display value at startup.
  16194. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  16195. ValidateEditText.
  16196. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  16197. filled in. Added some basic parsing of text.
  16198. Still missing the OnXXX method overrides, and figuring out the
  16199. events that must be emitted.
  16200. * UpDownBase.cs: Handle UserEdit on the Text property.
  16201. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  16202. * ComboBox.cs:
  16203. - Fixes IntegralHeight
  16204. - ToString method
  16205. 2005-01-21 Jackson Harper <[email protected]>
  16206. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  16207. is set so that the page visibility is updated and the tabs are
  16208. sized correctly.
  16209. 2005-01-21 Jackson Harper <[email protected]>
  16210. * TabControl.cs: Use cliping rectangle for blitting. Give the
  16211. theme the clipping rect so we can do clipping while
  16212. drawing. Remove some debug code.
  16213. 2005-01-21 Jackson Harper <[email protected]>
  16214. * TabPage.cs: Add a new method so tab pages can force the tab
  16215. control to recalculate the tab page sizes.
  16216. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  16217. sizes.
  16218. 2005-01-20 Jackson Harper <[email protected]>
  16219. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  16220. 2005-01-20 Jackson Harper <[email protected]>
  16221. * TreeView.cs: Set the bounds for nodes properly. They were
  16222. getting screwed up when checkboxes were not enabled, but images
  16223. were.
  16224. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  16225. * ListBox.cs:
  16226. - Owner draw support
  16227. - Fixes
  16228. 2005-01-20 Jackson Harper <[email protected]>
  16229. * XplatUIStructs.cs: More misc keys
  16230. * X11Keyboard.cs: Ignore some control keys.
  16231. 2005-01-20 Jackson Harper <[email protected]>
  16232. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  16233. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  16234. 2005-01-19 Peter Bartok <[email protected]>
  16235. * Control.cs: Un-selecting the control when it is loosing focus
  16236. 2005-01-19 Jackson Harper <[email protected]>
  16237. * TreeView.cs: Hook up to the text controls leave event so we can
  16238. end editing when the users clicks outside the text box.
  16239. 2005-01-19 Jackson Harper <[email protected]>
  16240. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  16241. get set in the conversion array.
  16242. 2005-01-19 Peter Bartok <[email protected]>
  16243. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  16244. focus is properly set
  16245. * Button.cs:
  16246. - Added missing attributes
  16247. - removed styles, those are already set in the base class
  16248. * ButtonBase.cs:
  16249. - Added missing attributes
  16250. - Added clip window styles
  16251. * CheckBox.cs: Added missing attributes
  16252. * CommonDialog.cs:
  16253. - FormParentWindow.CreateParams: Added required clip styles
  16254. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  16255. also filters modifier keys
  16256. * MessageBox.cs:
  16257. - Added assignment of Accept and Cancel button to enable Enter
  16258. and Esc keys in MessageBox dialogs
  16259. - FormParentWindow.CreateParams: Added required clip styles
  16260. * RadioButton.cs: Added missing attributes
  16261. * TextControl.cs: No longer draws selection if control does not
  16262. have focus
  16263. * TextBoxBase.cs:
  16264. - Now draws simple rectangle around test area to make it obvious
  16265. there's a control. This is a hack until we properly support borders
  16266. - A few simple fixes to support selections better, now erases selected
  16267. text when typing, and resets selection when using movement keys
  16268. 2005-01-19 Miguel de Icaza <[email protected]>
  16269. * UpDownBase.cs: Added some new properties.
  16270. * DomainUpDown.cs: Implement a lot to get my test working.
  16271. 2005-01-19 Geoff Norton <[email protected]>
  16272. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  16273. 2005-01-19 Geoff Norton <[email protected]>
  16274. * OSXStructs (WindowAttributes): Fixed csc complaints
  16275. 2005-01-19 Geoff Norton <[email protected]>
  16276. * XplayUIOSX.cs:
  16277. OSXStructs.cs: Initial refactor to move enums and consts into
  16278. OSXStructs and use them in the driver for greater readability.
  16279. 2005-01-19 Geoff Norton <[email protected]>
  16280. * XplatUIOSX.cs: Initial support for Standard Cursors.
  16281. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  16282. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  16283. * ComboBox.cs: ability to change style when the ctrl is already
  16284. created, missing methods and events, bug fixes, signature fixes
  16285. 2005-01-19 Peter Bartok <[email protected]>
  16286. * Cursors.cs (ctor): Added ctor to fix signature
  16287. 2005-01-18 Peter Bartok <[email protected]>
  16288. * Button.cs: Implemented DoubleClick event
  16289. * ButtonBase.cs:
  16290. - Fixed keyboard handling to behave like MS, where the press of
  16291. Spacebar is equivalent to a mousedown, and the key release is
  16292. equivalent to mouseup. Now a spacebar push will give the same
  16293. visual feedback like a mouse click.
  16294. - Added missing attributes
  16295. - Added ImeModeChanged event
  16296. - Added support for generating DoubleClick event for derived classes
  16297. * CheckBox.cs:
  16298. - Implemented DoubleClick event
  16299. - Added missing attributes
  16300. * CommonDialog.cs: Added missing attribute
  16301. * ContextMenu.cs: Added missing attributes
  16302. * RadioButton.cs:
  16303. - AutoChecked buttons do not allow to be unselected when clicked
  16304. (otherwise we might end up with no selected buttons in a group)
  16305. - Added missing attributes
  16306. - Implemented DoubleClickEvent
  16307. * ThreadExceptionDialog.cs: Enabled TextBox code
  16308. 2005-01-18 Peter Bartok <[email protected]>
  16309. * Form.cs: Removed debug output
  16310. * Button.cs: Added support for DoubleClick method
  16311. 2005-01-18 Peter Bartok <[email protected]>
  16312. * Form.cs:
  16313. - Added method to parent window that allows triggering size
  16314. calculations when a menu is added/removed
  16315. - set_Menu: Cleaned up mess from early days of Form and Control,
  16316. now properly triggers a recalc when a menu is added/removed
  16317. - Added case to select form itself as focused form if no child
  16318. controls exist
  16319. - Added PerformLayout call when showing dialog, to ensure properly
  16320. placed controls
  16321. * Control.cs:
  16322. - Select(): Made internal so Form can access it
  16323. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  16324. status
  16325. * Application.cs (Run): Removed hack and calls PerformLayout instead
  16326. to trigger calculation when Form becomes visible
  16327. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  16328. * ComboBox.cs: fixes for ownerdraw
  16329. 2005-01-18 Peter Bartok <[email protected]>
  16330. * TextControl.cs:
  16331. - Sentinel is no longer static, each Document gets it's own, this
  16332. avoids locking or alternatively overwrite problems when more
  16333. than one text control is used simultaneously.
  16334. - Switched to use Hilight and HilightText brushes for text selection
  16335. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  16336. 2005-01-18 Peter Bartok <[email protected]>
  16337. * Control.cs:
  16338. - Hooked up the following events:
  16339. o ControlAdded
  16340. o ControlRemoved
  16341. o HandleDestroyed
  16342. o ImeModeChanged
  16343. o ParentChanged
  16344. o TabStopChanged
  16345. o Invalidated
  16346. o SystemColorsChanged
  16347. o ParentFontChanged
  16348. o Move
  16349. - Removed debug output
  16350. - Added a call to the current theme's ResetDefaults when a color change
  16351. is detected
  16352. * Form.cs: Now setting the proper ImeMode
  16353. * Theme.cs: Defined a method to force recreation of cached resources
  16354. and rereading of system defaults (ResetDefaults())
  16355. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  16356. 2005-01-17 Peter Bartok <[email protected]>
  16357. * Control.cs: Added missing attributes
  16358. 2005-01-17 Jackson Harper <[email protected]>
  16359. * TreeNode.cs: Implement editing. Add missing properties selected
  16360. and visible.
  16361. * TreeView.cs: Implement node editing. Also some fixes to use
  16362. Invalidate (invalid area) instead of Refresh when selecting.
  16363. 2005-01-17 Peter Bartok <[email protected]>
  16364. * Control.cs:
  16365. - Implemented InvokeGotFocus() method
  16366. - Implemented InvokeLostFocus() method
  16367. - Implemented InvokePaint() method
  16368. - Implemented InvokePaintBackground() method
  16369. - Implemented InvokeClick() method
  16370. - Implemented FindForm() method
  16371. - Implemented RectangleToClient() method
  16372. - Implemented ClientToRectangle() method
  16373. - Implemented ResetBackColor() method
  16374. - Implemented ResetCursor() method
  16375. - Implemented ResetFont() method
  16376. - Implemented ResteForeColor() method
  16377. - Implemented ResetImeMode() method
  16378. - Implemented ResetLeftToRight() method
  16379. - Implemented ResetText() method
  16380. - Implemented Scale() methods
  16381. - Implemented ScaleCore() method
  16382. - Implemented Update() method
  16383. - Removed unused variables
  16384. - Stubbed AccessibilityNotifyClients and
  16385. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  16386. with those yet)
  16387. - Now setting proper default for RightToLeft property
  16388. - Fixed bug in SetClientSizeCore that would cause windows to get
  16389. really big
  16390. - Now sending Click/DoubleClick events
  16391. - Now selecting controls when left mouse button is clicked on
  16392. selectable control
  16393. * AccessibleEvents.cs: Added
  16394. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  16395. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  16396. * XplatUIWin32.cs: Implemented UpdateWindow() method
  16397. * XplatUIX11.cs: Implemented UpdateWindow() method
  16398. * Form.cs: Removed stray semicolon causing CS0162 warning
  16399. * ThemeWin32Classic.cs: Fixed unused variable warnings
  16400. * ScrollableControl.cs: Now calls base method for ScaleCore
  16401. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  16402. style to avoid interference with internal click handler (which is
  16403. different than standard Control click handling)
  16404. * RadioButton.cs:
  16405. - Now unchecks all sibling radio buttons when control is
  16406. selected (Fixes #68756)
  16407. - Removed internal tabstop variable, using the one inherited from
  16408. Control
  16409. 2005-01-17 Jackson Harper <[email protected]>
  16410. * NavigateEventArgs.cs: Fix base type.
  16411. * LinkLabel.cs: Sig fix
  16412. 2005-01-17 Jackson Harper <[email protected]>
  16413. * TreeView.cs: Only invalidate the effected nodes bounds when
  16414. selecting nodes.
  16415. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  16416. * XplatUIWin32.cs: fixes Win32 marshaling
  16417. * XplatUIX11.cs: fixes method signature
  16418. 2005-01-17 Peter Bartok <[email protected]>
  16419. * XplatUIX11.cs: Clean up resources when we no longer need them
  16420. 2005-01-17 Peter Bartok <[email protected]>
  16421. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  16422. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  16423. and DestroyCursor() methods.
  16424. * Cursor.cs: Partially implemented, now supports standard cursors;
  16425. still contains some debug code
  16426. * Cursors.cs: Implemented class
  16427. * Control.cs:
  16428. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  16429. appropriate cursor
  16430. - Implemented Cursor property
  16431. - Replaced break; with return; more straightforwar and possibly
  16432. faster
  16433. - Now properly setting the result for WM_HELP
  16434. * X11Structs.cs: Added CursorFontShape enum
  16435. * XplatUIStructs.cs:
  16436. - Added StdCursor enum (to support DefineStdCursor() method)
  16437. - Added HitTest enum (to support sending WM_SETCURSOR message)
  16438. * XplatUIX11.cs:
  16439. - Now sends the WM_SETCURSOR message
  16440. - Implemented new cursor methods
  16441. * XplatUIOSX.cs: Stubbed new cursor methods
  16442. * XplatUIWin32.cs:
  16443. - Implemented new cursor methods
  16444. - Added GetSystemMetrics function and associated enumeration
  16445. 2005-01-15 Peter Bartok <[email protected]>
  16446. * Control.cs:
  16447. - WndProc(): Now handles EnableNotifyMessage
  16448. - SelectNextControl(): Fixed bug where if no child or sibling
  16449. controls exist we looped endlessly
  16450. 2005-01-14 Jackson Harper <[email protected]>
  16451. * TreeView.cs: Recalculate the tab pages when a new one is added
  16452. so that the proper bounding rects are created.
  16453. 2005-01-14 Jackson Harper <[email protected]>
  16454. * TreeView.cs: Draw a gray box instead of a grip in the lower
  16455. right hand corner when there are both horizontal and vertical
  16456. scroll bars.
  16457. 2005-01-14 Jackson Harper <[email protected]>
  16458. * Control.cs: When erasing backgrounds use FromHwnd instead of
  16459. FromHdc when there is a NULL wparam. This occurs on the X driver.
  16460. * XplatUIX11.cs: Set the wparam to NULL.
  16461. 2005-01-13 Jackson Harper <[email protected]>
  16462. * PictureBox.cs: Implement missing methods (except ToString, need
  16463. to test that on windows) and events. When visibility is changed we
  16464. need to redraw the image because the buffers are killed. When size
  16465. is changed refresh if the sizemode needs it.
  16466. 2005-01-13 Peter Bartok <[email protected]>
  16467. * Control.cs (SelectNextControl): Was using wrong method to select
  16468. a control
  16469. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  16470. * ComboBox.cs: fixes dropstyle
  16471. 2005-01-13 Peter Bartok <[email protected]>
  16472. * Form.cs:
  16473. - Implemented Select() override
  16474. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  16475. - Now sets keyboard focus on startup
  16476. * Control.cs (SelectNextControl): Now properly handles directed=true
  16477. * TextBoxBase.cs:
  16478. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  16479. - Added (really bad) focus rectangle (mostly for testing)
  16480. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  16481. to enforce redraw on focus changes
  16482. * ContainerControl.cs:
  16483. - Fixed detection of Shift-Tab key presses
  16484. - Fixed traversal with arrow keys
  16485. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  16486. gonna keep this or if it's complete yet
  16487. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  16488. * ComboBox.cs: missing properties, fixes
  16489. 2005-01-13 Peter Bartok <[email protected]>
  16490. * Panel.cs (ctor): Setting Selectable window style to off
  16491. * Splitter.cs (ctor): Setting Selectable window style to off
  16492. * GroupBox.cs (ctor): Setting Selectable window style to off
  16493. * Label.cs (ctor): Setting Selectable window style to off
  16494. 2005-01-12 Miguel de Icaza <[email protected]>
  16495. * UpDownBase.cs (InitTimer): If the timer has been already
  16496. created, enable it.
  16497. Use a TextBox instead of a Label.
  16498. 2005-01-12 Jackson Harper <[email protected]>
  16499. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  16500. draw the connecting node lines (when ShowLines is true).
  16501. * TreeNode.cs: The nodes index can now be updated. This is used
  16502. when a node collection is sorted.
  16503. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  16504. insert or an existing unsorted node collection can be sorted.
  16505. 2005-01-12 Peter Bartok <[email protected]>
  16506. * ContainerControl.cs: Implemented ProcessDialogKeys()
  16507. 2005-01-12 Peter Bartok <[email protected]>
  16508. * Control.cs:
  16509. - Implemented SelectNextControl() method
  16510. - Several focus related bug fixes
  16511. - Fixed Docking calculations to match MS documentation and
  16512. behaviour
  16513. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  16514. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  16515. bug fixes
  16516. 2005-01-12 Peter Bartok <[email protected]>
  16517. * Control.cs:
  16518. - Fixed broken Contains() method
  16519. - Implemented GetNextControl() method. Finally. This is the pre-
  16520. requisite for focus handling.
  16521. 2005-01-12 Peter Bartok <[email protected]>
  16522. * OSXStrucs.cs: Added
  16523. 2005-01-12 Peter Bartok <[email protected]>
  16524. * XplatUIWin32.cs:
  16525. - Removed PeekMessageFlags
  16526. - Implemented SetWindowStyle() method
  16527. * XplatUIStructs.cs: Added PeekMessageFlags
  16528. * X11Structs: Added missing border_width field to XWindowChanges struct
  16529. * XplatUIX11.cs:
  16530. - PeekMessage: Now throws exception if flags which are not yet
  16531. supported are passed
  16532. - Implemented SetWindowStyle() method
  16533. - Fixed SetZOrder to handle AfterHwnd properly
  16534. * XplatUI.cs: Added SetWindowStyle() method
  16535. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  16536. * Control.cs:
  16537. - Implemented UpdateStyles() method
  16538. - Implemented UpdateZOrder() method
  16539. * XplatUIOSX.cs: Added SetWindowStyle() stub
  16540. 2005-01-12 Geoff Norton <[email protected]>
  16541. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  16542. button mouse).
  16543. 2005-01-11 Jackson Harper <[email protected]>
  16544. * TreeView.cs: Still need to draw lines to siblings even if out of
  16545. the current node is out of the clip.
  16546. 2005-01-11 Jackson Harper <[email protected]>
  16547. * TreeView.cs: When setting the hbar/vbar/grip position use
  16548. SetBounds so that perform layout is only called once. Also suspend
  16549. and resume layout so layout is only done once for all controls.
  16550. - Removed some debug fluff
  16551. * SizeGrip.cs: Call base implmentation in overriding methods.
  16552. - When visibility is changed the drawing buffers are killed so we
  16553. need to redraw.
  16554. 2005-01-11 Jackson Harper <[email protected]>
  16555. * TreeView.cs: Calculate the open node count while drawing. This
  16556. saves us an entire tree traversal for every paint operation. Use
  16557. a member var for the open node count so less vars are passed around.
  16558. 2005-01-11 John BouAntoun <[email protected]>
  16559. * MonthCalendar.cs:
  16560. - fixed selection to use mousemove, not mouse polling on timer
  16561. * ThemeWin32Classic.cs
  16562. - removed redundant unused variable "no_more_content"
  16563. 2005-01-11 Peter Bartok <[email protected]>
  16564. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  16565. are pending, so it now calls PeekMessage instead of GetMessage;
  16566. implemented a incomplete version of PeekMessage
  16567. 2005-01-11 Peter Bartok <[email protected]>
  16568. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  16569. I18n issues
  16570. * TextBoxBase.cs: Added sending of TextChanged event
  16571. 2005-01-10 Jackson Harper <[email protected]>
  16572. * TreeView.cs: Try not to draw outside the clipping rectangle on
  16573. each node element.
  16574. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  16575. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  16576. 2005-01-10 Jackson Harper <[email protected]>
  16577. * TreeView.cs:
  16578. - Implement fast scrolling. Now only the newly
  16579. exposed nodes are drawn and the old image is moved using the
  16580. XplatUI::ScrollWindow method.
  16581. - Factor in height of nodes when calculating whether or not the
  16582. node is in the clipping rect.
  16583. 2005-01-10 Jackson Harper <[email protected]>
  16584. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  16585. 2005-01-10 Peter Bartok <[email protected]>
  16586. * Application.cs: Added temporary hack to resolve all our resize
  16587. required issues on startup. This will get fixed properly at
  16588. some point in the future
  16589. 2005-01-10 Jackson Harper <[email protected]>
  16590. * SizeGrip.cs: New internal class that is used as a sizing
  16591. grip control...hence the name.
  16592. 2005-01-10 Peter Bartok <[email protected]>
  16593. * Control.cs: Implemented proper TabIndex handling, now assigning
  16594. a tabindex when a control is added to a container
  16595. * GroupBox.cs (ctor): Now sets the Container style bit, required
  16596. for Control.GetNextControl()
  16597. 2005-01-09 Jackson Harper <[email protected]>
  16598. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  16599. 2005-01-09 Peter Bartok <[email protected]>
  16600. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  16601. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  16602. an overload for ScrollWindow to allow only scrolling a rectangle
  16603. 2005-01-09 Peter Bartok <[email protected]>
  16604. * Form.cs:
  16605. - Implemented SetDesktopBounds method
  16606. - Implemented SetDesktopLocation method
  16607. 2005-01-08 Jackson Harper <[email protected]>
  16608. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  16609. the node count has changed, this removes to VScroll::Refresh calls
  16610. when drawing.
  16611. 2005-01-08 Geoff Norton <[email protected]>
  16612. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  16613. 2005-01-07 Jackson Harper <[email protected]>
  16614. * TreeNode.cs: Just update the single node when it is
  16615. checked. Don't refresh after toggling, the Expand/Collapse already
  16616. handles this.
  16617. * TreeView.cs: Respect clipping a little more when drawing. Try
  16618. not to redraw things that don't need to be redrawn. Just hide the
  16619. scrollbars when they are no longer needed instead of removing
  16620. them, so they don't have to be created again and again.
  16621. 2005-01-07 Geoff Norton <[email protected]>
  16622. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  16623. coordinates to window space to place the caret properly, FIXED.
  16624. Implement GetWindowState & SetWindowState
  16625. 2005-01-06 Peter Bartok <[email protected]>
  16626. * Form.cs:
  16627. - Implemented ClientSize property
  16628. - Implemented DesktopBounds property
  16629. - Implemented DesktopLocation property
  16630. - Implemented IsRestrictedWindow property
  16631. - Implemented Size property
  16632. - Implemented TopLevel property
  16633. - Implemented FormWindowState property
  16634. * Control.cs:
  16635. - Implemented GetTopLevel() method
  16636. - Implemented SetTopLevel() method
  16637. * X11Structs.cs (Atom):
  16638. - Added AnyPropertyType definition
  16639. - Added MapState definiton and updated XWindowAttribute struct
  16640. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  16641. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  16642. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  16643. * XplatUIWin32.cs:
  16644. - Implemented GetWindowState() and SetWindowState() methods
  16645. - Fixed Win32GetWindowLong return type
  16646. * XplatUIX11.cs:
  16647. - Introduced central function for sending NET_WM messages
  16648. - Implemented GetWindowState() and SetWindowState() methods
  16649. * TextBoxBase.cs (set_Lines):
  16650. - Now uses Foreground color for text added via Text property (Duh!)
  16651. - Added code to remember programmatically requested size (fixes
  16652. behaviour when Multiline is set after Size)
  16653. - Added AutoSize logic
  16654. 2005-01-06 Jackson Harper <[email protected]>
  16655. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  16656. 2005-01-06 Jackson Harper <[email protected]>
  16657. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  16658. set to less then 0.
  16659. 2005-01-06 Jackson Harper <[email protected]>
  16660. * ScrollableControl.cs: Lazy init the scrollbars.
  16661. 2005-01-06 Jackson Harper <[email protected]>
  16662. * Theme.cs: Speed up getting pens and solid brushes, by using
  16663. their ARGB as a hash instead of tostring and not calling Contains.
  16664. 2005-01-06 Peter Bartok <[email protected]>
  16665. * Form.cs:
  16666. - Implemented OnActivated and OnDeactivate event trigger
  16667. - Implemented Activate() method
  16668. - Fixed ShowDialog() to activate the form that was active before
  16669. the dialog was shown
  16670. * XplatUIX11.cs:
  16671. - Added global active_window var that tracks the currently active
  16672. X11 window
  16673. - Now always grabs Property changes from the root window to always
  16674. catch changes on the active window property
  16675. - Added code to PropertyNotify handler to send Active/Inactive
  16676. messages when state changes. This puts X11 and Win32 en par on
  16677. WM_ACTIVATE notifications (except for double notifications when
  16678. the user clicks away from our modal window to another one of our
  16679. windows)
  16680. 2005-01-05 Jackson Harper <[email protected]>
  16681. * ImageList.cs: Implment ctor
  16682. 2005-01-05 Geoff Norton <[email protected]>
  16683. * XplatUIOSX.cs: Implement Activate/SetTopmost
  16684. 2005-01-05 Geoff Norton <[email protected]>
  16685. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  16686. 2005-01-05 Geoff Norton <[email protected]>
  16687. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  16688. 2005-01-05 Peter Bartok <[email protected]>
  16689. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  16690. XplatUIOSX.cs: Added GetActive method to return the currently
  16691. active window for the application (or null, if none is active)
  16692. * Form.cs:
  16693. - Implemented ActiveForm
  16694. - Commented out owner assignment for modal dialogs (causes problems
  16695. on Win32, since the owner will be disabled)
  16696. - Reworked some Active/Focus handling (still incomplete)
  16697. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  16698. (causes problems on Win32, since the owner will be disabled)
  16699. * IWin32Window: Added ComVisible attribute
  16700. 2005-01-05 Peter Bartok <[email protected]>
  16701. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  16702. required XplatUI functions.
  16703. 2005-01-05 Peter Bartok <[email protected]>
  16704. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  16705. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  16706. to implement focus and activation handling; still incomplete and
  16707. with debug output
  16708. 2005-01-04 Peter Bartok <[email protected]>
  16709. * TextBoxBase.cs: Changed access level for Document property to
  16710. match switch to internal for TextControl
  16711. 2005-01-04 Peter Bartok <[email protected]>
  16712. * AccessibleObject: Added ComVisible attribute
  16713. 2005-01-04 Jackson Harper <[email protected]>
  16714. * X11Keyboard.cs: Remove unneeded var.
  16715. 2005-01-04 Jackson Harper <[email protected]>
  16716. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  16717. but PAINT.
  16718. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  16719. ClientMessage. This makes apps exit cleanly (more often).
  16720. 2005-01-04 Jackson Harper <[email protected]>
  16721. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  16722. handling focus, return correct colors and fonts,
  16723. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  16724. handle selection, horizontal scrolling, and mouse interaction.
  16725. 2005-01-04 Peter Bartok <[email protected]>
  16726. * ICommandExecutor.cs: Added
  16727. * IDataGridColumnStyleEditingNotificationService.cs: Added
  16728. * IFeatureSupport.cs: Added
  16729. * IFileReaderService.cs: Added
  16730. * IDataObject.cs: Added ComVisible attribute
  16731. * AmbientProperties.cs: Added
  16732. * BaseCollection.cs: Added missing attributes
  16733. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  16734. * BaseCollection.cs: Added missing attributes
  16735. * Binding.cs: Added TypeConverter attribute
  16736. * BindingContext.cs: Added DefaultEvent attribute
  16737. * BindingsCollection.cs: Added DefaultEvent attribute
  16738. * Button.cs: Added DefaultValue attribute
  16739. * DragEventArgs.cs: Added ComVisible attribute
  16740. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  16741. * KeyEventArgs.cs: Added ComVisible attribute
  16742. * KeyPressEventArgs.cs: Added ComVisible attribute
  16743. * MouseEventArgs.cs: Added ComVisible attribute
  16744. * NavigateEventArgs.cs: Added
  16745. * NavigateEventHandler.cs: Added
  16746. * FeatureSupport.cs: Added
  16747. * OSFeature.cs: Added
  16748. * Theme.cs: Added abstract Version property to support OSFeature
  16749. * ThemeWin32Classic.cs: Added Version property to
  16750. support OSFeature.Themes
  16751. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  16752. the proper styles to avoid background drawing are set, also doesn't
  16753. match MS signature
  16754. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  16755. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  16756. * ScrollEventArgs.cs: Added ComVisible attribute
  16757. * SplitterEventArgs.cs: Added ComVisible attribute
  16758. * AccessibleSelection.cs: Added Flags attribute
  16759. * Appearance.cs: Added ComVisible attribute
  16760. * Border3DSide.cs: Added ComVisible attribute
  16761. * Border3DStyle.cs: Added ComVisible attribute
  16762. * BorderStyle.cs: Added ComVisible attribute
  16763. * DragAction.cs: Added ComVisible attribute
  16764. * ErrorBlinkStyle.cs: Added
  16765. * ScrollEventType.cs: Added ComVisible attribute
  16766. * AnchorStyles.cs: Added Editor attribute
  16767. * DockStyle.cs: Added Editor attribute
  16768. * HorizontalAlignment.cs: Added ComVisible attribute
  16769. * HelpEventArgs.cs: Added ComVisible attribute
  16770. * PaintEventArgs.cs: Added IDisposable
  16771. 2005-01-04 Peter Bartok <[email protected]>
  16772. * TextControl.cs: Switched Line, LineTag and Document classes to
  16773. internal
  16774. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  16775. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  16776. Simple mode, fixes, IntegralHeight, etc.
  16777. 2005-01-04 Peter Bartok <[email protected]>
  16778. * TextBoxBase.cs: Using proper font variable now
  16779. 2005-01-04 Peter Bartok <[email protected]>
  16780. * Form.cs (ShowDialog): Set parent to owner, if provided
  16781. * GroupBox.cs: Removed unused vars
  16782. * TextControl.cs:
  16783. - Added GetHashCode() for Document and LineTag classes
  16784. - Removed unused variables
  16785. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  16786. to allow translation between continuous char position and line/pos
  16787. * CheckBox.cs: Removed vars that are provided by base class
  16788. * RadioButton.cs: Removed vars that are provided by base class, added
  16789. new keyword where required
  16790. * LinkLabel.cs: Added new keyword where required
  16791. * Control.cs (WndProc): Removed unused variable
  16792. * TextBoxBase.cs:
  16793. - Finished SelectionLength property
  16794. - Implemented SelectionStart property
  16795. - Implemented Text property
  16796. - Removed unused vars
  16797. * MessageBox.cs: Added new keyword where required
  16798. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  16799. WndProc signature
  16800. * MenuAPI.cs: Added new keyword where required
  16801. * ButtonBase.cs: Removed vars that are provided by base class, added
  16802. new keyword where required
  16803. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  16804. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  16805. into this)
  16806. * Application.cs (Run): Now triggers the ThreadExit event
  16807. * CommonDialog.cs: Added new keyword where required; now properly sets
  16808. parent (owner) for dialog
  16809. * XplatUIX11.cs: Commented out unused vars
  16810. * StatusBar.cs: Fixed signature for Text property
  16811. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  16812. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  16813. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  16814. TrackBar.cs, MonthCalendar.cs: remove unused vars
  16815. 2005-01-03 Jackson Harper <[email protected]>
  16816. * ThemeWin32Classic.cs:
  16817. * X11Keyboard.cs: Remove unused vars.
  16818. 2005-01-03 Peter Bartok <[email protected]>
  16819. * TextBox.cs:
  16820. - set_Text: Tied into TextControl
  16821. - set_TextAlignment: Tied into TextControl
  16822. * TextControl.cs:
  16823. - Added alignment properties and implemented alignment handling
  16824. and drawing (still has a bug, not generating proper expose events)
  16825. - Added new Line() constructor to allow passing the line alignment
  16826. - Fixed selection setting, properly handling end<start now
  16827. - Added aligment considerations to RecalculateDocument()
  16828. * TextBoxBase.cs:
  16829. - Now properly enforces control height for single line controls
  16830. - Added support for CharacterCasing
  16831. - Added IsInputKey override
  16832. - Fixed Keys.Enter logic
  16833. - Added SetBoundsCore override
  16834. - Fixed mouse selection handling
  16835. 2005-01-03 Jackson Harper <[email protected]>
  16836. * TreeView.cs:
  16837. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  16838. - Checkboxes are always aligned to the bottom of the node,
  16839. regardless of item height.
  16840. - Use the node bounds to draw the text so we can center it when
  16841. the item height is greater then the font height.
  16842. - Node::Bounds are only the text part of the node.
  16843. * TreeNode.cs: New method to combine collapsing and unchecking all
  16844. nodes recursively.
  16845. 2005-01-02 Jackson Harper <[email protected]>
  16846. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  16847. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  16848. tree when a check is changed. TODO: Only refresh the checked node.
  16849. 2004-12-30 Jackson Harper <[email protected]>
  16850. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  16851. * TreeNode.cs: When collapsing make sure to never collapse the
  16852. root node.
  16853. 2004-12-29 Jackson Harper <[email protected]>
  16854. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  16855. 2004-12-28 Zoltan Varga <[email protected]>
  16856. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  16857. 2004-12-28 Peter Bartok <[email protected]>
  16858. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  16859. not yet assigned
  16860. 2004-12-28 Peter Bartok <[email protected]>
  16861. * Control.cs (WndProc): Added WM_HELP handler, now generates
  16862. HelpRequested event
  16863. * Form.cs: Added HelpButton property and required support code
  16864. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  16865. 2004-12-28 Peter Bartok <[email protected]>
  16866. * CommonDialog.cs:
  16867. - Made DialogForm.owner variable internal
  16868. - Added check to ensure owner form is set before setting
  16869. owner properties in CreateParams
  16870. 2004-12-28 Geoff Norton <[email protected]>
  16871. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  16872. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  16873. GetCursorPos. Fix major visibility issues. Rework the windowing
  16874. system to support borderless/titleless windows (implements menus).
  16875. Fix GetWindowPos. Implement initial background color support for
  16876. views.
  16877. 2004-12-28 Peter Bartok <[email protected]>
  16878. * Form.cs (get_CreateParams): Make sure we have an owner before using
  16879. the owner variable. Implement proper default if no owner exists
  16880. 2004-12-28 Peter Bartok <[email protected]>
  16881. * In preparation for making Managed.Windows.Forms the default build target
  16882. for System.Windows.Forms, the following stubbed files were added.
  16883. Dialogs are currently being implemented by contributors and are only
  16884. short-term place holders.
  16885. * ColorDialog.cs: Initial check-in (minmal stub)
  16886. * DataGrid.cs: Initial check-in (minimal stub)
  16887. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  16888. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  16889. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  16890. * FontDialog.cs: Initial check-in (minimal stub)
  16891. * FileDialog.cs: Initial check-in (minimal stub)
  16892. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  16893. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  16894. * OpenFileDialog: Initial check-in (minimal stub)
  16895. * IComponentEditorPageSite.cs: Initial check-in
  16896. * Splitter.cs: Initial check-in (for Jackson)
  16897. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  16898. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  16899. * TextBox.cs: Initial check-in; still needs some wiring to
  16900. TextControl backend
  16901. * Form.cs: Implemented ControlBox property
  16902. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  16903. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  16904. * TextControl.cs: Added selection functionality; added todo header
  16905. * TextBoxBase.cs:
  16906. - Implemented Lines property
  16907. - Implemented TextHeight property
  16908. - Implemented SelectedText property
  16909. - Implemented SelectionLength property
  16910. - Implemented SelectAll method
  16911. - Implemented ToString method
  16912. - Removed and cleaned up some debug code
  16913. - Implemented (still buggy) mouse text selection
  16914. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  16915. * ComboBox.cs: Complete DropDownList implementation, fixes.
  16916. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  16917. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  16918. * ComboBoxStyle.cs: ComboBoxStyle enum
  16919. * ComboBox.cs: Initial work on ComboBox control
  16920. 2004-12-21 Peter Bartok <[email protected]>
  16921. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  16922. forward so that anything that creates a window gets the default,
  16923. also no longer uses Visible property in CreateParams to avoid
  16924. walking up the parent chain and possibly get the wrong visible
  16925. status. Fixed IsVisible to no longer walk up to the parent.
  16926. 2004-12-21 Peter Bartok <[email protected]>
  16927. * Form.cs (ShowDialog): Unset modality for the proper window
  16928. 2004-12-20 Peter Bartok <[email protected]>
  16929. * CommonDialog.cs: Initial check-in
  16930. 2004-12-20 Peter Bartok <[email protected]>
  16931. * Control.cs (Visible): Now uses the parent window instead of the
  16932. client area window for the property
  16933. * Form.cs
  16934. - ShowDialog(): Now uses the proper window for modality
  16935. - The default visibility state for the form parent is now false. This
  16936. will prevent the user from seeing all the changes to the form and
  16937. its controls before the application hits Application.Run()
  16938. - Removed some stale commented out code
  16939. * NativeWindow.cs:
  16940. - Added FindWindow() method to have a method to check for existence
  16941. of a window handle
  16942. - Added ability to override default exception handling (for example
  16943. when debugging with VS.Net; to do this the ExternalExceptionHandler
  16944. define must be set
  16945. - Removed some useless debug output
  16946. * XplatUIX11.cs:
  16947. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  16948. not working as expected
  16949. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  16950. property to allow switching back to the modal window if focus is
  16951. given to another one of our windows (Application Modal)
  16952. - Now only sets override_redirect if we create a window
  16953. without WS_CAPTION
  16954. - Moved EventMask selection before mapping of newly created window
  16955. so we can catch the map event as well
  16956. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  16957. - Added various Atom related DllImports
  16958. - Implemented Exit() method
  16959. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  16960. in the CreateParams
  16961. * MessageBox.cs: Now properly deals with the FormParent window by
  16962. providing an override the FormParent CreateParams property to
  16963. set as POPUP instead of OVERLAPPED window.
  16964. 2004-12-19 Geoff Norton <[email protected]>
  16965. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  16966. Minor code cleanup.
  16967. 2004-12-19 Geoff Norton <[email protected]>
  16968. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  16969. 2004-12-18 Peter Bartok <[email protected]>
  16970. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  16971. implementing SetModal() method
  16972. 2004-12-18 Peter Bartok <[email protected]>
  16973. * X11Structs.cs (XGCValues): Fixed type of function element
  16974. * XplatUI.cs: Added ScrollWindow() method
  16975. * XplatUIDriver.cs: Added ScrollWindow() abstract
  16976. * XplatUIWin32.cs: Implemented ScrollWindow() method
  16977. * XplatUIX11.cs: Implemented ScrollWindow() method
  16978. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  16979. 2004-12-17 Geoff Norton <[email protected]>
  16980. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  16981. Some more keyboard support (INCOMPLETE)
  16982. 2004-12-17 Peter Bartok <[email protected]>
  16983. * TextControl.cs:
  16984. - Added color attribute to line tags.
  16985. - Added color argument to all functions dealing with tags
  16986. - Added color argument support to various functions
  16987. - Fixed miss-calculation of baseline/shift in certain circumstances
  16988. * TextBoxBase.cs: Added new color option to test code
  16989. 2004-12-17 Jackson Harper <[email protected]>
  16990. * TreeNode.cs:
  16991. * MonthCalendar.cs: Signature fixes
  16992. 2004-12-17 Geoff Norton <[email protected]>
  16993. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  16994. keyboard event moved it. Create a new graphics context for each paint resolves this
  16995. 2004-12-17 Geoff Norton <[email protected]>
  16996. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  16997. Make caret exist and go blink blink. Initial keyboard support.
  16998. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  16999. works.
  17000. 2004-12-17 Jackson Harper <[email protected]>
  17001. * XplatUIStructs.cs: Updated set of virtual keycodes.
  17002. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  17003. 2004-12-17 Jackson Harper <[email protected]>
  17004. * XplatUIX11.cs: Prune old keyboard code.
  17005. 2004-12-17 Jackson Harper <[email protected]>
  17006. * XplatUIX11.cs: When generating mouse wparams get the modifier
  17007. keys from the ModifierKeys property.
  17008. 2004-12-17 Jackson Harper <[email protected]>
  17009. * X11Keyboard.cs: Send up/down input when generating
  17010. messages. Remove some unused vars.
  17011. 2004-12-17 Jackson Harper <[email protected]>
  17012. * TabControl.cs:
  17013. * TreeView.cs: get rid of warnings.
  17014. 2004-12-17 Jackson Harper <[email protected]>
  17015. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  17016. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  17017. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  17018. CheckedListBox.cs: Implementation
  17019. 2004-12-17 Peter Bartok <[email protected]>
  17020. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  17021. 2004-12-16 Peter Bartok <[email protected]>
  17022. * TextControl.cs:
  17023. - InsertCharAtCaret(): Fixed start pos fixup
  17024. - CaretLine_get: No longer derives the line from the tag, the tag
  17025. could be stale if lines in the document have been added or deleted
  17026. - RebalanceAfterDelete(): Fixed bug in balancing code
  17027. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  17028. - Line.Streamline(): Now can also elminate leading empty tags
  17029. - DumpTree(): Added a few more tests and prevented exception on
  17030. uninitialized data
  17031. - Added Debug section for Combining lines
  17032. - Delete(): Now copies all remaining properties of a line
  17033. * TextBoxBase.cs:
  17034. - Left mousebutton now sets the caret (and middle button still acts
  17035. as formatting tester, which must go away soon)
  17036. - Added Debug section for Deleting/Combining lines
  17037. - Fixed calculations for UpdateView after Combining lines
  17038. 2004-12-16 Peter Bartok <[email protected]>
  17039. * TextControl.cs: Now properly aligns text on a baseline, using the
  17040. new XplatUI.GetFontMetrics() method. Simplified several calculations
  17041. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  17042. defined
  17043. 2004-12-16 Peter Bartok <[email protected]>
  17044. * XplatUI.cs: Added GetFontMetrics() method
  17045. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  17046. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  17047. into libgdiplus, our private GetFontMetrics function
  17048. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  17049. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  17050. 2004-12-16 Jackson Harper <[email protected]>
  17051. * XplatUIStruct.cs: Add enum for dead keys
  17052. * X11Keyboard.cs: Map and unmap dead keys.
  17053. 2004-12-16 Jackson Harper <[email protected]>
  17054. * X11Keyboard.cs: Detect and use the num lock mask.
  17055. 2004-12-16 Peter Bartok <[email protected]>
  17056. * Control.cs (CreateGraphics): Added check to make sure the
  17057. handle of the window exists before calling Graphics.FromHwnd()
  17058. 2004-12-16 Peter Bartok <[email protected]>
  17059. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  17060. contains a lot of code that's not supposed to be there for the
  17061. real thing, but required for developing/testing the textbox
  17062. backend.
  17063. 2004-12-16 Peter Bartok <[email protected]>
  17064. * TextControl.cs:
  17065. - Fixed Streamline method
  17066. - Added FindTag method to Line
  17067. - Added DumpTree method for debugging
  17068. - Added DecrementLines() method for deleting lines
  17069. - Fixed UpdateView to update the cursor to end-of-line on single-line
  17070. updates
  17071. - Added PositionCaret() method
  17072. - Fixed MoveCaret(LineDown) to move into the last line, too
  17073. - Added InsertChar overload
  17074. - Fixed InsertChar tag offset calculations
  17075. - Added DeleteChar() method
  17076. - Added Combine() method for folding lines
  17077. - Fixed Delete() method, no longer allocates wasted Line object and
  17078. now copies all properties when swapping nodes
  17079. - Delete() method now updates document line counter
  17080. 2004-12-15 Jackson Harper <[email protected]>
  17081. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  17082. * X11Keyboard.cs: Expose the currently selected modifier keys
  17083. through a property.
  17084. 2004-12-15 Peter Bartok <[email protected]>
  17085. * TextControl.cs: Initial check-in. Still incomplete
  17086. 2004-12-15 Jackson Harper <[email protected]>
  17087. * TreeNode.cs:
  17088. * TreeView.cs: Fix build on csc (second time today ;-))
  17089. 2004-12-15 Jackson Harper <[email protected]>
  17090. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  17091. is calculated and use this for click testing.
  17092. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  17093. 2004-12-15 Jackson Harper <[email protected]>
  17094. * TreeView.cs: Pass the nodes image index to the image list when
  17095. drawing that image.
  17096. 2004-12-15 Jackson Harper <[email protected]>
  17097. * X11Keyboard.cs: Set messages hwnd.
  17098. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  17099. post_message calls.
  17100. 2004-12-15 Jackson Harper <[email protected]>
  17101. * X11Keyboard.cs: Fix to compile with csc.
  17102. 2004-12-15 Jackson Harper <[email protected]>
  17103. * X11Structs.cs: Add key mask values
  17104. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  17105. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  17106. down/up foo into WM_CHAR foo
  17107. * KeyboardLayouts.cs: Common keyboard layouts
  17108. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  17109. post messages into the main queue.
  17110. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  17111. * Button.cs: implement ProcessMnemonic
  17112. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  17113. brushes everytime
  17114. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  17115. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  17116. 2004-12-12 John BouAntoun <[email protected]>
  17117. * MonthCalendar.cs: Implemented click-hold for next/previous month
  17118. and date selection
  17119. 2004-12-11 Peter Bartok <[email protected]>
  17120. * X11Structs.cs:
  17121. - Added XKeyboardState (moved from XplatUIX11.cs)
  17122. - Added XCreateGC related enums and structures
  17123. - Added GXFunction for XSetFunction
  17124. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  17125. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  17126. CaretVisible() calls
  17127. * ToolTip.cs: Added code to prevent stealing focus from app windows
  17128. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  17129. DestroyCaret, SetCaretPos and CaretVisible)
  17130. * XplatUIX11.cs:
  17131. - Added implementation for caret functions
  17132. - Moved hover variables into a struct, to make it a bit easier
  17133. on the eyes and to debug
  17134. - Removed XKeyboardState (moved to XplatUIX11.cs)
  17135. - Moved Keyboard properties into the properties region
  17136. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  17137. call to get a graphics context for our control
  17138. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  17139. * TreeView.cs: Fixed bug. No matter what color was set it would always
  17140. return SystemColors.Window
  17141. * XplatUIWin32.cs: Implemented caret overrides
  17142. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  17143. * ListBox.cs: fire events, implement missing methods and properties,
  17144. sorting.
  17145. 2004-12-10 John BouAntoun <[email protected]>
  17146. * MonthCalendar.cs: invalidation bug fixing
  17147. * ThemeWin32Classic.cs: paint fixing
  17148. 2004-12-09 Geoff Norton <[email protected]>
  17149. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  17150. prepare the CGContextRef there now.
  17151. 2004-12-09 John BouAntoun <[email protected]>
  17152. * MonthCalendar.cs:
  17153. - optimisationL only invalidate areas that have changed
  17154. * ThemeWin32Classic.cs:
  17155. - only paint parts that intersect with clip_area
  17156. 2004-12-09 Peter Bartok <[email protected]>
  17157. * Application.cs: Undid changes from r37004 which cause problems
  17158. on X11
  17159. 2004-12-09 Ravindra <[email protected]>
  17160. * ToolBar.cs: Added support for displaying ContextMenu
  17161. attached to a button on ToolBar.
  17162. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  17163. property.
  17164. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  17165. * Label.cs: autosize works in text change and removes unnecessary
  17166. invalidate
  17167. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  17168. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  17169. remove warnings
  17170. 2004-12-08 Geoff Norton <[email protected]>
  17171. * XplatUIOSX.cs: Added mouse move/click/grab support
  17172. Remove some debugging WriteLines not needed anymore.
  17173. Add window resizing/positioning.
  17174. Fix visibility on reparenting.
  17175. 2004-12-08 Peter Bartok <[email protected]>
  17176. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  17177. 2004-12-07 Geoff Norton <[email protected]>
  17178. * XplatUIOSX.cs: Initial checkin
  17179. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  17180. 2004-12-03 Ravindra <[email protected]>
  17181. * ListView.cs: Added some keybindings and fixed scrolling.
  17182. ScrollBars listen to ValueChanged event instead of Scroll
  17183. Event. This would let us take care of all changes being
  17184. done in the scrollbars' values programmatically or manually.
  17185. * ListView.cs (CanMultiselect): Added a check for shift key.
  17186. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  17187. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  17188. of ListViewSubItemCollection as well.
  17189. 2004-12-06 Peter Bartok <[email protected]>
  17190. * Control.cs (Parent): Added check and exception to prevent
  17191. circular parenting
  17192. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  17193. * ListBox.cs: implemented clipping, selection single and multiple,
  17194. bug fixing
  17195. 2004-12-03 Ravindra <[email protected]>
  17196. * ListView.cs (ListView_KeyDown):
  17197. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  17198. when CTRL key is pressed.
  17199. * ListViewItem.cs (Selected): Fixed setting the property.
  17200. 2004-12-03 Marek Safar <[email protected]>
  17201. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  17202. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  17203. MinimizeBox, ShowInTaskbar, TopMost properties.
  17204. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  17205. will be implemented).
  17206. 2004-12-03 Marek Safar <[email protected]>
  17207. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  17208. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  17209. tests.
  17210. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  17211. * TreeView.cs: BackColor is Colors.Window.
  17212. 2004-12-01 Jackson Harper <[email protected]>
  17213. * TreeView.cs: When resizing the tree if the user is making it
  17214. smaller we don't get expose events, so we need to handle adding
  17215. the horizontal scrollbar in the size changed handler as well as
  17216. the expose handler.
  17217. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  17218. * DrawItemState.cs: fixes wrong enum values
  17219. 2004-12-01 Jackson Harper <[email protected]>
  17220. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  17221. 2004-12-01 Jackson Harper <[email protected]>
  17222. * NodeLabelEditEventArgs.cs:
  17223. * NodeLabelEditEventHandler.cs:
  17224. * OpenTreeNodeEnumerator.cs:
  17225. * TreeNode.cs:
  17226. * TreeNodeCollection.cs:
  17227. * TreeView.cs:
  17228. * TreeViewAction.cs:
  17229. * TreeViewCancelEventArgs.cs:
  17230. * TreeViewCancelEventHandler.cs:
  17231. * TreeViewEventArgs.cs:
  17232. * TreeViewEventHandler.cs: Initial implementation.
  17233. 2004-12-01 Ravindra <[email protected]>
  17234. * ListView.cs (CalculateListView): Fixed scrolling related
  17235. calculations. Also, removed some debug statements from other
  17236. places.
  17237. * ListViewItem.cs: Changed access to 'selected' instance variable
  17238. from private to internal.
  17239. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  17240. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  17241. * ThemeWin32Classic.cs: remove cache of brush and pens for
  17242. specific controls and use the global system, fixes scrollbutton
  17243. bugs (for small sizes, disabled, etc)
  17244. * ScrollBar.cs: does not show the thumb for very small controls
  17245. (as MS) and allow smaller buttons that the regular size
  17246. 2004-12-01 Miguel de Icaza <[email protected]>
  17247. * UpDownBase.cs: Add abstract methods for the interface.
  17248. Add new virtual methods (need to be hooked up to TextEntry when it
  17249. exists).
  17250. Add override methods for most features.
  17251. Computes the size, forces the height of the text entry.
  17252. * NumericUpDown.cs: Put here the current testing code.
  17253. * Set eol-style property on all files that do not have mixed line
  17254. endings, to minimize the future problems. There are still a few
  17255. files with mixed endings, and someone should choose whether they
  17256. want to move it or not.
  17257. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  17258. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  17259. System.Colors
  17260. 2004-11-30 Ravindra <[email protected]>
  17261. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  17262. drawing and replaced use of SystemColors by theme colors.
  17263. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  17264. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  17265. same ListViewItem is being added more than once.
  17266. 2004-11-30 John BouAntoun <[email protected]>
  17267. * MonthCalendar.cs:
  17268. - ControlStyles love to make the control not flicker
  17269. 2004-11-30 Peter Bartok <[email protected]>
  17270. * CharacterCasing.cs: Added
  17271. 2004-11-29 Peter Bartok <[email protected]>
  17272. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  17273. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  17274. I am removing these files as they conflict with already completed
  17275. work. While it is fantastic to get contributions to MWF, I
  17276. respectfully ask that everyone please coordinate their contributions
  17277. through mono-winforms-list or #mono-winforms at this time. We're
  17278. explicitly avoiding stubbing and don't want controls that don't have
  17279. their basic functionality implemented in svn. Please also see
  17280. http://www.mono-project.com/contributing/winforms.html
  17281. 2004-11-29 Marek Safar <[email protected]>
  17282. * Application.cs (ModalRun): Don't hang after exit.
  17283. * Theme.cs: New TreeViewDefaultSize property.
  17284. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  17285. with less hardcoded SystemColors constant.
  17286. Implemented TreeViewDefaultSize.
  17287. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  17288. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  17289. 2004-11-29 John BouAntoun <[email protected]>
  17290. * MonthCalendar.cs:
  17291. - Fix NextMonthDate and PrevMonthDate click moving calendar
  17292. 2004-11-26 John BouAntoun <[email protected]>
  17293. * MonthCalendar.cs:
  17294. - Fix usage of ScrollChange Property when scrolling months
  17295. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  17296. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  17297. - Fixes menu destroying
  17298. - Support adding and removing items on already created menus
  17299. 2004-11-26 John BouAntoun <[email protected]>
  17300. * MonthCalendar.cs:
  17301. - Re-worked all bolded dates handling to match win32
  17302. * ThemeWin32Classic.cs:
  17303. - Fixed rendering with bolded dates
  17304. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  17305. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  17306. - Horizontal scroolbar
  17307. - Multicolumn
  17308. - Fixes
  17309. 2004-11-25 John BouAntoun <[email protected]>
  17310. * MonthCalendar.cs:
  17311. - Fix Usage of MaxSelectionCount from SelectionRange
  17312. - Fixed Shift + Cursor Selection
  17313. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  17314. - Fixed normal cursor selection to be compat with win32
  17315. - Fixed Shift + Mouse Click selection
  17316. 2004-11-24 Peter Bartok <[email protected]>
  17317. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  17318. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  17319. * XplatUIX11.cs:
  17320. - CreatedKeyBoardMsg now updates keystate with Alt key
  17321. - Added workaround for timer crash to CheckTimers, Jackson will
  17322. develop a proper fix and check in later
  17323. - Implemented DispatchMessage
  17324. - Removed calling the native window proc from GetMessage (call
  17325. now moved to DispatchMessage)
  17326. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  17327. the keydata (Fixes bug #69831)
  17328. * XplatUIWin32.cs:
  17329. - (DispatchMessage): Switched to return IntPtr
  17330. - Added DllImport for SetFocus
  17331. 2004-11-24 Ravindra <[email protected]>
  17332. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  17333. background drawing.
  17334. * ListViewItem.cs: Fixed various properties, calculations
  17335. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  17336. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  17337. and some internal properties. Fixed MouseDown handler and Paint
  17338. method.
  17339. 2004-11-24 John BouAntoun <[email protected]>
  17340. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  17341. 2004-11-24 John BouAntoun <[email protected]>
  17342. * ContainerControl.cs: correct accidental check in of local changes
  17343. 2004-11-24 John BouAntoun <[email protected]>
  17344. * ThemeWin32Classic.cs:
  17345. - Fixed Drawing Last month in grid (sometimes not showing)
  17346. * MonthCalendar.cs:
  17347. - Fixed title width calculation bug (makeing title small)
  17348. 2004-11-23 Peter Bartok <[email protected]>
  17349. * XplatUIX11.cs:
  17350. - Added generation of WM_MOUSEHOVER event
  17351. - Added missing assignment of async_method atom
  17352. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  17353. 2004-11-23 John BouAntoun <[email protected]>
  17354. * ThemeWin32Classic.cs:
  17355. - Fixed Drawing of today circle when showtodaycircle not set
  17356. - fixed drawing of first and last month in the grid (gay dates)
  17357. * MonthCalendar.cs:
  17358. - Fixed Drawing of today circle
  17359. - Fixed drawing of grady dates
  17360. - Fixed HitTest for today link when ShowToday set to false
  17361. - Fixed DefaultSize to obey ShowToday
  17362. 2004-11-23 John BouAntoun <[email protected]>
  17363. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  17364. * System.Windows.Forms/Theme.cs
  17365. * MonthCalendar.cs: added for MonthCalendar
  17366. * SelectionRange.cs: added for MonthCalendar
  17367. * Day.cs: added for MonthCalendar: added for MonthCalendar
  17368. * DateRangeEventArgs.cs: added for MonthCalendar
  17369. * DateRangeEventHandler.cs: added for MonthCalendar
  17370. 2004-11-22 Ravindra <[email protected]>
  17371. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  17372. property.
  17373. 2004-11-22 Miguel de Icaza <[email protected]>
  17374. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  17375. event handler.
  17376. * NumericUpDown.cs: Added new implementation.
  17377. * UpDownBase.cs: Added new implementation.
  17378. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  17379. implementations.
  17380. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  17381. implementations.
  17382. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  17383. methods.
  17384. 2004-11-21 Miguel de Icaza <[email protected]>
  17385. * Timer.cs (Dispose): Should call the base dispose when
  17386. overriding.
  17387. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  17388. * ScrollBar.cs: updates thumb position when max, min or increment
  17389. is changed
  17390. 2004-11-21 Ravindra <[email protected]>
  17391. * ListView.cs: Implemented item selection, activation and
  17392. column header style. Fixed properties to do a redraw, if
  17393. required. Added support for MouseHover, DoubleClick, KeyDown
  17394. and KeyUp event handling and some minor fixes.
  17395. * ListViewItem.cs: Fixed constructor.
  17396. * ThemeWin32Classic.cs: Improved drawing for ListView.
  17397. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  17398. * ThemeWin32Classic.cs: initial listbox drawing code
  17399. * DrawMode.cs: new enumerator
  17400. * ListControl.cs: stubbed class
  17401. * ListBox.cs: initial implementation
  17402. * Theme.cs: new methods definitions
  17403. * SelectionMode.cs: new enumerator
  17404. 2004-11-17 Peter Bartok <[email protected]>
  17405. * XplatUIWin32.cs: Added double-click events to the class style
  17406. * Control.cs (WndProc):
  17407. - Added handling of click-count to MouseDown/ MouseUp events.
  17408. - Added handling of middle and right mouse buttons
  17409. - Removed old debug code
  17410. 2004-11-17 Jackson Harper <[email protected]>
  17411. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  17412. 2004-11-17 Ravindra <[email protected]>
  17413. * ListView.cs: Added event handling for MouseMove/Up/Down.
  17414. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  17415. * ThemeWin32Classic.cs: We need to clear the graphics context and
  17416. draw column header in a proper state.
  17417. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  17418. * Menu.cs: fixes signature
  17419. 2004-11-16 Peter Bartok <[email protected]>
  17420. * XplatUIX11.cs (GetMessage): Implemented generation of
  17421. double click mouse messages
  17422. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  17423. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  17424. not by menu
  17425. 2004-11-11 Peter Bartok <[email protected]>
  17426. * HandleData.cs: Added Visible property
  17427. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  17428. HandleData
  17429. * XplatUIX11.cs: Removed old debug leftovers
  17430. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  17431. * Control.cs (WndProc): Removed old debug leftovers,
  17432. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  17433. needed WM_SIZE handling
  17434. 2004-11-11 Jackson Harper <[email protected]>
  17435. * OwnerDrawPropertyBag.cs:
  17436. * TreeViewImageIndexConverter.cs: Initial implementation
  17437. 2004-11-10 Jackson Harper <[email protected]>
  17438. * ThemeWin32Classic.cs:
  17439. * TabControl.cs: instead of moving tabs by the slider pos just
  17440. start drawing at the tab that is offset by the slider. This way
  17441. scrolling always moves by exactly one tab.
  17442. 2004-11-10 Jackson Harper <[email protected]>
  17443. * TabControl.cs: You can only scroll left when the slider has
  17444. already ben moved right.
  17445. 2004-11-10 Jackson Harper <[email protected]>
  17446. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  17447. the clip area.
  17448. 2004-11-10 Jackson Harper <[email protected]>
  17449. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  17450. clip area.
  17451. 2004-11-09 Jackson Harper <[email protected]>
  17452. * TabControl.cs (CalcXPos): New helper method so we can determine
  17453. the proper place to start drawing vertical tabs.
  17454. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  17455. 2004-11-09 Jackson Harper <[email protected]>
  17456. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  17457. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  17458. and Bottom, left and right are illegal values for this and
  17459. multiline is enabled when the alignment is set to left or right.
  17460. (DrawTab): Each alignment block should draw the text itself now
  17461. because Left requires special love. Also add rendering for Left
  17462. aligned tabs.
  17463. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  17464. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  17465. does not destroy the windows, removes debugging messages
  17466. 2004-11-09 jba <[email protected]>
  17467. * ThemeWin32Classic.cs
  17468. (DrawButtonBase): Fix verticle text rect clipping in windows
  17469. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  17470. rendering and incorrect text rect clipping
  17471. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  17472. rendering and incorrect text rect clipping
  17473. 2004-11-08 Jackson Harper <[email protected]>
  17474. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  17475. bottom when they are bottom aligned so the bottoms of the tabs get
  17476. displayed.
  17477. * TabControl.cs (DropRow): Move rows up instead of down when the
  17478. tab control is bottom aligned.
  17479. 2004-11-08 13:59 pbartok
  17480. * XplatUIX11.cs:
  17481. - Added handling for various window styles
  17482. - Added handling for popup windows
  17483. - Added SetTopmost handling
  17484. 2004-11-08 13:55 pbartok
  17485. * XplatUIWin32.cs:
  17486. - Added argument to SetTopmost method
  17487. - Fixed broken ClientToScreen function
  17488. 2004-11-08 13:53 pbartok
  17489. * XplatUIStructs.cs:
  17490. - Added missing WS_EX styles
  17491. 2004-11-08 13:53 pbartok
  17492. * XplatUI.cs, XplatUIDriver.cs:
  17493. - Added argument to SetTopmost
  17494. 2004-11-08 13:52 pbartok
  17495. * X11Structs.cs:
  17496. - Added XSetWindowAttributes structure
  17497. - Improved XWindowAttributes structure
  17498. - Added SetWindowValuemask enum
  17499. - Added window creation arguments enum
  17500. - Added gravity enum
  17501. - Added Motif hints structure
  17502. - Added various Motif flags and enums
  17503. - Added PropertyMode enum for property functions
  17504. 2004-11-08 13:50 pbartok
  17505. * Form.cs:
  17506. - Fixed arguments for updated SetTopmost method
  17507. 2004-11-08 13:49 pbartok
  17508. * ToolTip.cs:
  17509. - Fixed arguments for updated SetTopmost function
  17510. - Fixed usage of PointToClient
  17511. 2004-11-08 13:44 pbartok
  17512. * MenuAPI.cs:
  17513. - Added Clipping of children and siblings
  17514. 2004-11-08 13:41 pbartok
  17515. * MainMenu.cs:
  17516. - Removed SetMenuBarWindow call. We do this in Form.cs
  17517. 2004-11-08 13:40 jackson
  17518. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  17519. scrolling jimmi in the correct location with bottom aligned tabs
  17520. 2004-11-08 13:36 pbartok
  17521. * ContainerControl.cs:
  17522. - Implemented BindingContext
  17523. - Implemented ParentForm
  17524. 2004-11-08 12:46 jackson
  17525. * TabControl.cs: Put bottom rendered tabs in the right location
  17526. 2004-11-08 07:15 jordi
  17527. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  17528. removes dead code
  17529. 2004-11-05 17:30 jackson
  17530. * TabControl.cs: When selected tabs are expanded make sure they
  17531. don't go beyond the edges of the tab control
  17532. 2004-11-05 14:57 jackson
  17533. * TabControl.cs: Reset show_slider so if the control is resized to
  17534. a size where it is no longer needed it's not displayed anymore
  17535. 2004-11-05 13:16 jackson
  17536. * TabControl.cs: Make tab pages non visible when added to the
  17537. control
  17538. 2004-11-05 12:42 jackson
  17539. * TabControl.cs: Implement SizeMode.FillToRight
  17540. 2004-11-05 12:16 jackson
  17541. * Control.cs: Do not call CreateHandle if the handle is already
  17542. created
  17543. 2004-11-05 11:46 jackson
  17544. * TabControl.cs: Remove superflous call to CalcTabRows
  17545. 2004-11-05 09:07 jackson
  17546. * XplatUIX11.cs: Update for Mono.Posix changes
  17547. 2004-11-05 07:00 ravindra
  17548. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  17549. scrolling.
  17550. 2004-11-04 22:47 jba
  17551. * ThemeWin32Classic.cs:
  17552. - Fix Button rendering for FlatStyle = Flat or Popup
  17553. - Fix RadioButton and CheckBox rendering when Appearance = Button
  17554. (normal and flatstyle).
  17555. - Correct outer rectangle color when drawing focus rectangle
  17556. - Adjust button bounds to be 1 px smaller when focused
  17557. - Make button not draw sunken 3d border when pushed (windows compat)
  17558. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  17559. - Offset the text in RadioButton and Checkbox when being rendered as
  17560. a button.
  17561. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  17562. radiobuttons
  17563. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  17564. - Fixed disabled text rendering for normally rendered radiobuttons
  17565. 2004-11-04 10:26 jackson
  17566. * TabControl.cs: Recalculate tab rows when resizing
  17567. 2004-11-04 07:47 jordi
  17568. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  17569. collection completion, drawing issues, missing features
  17570. 2004-11-04 05:03 ravindra
  17571. * ScrollBar.cs:
  17572. - We need to recalculate the Thumb area when
  17573. LargeChange/maximum/minimum values are changed.
  17574. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  17575. than minimum. This is required to handle the case if large_change is
  17576. more than max, and use LargeChange property instead of large_change
  17577. variable.
  17578. - We return max+1 when large_change is more than max, like MS does.
  17579. 2004-11-04 04:29 ravindra
  17580. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  17581. - Changed default value signatures (prefixed all with ListView).
  17582. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  17583. ListView.
  17584. - Fixed calculations for ListViewItem and implemented Clone()
  17585. method.
  17586. 2004-11-04 04:26 ravindra
  17587. * Theme.cs, ThemeWin32Classic.cs:
  17588. - Changed default ListView values signatures (prefixed all with
  17589. ListView).
  17590. - Fixed default size values for VScrollBar and HScrollBar.
  17591. - Fixed DrawListViewItem method.
  17592. 2004-11-04 04:05 ravindra
  17593. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  17594. 2004-11-04 04:04 ravindra
  17595. * ImageList.cs: Implemented the missing overload for Draw method.
  17596. 2004-11-03 19:29 jackson
  17597. * TabControl.cs: Handle dropping rows on selection properly
  17598. 2004-11-03 11:59 jackson
  17599. * TabControl.cs: remove debug code
  17600. 2004-11-03 11:52 jackson
  17601. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  17602. the scrolly widgerywoo
  17603. 2004-11-02 13:52 jackson
  17604. * TabControl.cs: Resize the tab pages and tabs when the tab control
  17605. is resized
  17606. 2004-11-02 13:40 jackson
  17607. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  17608. selected tab to the bottom
  17609. 2004-11-02 13:39 jackson
  17610. * TabPage.cs: Store the tab pages row
  17611. 2004-11-02 12:33 jordi
  17612. * MenuItem.cs: fixes handle creation
  17613. 2004-11-02 11:42 jackson
  17614. * TabControl.cs: signature fix
  17615. 2004-11-02 08:56 jackson
  17616. * TabControl.cs: Calculate whether the tab is on an edge properly.
  17617. Remove top secret debugging code
  17618. 2004-11-01 19:57 jackson
  17619. * TabControl.cs: Add click handling, and proper sizing
  17620. 2004-11-01 19:47 jackson
  17621. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  17622. tab controls
  17623. 2004-11-01 19:39 jackson
  17624. * TabPage.cs: add internal property to store the bounds of a tab
  17625. page
  17626. 2004-10-30 04:23 ravindra
  17627. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  17628. values.
  17629. 2004-10-30 04:21 ravindra
  17630. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  17631. fixed calculations.
  17632. 2004-10-30 03:06 pbartok
  17633. * XplatUIX11.cs:
  17634. - Removed extension of DllImported libs
  17635. 2004-10-29 09:55 jordi
  17636. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  17637. navigation, itemcollection completion, menu fixes
  17638. 2004-10-27 22:58 pbartok
  17639. * XplatUIX11.cs:
  17640. - Now throws a nice error message when no X display could be opened
  17641. 2004-10-26 13:51 jordi
  17642. * ListView.cs: removes warning
  17643. 2004-10-26 03:55 ravindra
  17644. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  17645. ThemeWin32Classic.cs: Some formatting for my last checkins.
  17646. 2004-10-26 03:36 ravindra
  17647. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  17648. control and default values.
  17649. 2004-10-26 03:35 ravindra
  17650. * Theme.cs: Added some default values for ListView control.
  17651. 2004-10-26 03:33 ravindra
  17652. * ToolBar.cs: ToolBar should use the user specified button size, if
  17653. there is any. Added a size_specified flag for the same.
  17654. 2004-10-26 03:33 ravindra
  17655. * ColumnHeader.cs: Added some internal members and calculations for
  17656. ColumnHeader.
  17657. 2004-10-26 03:32 ravindra
  17658. * ListViewItem.cs: Calculations for ListViewItem.
  17659. 2004-10-26 03:31 ravindra
  17660. * ListView.cs: Added some internal members and calculations for
  17661. ListView.
  17662. 2004-10-22 13:31 jordi
  17663. * MenuAPI.cs: speedup menus drawing
  17664. 2004-10-22 13:16 jackson
  17665. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  17666. expose event
  17667. 2004-10-22 11:49 jackson
  17668. * Control.cs: oops
  17669. 2004-10-22 11:41 jackson
  17670. * Control.cs: Check to see if the window should have its background
  17671. repainted by X when drawing.
  17672. 2004-10-22 11:31 jackson
  17673. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  17674. clear is true, this way we do not get flicker from X repainting the
  17675. background
  17676. 2004-10-22 11:28 jackson
  17677. * XEventQueue.cs: Queue properly
  17678. 2004-10-21 09:38 jackson
  17679. * XEventQueue.cs: Fix access modifier
  17680. 2004-10-21 09:36 jackson
  17681. * XEventQueue.cs: Don't loose messages
  17682. 2004-10-21 09:22 jackson
  17683. * XEventQueue.cs: Don't loose messages
  17684. 2004-10-20 04:15 jordi
  17685. * BootMode.cs: enum need it by SystemInfo
  17686. 2004-10-19 21:58 pbartok
  17687. * XplatUIWin32.cs:
  17688. - Small sanity check
  17689. 2004-10-19 21:56 pbartok
  17690. * Form.cs:
  17691. - Added private FormParentWindow class which acts as the container
  17692. for our form and as the non-client area where menus are drawn
  17693. - Added/Moved required tie-ins to Jordi's menus
  17694. - Fixed/Implemented the FormStartPosition functionality
  17695. 2004-10-19 21:52 pbartok
  17696. * Control.cs:
  17697. - Removed unneeded locals
  17698. - Added code to all size and location properties to understand and
  17699. deal with the parent container of Form
  17700. 2004-10-19 21:33 pbartok
  17701. * Application.cs:
  17702. - Fixed to deal with new Form subclasses for menus
  17703. 2004-10-19 17:48 jackson
  17704. * XEventQueue.cs: commit correct version of file
  17705. 2004-10-19 16:50 jackson
  17706. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  17707. 2004-10-19 16:15 jordi
  17708. * MenuAPI.cs: MenuBarCalcSize returns the height
  17709. 2004-10-19 08:31 pbartok
  17710. * Control.cs:
  17711. - Added missing call to PreProcessMessage before calling OnXXXKey
  17712. methods
  17713. 2004-10-19 00:04 ravindra
  17714. * ToolTip.cs: Fixed constructor.
  17715. 2004-10-18 09:31 jordi
  17716. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  17717. 2004-10-18 09:26 jordi
  17718. * MenuItem.cs: fixes MenuItem class signature
  17719. 2004-10-18 08:56 jordi
  17720. * MenuAPI.cs: prevents windows from showing in the taskbar
  17721. 2004-10-18 00:28 ravindra
  17722. * ToolTip.cs: Suppressed a warning message.
  17723. 2004-10-18 00:27 ravindra
  17724. * Control.cs: Default value of visible property must be true.
  17725. 2004-10-17 23:19 pbartok
  17726. * ToolTip.cs:
  17727. - Complete implementation
  17728. 2004-10-17 23:19 pbartok
  17729. * XplatUIX11.cs:
  17730. - Added EnableWindow method
  17731. - Added SetModal stub
  17732. - Added generation of WM_ACTIVATE message (still needs testing)
  17733. - Added SetTopMost stub
  17734. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  17735. 2004-10-17 23:17 pbartok
  17736. * XplatUIWin32.cs:
  17737. - Removed VirtualKeys to XplatUIStructs
  17738. - Implemented SetTopMost method
  17739. - Implemented EnableWindow method
  17740. - Bugfix in ScreenToClient()
  17741. - Bugfixes in ClientToScreen()
  17742. 2004-10-17 22:51 pbartok
  17743. * XplatUIStructs.cs:
  17744. - Added WS_EX styles to WindowStyles enumeration
  17745. 2004-10-17 22:50 pbartok
  17746. * XplatUI.cs, XplatUIDriver.cs:
  17747. - Added method for enabling/disabling windows
  17748. - Added method for setting window modality
  17749. - Added method for setting topmost window
  17750. 2004-10-17 22:49 pbartok
  17751. * ThemeWin32Classic.cs:
  17752. - Added ToolTip drawing code
  17753. 2004-10-17 22:49 pbartok
  17754. * Theme.cs:
  17755. - Added ToolTip abstracts
  17756. 2004-10-17 22:47 pbartok
  17757. * Form.cs:
  17758. - Fixed Form.ControlCollection to handle owner relations
  17759. - Added Owner/OwnedForms handling
  17760. - Implemented Z-Ordering for owned forms
  17761. - Removed unneeded private overload of ShowDialog
  17762. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  17763. so I hope)
  17764. - Fixed Close(), had wrong default
  17765. - Added firing of OnLoad event
  17766. - Added some commented out debug code for Ownership handling
  17767. 2004-10-17 22:16 pbartok
  17768. * Control.cs:
  17769. - Fixed/implemented flat list of controls
  17770. 2004-10-17 22:14 pbartok
  17771. * Application.cs:
  17772. - Added code to simulate modal dialogs on Win32
  17773. 2004-10-17 16:11 jordi
  17774. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  17775. mouse event
  17776. 2004-10-17 13:39 jordi
  17777. * MenuAPI.cs: menu drawing fixes
  17778. 2004-10-15 09:10 ravindra
  17779. * StructFormat.cs: General Enum.
  17780. 2004-10-15 09:09 ravindra
  17781. * SizeGripStyle.cs: Enum for Form.
  17782. 2004-10-15 09:08 ravindra
  17783. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  17784. in Theme for ListView.
  17785. 2004-10-15 09:06 ravindra
  17786. * ColumnHeader.cs: Flushing some formatting changes.
  17787. 2004-10-15 09:05 ravindra
  17788. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  17789. style.
  17790. 2004-10-15 09:03 ravindra
  17791. * ListView.cs: Implemented Paint method and fixed coding style.
  17792. 2004-10-15 07:34 jordi
  17793. * MenuAPI.cs: fix for X11
  17794. 2004-10-15 07:32 ravindra
  17795. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  17796. - Renamed Paint() method to Draw() for clarity. Also, moved
  17797. DrawImage() to OnPaint().
  17798. 2004-10-15 07:25 ravindra
  17799. * CheckBox.cs, RadioButton.cs:
  17800. - Removed Redraw (), we get it from ButtonBase.
  17801. - Implemented Paint (), to do class specific painting.
  17802. 2004-10-15 07:16 ravindra
  17803. * ButtonBase.cs:
  17804. - Redraw () is not virtual now.
  17805. - Added an internal virtual method Paint (), so that
  17806. derived classes can do their painting on their own.
  17807. - Modified OnPaint () to call Paint ().
  17808. 2004-10-15 06:43 jordi
  17809. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  17810. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  17811. 2004-10-15 00:30 ravindra
  17812. * MessageBox.cs:
  17813. - MessageBox on windows does not have min/max buttons.
  17814. This change in CreateParams fixes this on Windows. We
  17815. still need to implement this windowstyle behavior in
  17816. our X11 driver.
  17817. 2004-10-14 05:14 ravindra
  17818. * ToolBar.cs:
  17819. - Changed Redraw () to do a Refresh () always.
  17820. - Fixed the MouseMove event handling when mouse is pressed,
  17821. ie drag event handling.
  17822. - Replaced the usage of ToolBarButton.Pressed property to
  17823. ToolBarButton.pressed internal variable.
  17824. 2004-10-14 05:10 ravindra
  17825. * ToolBarButton.cs:
  17826. - Added an internal member 'inside' to handle mouse move
  17827. with mouse pressed ie mouse drag event.
  17828. - Changed 'Pressed' property to return true only when
  17829. 'inside' and 'pressed' are both true.
  17830. - Some coding style love.
  17831. 2004-10-14 00:17 ravindra
  17832. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  17833. public method.
  17834. 2004-10-14 00:15 ravindra
  17835. * ButtonBase.cs: Redraw () related improvements.
  17836. 2004-10-14 00:14 ravindra
  17837. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  17838. removed unnecessary calls to Button.Show () method.
  17839. 2004-10-13 17:50 pbartok
  17840. * XplatUIX11.cs:
  17841. - Formatting fix
  17842. - Removed destroying of window until we solve the problem of X
  17843. destroying the window before us on shutdown
  17844. 2004-10-13 16:32 pbartok
  17845. * ButtonBase.cs:
  17846. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  17847. 2004-10-13 14:18 pbartok
  17848. * XplatUIX11.cs:
  17849. - Added code to destroy the X window
  17850. 2004-10-13 14:18 pbartok
  17851. * XplatUIWin32.cs:
  17852. - Added code to destroy a window
  17853. 2004-10-13 14:12 pbartok
  17854. * ButtonBase.cs:
  17855. - Added the Redraw on Resize that got dropped in the last rev
  17856. 2004-10-13 09:06 pbartok
  17857. * ThemeWin32Classic.cs:
  17858. - Path from John BouAntoun:
  17859. * Fix check rendering (centre correctly for normal style, offset
  17860. correctly for FlatStyle).
  17861. * Fix border color usage (use backcolor) for FlatStyle.Popup
  17862. * Use checkbox.Capture instead of checkbox.is_pressed when
  17863. rendering flatstyle states.
  17864. 2004-10-12 21:48 pbartok
  17865. * ThemeWin32Classic.cs:
  17866. - Removed all occurences of SystemColors and replaced them with the
  17867. matching theme color
  17868. 2004-10-12 21:41 pbartok
  17869. * ThemeWin32Classic.cs:
  17870. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  17871. him using the function for flatstyle drawing
  17872. - Changed functions to use the new version of CPDrawBorder3D
  17873. 2004-10-12 21:15 pbartok
  17874. * ControlPaint.cs:
  17875. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  17876. match MS documentation. They need to return defined colors if the
  17877. passed color matches the configured control color. Thanks to John
  17878. BouAntoun for pointing this out.
  17879. 2004-10-12 20:57 pbartok
  17880. * Control.cs:
  17881. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  17882. color is changed
  17883. 2004-10-12 20:46 pbartok
  17884. * CheckBox.cs:
  17885. - Fix from John BouAntoun: Now properly sets the Appearance property
  17886. 2004-10-12 20:45 pbartok
  17887. * ThemeWin32Classic.cs:
  17888. - Fixes from John BouAntoun: now handles forecolors and backcolors
  17889. for flatstyle rendered controls much better; It also fixes normal
  17890. checkbox rendering when pushed or disabled.
  17891. 2004-10-08 02:50 jordi
  17892. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  17893. work
  17894. 2004-10-07 08:56 jordi
  17895. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  17896. 2004-10-06 03:59 jordi
  17897. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  17898. XplatUIWin32.cs: removes warnings from compilation
  17899. 2004-10-05 12:23 jackson
  17900. * RadioButton.cs: Fix ctor
  17901. 2004-10-05 11:10 pbartok
  17902. * MessageBox.cs:
  17903. - Partial implementation by Benjamin Dasnois
  17904. 2004-10-05 10:15 jackson
  17905. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  17906. by John BouAntoun
  17907. 2004-10-05 03:07 ravindra
  17908. * ToolBar.cs:
  17909. - Removed a private method, Draw ().
  17910. - Fixed the ButtonDropDown event handling.
  17911. - Fixed MouseMove event handling.
  17912. 2004-10-05 03:04 ravindra
  17913. * ThemeWin32Classic.cs:
  17914. - Added DrawListView method and ListViewDefaultSize property.
  17915. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  17916. - Changed DOS style CRLF to Unix format (dos2unix).
  17917. 2004-10-05 03:03 ravindra
  17918. * Theme.cs:
  17919. - Added DrawListView method and ListViewDefaultSize property.
  17920. 2004-10-05 02:42 ravindra
  17921. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  17922. clicks on DropDown arrow.
  17923. 2004-10-04 22:56 jackson
  17924. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  17925. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  17926. Control handle the buffers, derived classes should not have to
  17927. CreateBuffers themselves.
  17928. 2004-10-04 21:20 jackson
  17929. * StatusBar.cs: The control handles resizing the buffers now.
  17930. 2004-10-04 21:18 jackson
  17931. * Control.cs: When resizing the buffers should be invalidated. This
  17932. should be handled in Control not in derived classes.
  17933. 2004-10-04 14:45 jackson
  17934. * TabPage.cs: oops
  17935. 2004-10-04 02:14 pbartok
  17936. * LeftRightAlignment.cs:
  17937. - Initial check-in
  17938. 2004-10-04 01:09 jordi
  17939. * ThemeWin32Classic.cs: fixes right button position causing right
  17940. button not showing on horizontal scrollbars
  17941. 2004-10-02 13:12 pbartok
  17942. * XplatUIX11.cs:
  17943. - Simplified the Invalidate method by using an X call instead of
  17944. generating the expose ourselves
  17945. - Added an expose when the window background is changed
  17946. - Implemented ClientToScreen method
  17947. 2004-10-02 13:08 pbartok
  17948. * XplatUIWin32.cs:
  17949. - Added Win32EnableWindow method (test for implementing modal
  17950. dialogs)
  17951. - Added ClientToScreen method and imports
  17952. 2004-10-02 13:07 pbartok
  17953. * XplatUI.cs, XplatUIDriver.cs:
  17954. - Added ClientToScreen coordinate translation method
  17955. 2004-10-02 13:06 pbartok
  17956. * KeyPressEventArgs.cs:
  17957. - Fixed access level for constructor
  17958. 2004-10-02 13:06 pbartok
  17959. * NativeWindow.cs:
  17960. - Changed access level for the window_collection hash table
  17961. 2004-10-02 13:05 pbartok
  17962. * Form.cs:
  17963. - Added KeyPreview property
  17964. - Added Menu property (still incomplete, pending Jordi's menu work)
  17965. - Implemented ProcessCmdKey
  17966. - Implemented ProcessDialogKey
  17967. - Implemented ProcessKeyPreview
  17968. 2004-10-02 13:02 pbartok
  17969. * Control.cs:
  17970. - Added private method to get the Control object from the window
  17971. handle
  17972. - Implemented ContextMenu property
  17973. - Implemented PointToScreen
  17974. - Implemented PreProcessMessage
  17975. - Implemented IsInputChar
  17976. - Implemented IsInputKey
  17977. - Implemented ProcessCmdKey
  17978. - Completed ProcessKeyEventArgs
  17979. - Fixed message loop to call the proper chain of functions on key
  17980. events
  17981. - Implemented ProcessDialogChar
  17982. - Implemented ProcessDialogKey
  17983. - Implemented ProcessKeyMessage
  17984. - Implemented ProcessKeyPreview
  17985. - Added RaiseDragEvent stub (MS internal method)
  17986. - Added RaiseKeyEvent stub (MS internal method)
  17987. - Added RaiseMouseEvent stub (MS Internal method)
  17988. - Added RaisePaintEvent stub (MS Internal method)
  17989. - Added ResetMouseEventArgs stub (MS Internal method)
  17990. - Implemented RtlTranslateAlignment
  17991. - Implemented RtlTranslateContent
  17992. - Implemented RtlTranslateHorizontal
  17993. - Implemented RtlTranslateLeftRight
  17994. - Added generation of KeyPress event
  17995. 2004-10-02 05:57 ravindra
  17996. * ListViewItem.cs: Added attributes.
  17997. 2004-10-02 05:32 ravindra
  17998. * ListView.cs: Added attributes.
  17999. 2004-10-01 11:53 jackson
  18000. * Form.cs: Implement the Close method so work on MessageBox can
  18001. continue.
  18002. 2004-09-30 14:06 pbartok
  18003. * XplatUIX11.cs:
  18004. - Bug fixes
  18005. 2004-09-30 11:34 jackson
  18006. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  18007. 2004-09-30 07:26 ravindra
  18008. * ListViewItemConverter.cs: Converter for ListViewItem.
  18009. 2004-09-30 07:26 ravindra
  18010. * SortOrder.cs: Enum for ListView control.
  18011. 2004-09-30 07:25 ravindra
  18012. * ColumnHeader.cs: Supporting class for ListView control.
  18013. 2004-09-30 07:24 ravindra
  18014. * ListView.cs, ListViewItem.cs: Initial implementation.
  18015. 2004-09-30 07:20 ravindra
  18016. * ItemActivation.cs: Enum for ListView Control.
  18017. 2004-09-29 20:29 pbartok
  18018. * XplatUIX11.cs:
  18019. - Added lookup of pixel value for background color; tries to get a
  18020. color 'close' to the requested color, it avoids having to create a
  18021. colormap. Depending on the display this could mean the used color
  18022. is slightly off the desired color. Might have to change it to a more
  18023. resource intensive colormap approach, but it will work as a
  18024. workaround to avoid red screens.
  18025. 2004-09-29 14:27 jackson
  18026. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  18027. 2004-09-28 12:44 pbartok
  18028. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  18029. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  18030. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  18031. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  18032. TrackBar.cs, VScrollBar.cs:
  18033. - Streamlined Theme interfaces:
  18034. * Each DrawXXX method for a control now is passed the object for
  18035. the control to be drawn in order to allow accessing any state the
  18036. theme might require
  18037. * ControlPaint methods for the theme now have a CP prefix to avoid
  18038. name clashes with the Draw methods for controls
  18039. * Every control now retrieves it's DefaultSize from the current
  18040. theme
  18041. 2004-09-28 12:17 jackson
  18042. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  18043. drawing
  18044. 2004-09-24 14:57 jackson
  18045. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  18046. Gives us a nice little performance boost.
  18047. 2004-09-24 12:02 jackson
  18048. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  18049. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  18050. Control and supporting classes. Initial checkin
  18051. 2004-09-23 13:08 jackson
  18052. * Form.cs: Temp build fixage
  18053. 2004-09-23 01:39 ravindra
  18054. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  18055. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  18056. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  18057. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  18058. EventHandlers needed by ListView Control.
  18059. 2004-09-22 14:12 pbartok
  18060. * ScrollableControl.cs:
  18061. - Implemented DockPadding property
  18062. - Implemented AutoScroll property
  18063. - Implemented AutoScrollMargin property
  18064. - Implemented AutoScrollMinSize property
  18065. - Implemented AutoScrollPosition property
  18066. - Implemented DisplayRectangle property (still incomplete)
  18067. - Implemented CreateParams property
  18068. - Implemented HScroll property
  18069. - Implemented VScroll property
  18070. - Implemented OnVisibleChanged property
  18071. 2004-09-22 14:09 pbartok
  18072. * Form.cs:
  18073. - Added Form.ControllCollection class
  18074. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  18075. RemoveOwnedForm (still incomplete, missing on-top and common
  18076. minimize/maximize behaviour)
  18077. - Added StartPosition property (still incomplete, does not use when
  18078. creating the form)
  18079. - Added ShowDialog() methods (still incomplete, missing forcing the
  18080. dialog modal)
  18081. 2004-09-22 14:05 pbartok
  18082. * Application.cs:
  18083. - Added message loop for modal dialogs
  18084. 2004-09-22 14:02 pbartok
  18085. * GroupBox.cs:
  18086. - Fixed wrong types for events
  18087. 2004-09-22 14:00 pbartok
  18088. * Shortcut.cs, FormWindowState.cs:
  18089. - Fixed wrong values
  18090. 2004-09-22 12:01 jackson
  18091. * Control.cs: Text is never null
  18092. 2004-09-20 22:14 pbartok
  18093. * XplatUIWin32.cs:
  18094. - Fixed accessibility level for Idle handler
  18095. 2004-09-20 18:54 jackson
  18096. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  18097. XplatUIX11.cs: New message loop that uses poll so we don't get a
  18098. busy loop
  18099. 2004-09-17 10:43 pbartok
  18100. * ScrollBar.cs:
  18101. - Fixed behaviour of arrow buttons. Now properly behaves like
  18102. Buttons (and like Microsoft's scrollbar arrow buttons)
  18103. 2004-09-17 10:14 pbartok
  18104. * ScrollBar.cs:
  18105. - Added missing release of keyboard/mouse capture
  18106. 2004-09-17 06:18 jordi
  18107. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  18108. Theme.cs: Very early menu support
  18109. 2004-09-16 17:45 pbartok
  18110. * XplatUIWin32.cs:
  18111. - Fixed sending a window to the front
  18112. - Added overload for SetWindowPos to avoid casting
  18113. 2004-09-16 17:44 pbartok
  18114. * Control.cs:
  18115. - Added SendToBack and BringToFront methods
  18116. 2004-09-16 07:00 ravindra
  18117. * Copyright: Added Novell URL.
  18118. 2004-09-16 07:00 ravindra
  18119. * ToolBar.cs: Invalidate should be done before redrawing.
  18120. 2004-09-15 21:19 ravindra
  18121. * ColumnHeaderStyle.cs: Enum for ListView Control.
  18122. 2004-09-15 21:18 ravindra
  18123. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  18124. ListView Control.
  18125. 2004-09-13 18:26 jackson
  18126. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  18127. properly
  18128. 2004-09-13 18:13 jackson
  18129. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  18130. a second thread and post messages into the main threads message
  18131. queue. This makes timing much more consistent. Both win2K and XP
  18132. have a minimum timer value of 15 milliseconds, so we now do this
  18133. too.
  18134. 2004-09-13 15:18 pbartok
  18135. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  18136. XplatUIX11.cs:
  18137. - Added Z-Ordering methods
  18138. 2004-09-13 10:56 pbartok
  18139. * Form.cs:
  18140. - Fixed #region names
  18141. - Moved properties and methods into their proper #regions
  18142. 2004-09-13 10:51 pbartok
  18143. * Form.cs:
  18144. - Added Accept and CancelButton properties
  18145. - Added ProcessDialogKey() method
  18146. 2004-09-13 08:18 pbartok
  18147. * IWindowTarget.cs:
  18148. - Initial check-in
  18149. 2004-09-10 21:50 pbartok
  18150. * Control.cs:
  18151. - Added DoDragDrop() [incomplete]
  18152. - Properly implemented 'Visible' handling
  18153. - Added SetVisibleCore()
  18154. - Implemented FindChildAtPoint()
  18155. - Implemented GetContainerControl()
  18156. - Implemented Hide()
  18157. 2004-09-10 19:28 pbartok
  18158. * Control.cs:
  18159. - Moved methods into their appropriate #regions
  18160. - Reordered methods within regions alphabetically
  18161. 2004-09-10 18:57 pbartok
  18162. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  18163. - Added method to retrieve text from window
  18164. 2004-09-10 18:56 pbartok
  18165. * Control.cs:
  18166. - Moved some internal functions into the internal region
  18167. - Implemented FontHeight
  18168. - Implemented RenderRightToLeft
  18169. - Implemented ResizeRedraw
  18170. - Implemented ShowFocusCues
  18171. - Implemented ShowKeyboardCues
  18172. - Implemented FromChildHandle
  18173. - Implemented FromHandle
  18174. - Implemented IsMnemonic
  18175. - Implemented ReflectMessage
  18176. - All public and protected Static Methods are now complete
  18177. 2004-09-10 16:54 pbartok
  18178. * Control.cs:
  18179. - Implemented remaining missing public instance properties
  18180. - Alphabetized some out of order properties
  18181. 2004-09-10 05:51 ravindra
  18182. * PictureBox.cs: Added a check for null image.
  18183. 2004-09-10 00:59 jordi
  18184. * GroupBox.cs: remove cvs tag
  18185. 2004-09-09 05:25 ravindra
  18186. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  18187. 2004-09-09 05:23 ravindra
  18188. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  18189. parent redraw.
  18190. 2004-09-09 02:28 pbartok
  18191. * ThemeWin32Classic.cs:
  18192. - Improve disabled string look
  18193. 2004-09-09 01:15 jordi
  18194. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  18195. args and handler
  18196. 2004-09-08 23:56 ravindra
  18197. * ItemBoundsPortion.cs: It's enum, not a class!
  18198. 2004-09-08 23:47 ravindra
  18199. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  18200. Enums for Form.
  18201. 2004-09-08 21:13 ravindra
  18202. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  18203. ListView control.
  18204. 2004-09-08 21:03 ravindra
  18205. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  18206. avoid crash.
  18207. 2004-09-08 21:01 ravindra
  18208. * ScrollableControl.cs: Removed unreachable code.
  18209. 2004-09-08 06:45 jordi
  18210. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  18211. 2004-09-08 01:00 jackson
  18212. * XplatUIX11.cs: Only run the timers when updating the message
  18213. queue. This effectively gives X messages a higher priority then
  18214. timer messages. Timers still need love though
  18215. 2004-09-07 14:01 jackson
  18216. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  18217. this for us and the handle is no longer valid.
  18218. 2004-09-07 13:59 jackson
  18219. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  18220. loop that manages to not crash. TODO: Add poll and cleanup timers
  18221. 2004-09-07 11:12 jordi
  18222. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  18223. 2004-09-07 03:40 jordi
  18224. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  18225. fixes, methods, multiple links
  18226. 2004-09-06 06:55 jordi
  18227. * Control.cs: Caches ClientRectangle rectangle value
  18228. 2004-09-05 02:03 jordi
  18229. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  18230. certain situations
  18231. 2004-09-04 11:10 jordi
  18232. * Label.cs: Refresh when font changed
  18233. 2004-09-02 16:24 pbartok
  18234. * Control.cs:
  18235. - Added sanity check to creation of double buffer bitmap
  18236. 2004-09-02 16:24 pbartok
  18237. * ButtonBase.cs:
  18238. - Fixed selection of text color
  18239. - Fixed handling of resize event; now properly recreates double
  18240. buffering bitmap
  18241. - Added missing assignment of TextAlignment
  18242. - Added proper default for TextAlignment
  18243. 2004-09-02 14:26 pbartok
  18244. * RadioButton.cs:
  18245. - Added missing RadioButton.RadioButtonAccessibleObject class
  18246. 2004-09-02 14:26 pbartok
  18247. * Control.cs:
  18248. - Added missing Control.ControlAccessibleObject class
  18249. - Started to implement Select()ion mechanisms, still very incomplete
  18250. 2004-09-02 14:25 pbartok
  18251. * AccessibleObject.cs:
  18252. - Added missing methods
  18253. 2004-09-02 14:23 pbartok
  18254. * AccessibleNavigation.cs, AccessibleSelection.cs:
  18255. - Initial check-in
  18256. 2004-09-02 10:32 jordi
  18257. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  18258. pool for pens, brushes, and hatchbruses
  18259. 2004-09-01 15:30 jackson
  18260. * StatusBar.cs: Fix typo
  18261. 2004-09-01 14:44 pbartok
  18262. * RadioButton.cs:
  18263. - Fixed state
  18264. 2004-09-01 14:39 pbartok
  18265. * Button.cs, RadioButton.cs:
  18266. - Functional initial check-in
  18267. 2004-09-01 14:01 pbartok
  18268. * CheckBox.cs:
  18269. - Added missing default
  18270. - Added missing region mark
  18271. 2004-09-01 09:10 jordi
  18272. * Label.cs: fixes method signatures, new methods, events, fixes
  18273. autosize
  18274. 2004-09-01 07:19 jordi
  18275. * Control.cs: Init string variables with an empty object
  18276. 2004-09-01 04:20 jordi
  18277. * Control.cs: fires OnFontChanged event
  18278. 2004-08-31 20:07 pbartok
  18279. * ButtonBase.cs:
  18280. - Enabled display of strings
  18281. 2004-08-31 20:05 pbartok
  18282. * Form.cs:
  18283. - Added (partial) implementation of DialogResult; rest needs to be
  18284. implemented when the modal loop code is done
  18285. 2004-08-31 19:55 pbartok
  18286. * CheckBox.cs:
  18287. - Fixed to match the removal of the needs_redraw concept
  18288. 2004-08-31 19:55 pbartok
  18289. * ButtonBase.cs:
  18290. - Removed the rather odd split between 'needs redraw' and redrawing
  18291. - Now handles the events that require regeneration (ambient
  18292. properties and size)
  18293. 2004-08-31 19:41 pbartok
  18294. * Control.cs:
  18295. - Added firing of BackColorChanged event
  18296. - Added TopLevelControl property
  18297. - Fixed handling of WM_ERASEBKGRND message
  18298. 2004-08-31 12:49 pbartok
  18299. * ButtonBase.cs:
  18300. - Removed debug
  18301. - Minor fixes
  18302. 2004-08-31 12:48 pbartok
  18303. * CheckBox.cs:
  18304. - Finished (famous last words)
  18305. 2004-08-31 04:35 jordi
  18306. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  18307. scrolling bugs, adds new methods
  18308. 2004-08-30 14:42 pbartok
  18309. * CheckBox.cs:
  18310. - Implemented CheckBox drawing code
  18311. 2004-08-30 14:42 pbartok
  18312. * ButtonBase.cs:
  18313. - Made Redraw() and CheckRedraw() virtual
  18314. - Improved mouse up/down/move logic to properly track buttons
  18315. 2004-08-30 09:44 pbartok
  18316. * CheckBox.cs:
  18317. - Updated to fix broken build. Not complete yet.
  18318. 2004-08-30 09:28 pbartok
  18319. * CheckState.cs:
  18320. - Initial checkin
  18321. 2004-08-30 09:17 pbartok
  18322. * Appearance.cs:
  18323. - Initial check-in
  18324. 2004-08-27 16:12 ravindra
  18325. * ToolBarButton.cs: Added TypeConverter attribute.
  18326. 2004-08-27 16:07 ravindra
  18327. * ImageIndexConverter.cs: Implemented.
  18328. 2004-08-27 14:17 pbartok
  18329. * Control.cs:
  18330. - Removed unneeded stack vars
  18331. - First attempt to fix sizing issues when layout is suspended
  18332. 2004-08-25 15:35 jordi
  18333. * ScrollBar.cs: more fixes to scrollbar
  18334. 2004-08-25 14:04 ravindra
  18335. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  18336. Added the missing divider code and grip for ToolBar Control.
  18337. 2004-08-25 13:20 pbartok
  18338. * Control.cs:
  18339. - Control now properly passes the ambient background color to child
  18340. controls
  18341. 2004-08-25 13:20 jordi
  18342. * ScrollBar.cs: small bug fix regarding bar position
  18343. 2004-08-25 12:33 pbartok
  18344. * Timer.cs:
  18345. - Now only calls SetTimer or KillTimer if the enabled state has
  18346. changed
  18347. 2004-08-25 12:33 pbartok
  18348. * XplatUIWin32.cs:
  18349. - Fixed timer handling, now seems to work
  18350. - Improved error message for window creation
  18351. 2004-08-25 12:32 pbartok
  18352. * Control.cs:
  18353. - Fixed generation of MouseUp message
  18354. 2004-08-25 12:29 jordi
  18355. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  18356. and fixes for progressbar
  18357. 2004-08-24 18:43 ravindra
  18358. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  18359. in ToolBar control.
  18360. 2004-08-24 17:15 pbartok
  18361. * Panel.cs:
  18362. - Added #region
  18363. - Added missing events
  18364. - Alphabetized
  18365. 2004-08-24 17:14 pbartok
  18366. * StatusBar.cs, PictureBox.cs:
  18367. - Now uses Control's CreateParams
  18368. 2004-08-24 16:36 pbartok
  18369. * XplatUIX11.cs:
  18370. - Fixed background color handling
  18371. - Fixed sending of enter/leave events on a grab
  18372. 2004-08-24 16:35 pbartok
  18373. * X11Structs.cs:
  18374. - Refined definitions for CrossingEvent
  18375. 2004-08-24 12:37 jordi
  18376. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  18377. formmating, methods signature, and adds missing events
  18378. 2004-08-24 12:24 jordi
  18379. * Control.cs: fire OnEnabledChanged event
  18380. 2004-08-24 11:17 pbartok
  18381. * XplatUIWin32.cs:
  18382. - Implemented SetTimer() and KillTimer()
  18383. 2004-08-24 11:16 pbartok
  18384. * XplatUIX11.cs:
  18385. - Now uses Remove instead of Add to kill the timer
  18386. 2004-08-24 10:16 jackson
  18387. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  18388. picture boxes in the theme now. Draw picture box borders and obey
  18389. sizing modes
  18390. 2004-08-24 05:49 jackson
  18391. * Timer.cs: Remove top secret debugging code
  18392. 2004-08-24 05:34 jackson
  18393. * PictureBox.cs: Temp hack to make picture boxes draw their full
  18394. image
  18395. 2004-08-24 05:29 jackson
  18396. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  18397. XplatUIX11.cs: Move timers to the driver level. On X they are
  18398. queued by the driver and checked on idle.
  18399. 2004-08-24 01:07 jackson
  18400. * XplatUIX11.cs: Use a queue for async messages instead of passing
  18401. them as ClientMessages since that was totally broken. Also simply
  18402. check for events and return an idle message if none are found. This
  18403. gives us an idle handler, and prevents deadlocking when no messages
  18404. are in the queue.
  18405. 2004-08-23 18:19 ravindra
  18406. * XplatUIWin32.cs: Removed the unwanted destructor.
  18407. 2004-08-23 17:27 pbartok
  18408. * ButtonBase.cs:
  18409. - Finishing touches. Works now, just needs some optimizations.
  18410. 2004-08-23 16:53 jordi
  18411. * ScrollBar.cs: small fix
  18412. 2004-08-23 16:45 pbartok
  18413. * Application.cs:
  18414. - Removed debug output
  18415. - Simplifications
  18416. 2004-08-23 16:43 jordi
  18417. * ScrollBar.cs: [no log message]
  18418. 2004-08-23 16:10 pbartok
  18419. * Form.cs:
  18420. - Fixed handling of WM_CLOSE message
  18421. - Removed debug output
  18422. 2004-08-23 16:09 pbartok
  18423. * Application.cs:
  18424. - Added handling of Idle event
  18425. - Added handling of form closing
  18426. - Fixed reporting of MessageLoop property
  18427. - Removed some unneeded code, should provide a bit of a speedup
  18428. 2004-08-23 15:22 pbartok
  18429. * Control.cs:
  18430. - Added InitLayout() method
  18431. - Added code to properly perform layout when Anchor or Dock property
  18432. is changed
  18433. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  18434. LAMESPEC, tried to do it in a way that makes sense
  18435. 2004-08-23 14:10 jordi
  18436. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  18437. properties and methods
  18438. 2004-08-23 13:55 pbartok
  18439. * Control.cs:
  18440. - Properly fixed Jordi's last fix
  18441. - Now uses Cursor's Position property instead of calling XplatUI
  18442. directly
  18443. 2004-08-23 13:44 jordi
  18444. * PaintEventHandler.cs: Adding missing attribute
  18445. 2004-08-23 13:39 pbartok
  18446. * Cursor.cs:
  18447. - Implemented Position property
  18448. 2004-08-23 13:39 pbartok
  18449. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  18450. - Added method to move mouse cursor
  18451. 2004-08-23 13:39 pbartok
  18452. * XplatUIX11.cs:
  18453. - Fixed setting of background color
  18454. - Added method to move mouse cursor
  18455. 2004-08-23 13:16 jordi
  18456. * Control.cs: avoids null exception
  18457. 2004-08-22 17:46 jackson
  18458. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  18459. PictureBox
  18460. 2004-08-22 17:40 jackson
  18461. * XplatUIX11.cs: Add some missing locks
  18462. 2004-08-22 15:10 pbartok
  18463. * Control.cs, Form.cs:
  18464. - Removed OverlappedWindow style from Control, instead it's default
  18465. now is child
  18466. - Made form windows OverlappedWindow by default
  18467. 2004-08-22 13:34 jackson
  18468. * ScrollBar.cs: Update the position through the Value property so
  18469. the OnValueChanged event is raised.
  18470. 2004-08-22 12:04 pbartok
  18471. * SWF.csproj:
  18472. - Added Cursor.cs and UserControl.cs
  18473. 2004-08-22 12:03 pbartok
  18474. * Cursor.cs:
  18475. - Started implementation, not usable yet
  18476. 2004-08-22 12:00 pbartok
  18477. * UserControl.cs:
  18478. - Implemented UserControl (complete)
  18479. 2004-08-21 19:20 ravindra
  18480. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  18481. 2004-08-21 18:49 ravindra
  18482. * ToolBar.cs: Probably this completes the missing attributes in
  18483. toolbar control.
  18484. 2004-08-21 18:03 ravindra
  18485. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  18486. Fixed toolbar control signatures.
  18487. 2004-08-21 16:32 pbartok
  18488. * LinkLabel.cs:
  18489. - Signature Fixes
  18490. 2004-08-21 16:30 pbartok
  18491. * Label.cs:
  18492. - Signature fixes
  18493. 2004-08-21 16:19 pbartok
  18494. * Control.cs, Label.cs:
  18495. - Signature fixes
  18496. 2004-08-21 15:57 pbartok
  18497. * ButtonBase.cs:
  18498. - Added loads of debug output for development
  18499. - Fixed typo in method name
  18500. 2004-08-21 15:52 pbartok
  18501. * ToolBarButtonClickEventArgs.cs:
  18502. - Added missing base class
  18503. 2004-08-21 14:53 pbartok
  18504. * Control.cs:
  18505. - Updated to match new GrabWindow signature
  18506. 2004-08-21 14:51 pbartok
  18507. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18508. - Added method to get default display size
  18509. 2004-08-21 14:23 pbartok
  18510. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18511. - Added method to query current grab state
  18512. - Added argument to allow confining a grab to a window
  18513. 2004-08-21 14:22 pbartok
  18514. * Keys.cs:
  18515. - Added [Flags] attribute so that modifiers can be used in bitwise
  18516. ops
  18517. 2004-08-21 14:21 pbartok
  18518. * TrackBar.cs, ScrollBar.cs:
  18519. - Replaced direct XplatUI calls with their Control counterpart
  18520. 2004-08-21 13:32 pbartok
  18521. * Control.cs:
  18522. - Implemented Created property
  18523. 2004-08-21 13:28 pbartok
  18524. * Control.cs:
  18525. - Implemented ContainsFocus
  18526. 2004-08-21 13:26 pbartok
  18527. * Control.cs:
  18528. - Implemented CausesValidation
  18529. 2004-08-21 13:21 pbartok
  18530. * Control.cs:
  18531. - Implemented CanFocus
  18532. - Implemented CanSelect
  18533. - Implemented Capture
  18534. 2004-08-21 12:35 pbartok
  18535. * XplatUIWin32.cs:
  18536. - Fixed bug with Async message handling
  18537. - Implemented getting the ModifierKeys
  18538. 2004-08-21 12:32 jackson
  18539. * AsyncMethodResult.cs: Make sure we have the mutex before we
  18540. release it. Fixes BeginInvoke on windows
  18541. 2004-08-21 11:31 pbartok
  18542. * XplatUIWin32.cs, XplatUIX11.cs:
  18543. - Drivers now return proper mouse state
  18544. 2004-08-21 10:54 jackson
  18545. * Control.cs: Implement EndInvoke
  18546. 2004-08-21 10:48 jackson
  18547. * Timer.cs: Remove unneeded finalizer
  18548. 2004-08-20 19:52 ravindra
  18549. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  18550. in mouse event handling in the ToolBar control.
  18551. 2004-08-20 19:50 ravindra
  18552. * ImageList.cs: Changed draw method to use the arguments passed in
  18553. to draw the image.
  18554. 2004-08-20 18:58 pbartok
  18555. * XplatUIStructs.cs:
  18556. - Added private message for async communication
  18557. 2004-08-20 17:38 ravindra
  18558. * Control.cs: Made RightToLeft property virtual and removed a
  18559. Console.WriteLine.
  18560. 2004-08-20 14:39 jordi
  18561. * ThemeGtk.cs: use style_attach
  18562. 2004-08-20 14:39 pbartok
  18563. * XplatUIWin32.cs:
  18564. - Added jackson's Async code from X11 to Win32
  18565. 2004-08-20 14:09 pbartok
  18566. * SWF.csproj:
  18567. - Added all new files
  18568. 2004-08-20 14:09 pbartok
  18569. * Control.cs:
  18570. - Added call to set window background color
  18571. 2004-08-20 14:03 pbartok
  18572. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  18573. - Added method for setting the window background
  18574. 2004-08-20 14:02 pbartok
  18575. * XplatUIWin32.cs:
  18576. - Added method for setting the background color
  18577. - Added handling for erasing the window background
  18578. 2004-08-20 13:45 jordi
  18579. * TrackBar.cs: fixes timer, new properties and methods
  18580. 2004-08-20 13:34 jackson
  18581. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  18582. correct thread
  18583. 2004-08-20 13:22 jackson
  18584. * Timer.cs: Timer Tick events are now handed through Controls Async
  18585. mechanism so the callbacks are executed in the same thread as X
  18586. 2004-08-20 13:19 jackson
  18587. * XplatUIDriver.cs: Expose functionality to send async messages
  18588. through the driver
  18589. 2004-08-20 13:18 jackson
  18590. * Control.cs: Implement Begininvoke
  18591. 2004-08-20 13:14 jackson
  18592. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  18593. messages through the driver
  18594. 2004-08-20 13:12 jackson
  18595. * XplatUIX11.cs: Lock before all X operations. Also added Async
  18596. method functionality through XSendEvent
  18597. 2004-08-20 13:11 jackson
  18598. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  18599. This will screw up on 64 bit systems)
  18600. 2004-08-20 13:10 jackson
  18601. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  18602. Async messages through X/Win32
  18603. 2004-08-19 19:39 pbartok
  18604. * XplatUIX11.cs:
  18605. - Updated code to match new HandleData.DeviceContext type
  18606. 2004-08-19 19:38 pbartok
  18607. * HandleData.cs:
  18608. - Made DeviceContext a generic object to allow usage from various
  18609. drivers
  18610. - Added support for queueing Windows messages
  18611. 2004-08-19 19:37 pbartok
  18612. * XplatUIWin32.cs:
  18613. - Added generation of MouseEnter, MouseLeave and MouseHover events
  18614. - Added cleanup on EndPaint
  18615. 2004-08-19 19:17 pbartok
  18616. * Control.cs:
  18617. - Added handling of WM_MOUSEHOVER
  18618. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  18619. code
  18620. 2004-08-19 18:55 jordi
  18621. * ThemeGtk.cs: fixes button order
  18622. 2004-08-19 18:12 jordi
  18623. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  18624. 2004-08-19 17:09 pbartok
  18625. * Control.cs:
  18626. - Added Right property
  18627. - Added RightToLeft property
  18628. 2004-08-19 16:27 jordi
  18629. * ThemeGtk.cs: experimental GTK theme support
  18630. 2004-08-19 16:26 jordi
  18631. * ITheme.cs, Theme.cs: move themes from an interface to a class
  18632. 2004-08-19 16:25 jordi
  18633. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  18634. theme enhancaments
  18635. 2004-08-19 16:04 pbartok
  18636. * XplatUIX11.cs:
  18637. - Added colormap basics
  18638. - Added a way to re-initialize with a different display handle
  18639. - Fixed setting of the window background color
  18640. - Added various X11 imports related to colors and colormaps
  18641. 2004-08-19 15:51 pbartok
  18642. * X11Structs.cs:
  18643. - Removed packing hints (Paolo suggested this a while back)
  18644. - fixed colormap type
  18645. - Added default Atom types
  18646. - Added Screen and color structs and enums
  18647. 2004-08-19 15:39 pbartok
  18648. * ImageList.cs:
  18649. - Added missing Draw() method
  18650. - Added missing RecreateHandle event
  18651. 2004-08-19 15:30 pbartok
  18652. * Form.cs:
  18653. - Added handling of WM_CLOSE
  18654. 2004-08-18 13:16 jordi
  18655. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  18656. a table
  18657. 2004-08-18 09:56 jordi
  18658. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  18659. 2004-08-17 15:31 ravindra
  18660. * SWF.csproj: Updated project.
  18661. 2004-08-17 15:25 pbartok
  18662. * Control.cs:
  18663. - Drawing improvement; don't call UpdateBounds if we are not visible
  18664. (or have been minimized)
  18665. 2004-08-17 15:24 pbartok
  18666. * XplatUIWin32.cs:
  18667. - Finished IsVisible
  18668. - Added Win32GetWindowPlacement
  18669. 2004-08-17 15:08 jackson
  18670. * Panel.cs: Initial checkin of the Panel
  18671. 2004-08-17 14:25 pbartok
  18672. * Control.cs:
  18673. - Fixed broken handling of default window sizes
  18674. 2004-08-17 13:29 jackson
  18675. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  18676. has a large startup time.
  18677. 2004-08-17 10:25 jackson
  18678. * HandleData.cs: union areas properly
  18679. 2004-08-17 10:12 jackson
  18680. * HandleData.cs: union areas properly
  18681. 2004-08-16 20:00 ravindra
  18682. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  18683. 2004-08-16 18:48 ravindra
  18684. * ToolBar.cs: Added attributes.
  18685. 2004-08-16 17:17 ravindra
  18686. * SWF.csproj: Updated project.
  18687. 2004-08-16 17:16 jackson
  18688. * XplatUIX11.cs: Check for more expose events before sending a
  18689. WM_PAINT so they can all be grouped together. This makes dragging a
  18690. window across another window redraw in a sane way.
  18691. 2004-08-16 15:47 pbartok
  18692. * Control.cs:
  18693. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  18694. support OnMouseEnter/Leave()
  18695. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  18696. exposure handling
  18697. 2004-08-16 15:46 pbartok
  18698. * XplatUIStructs.cs, XplatUIX11.cs:
  18699. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  18700. OnMouseEnter/Leave()
  18701. 2004-08-16 15:34 jackson
  18702. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  18703. sure messages get the message field set to WM_NULL if they are not
  18704. handled.
  18705. 2004-08-16 15:24 jackson
  18706. * HandleData.cs: HandleData is used for storing message information
  18707. for window handles
  18708. 2004-08-15 17:23 ravindra
  18709. * ColorDepth.cs: Added attribute.
  18710. 2004-08-15 17:23 ravindra
  18711. * SWF.csproj: Updated project for ToolBar Control.
  18712. 2004-08-15 17:20 ravindra
  18713. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  18714. control and also dos2unix format.
  18715. 2004-08-15 17:13 ravindra
  18716. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  18717. ToolBarButtonClickEventArgs.cs,
  18718. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  18719. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  18720. 2004-08-15 15:31 pbartok
  18721. * ButtonBase.cs:
  18722. - First (mostly) working version
  18723. 2004-08-13 16:15 pbartok
  18724. * Control.cs:
  18725. - Fixed Anchor default
  18726. 2004-08-13 15:43 pbartok
  18727. * Control.cs:
  18728. - Changed GetCursorPos signature
  18729. 2004-08-13 15:42 pbartok
  18730. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  18731. - Changed signature for GetCursorPos
  18732. 2004-08-13 15:25 pbartok
  18733. * XplatUIX11.cs:
  18734. - Cleanup
  18735. - Fixed resizing/exposure handling
  18736. 2004-08-13 15:22 jordi
  18737. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  18738. with tickposition
  18739. 2004-08-13 14:55 jordi
  18740. * TrackBar.cs: change from wndproc to events
  18741. 2004-08-13 13:00 jordi
  18742. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  18743. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  18744. 2004-08-13 12:53 pbartok
  18745. * XplatUIWin32.cs:
  18746. - Changed GetWindowPos to also provide client area size
  18747. - Fixed broken prototypes for several win32 functions
  18748. 2004-08-13 12:53 pbartok
  18749. * XplatUI.cs, XplatUIDriver.cs:
  18750. - Changed GetWindowPos to also provide client area size
  18751. 2004-08-13 12:52 pbartok
  18752. * XplatUIX11.cs:
  18753. - Added generation of WM_POSCHANGED
  18754. - Changed GetWindowPos to also provide client area size
  18755. 2004-08-13 12:52 pbartok
  18756. * Control.cs:
  18757. - Added Dispose() and destructor
  18758. - Fixed resizing and bounds calculation
  18759. - Fixed Layout
  18760. - Added memory savings for invisible windows
  18761. 2004-08-13 12:46 jordi
  18762. * TrackBar.cs: adds timer and grap window
  18763. 2004-08-13 10:25 jackson
  18764. * Timer.cs: SWF Timer
  18765. 2004-08-12 16:59 pbartok
  18766. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18767. - Implemented method to get current mouse position
  18768. 2004-08-12 14:29 jordi
  18769. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  18770. enhancement, fix mouse problems, highli thumb, etc
  18771. 2004-08-12 13:31 pbartok
  18772. * Control.cs:
  18773. - Fixed Anchoring bugs
  18774. 2004-08-12 13:01 jackson
  18775. * StatusBar.cs: Don't forget things
  18776. 2004-08-12 12:54 jackson
  18777. * ThemeWin32Classic.cs: Handle owner draw status bars
  18778. 2004-08-12 12:54 jackson
  18779. * StatusBar.cs: Implement missing properties, events, and methods.
  18780. Handle mouse clicking
  18781. 2004-08-12 10:19 jackson
  18782. * StatusBarPanelClickEventArgs.cs,
  18783. StatusBarPanelClickEventHandler.cs: Classes for handling status
  18784. bar panel click events
  18785. 2004-08-12 10:10 jackson
  18786. * Control.cs: Add missing properties
  18787. 2004-08-12 09:46 pbartok
  18788. * BindingsManagerBase.cs:
  18789. - Name changed to BindingManagerBase.cs
  18790. 2004-08-12 09:25 jordi
  18791. * ScrollableControl.cs: calls ctrlbase instead of exeception
  18792. 2004-08-11 16:28 pbartok
  18793. * InputLanguageChangingEventArgs.cs:
  18794. - Never check in before compiling. Fixes the last check-in
  18795. 2004-08-11 16:26 pbartok
  18796. * InputLanguageChangingEventArgs.cs:
  18797. - More signature fixes
  18798. 2004-08-11 16:20 pbartok
  18799. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  18800. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  18801. ImageListStreamer.cs, InputLanguage.cs,
  18802. InputLanguageChangedEventArgs.cs,
  18803. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  18804. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  18805. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  18806. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18807. - Signature fixes
  18808. 2004-08-11 16:16 pbartok
  18809. * Application.cs:
  18810. - Fixed Signature
  18811. - Added .Net 1.1 method
  18812. 2004-08-11 15:25 pbartok
  18813. * SWF.csproj:
  18814. - Fixed BindingManagerBase.cs filename
  18815. 2004-08-11 15:22 pbartok
  18816. * BindingManagerBase.cs:
  18817. - Was checked in with wrong filename
  18818. 2004-08-11 14:50 pbartok
  18819. * SWF.csproj:
  18820. - Updated
  18821. 2004-08-11 13:41 jordi
  18822. * XplatUIWin32.cs: Fixes ClientRect
  18823. 2004-08-11 13:19 pbartok
  18824. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  18825. XplatUIX11.cs:
  18826. - We had SetWindowPos and MoveWindow to set window positions and
  18827. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  18828. keep SetWindowPos as matching counterpart
  18829. - Added some X11 sanity checking
  18830. 2004-08-11 12:59 pbartok
  18831. * Control.cs:
  18832. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  18833. (It seems that SetBounds is just a front for SetBoundsCore and
  18834. SetBoundsCore updates the underlying window system and
  18835. UpdateBounds is responsible for updating the variables associated
  18836. with the Control and sending the events)
  18837. - Major cleanup of Size handling; we now have two sizes, client_size
  18838. and bounds. Bounds defines the window with decorations, client_size
  18839. without them.
  18840. 2004-08-11 12:55 pbartok
  18841. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18842. - Added method to calculate difference between decorated window and
  18843. raw client area
  18844. 2004-08-11 12:54 pbartok
  18845. * Label.cs:
  18846. - Forcing redraw on resize
  18847. 2004-08-11 11:43 pbartok
  18848. * ImageList.cs:
  18849. - Removed disposing of the actual images when the list is disposed
  18850. 2004-08-11 09:13 pbartok
  18851. * Control.cs:
  18852. - Now properly reparents windows
  18853. 2004-08-11 08:37 pbartok
  18854. * Control.cs:
  18855. - Duh!
  18856. 2004-08-11 07:47 pbartok
  18857. * Control.cs:
  18858. - Rewrote the collection stuff. Might not be as fast now, not
  18859. keeping the number of children around and accessible directly, but
  18860. it's more straightforward
  18861. 2004-08-11 07:44 pbartok
  18862. * AccessibleObject.cs:
  18863. - Fixed to match ControlCollection rewrite
  18864. 2004-08-11 07:43 pbartok
  18865. * ImageList.cs:
  18866. - Added missing creation of the collection list
  18867. 2004-08-10 20:08 jackson
  18868. * StatusBar.cs: Get the paint message from WndProc
  18869. 2004-08-10 19:31 jackson
  18870. * ThemeWin32Classic.cs: Create Brushes as little as possible
  18871. 2004-08-10 19:20 jackson
  18872. * UICues.cs: Add Flags attribute
  18873. 2004-08-10 19:19 jackson
  18874. * StatusBarPanel.cs: Signature cleanup
  18875. 2004-08-10 19:10 jackson
  18876. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  18877. Initial implementation of status bar item drawing
  18878. 2004-08-10 17:27 jordi
  18879. * TrackBar.cs: add missing methods, properties, and restructure to
  18880. hide extra ones
  18881. 2004-08-10 16:24 jackson
  18882. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  18883. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  18884. attribute
  18885. 2004-08-10 13:21 jordi
  18886. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  18887. enhancements and standarize on win colors defaults
  18888. 2004-08-10 12:52 jackson
  18889. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  18890. ThemeWin32Classic.cs: Implement DrawItem functionality
  18891. 2004-08-10 12:47 jordi
  18892. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  18893. 2004-08-10 12:32 jordi
  18894. * Control.cs: throw ontextchange event
  18895. 2004-08-10 11:43 pbartok
  18896. * Control.cs:
  18897. - Added more to the still unfinished Dock/Anchor layout code
  18898. 2004-08-10 11:39 pbartok
  18899. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  18900. - Added GetWindowPos method
  18901. 2004-08-10 11:36 pbartok
  18902. * XplatUIWin32.cs:
  18903. - Implemented several methods
  18904. 2004-08-10 09:47 jackson
  18905. * TrackBar.cs: Allow control to handle buffering
  18906. 2004-08-10 09:41 jackson
  18907. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  18908. 2004-08-10 09:24 jackson
  18909. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  18910. 2004-08-10 09:09 jackson
  18911. * StatusBar.cs: Let Control handle all the buffering.
  18912. 2004-08-10 09:08 jackson
  18913. * Control.cs: Control will now handle the buffering code, so each
  18914. control does not have to implement this.
  18915. 2004-08-10 08:34 jackson
  18916. * XplatUIDriver.cs: Use default colors from the theme
  18917. 2004-08-09 17:12 pbartok
  18918. * ImageList.cs:
  18919. - Fixed several bugs Ravindra pointed out
  18920. 2004-08-09 16:11 pbartok
  18921. * Control.cs:
  18922. - Added incomplete dock layout code
  18923. - Added support for mouse wheel
  18924. 2004-08-09 16:09 pbartok
  18925. * XplatUIX11.cs:
  18926. - Added handling for middle and right mousebutton
  18927. - Added handling for mouse wheel
  18928. - Added handling for key state and mouse state and position
  18929. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  18930. messages
  18931. 2004-08-09 15:40 jackson
  18932. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  18933. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  18934. checkin
  18935. 2004-08-09 15:37 jackson
  18936. * StatusBar.cs: Initial implementation of StatusBar
  18937. 2004-08-09 15:36 jackson
  18938. * ITheme.cs: Add support for drawing status bar and getting status
  18939. bar item sizes
  18940. 2004-08-09 15:35 pbartok
  18941. * MouseButtons.cs:
  18942. - Fixed values
  18943. 2004-08-09 15:34 jackson
  18944. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  18945. status bar item sizes
  18946. 2004-08-09 15:21 jackson
  18947. * ThemeWin32Classic.cs: Use known colors for default control
  18948. colours
  18949. 2004-08-09 15:12 jackson
  18950. * ThemeWin32Classic.cs: Make the default font static, it is static
  18951. in control so this doesn't change functionality and creating fonts
  18952. is sloooooow.
  18953. 2004-08-09 14:56 pbartok
  18954. * X11Structs.cs:
  18955. - Added GrabMode enum
  18956. 2004-08-09 14:55 pbartok
  18957. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18958. - Removed Run method, was only required for initial development
  18959. 2004-08-09 14:51 pbartok
  18960. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18961. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  18962. capture
  18963. 2004-08-09 13:48 pbartok
  18964. * XplatUIX11.cs:
  18965. - Fixed default sizing for child windows
  18966. 2004-08-09 12:56 pbartok
  18967. * XplatUIX11.cs:
  18968. - Added generation of WM_DESTROY message
  18969. - Added handling of window manager induced shutdown
  18970. 2004-08-09 11:31 jackson
  18971. * ThemeWin32Classic.cs: New names for control properties
  18972. 2004-08-09 11:25 jackson
  18973. * Control.cs: Use new color names
  18974. 2004-08-09 11:02 jackson
  18975. * XplatUI.cs: Get default window properties from the theme
  18976. 2004-08-09 11:01 jackson
  18977. * ITheme.cs: The theme engine now controls default window
  18978. properties
  18979. 2004-08-09 11:00 jackson
  18980. * ThemeWin32Classic.cs: Add default window color properties
  18981. 2004-08-09 10:17 jackson
  18982. * ThemeWin32Classic.cs: Use correct default back color
  18983. 2004-08-09 10:05 jackson
  18984. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  18985. the theme now.
  18986. 2004-08-09 09:56 jackson
  18987. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  18988. 2004-08-09 09:54 jackson
  18989. * Control.cs: Get default properties from the theme.
  18990. 2004-08-09 09:53 jackson
  18991. * ITheme.cs: Themes now handle default control properties
  18992. 2004-08-09 09:53 jackson
  18993. * ThemeWin32Classic.cs: Themes now handle default control
  18994. properties so coloring will be consistent
  18995. 2004-08-08 16:54 jordi
  18996. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  18997. 2004-08-08 15:08 jordi
  18998. * XplatUIX11.cs: fixes keyboard crash
  18999. 2004-08-08 13:47 jordi
  19000. * Label.cs: add cvs header info
  19001. 2004-08-08 12:09 jackson
  19002. * ThemeWin32Classic.cs: Add pen_buttonface
  19003. 2004-08-08 11:52 jordi
  19004. * Label.cs, LinkLabel.cs: [no log message]
  19005. 2004-08-08 11:34 jordi
  19006. * ThemeWin32Classic.cs: Use Windows Standard Colours
  19007. 2004-08-07 17:32 jordi
  19008. * TrackBar.cs: throw exceptions of invalid enums values
  19009. 2004-08-07 17:31 jordi
  19010. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  19011. draw method name
  19012. 2004-08-07 16:56 jackson
  19013. * HorizontalAlignment.cs: Initial checkin
  19014. 2004-08-07 13:16 jordi
  19015. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  19016. methods
  19017. 2004-08-07 13:05 jordi
  19018. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  19019. GetSysColor defines
  19020. 2004-08-06 18:01 pbartok
  19021. * ThemeWin32Classic.cs:
  19022. - Fixed some rounding issues with float/int
  19023. 2004-08-06 18:00 jackson
  19024. * DockStyle.cs, AnchorStyles.cs:
  19025. Add flags and serializable attributes.
  19026. 2004-08-06 17:46 pbartok
  19027. * XplatUIX11.cs:
  19028. - Implemented GetParent
  19029. 2004-08-06 17:18 pbartok
  19030. * TrackBar.cs:
  19031. - Fixed some rounding issues with float/int
  19032. 2004-08-06 17:17 pbartok
  19033. * X11Structs.cs, XplatUIX11.cs:
  19034. - Fixed Refresh and Invalidate
  19035. 2004-08-06 15:30 pbartok
  19036. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  19037. - Fixed recursive loop when resizing
  19038. - Improved/fixed redrawing on expose messages
  19039. 2004-08-06 09:53 jordi
  19040. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  19041. keyboard navigation
  19042. 2004-08-06 08:02 pbartok
  19043. * X11Structs.cs, XplatUIX11.cs:
  19044. - Fixed reparenting
  19045. - Fixed window border creation
  19046. 2004-08-05 15:38 pbartok
  19047. * XplatUIX11.cs:
  19048. - Attempted fix for reparenting problems
  19049. 2004-08-04 15:14 pbartok
  19050. * Control.cs:
  19051. - Fixed Invalidation bug (calculated wrong client area)
  19052. - Added ClientSize setter
  19053. 2004-08-04 15:13 pbartok
  19054. * Form.cs:
  19055. - Added AutoScale properties
  19056. 2004-08-04 15:13 pbartok
  19057. * SWF.csproj:
  19058. - Added latest files
  19059. 2004-08-04 14:11 pbartok
  19060. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  19061. XplatUIX11.cs:
  19062. - Added Invalidate handling
  19063. 2004-08-03 17:09 jordi
  19064. * XplatUIDriver.cs: fixes spelling mistake
  19065. 2004-07-27 09:53 jordi
  19066. * TrackBar.cs: fixes trackbar events, def classname, methods
  19067. signature
  19068. 2004-07-27 09:29 jordi
  19069. * ScrollBar.cs: fixes scrollbar events
  19070. 2004-07-27 04:38 jordi
  19071. * Control.cs: changes to be able to run winforms samples
  19072. 2004-07-26 11:42 jordi
  19073. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  19074. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  19075. 2004-07-26 05:41 jordi
  19076. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  19077. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  19078. implementation
  19079. 2004-07-22 09:22 jordi
  19080. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  19081. check link overlapping, implement events, and fixes
  19082. 2004-07-21 10:28 jordi
  19083. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  19084. 2004-07-21 10:19 jordi
  19085. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  19086. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  19087. LinkLabelLinkClickedEventArgs.cs,
  19088. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  19089. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  19090. implementation
  19091. 2004-07-19 13:09 jordi
  19092. * Control.cs, Label.cs: label control re-written: added missing
  19093. functionlity, events, and properties
  19094. 2004-07-19 10:49 jordi
  19095. * Control.cs: fixes SetBounds logic
  19096. 2004-07-19 01:29 jordi
  19097. * Control.cs: Call RefreshWindow only if the window has created
  19098. 2004-07-15 14:05 pbartok
  19099. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  19100. - Implemented ImageList and ImageList.ImageCollection classes
  19101. - Added ColorDepth enumeration
  19102. - Updated SWF VS.Net project
  19103. 2004-07-15 11:06 jordi
  19104. * XplatUIStructs.cs: added MsgButons enum
  19105. 2004-07-15 11:03 jordi
  19106. * Control.cs: added basic mouse handeling events
  19107. 2004-07-15 03:38 jordi
  19108. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  19109. Vertical TrackBar control implementation
  19110. 2004-07-13 09:33 jordi
  19111. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  19112. 2004-07-13 09:31 jordi
  19113. * Control.cs, Form.cs: commit: new properties and fixes form size
  19114. problems
  19115. 2004-07-09 14:13 miguel
  19116. * ProgressBar.cs: Spelling
  19117. 2004-07-09 11:25 pbartok
  19118. * ProgressBar.cs:
  19119. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  19120. faster
  19121. 2004-07-09 11:17 miguel
  19122. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  19123. * ProgressBar.cs: Fixed spelling for `block'
  19124. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  19125. style guidelines.
  19126. Avoid using the += on rect.X, that exposed a bug in the compiler.
  19127. 2004-07-08 23:21 pbartok
  19128. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  19129. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  19130. BaseCollection.cs, Binding.cs, BindingContext.cs,
  19131. BindingMemberInfo.cs, BindingsCollection.cs,
  19132. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  19133. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  19134. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  19135. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  19136. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  19137. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  19138. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  19139. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  19140. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  19141. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  19142. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  19143. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  19144. InputLanguageChangedEventArgs.cs,
  19145. InputLanguageChangedEventHandler.cs,
  19146. InputLanguageChangingEventArgs.cs,
  19147. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  19148. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  19149. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  19150. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  19151. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  19152. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  19153. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  19154. QueryAccessibilityHelpEventArgs.cs,
  19155. QueryAccessibilityHelpEventHandler.cs,
  19156. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  19157. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  19158. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  19159. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  19160. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  19161. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  19162. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  19163. XplatUIX11.cs, lang.cs:
  19164. - Initial check-in